diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/highrise/kase.rb b/lib/highrise/kase.rb
index abc1234..def5678 100644
--- a/lib/highrise/kase.rb
+++ b/lib/highrise/kase.rb
@@ -4,5 +4,13 @@ self.closed_at = Time.now.utc
save
end
+
+ def self.open
+ Kase.find(:all, :from => "/kases/open.xml")
+ end
+
+ def self.closed
+... | Add Kase.open and Kase.closed functions
|
diff --git a/lib/pronto/config.rb b/lib/pronto/config.rb
index abc1234..def5678 100644
--- a/lib/pronto/config.rb
+++ b/lib/pronto/config.rb
@@ -12,8 +12,10 @@ end
def consolidate_comments?
- consolidated = ENV['PRONTO_CONSOLIDATE_COMMENTS'] || @config_hash['consolidate_comments']
- !(consolidated)... | Allow for nil and false values for consolidation
|
diff --git a/LolayLocksmith.podspec b/LolayLocksmith.podspec
index abc1234..def5678 100644
--- a/LolayLocksmith.podspec
+++ b/LolayLocksmith.podspec
@@ -1,5 +1,4 @@ Pod::Spec.new do |s|
-
s.name = 'LolayLocksmith'
s.version = '1'
s.summary = 'iOS Wrapper for Keychain Util... | Update podspec to remove XCTest
|
diff --git a/Casks/macpaw-gemini.rb b/Casks/macpaw-gemini.rb
index abc1234..def5678 100644
--- a/Casks/macpaw-gemini.rb
+++ b/Casks/macpaw-gemini.rb
@@ -3,10 +3,10 @@ sha256 :no_check
# devmate.com is the official download host per the vendor homepage
- url 'http://dl.devmate.com/download/com.macpaw.site.Gemini... | Update url and license for MacPaw Gemini.app
|
diff --git a/Casks/music-manager.rb b/Casks/music-manager.rb
index abc1234..def5678 100644
--- a/Casks/music-manager.rb
+++ b/Casks/music-manager.rb
@@ -1,6 +1,6 @@ cask :v1 => 'music-manager' do
- version '1.0.104.6528'
- sha256 'a1e4e48e008958f9a725bfee1e2d8360dc8efad38ef2532fc1b3e4b9c3df8f0d'
+ version '1.0.216.5... | Update Google Play Music Manager
Updated Music Manager from an old version that no longer works.
|
diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/messages_controller.rb
+++ b/app/controllers/messages_controller.rb
@@ -32,7 +32,7 @@ end
def validate_request_status
- unless (@request.responder && !@request.is_ful... | Refactor the validate_request_status callback to leverage the
request.active? logic.
|
diff --git a/app/controllers/readings_controller.rb b/app/controllers/readings_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/readings_controller.rb
+++ b/app/controllers/readings_controller.rb
@@ -3,7 +3,12 @@
def create
reading = Reading.create_from_params(strong_params)
- render json: ... | Return 500 status when reading not created successfully
|
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -2,11 +2,13 @@ def signin
@user = User.find_by(id: params[:id])
- if @user && @user.authenti... | Work on getting login to work
|
diff --git a/spec/acceptance/gitlab_spec.rb b/spec/acceptance/gitlab_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/gitlab_spec.rb
+++ b/spec/acceptance/gitlab_spec.rb
@@ -19,7 +19,7 @@ it { is_expected.to be_installed }
end
- describe command('curl -s -S 0.0.0.0:80/users/sign_in') do
+ ... | Make URL look like an URL
- Add scheme (http)
- Use 127.0.0.1 to address the node itself, not 0.0.0.0
This should fix:
```
ubuntu1604-64-1 06:39:31$ /bin/sh -c curl\ -s\ -S\ 0.0.0.0:80/users/sign_in
curl: (3) URL using bad/illegal format or missing URL
```
|
diff --git a/spec/freebsd/rootlogin_spec.rb b/spec/freebsd/rootlogin_spec.rb
index abc1234..def5678 100644
--- a/spec/freebsd/rootlogin_spec.rb
+++ b/spec/freebsd/rootlogin_spec.rb
@@ -11,3 +11,8 @@ it { should be_file }
it { should contain "PasswordAuthentication no" }
end
+
+describe file('/etc/ssh/sshd_config'... | Make sure root can log in
|
diff --git a/spec/lib/image_captcha_spec.rb b/spec/lib/image_captcha_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/image_captcha_spec.rb
+++ b/spec/lib/image_captcha_spec.rb
@@ -0,0 +1,56 @@+require 'spec_helper'
+
+username = CREDENTIALS['username']
+password = CREDENTIALS['password']
+path2 =... | Add tests to image based captchas
|
diff --git a/spec/models/iep_storer_spec.rb b/spec/models/iep_storer_spec.rb
index abc1234..def5678 100644
--- a/spec/models/iep_storer_spec.rb
+++ b/spec/models/iep_storer_spec.rb
@@ -34,8 +34,29 @@ )
}
- it 'stores an object to the db' do
- expect { subject.store }.to change(IepDocument, :count).... | Add more cases to Iep Storer spec
|
diff --git a/spec/requests/chapters_spec.rb b/spec/requests/chapters_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/chapters_spec.rb
+++ b/spec/requests/chapters_spec.rb
@@ -3,6 +3,7 @@ describe 'chapters' do
let(:user) { create_user! }
before do
+ Resque.remove_queue("nor... | Add step for removing queue in chapters request spec
|
diff --git a/spec/integration/commands/addresses/assign_spec.rb b/spec/integration/commands/addresses/assign_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/commands/addresses/assign_spec.rb
+++ b/spec/integration/commands/addresses/assign_spec.rb
@@ -0,0 +1,54 @@+require File.expand_path(File.dirname(__FI... | Add specs for addresses:assign command.
|
diff --git a/spec/support/raise_on_potential_false_positives.rb b/spec/support/raise_on_potential_false_positives.rb
index abc1234..def5678 100644
--- a/spec/support/raise_on_potential_false_positives.rb
+++ b/spec/support/raise_on_potential_false_positives.rb
@@ -0,0 +1,32 @@+module RSpec
+ module Matchers
+ modul... | Patch in our own raise on potential false positives
|
diff --git a/core/db/migrate/20120530012000_rename_creditcards_to_credit_cards.rb b/core/db/migrate/20120530012000_rename_creditcards_to_credit_cards.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20120530012000_rename_creditcards_to_credit_cards.rb
+++ b/core/db/migrate/20120530012000_rename_creditcards_to_cre... | Update Payment source_type to Spree::CreditCard in migration
|
diff --git a/db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb b/db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb
index abc1234..def5678 100644
--- a/db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb
+++ b/db/migrate/20131218142013_add_display_aspect_ratio_to_ma... | Set display_aspect_ratio to default of 4:3 if ratio can't be found.
|
diff --git a/BonMot.podspec b/BonMot.podspec
index abc1234..def5678 100644
--- a/BonMot.podspec
+++ b/BonMot.podspec
@@ -6,10 +6,10 @@ s.description = <<-DESC
BonMot removes all the mystery from creating beautiful, powerful attributed strings in Swift.
DESC
- s.homepage = "htt... | Update reference to Raizlabs in podspec.
|
diff --git a/spec/ruzai2_spec.rb b/spec/ruzai2_spec.rb
index abc1234..def5678 100644
--- a/spec/ruzai2_spec.rb
+++ b/spec/ruzai2_spec.rb
@@ -22,4 +22,24 @@ end
end
end
+
+ describe ".banned?" do
+ before do
+ Ruzai2::RuzaiList.ban!(id_params)
+ end
+
+ let(:id_params) {
+ {
+ te... | Add test for checking status.
|
diff --git a/spec/server_spec.rb b/spec/server_spec.rb
index abc1234..def5678 100644
--- a/spec/server_spec.rb
+++ b/spec/server_spec.rb
@@ -14,10 +14,10 @@ end
it 'should be able to tell HipChat what song is playing' do
- Robut::Plugin::Rdio::Server.reply_callback = lambda{ |message| @message = message }
+ ... | FIX the spec to be in-line with the now playing functionality
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -14,8 +14,8 @@
# Renders the supplied template with Haml::Engine and assigns the
# @response instance variable
-def render(template)
- template = File.read(".#{template}")
+def... | Update the render spec helper to work with view paths that do not start with an initial slash.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,3 @@-# TODO Load and unload particular backends for backend-specific tests
-require 'memdash/active_record'
+require "memdash/#{ENV['ADAPTER']}" if ENV['ADAPTER']
Dir[Fi... | Load the appropriate adapter depending on which tests are running
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,6 +11,8 @@ SimpleCov.start
require 'active_support'
+# https://github.com/rails/rails/issues/28918
+require "active_support/core_ext/module/remove_method"
require 'active_s... | Work around Active Support load order bug
See https://github.com/rails/rails/issues/28918
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,7 +4,9 @@ require 'remote_database_cleaner'
RSpec.configure do |config|
-
+ config.mock_with :rspec do |c|
+ c.syntax = [:should, :expect]
+ end
end
def configure_re... | Allow old syntax for rspec-mock
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -20,4 +20,4 @@ config.shared_context_metadata_behavior = :apply_to_host_groups
end
-Dir['spec/em-midori/fixtures/*.rb'].each { |f| puts f; require_relative "../#{f}" }
+Dir['s... | Fix output on fixtures loading
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,7 +9,6 @@
require File.expand_path("../../spec/dummy/config/environment.rb", __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../spec/dummy/db/migra... | Remove rails/test_help not to call Minitest.autorun
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,3 @@-# require 'codeclimate-test-reporter'
-# CodeClimate::TestReporter.start
-
require 'chefspec'
require 'chefspec/berkshelf'
| Remove unused CodeClimate unit test comments
|
diff --git a/spree_prize.gemspec b/spree_prize.gemspec
index abc1234..def5678 100644
--- a/spree_prize.gemspec
+++ b/spree_prize.gemspec
@@ -7,9 +7,9 @@ s.description = 'Add a timed lottery/giveaway to Spree. Candidates submit their email to enter each giveaway.'
s.required_ruby_version = '>= 1.9.3'
- s.author ... | Add author information to gemspec
|
diff --git a/DTXcodeUtils.podspec b/DTXcodeUtils.podspec
index abc1234..def5678 100644
--- a/DTXcodeUtils.podspec
+++ b/DTXcodeUtils.podspec
@@ -1,5 +1,6 @@ Pod::Spec.new do |s|
s.name = "DTXcodeUtils"
+ s.deprecated = true
s.version = "0.1.1"
s.summary = "Useful helper fun... | Mark as deprecated in podspec |
diff --git a/Casks/visit.rb b/Casks/visit.rb
index abc1234..def5678 100644
--- a/Casks/visit.rb
+++ b/Casks/visit.rb
@@ -1,7 +1,7 @@ class Visit < Cask
- url 'http://portal.nersc.gov/svn/visit/trunk/releases/2.6.3/VisIt-2.6.3-x86_64-installer.dmg'
+ url 'http://portal.nersc.gov/svn/visit/trunk/releases/2.7.0/VisIt-2.... | Update VisIt cask version to 2.7.0.
Update VisIt cask version to 2.7.0, the current release.
|
diff --git a/OOPhotoBrowser.podspec b/OOPhotoBrowser.podspec
index abc1234..def5678 100644
--- a/OOPhotoBrowser.podspec
+++ b/OOPhotoBrowser.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "OOPhotoBrowser"
s.summary = "Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC su... | Update version for pods release
|
diff --git a/spec/exporters/formatters/esi_fund_publication_alert_formatter_spec.rb b/spec/exporters/formatters/esi_fund_publication_alert_formatter_spec.rb
index abc1234..def5678 100644
--- a/spec/exporters/formatters/esi_fund_publication_alert_formatter_spec.rb
+++ b/spec/exporters/formatters/esi_fund_publication_ale... | Remove spurious line from ESI fund spec
This seems to have been copy-pasta'd from the medical safety alert spec.
|
diff --git a/MarqueeLabel.podspec b/MarqueeLabel.podspec
index abc1234..def5678 100644
--- a/MarqueeLabel.podspec
+++ b/MarqueeLabel.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "MarqueeLabel"
- s.version = "3.1.0"
+ s.version = "3.1.3"
s.summary = "A drop-in replacement for UILa... | Update the outdated podspec file
|
diff --git a/abstract_class.gemspec b/abstract_class.gemspec
index abc1234..def5678 100644
--- a/abstract_class.gemspec
+++ b/abstract_class.gemspec
@@ -1,5 +1,3 @@-# -*- encoding: utf-8 -*-
-
require_relative 'lib/abstract_class/version'
Gem::Specification.new do |s|
| Remove encoding comment from gemspec
|
diff --git a/abstract_class.gemspec b/abstract_class.gemspec
index abc1234..def5678 100644
--- a/abstract_class.gemspec
+++ b/abstract_class.gemspec
@@ -13,12 +13,12 @@ s.author = 'Sean Huber'
s.email = 'github@shuber.io'
s.homepage = 'https://github.com/shuber/abstract_class'
+ s.license = "MIT"
s.... | Move license up higher in gemspec
|
diff --git a/app/controllers/admin/staff_members_controller.rb b/app/controllers/admin/staff_members_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/staff_members_controller.rb
+++ b/app/controllers/admin/staff_members_controller.rb
@@ -7,4 +7,8 @@ staff_member = StaffMember.find(paramas[:id... | Add new method in admin/staffmembers
|
diff --git a/SwiftSpinner.podspec b/SwiftSpinner.podspec
index abc1234..def5678 100644
--- a/SwiftSpinner.podspec
+++ b/SwiftSpinner.podspec
@@ -17,7 +17,7 @@
s.requires_arc = true
- s.source_files = 'Source/SwiftSpinner'
+ s.source_files = 'Sources/SwiftSpinner'
s.frameworks = 'UIKit'
end
| Update podfile and demo app
|
diff --git a/.delivery/build_cookbook/recipes/setup_build.rb b/.delivery/build_cookbook/recipes/setup_build.rb
index abc1234..def5678 100644
--- a/.delivery/build_cookbook/recipes/setup_build.rb
+++ b/.delivery/build_cookbook/recipes/setup_build.rb
@@ -11,7 +11,7 @@ ## for the build user or the build nodes must have al... | Correct name of hash key
|
diff --git a/chef-x86-mingw32.gemspec b/chef-x86-mingw32.gemspec
index abc1234..def5678 100644
--- a/chef-x86-mingw32.gemspec
+++ b/chef-x86-mingw32.gemspec
@@ -3,7 +3,7 @@
gemspec.platform = "x86-mingw32"
-gemspec.add_dependency "ffi", "1.3.1"
+gemspec.add_dependency "ffi", "1.5.0"
gemspec.add_dependency "rdp-rub... | Resolve merge conflict with mixlib-shellout change
|
diff --git a/lib/tasks/cleanup.rake b/lib/tasks/cleanup.rake
index abc1234..def5678 100644
--- a/lib/tasks/cleanup.rake
+++ b/lib/tasks/cleanup.rake
@@ -7,6 +7,5 @@ Msw.unscoped.where('timestamp < now()').delete_all
Spitcast.unscoped.where('timestamp < now()').delete_all
ApiRequest.where.not(id: SurflineL... | Stop cleaning up water quality data
|
diff --git a/lib/tasks/plugins.rake b/lib/tasks/plugins.rake
index abc1234..def5678 100644
--- a/lib/tasks/plugins.rake
+++ b/lib/tasks/plugins.rake
@@ -5,17 +5,6 @@ namespace :plugins do
plugin_migration_dirs = Dir.glob(Rails.root.join('{baseplugins,config/plugins}', '*', 'db', 'migrate'))
-
- task :load_c... | Remove load_config as application.rb config is used
|
diff --git a/chef/lib/chef/monkey_patches/string.rb b/chef/lib/chef/monkey_patches/string.rb
index abc1234..def5678 100644
--- a/chef/lib/chef/monkey_patches/string.rb
+++ b/chef/lib/chef/monkey_patches/string.rb
@@ -21,9 +21,21 @@ # give the actual number of characters. In Chef::REST, we need the bytesize
# so we can... | Allow to use "a\nb".lines.each syntax in ruby 1.8
|
diff --git a/integration-tests/spec/twitter_spec.rb b/integration-tests/spec/twitter_spec.rb
index abc1234..def5678 100644
--- a/integration-tests/spec/twitter_spec.rb
+++ b/integration-tests/spec/twitter_spec.rb
@@ -9,6 +9,8 @@ root: #{File.dirname(__FILE__)}/../apps/rails3/twitter
queues:
tweets:
+ ... | Deploy twitter spec to its own context to reduce spec race conditions for root context
|
diff --git a/spec/govuk_seed_crawler/seeder_spec.rb b/spec/govuk_seed_crawler/seeder_spec.rb
index abc1234..def5678 100644
--- a/spec/govuk_seed_crawler/seeder_spec.rb
+++ b/spec/govuk_seed_crawler/seeder_spec.rb
@@ -0,0 +1,43 @@+require 'spec_helper'
+
+describe GovukSeedCrawler::Seeder do
+ subject { GovukSeedCrawle... | Add unit tests for Seeder class
|
diff --git a/spec/support/runnables_link_matcher.rb b/spec/support/runnables_link_matcher.rb
index abc1234..def5678 100644
--- a/spec/support/runnables_link_matcher.rb
+++ b/spec/support/runnables_link_matcher.rb
@@ -1,24 +1,13 @@+# require 'rspec/expectations'
+
module RunnablesLinkMatcher
- class BeLinkLike
- de... | Rewrite be_link_like matcher for rspec 3.x
|
diff --git a/db/migrate/20150501153708_fix_type_column_name.rb b/db/migrate/20150501153708_fix_type_column_name.rb
index abc1234..def5678 100644
--- a/db/migrate/20150501153708_fix_type_column_name.rb
+++ b/db/migrate/20150501153708_fix_type_column_name.rb
@@ -1,3 +1,5 @@+# Encoding: utf-8
+# Fix type column name
clas... | Clean up type-fixing migration script
|
diff --git a/app/models/bookmark.rb b/app/models/bookmark.rb
index abc1234..def5678 100644
--- a/app/models/bookmark.rb
+++ b/app/models/bookmark.rb
@@ -2,5 +2,6 @@ has_many :bookmark_tags
has_many :tags, through: :bookmark_tags
- enum source_type: { "Post" => 0, "Publication" => 1, "Video" => 2, "Thread" => 3,... | Add enum to Bookmark model for source_types
|
diff --git a/Casks/cdock.rb b/Casks/cdock.rb
index abc1234..def5678 100644
--- a/Casks/cdock.rb
+++ b/Casks/cdock.rb
@@ -1,10 +1,11 @@ cask :v1 => 'cdock' do
- version '9.5'
- sha256 'db92068d04b538bf1fb20f7b5d79151ce619befefb20929178a143a73f4e99cc'
+ version '0.9.7'
+ sha256 '45c87cd2dbed30038bc2ecefa2ddda2c27eb37... | Update cDock 9.5 -> cDock2 0.9.7
|
diff --git a/Casks/vectr.rb b/Casks/vectr.rb
index abc1234..def5678 100644
--- a/Casks/vectr.rb
+++ b/Casks/vectr.rb
@@ -0,0 +1,11 @@+cask :v1 => 'vectr' do
+ version '0.1.7'
+ sha256 '8416736f29f1b2e72d8d4595386bce554bb4ccbc49b27f92a86c6febabfbc35e'
+
+ url "http://download.vectr.com/desktop/vectr-mac-#{version}.zi... | Create cask for Vectr 0.1.7 app
|
diff --git a/app/controllers/spree/admin/tax_rates_controller.rb b/app/controllers/spree/admin/tax_rates_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/admin/tax_rates_controller.rb
+++ b/app/controllers/spree/admin/tax_rates_controller.rb
@@ -2,9 +2,6 @@ module Admin
class TaxRatesContr... | Delete dead code brought from spree
|
diff --git a/lib/rubygems/commands/ctags_command.rb b/lib/rubygems/commands/ctags_command.rb
index abc1234..def5678 100644
--- a/lib/rubygems/commands/ctags_command.rb
+++ b/lib/rubygems/commands/ctags_command.rb
@@ -22,7 +22,7 @@
Dir.chdir(spec.full_gem_path) do
- if !File.file?('tags') || File.read('tags... | Fix commit for directory named tags
The previous commit was not working properly for all cases.
I have to admit I was drawing a boolean table to solve this issue :-)
|
diff --git a/lib/spree_amazon_mws/order_importer.rb b/lib/spree_amazon_mws/order_importer.rb
index abc1234..def5678 100644
--- a/lib/spree_amazon_mws/order_importer.rb
+++ b/lib/spree_amazon_mws/order_importer.rb
@@ -4,8 +4,11 @@
def import_recent_orders(since=1.day.ago)
@amazon_orders = order_fetcher.get_... | Put the orders into a transaction so we do not double import upon errors
|
diff --git a/WakeFormula.rb b/WakeFormula.rb
index abc1234..def5678 100644
--- a/WakeFormula.rb
+++ b/WakeFormula.rb
@@ -1,9 +1,9 @@ require "formula"
class Wake < Formula
- url "https://github.com/MichaelRFairhurst/wake-compiler/archive/v0.2.0.tar.gz"
+ url "https://github.com/MichaelRFairhurst/wake-compiler/arch... | Update wake formula for v0.2.1
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -18,10 +18,10 @@ resources :vehicle_fuel_purchases, :as => "fuel_purchases"
end
resources :electricity_accounts, :except => [:index, :show] do
- resources :electricity_rea... | Remove route naming simplification - was confusing things
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -21,5 +21,5 @@ match "send_message" => "messages#create"
# Jasmine test engine
- mount JasmineRails::Engine => "/specs" unless Rails.env.production?
+ mount JasmineRails::Engine => "/... | Update mount configuration for JasmimeRails engine.
|
diff --git a/db/migrate/20160822142816_add_cat3_to_mtb_novice.rb b/db/migrate/20160822142816_add_cat3_to_mtb_novice.rb
index abc1234..def5678 100644
--- a/db/migrate/20160822142816_add_cat3_to_mtb_novice.rb
+++ b/db/migrate/20160822142816_add_cat3_to_mtb_novice.rb
@@ -5,6 +5,8 @@ name = race.name.gsub("Novice",... | Set reasonable parent for new MTB Novice cats
|
diff --git a/lib/controller/posts_controller.rb b/lib/controller/posts_controller.rb
index abc1234..def5678 100644
--- a/lib/controller/posts_controller.rb
+++ b/lib/controller/posts_controller.rb
@@ -20,7 +20,7 @@ end
def delete(post_id, user)
- @post = Post.find_by(post_id: post_id)
+ @post = Pos... | Fix the broken delete feature for posts
|
diff --git a/lib/govuk_seed_crawler/get_urls.rb b/lib/govuk_seed_crawler/get_urls.rb
index abc1234..def5678 100644
--- a/lib/govuk_seed_crawler/get_urls.rb
+++ b/lib/govuk_seed_crawler/get_urls.rb
@@ -5,7 +5,7 @@ attr_reader @urls
def initialize(:site_root)
- unless :site_root raise "No :site_root defin... | Fix syntax when raising error message
|
diff --git a/lib/parsers/fms_contacts_parser.rb b/lib/parsers/fms_contacts_parser.rb
index abc1234..def5678 100644
--- a/lib/parsers/fms_contacts_parser.rb
+++ b/lib/parsers/fms_contacts_parser.rb
@@ -1,27 +1,45 @@ # Parser for loading FixMyStreet contacts data
-class Parsers::FmsContactsParser
+class Parsers::FmsCo... | Handle special case for Essex council
|
diff --git a/lib/thread_queues/string_buffer.rb b/lib/thread_queues/string_buffer.rb
index abc1234..def5678 100644
--- a/lib/thread_queues/string_buffer.rb
+++ b/lib/thread_queues/string_buffer.rb
@@ -18,7 +18,7 @@ begin
store_more_in_buffer
rescue EOFError => e
- return @buffer if ... | Reset buffer when last is read.
|
diff --git a/app/models/api/v3/converter_stats_presenter.rb b/app/models/api/v3/converter_stats_presenter.rb
index abc1234..def5678 100644
--- a/app/models/api/v3/converter_stats_presenter.rb
+++ b/app/models/api/v3/converter_stats_presenter.rb
@@ -4,6 +4,7 @@ ATTRIBUTES = [
:demand,
:electricit... | Send input_capacity with the converter stats
|
diff --git a/spec/acceptance/sensu_check_spec.rb b/spec/acceptance/sensu_check_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/sensu_check_spec.rb
+++ b/spec/acceptance/sensu_check_spec.rb
@@ -0,0 +1,23 @@+require 'spec_helper_acceptance'
+
+describe 'sensu_check', :unless => UNSUPPORTED_PLATFORMS.include?(... | Add acceptance test for sensu_check
|
diff --git a/spec/app/models/mdm/service_spec.rb b/spec/app/models/mdm/service_spec.rb
index abc1234..def5678 100644
--- a/spec/app/models/mdm/service_spec.rb
+++ b/spec/app/models/mdm/service_spec.rb
@@ -6,8 +6,39 @@
it { should have_many(:task_services).class_name('Mdm::TaskService') }
it { should have_man... | Add a few more specs to Mdm::Service
Mdm::Service had no specs, so added some additional coverage
Tests all associations and scopes on the model
[Story #49167601]
|
diff --git a/spec/support/macros/model_macros.rb b/spec/support/macros/model_macros.rb
index abc1234..def5678 100644
--- a/spec/support/macros/model_macros.rb
+++ b/spec/support/macros/model_macros.rb
@@ -1,5 +1,5 @@ module ModelMacros
- # Create a new emotional model
+ # Create a new followable model
def followab... | Fix typos in ModelMacros module
|
diff --git a/test/functional/value_conversion_test.rb b/test/functional/value_conversion_test.rb
index abc1234..def5678 100644
--- a/test/functional/value_conversion_test.rb
+++ b/test/functional/value_conversion_test.rb
@@ -0,0 +1,47 @@+require 'test_helper'
+
+class QueryTest < Test::Unit::TestCase
+
+ def setup
+... | Add some functional tests for value conversions. |
diff --git a/sonic-pi-cli.gemspec b/sonic-pi-cli.gemspec
index abc1234..def5678 100644
--- a/sonic-pi-cli.gemspec
+++ b/sonic-pi-cli.gemspec
@@ -1,7 +1,7 @@ Gem::Specification.new do |s|
s.name = 'sonic-pi-cli'
- s.version = '0.1.1'
- s.date = '2016-11-10'
+ s.version = '0.1.3'
+ s.date ... | Update version number to 0.1.3 |
diff --git a/lib/cucumber/salad/widgets/document.rb b/lib/cucumber/salad/widgets/document.rb
index abc1234..def5678 100644
--- a/lib/cucumber/salad/widgets/document.rb
+++ b/lib/cucumber/salad/widgets/document.rb
@@ -1,23 +1,21 @@ module Cucumber
module Salad
module Widgets
- class Document < Widget
+ ... | Define Document apart from Widget.
|
diff --git a/lib/irc_tools/messages/pong_message.rb b/lib/irc_tools/messages/pong_message.rb
index abc1234..def5678 100644
--- a/lib/irc_tools/messages/pong_message.rb
+++ b/lib/irc_tools/messages/pong_message.rb
@@ -8,7 +8,7 @@ protected
def build_message
- "PONG #{server}".strip
+ "PONG :#{server... | Fix message format of pong message
|
diff --git a/app/controllers/backend/cells/quandl_cells_controller.rb b/app/controllers/backend/cells/quandl_cells_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/backend/cells/quandl_cells_controller.rb
+++ b/app/controllers/backend/cells/quandl_cells_controller.rb
@@ -5,8 +5,9 @@ finish = start ... | Add demo token to quandl
|
diff --git a/app/serializers/api/admin/chapters/section_serializer.rb b/app/serializers/api/admin/chapters/section_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/api/admin/chapters/section_serializer.rb
+++ b/app/serializers/api/admin/chapters/section_serializer.rb
@@ -10,7 +10,9 @@
attribu... | Fix section note relation in admin section serializer
|
diff --git a/core/process/status/exitstatus_spec.rb b/core/process/status/exitstatus_spec.rb
index abc1234..def5678 100644
--- a/core/process/status/exitstatus_spec.rb
+++ b/core/process/status/exitstatus_spec.rb
@@ -11,7 +11,7 @@
describe "for a child that raised SignalException" do
before :each do
- rub... | Use a more direct way to signal the current process in Process::Status::exitstatus specs
|
diff --git a/arrow_payments.gemspec b/arrow_payments.gemspec
index abc1234..def5678 100644
--- a/arrow_payments.gemspec
+++ b/arrow_payments.gemspec
@@ -16,7 +16,7 @@
s.add_runtime_dependency 'faraday', '< 0.9'
s.add_runtime_dependency 'faraday_middleware', '~> 0.8'
- s.add_runtime_dependency 'hash... | Bring back old hashie dependency
|
diff --git a/app/importers/rows/student_section_grade_row.rb b/app/importers/rows/student_section_grade_row.rb
index abc1234..def5678 100644
--- a/app/importers/rows/student_section_grade_row.rb
+++ b/app/importers/rows/student_section_grade_row.rb
@@ -18,7 +18,7 @@ student_section_assignment = StudentSectionAssi... | Add check for grade being an integer
|
diff --git a/exception_notification.gemspec b/exception_notification.gemspec
index abc1234..def5678 100644
--- a/exception_notification.gemspec
+++ b/exception_notification.gemspec
@@ -6,8 +6,8 @@ s.summary = "Exception notification by email for Rails apps"
s.email = "smartinez87@gmail.com"
- s.files = `git ls-... | Refactor files inclusion on gemspec
|
diff --git a/library/readline/history/element_set_spec.rb b/library/readline/history/element_set_spec.rb
index abc1234..def5678 100644
--- a/library/readline/history/element_set_spec.rb
+++ b/library/readline/history/element_set_spec.rb
@@ -16,7 +16,7 @@ end
it "returns the new value for the passed index... | Make Readline::HISTORY.[]= spec test return value
|
diff --git a/plan_executor.gemspec b/plan_executor.gemspec
index abc1234..def5678 100644
--- a/plan_executor.gemspec
+++ b/plan_executor.gemspec
@@ -6,7 +6,7 @@ s.description = "A Gem for handling FHIR test executions"
s.email = "jwalonoski@mitre.org"
s.homepage = "https://github.com/hl7-fhir/fhir-svn"
- s.aut... | Add Rob to gem authors.
|
diff --git a/spec/features/create_a_team_spec.rb b/spec/features/create_a_team_spec.rb
index abc1234..def5678 100644
--- a/spec/features/create_a_team_spec.rb
+++ b/spec/features/create_a_team_spec.rb
@@ -0,0 +1,48 @@+require 'rails_helper'
+
+describe "Create a team", type: :feature do
+ let(:team) { build(:team) }
+... | Add 'team create' feature test
|
diff --git a/spec/workers/geocode_worker_spec.rb b/spec/workers/geocode_worker_spec.rb
index abc1234..def5678 100644
--- a/spec/workers/geocode_worker_spec.rb
+++ b/spec/workers/geocode_worker_spec.rb
@@ -4,6 +4,8 @@ describe '#perform' do
it "should geocode the object's address", :vcr do
user = FactoryGi... | Fix false positive due to factory
#74
|
diff --git a/lib/procedo/engine/intervention/working_period.rb b/lib/procedo/engine/intervention/working_period.rb
index abc1234..def5678 100644
--- a/lib/procedo/engine/intervention/working_period.rb
+++ b/lib/procedo/engine/intervention/working_period.rb
@@ -29,7 +29,7 @@ end
def to_hash
- ... | Make Procedo serialize dates using ISO8601 standard
|
diff --git a/db/migrate/20160628140841_fix_service_order_placed_at.rb b/db/migrate/20160628140841_fix_service_order_placed_at.rb
index abc1234..def5678 100644
--- a/db/migrate/20160628140841_fix_service_order_placed_at.rb
+++ b/db/migrate/20160628140841_fix_service_order_placed_at.rb
@@ -2,11 +2,8 @@ class ServiceOrd... | Use ActiveRecord instead of sql
|
diff --git a/recipes/rpm_package.rb b/recipes/rpm_package.rb
index abc1234..def5678 100644
--- a/recipes/rpm_package.rb
+++ b/recipes/rpm_package.rb
@@ -0,0 +1,38 @@+include_recipe 'omnibus_updater::set_remote_path'
+
+remote_file "chef omnibus_package[#{File.basename(node[:omnibus_updater][:full_uri])}]" do
+ path Fi... | Add support for RPM based install
|
diff --git a/bonus-blast.rb b/bonus-blast.rb
index abc1234..def5678 100644
--- a/bonus-blast.rb
+++ b/bonus-blast.rb
@@ -35,10 +35,15 @@ end
options[:points].times do
- RestClient.post(
+ response = RestClient.post(
"https://bonus.ly/api/v1/bonuses?access_token=#{ENV['TOKEN']}",
{ reason: "+1 #{options[:... | Break early on bad response
|
diff --git a/db/migrations/17_migrate_json_content_to_pact_version_content_table.rb b/db/migrations/17_migrate_json_content_to_pact_version_content_table.rb
index abc1234..def5678 100644
--- a/db/migrations/17_migrate_json_content_to_pact_version_content_table.rb
+++ b/db/migrations/17_migrate_json_content_to_pact_vers... | Revert "migration 17 now runs against sqlite3 backend"
This reverts commit 090b836162e84cb311f59cf9389dc67b31c9ce2e.
|
diff --git a/app/controllers/api/search_controller.rb b/app/controllers/api/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/search_controller.rb
+++ b/app/controllers/api/search_controller.rb
@@ -19,6 +19,10 @@ end
private
+
+ def allowed_sorts
+ ['rank', 'stars', 'dependents_cou... | Fix sorting on search api |
diff --git a/app/controllers/api/status_controller.rb b/app/controllers/api/status_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/status_controller.rb
+++ b/app/controllers/api/status_controller.rb
@@ -11,6 +11,10 @@ else
@projects = []
end
+ fields = Project::API_FIELDS
+ i... | Add a param (?score) to get project score v2 in the bulk check api
|
diff --git a/app/controllers/jodel_city_controller.rb b/app/controllers/jodel_city_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/jodel_city_controller.rb
+++ b/app/controllers/jodel_city_controller.rb
@@ -7,7 +7,7 @@ handler = JodelHandler.new("a44549e5-8f61-4db7-acbf-d9c4673f53ff")
cities ... | Fix Posts not being deleted
|
diff --git a/spec/aruba/fixtures/migrations/56/20171115195229_add_temporal_extension_to_impressions.rb b/spec/aruba/fixtures/migrations/56/20171115195229_add_temporal_extension_to_impressions.rb
index abc1234..def5678 100644
--- a/spec/aruba/fixtures/migrations/56/20171115195229_add_temporal_extension_to_impressions.rb... | Make migrations Rails 5.0 compatible
|
diff --git a/app/decorators/georgia/post_decorator.rb b/app/decorators/georgia/post_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/georgia/post_decorator.rb
+++ b/app/decorators/georgia/post_decorator.rb
@@ -1,30 +1,4 @@ module Georgia
class PostDecorator < Georgia::PageDecorator
-
- def template... | Remove all legacy category-related methods in PostDecorator
|
diff --git a/code_metrics.gemspec b/code_metrics.gemspec
index abc1234..def5678 100644
--- a/code_metrics.gemspec
+++ b/code_metrics.gemspec
@@ -3,13 +3,19 @@ require "code_metrics/version"
Gem::Specification.new do |s|
+ s.platform = Gem::Platform::RUBY
s.name = "code_metrics"
s.version = CodeM... | Bring gemspec in line with rails.gemspec
|
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_physical_server.rb b/lib/miq_automation_engine/service_models/miq_ae_service_physical_server.rb
index abc1234..def5678 100644
--- a/lib/miq_automation_engine/service_models/miq_ae_service_physical_server.rb
+++ b/lib/miq_automation_engine/service_mode... | Create automate service for Lenovo
|
diff --git a/test/tests/test_json_output.rb b/test/tests/test_json_output.rb
index abc1234..def5678 100644
--- a/test/tests/test_json_output.rb
+++ b/test/tests/test_json_output.rb
@@ -0,0 +1,30 @@+JSON_REPORT = JSON.parse(Brakeman.run("#{TEST_PATH}/apps/rails3.2").report.to_json)
+
+class JSONOutputTests < Test::Unit:... | Add simple tests for JSON reports
|
diff --git a/features/step_definitions/crudecumber_steps.rb b/features/step_definitions/crudecumber_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/crudecumber_steps.rb
+++ b/features/step_definitions/crudecumber_steps.rb
@@ -3,11 +3,12 @@ key = capture_key
unless skipped?(key)
unless p... | Fix terminal message spacing to make everything aligned
|
diff --git a/test/writers/html/tc_html_document.rb b/test/writers/html/tc_html_document.rb
index abc1234..def5678 100644
--- a/test/writers/html/tc_html_document.rb
+++ b/test/writers/html/tc_html_document.rb
@@ -23,8 +23,6 @@ writer: 'html', showAllTags: false)
got = metadata[:writerOutput]
- Fi... | Remove file write script from html mini test
|
diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb
index abc1234..def5678 100644
--- a/Casks/handbrakecli-nightly.rb
+++ b/Casks/handbrakecli-nightly.rb
@@ -1,6 +1,6 @@ cask :v1 => 'handbrakecli-nightly' do
- version '7073svn'
- sha256 '50a374f8b8984735e8f2b49d5be78f2dc713d433e3982ce539697c31f... | Update HandbrakeCLI Nightly to v7105svn
HandBrakeCLI Nightly v7105svn built 2015-04-20.
|
diff --git a/Casks/webstorm-bundled-jdk.rb b/Casks/webstorm-bundled-jdk.rb
index abc1234..def5678 100644
--- a/Casks/webstorm-bundled-jdk.rb
+++ b/Casks/webstorm-bundled-jdk.rb
@@ -1,6 +1,6 @@ cask :v1 => 'webstorm-bundled-jdk' do
- version '10.0.4'
- sha256 '539e8505c47e1f96349316ebc6441ef8f87c8b461fd6db88608a2269ba... | Update WebStorm Bundled to 11.0.0
|
diff --git a/db/migrate/20161111114955_add_submitted_timestamps_for_epix_users_to_annual_report_uploads.rb b/db/migrate/20161111114955_add_submitted_timestamps_for_epix_users_to_annual_report_uploads.rb
index abc1234..def5678 100644
--- a/db/migrate/20161111114955_add_submitted_timestamps_for_epix_users_to_annual_repor... | Add submitted timestamps for epix users in report uploads
|
diff --git a/rename_params.gemspec b/rename_params.gemspec
index abc1234..def5678 100644
--- a/rename_params.gemspec
+++ b/rename_params.gemspec
@@ -9,9 +9,12 @@ s.description = 'Simple params renaming for Rails applications'
s.authors = ['Marcelo Casiraghi']
s.email = 'marcelo@paragon-labs.com'
- s.... | Update file specs in gemspec
|
diff --git a/app/controllers/api/users/tasks_controller.rb b/app/controllers/api/users/tasks_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/users/tasks_controller.rb
+++ b/app/controllers/api/users/tasks_controller.rb
@@ -12,8 +12,11 @@ def create
@task = current_user.tasks.new(create_task... | Put sync_order and save within a lock
In order to make sure the task is saved with the highest order possible,
we must be sure `sync_order` and `save!` are thread-safe.
The lock is acquired for a given user since order can be duplicated for
two different users.
|
diff --git a/app/controllers/api/v1/versions_controller.rb b/app/controllers/api/v1/versions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/versions_controller.rb
+++ b/app/controllers/api/v1/versions_controller.rb
@@ -14,6 +14,12 @@ end
def reverse_dependencies
- respond_with(Versio... | Add full_name field to the reverse_dependencies payload
|
diff --git a/app/controllers/authentications_controller.rb b/app/controllers/authentications_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/authentications_controller.rb
+++ b/app/controllers/authentications_controller.rb
@@ -31,7 +31,7 @@ @authentication = current_user.authentications.find(param... | Fix pahts in for OA links
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.