diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/ConstructorAutocomplete.podspec b/ConstructorAutocomplete.podspec
index abc1234..def5678 100644
--- a/ConstructorAutocomplete.podspec
+++ b/ConstructorAutocomplete.podspec
@@ -6,7 +6,7 @@ spec.authors = { 'Zubin Tiku' => 'zubin@constructor.io', 'Christopher Gee' => 'christopher@constructor.io', 'Jim... | Update platform versio in podspec
|
diff --git a/tokaido-dns.gemspec b/tokaido-dns.gemspec
index abc1234..def5678 100644
--- a/tokaido-dns.gemspec
+++ b/tokaido-dns.gemspec
@@ -8,8 +8,8 @@ gem.version = Tokaido::DNS::VERSION
gem.authors = ["Yehuda Katz"]
gem.email = ["wycats@gmail.com"]
- gem.description = %q{TODO: Write a ... | Add description and summary to gemspec.
|
diff --git a/lib/shopify_api/resources/shop.rb b/lib/shopify_api/resources/shop.rb
index abc1234..def5678 100644
--- a/lib/shopify_api/resources/shop.rb
+++ b/lib/shopify_api/resources/shop.rb
@@ -2,8 +2,16 @@ # Shop object. Use Shop.current to receive
# the shop.
class Shop < Base
- def self.current(options... | Change Shop to a singlton class to clean up the current call.
|
diff --git a/fpm-cookery.gemspec b/fpm-cookery.gemspec
index abc1234..def5678 100644
--- a/fpm-cookery.gemspec
+++ b/fpm-cookery.gemspec
@@ -19,5 +19,6 @@ s.require_paths = ["lib"]
s.add_development_dependency "fpm"
+ s.add_development_dependency "minitest"
s.add_runtime_dependency "fpm"
end
| Add minitest as development dependency.
|
diff --git a/app/controllers/api/scores_api_controller.rb b/app/controllers/api/scores_api_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/scores_api_controller.rb
+++ b/app/controllers/api/scores_api_controller.rb
@@ -24,6 +24,14 @@ param_group :mode
param :limit, Integer, desc: 'Number of r... | Add temporary key param to api/map/ to access kool_woodtory records.
|
diff --git a/rubicure_fuzzy_match.gemspec b/rubicure_fuzzy_match.gemspec
index abc1234..def5678 100644
--- a/rubicure_fuzzy_match.gemspec
+++ b/rubicure_fuzzy_match.gemspec
@@ -23,6 +23,6 @@ spec.add_dependency "fuzzy_match", "~> 2.1.0"
spec.add_development_dependency "bundler", "~> 1.12"
- spec.add_development... | Upgrade Rake version from "~> 11.3" to "~> 12.0"
|
diff --git a/chef/attributes/client.rb b/chef/attributes/client.rb
index abc1234..def5678 100644
--- a/chef/attributes/client.rb
+++ b/chef/attributes/client.rb
@@ -24,4 +24,10 @@ chef[:client_version] = "0.7.4" unless chef.has_key?(:client_version)
chef[:client_interval] = "1800" unless chef.has_key?(:client_interval... | Handle log file location for centos and rhel where runit isnt used
|
diff --git a/minions_rails.gemspec b/minions_rails.gemspec
index abc1234..def5678 100644
--- a/minions_rails.gemspec
+++ b/minions_rails.gemspec
@@ -17,7 +17,7 @@ s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
- s.add_development_dependency "r... | Make Rails Dependency Less Specific
The current version that the rails dependency is locked to is restricting apps from updating for security patches. Locking to `~> 4.2.0` should allow for any non-breaking rails updates to be applied. |
diff --git a/frontend/bin/make_frontend.rb b/frontend/bin/make_frontend.rb
index abc1234..def5678 100644
--- a/frontend/bin/make_frontend.rb
+++ b/frontend/bin/make_frontend.rb
@@ -0,0 +1,45 @@+# Make executable file to be located as ${PREFIX}/bin/nullarihyon
+# make_frontend.rb [bin dir path] [tool path] [lib prefix f... | Add script to make frontend command
|
diff --git a/muni_api.rb b/muni_api.rb
index abc1234..def5678 100644
--- a/muni_api.rb
+++ b/muni_api.rb
@@ -30,6 +30,7 @@ e = msg.sub(/No Elevator at/, '')
.sub(/ Station/, '')
.sub(/ Sta\.$/, '')
+ .sub(/ street level elevator Out of Service/i, '')
if e && e != ''
... | Fix Van Ness parse error
(We had elevator (99, "Muni: Van Ness street elevator Out of Service")
|
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/default_spec.rb
+++ b/test/integration/default/serverspec/default_spec.rb
@@ -14,7 +14,7 @@ it do
is_expected.... | Correct RegEx for assertion for mcrouter config
Damned whitespace
|
diff --git a/hephaestus/lib/resque/base.rb b/hephaestus/lib/resque/base.rb
index abc1234..def5678 100644
--- a/hephaestus/lib/resque/base.rb
+++ b/hephaestus/lib/resque/base.rb
@@ -7,6 +7,7 @@ def self.after_perform(*args)
logging('end', args)
store_status('end', args.first)
+ update_history(args.first)
... | [aphrodite] Update status history and percentage
|
diff --git a/spec/timevalue_spec.rb b/spec/timevalue_spec.rb
index abc1234..def5678 100644
--- a/spec/timevalue_spec.rb
+++ b/spec/timevalue_spec.rb
@@ -1,9 +1,9 @@-require_relative 'spec_helper.rb'
+require_relative '../config/environment.rb'
describe 'timevalue' do
it 'should be initialized with 0 as defaults' ... | Update spec to use environment file
|
diff --git a/serialize.gemspec b/serialize.gemspec
index abc1234..def5678 100644
--- a/serialize.gemspec
+++ b/serialize.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'serialize'
- s.version = '0.1.0.0'
+ s.version = '0.1.1.0'
s.summary = 'Common interface for seriali... | Package version increased from 0.1.0.0 to 0.1.1.0
|
diff --git a/src/user.rb b/src/user.rb
index abc1234..def5678 100644
--- a/src/user.rb
+++ b/src/user.rb
@@ -17,13 +17,13 @@ end
def remove_purchased_item(items)
- items.delete_if do |item|
- purchased_items.include?(item)
+ purchased_items.delete_if do |item|
+ items.include?(item)
end
e... | Remove item from purchased items instead of items
|
diff --git a/capistrano-scrip.gemspec b/capistrano-scrip.gemspec
index abc1234..def5678 100644
--- a/capistrano-scrip.gemspec
+++ b/capistrano-scrip.gemspec
@@ -16,7 +16,7 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.b... | Remove missing file from gemspec
So that bundle does not complain each time.
|
diff --git a/config/projects/ganeti.rb b/config/projects/ganeti.rb
index abc1234..def5678 100644
--- a/config/projects/ganeti.rb
+++ b/config/projects/ganeti.rb
@@ -4,8 +4,7 @@ homepage 'https://code.google.com/p/ganeti/'
install_path '/opt/ganeti'
-#build_version Omnibus::BuildVersion.new.semver
-build_version... | Use a datestamp so each build has a different version
|
diff --git a/spec/hive_spec.rb b/spec/hive_spec.rb
index abc1234..def5678 100644
--- a/spec/hive_spec.rb
+++ b/spec/hive_spec.rb
@@ -11,9 +11,17 @@ end.converge(described_recipe)
end
- %w(mysql-connector-java postgresql-jdbc hive).each do |pkg|
+ it 'install hive package' do
+ expect(chef_run).t... | Move hive package check into its own section and do symlink test for CentOS
|
diff --git a/0_code_wars/number_pairs.rb b/0_code_wars/number_pairs.rb
index abc1234..def5678 100644
--- a/0_code_wars/number_pairs.rb
+++ b/0_code_wars/number_pairs.rb
@@ -0,0 +1,5 @@+# http://www.codewars.com/kata/563b1f55a5f2079dc100008a
+# --- iteration 1 ---
+def get_larger_numbers(a, b)
+ a.zip(b).map(&:max)
+en... | Add code wars (7) - number pairs
|
diff --git a/apps/main/component/main/application.rb b/apps/main/component/main/application.rb
index abc1234..def5678 100644
--- a/apps/main/component/main/application.rb
+++ b/apps/main/component/main/application.rb
@@ -15,13 +15,15 @@
use Rack::Session::Cookie, key: "app_prototype.session", secret: AppPrototype... | Use the all_verbs roda plugin so we can use additional HTTP verbs
|
diff --git a/import_config.rb b/import_config.rb
index abc1234..def5678 100644
--- a/import_config.rb
+++ b/import_config.rb
@@ -10,6 +10,16 @@ end
if config_line.index("port")
@port = config_line.sub("port=", "")
+ change_port_in_angular(@port)
end
end
+end
+
+def change_port_in_angular (new_port)
+ fi... | Change port also in app.js
|
diff --git a/SmartDeviceLink-iOS.podspec b/SmartDeviceLink-iOS.podspec
index abc1234..def5678 100644
--- a/SmartDeviceLink-iOS.podspec
+++ b/SmartDeviceLink-iOS.podspec
@@ -6,7 +6,7 @@ s.homepage = "https://github.com/smartdevicelink/SmartDeviceLink-iOS"
s.license = { :type => "New BSD", :file => "LICENSE... | Declare our compatibility with iOS 6 to cocoapods
|
diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/home_helper.rb
+++ b/app/helpers/home_helper.rb
@@ -4,7 +4,10 @@ if !logged_in?
link_to t('ui.home'), home_path
else
- link_to t('ui.home'), conversation_messages_path(current_user.p... | Add a tooltip to the home link when the user is loged, so the user can know the login name of the current user and the personal convo
|
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -1,6 +1,5 @@ class UserMailer < ApplicationMailer
default from: "welcome@holyimage.baidu.com"
- layout "mailer"
def welcome(user, url)
@us... | Remove layout on user mailer
|
diff --git a/app/models/housing_data.rb b/app/models/housing_data.rb
index abc1234..def5678 100644
--- a/app/models/housing_data.rb
+++ b/app/models/housing_data.rb
@@ -1,5 +1,4 @@ class HousingData < ActiveRecord::Base
- establish_connection :housing_data
self.table_name = 'hpp_view'
self.primary_key = :mu... | Change connection in HousingData model
|
diff --git a/app/models/market_model.rb b/app/models/market_model.rb
index abc1234..def5678 100644
--- a/app/models/market_model.rb
+++ b/app/models/market_model.rb
@@ -2,7 +2,7 @@ include Privacy
FOUNDATIONS = %w(
- connections kWh kW_connection kW_max kW_contracted
+ connections kWh kWh_produced kWh_cons... | Make kWh produced and kWh consumed available
|
diff --git a/lib/rspec-puppet/example/function_example_group.rb b/lib/rspec-puppet/example/function_example_group.rb
index abc1234..def5678 100644
--- a/lib/rspec-puppet/example/function_example_group.rb
+++ b/lib/rspec-puppet/example/function_example_group.rb
@@ -9,9 +9,36 @@ Puppet[:libdir] = Dir["#{Puppet[:mod... | Add support for pre_condition with functions
This commit adds support for using the pre_condition
hook to specify the source code that should be used to
compile a catalog that can be introspected by functions for
testing purposes.
This allows users to test functions that need access to
catalog contents.
This allows ... |
diff --git a/lib/tasks/taxonomy/register_email_signup_page.rake b/lib/tasks/taxonomy/register_email_signup_page.rake
index abc1234..def5678 100644
--- a/lib/tasks/taxonomy/register_email_signup_page.rake
+++ b/lib/tasks/taxonomy/register_email_signup_page.rake
@@ -0,0 +1,46 @@+namespace :taxonomy do
+ desc <<-DESC
+ ... | Add rake task to register a taxonomy email signup page
Create a content item at the base path /taxonomy-email-signup. The
email-alert-frontend app will be updated to serve signup pages at this
endpoint, allowing users to subscribe to content changes in the
taxonomy.
|
diff --git a/Casks/lastpass-universal.rb b/Casks/lastpass-universal.rb
index abc1234..def5678 100644
--- a/Casks/lastpass-universal.rb
+++ b/Casks/lastpass-universal.rb
@@ -4,4 +4,5 @@ version 'latest'
no_checksum
install 'lpmacosx.pkg'
+ uninstall :pkgutil => 'com.lastpass.lpmacosx'
end
| Add uninstall stanza to LastPass Universal
|
diff --git a/lib/active_touch/touch_job.rb b/lib/active_touch/touch_job.rb
index abc1234..def5678 100644
--- a/lib/active_touch/touch_job.rb
+++ b/lib/active_touch/touch_job.rb
@@ -1,7 +1,7 @@ module ActiveTouch
class TouchJob < ActiveJob::Base
- def perform(record, association, after_touch, is_async = ActiveTo... | Revert "use configuration to define default async touch job"
This reverts commit bc3d3fef7a0614e53ff8af419d8e3582be978218.
|
diff --git a/lib/coresys/commands/idiff.rb b/lib/coresys/commands/idiff.rb
index abc1234..def5678 100644
--- a/lib/coresys/commands/idiff.rb
+++ b/lib/coresys/commands/idiff.rb
@@ -0,0 +1,21 @@+formula = Coresys::Formula.find(ARGV[0]).new
+Coresys::Installer.new(formula).install do
+
+ # Create two identical directori... | Add command to speed creation of diffs for patch
|
diff --git a/lib/nacre/order_collection.rb b/lib/nacre/order_collection.rb
index abc1234..def5678 100644
--- a/lib/nacre/order_collection.rb
+++ b/lib/nacre/order_collection.rb
@@ -21,7 +21,7 @@ end
end
- def each &block
+ def each(&block)
members.each do |member|
block.call(member)
... | Use parentheses to match coding style
|
diff --git a/lib/ritual/extension/jruby.rb b/lib/ritual/extension/jruby.rb
index abc1234..def5678 100644
--- a/lib/ritual/extension/jruby.rb
+++ b/lib/ritual/extension/jruby.rb
@@ -12,7 +12,7 @@ sh 'javac', '-g', '-classpath', class_path, *source_paths
Dir.chdir path do
mkdir_p File.di... | Fix jar invocation when building jars in 1.9 mode.
|
diff --git a/lib/tasks/publishing_api.rake b/lib/tasks/publishing_api.rake
index abc1234..def5678 100644
--- a/lib/tasks/publishing_api.rake
+++ b/lib/tasks/publishing_api.rake
@@ -1,4 +1,17 @@ namespace :publishing_api do
+ desc "Publish all Policies to the Publishing API in reverse alphabetical order"
+ task publis... | Add rake task to republish all policies
We need this to populate `emphasised_organisations` for all policies.
|
diff --git a/lib/bootscale/entry.rb b/lib/bootscale/entry.rb
index abc1234..def5678 100644
--- a/lib/bootscale/entry.rb
+++ b/lib/bootscale/entry.rb
@@ -3,7 +3,7 @@ DL_EXTENSIONS = [
RbConfig::CONFIG['DLEXT'],
RbConfig::CONFIG['DLEXT2'],
- ].reject(&:empty?).map { |ext| ".#{ext}"}
+ ].reject { |... | Fix load of DL_EXTENSIONS under rbx
|
diff --git a/lib/buckaruby/ideal.rb b/lib/buckaruby/ideal.rb
index abc1234..def5678 100644
--- a/lib/buckaruby/ideal.rb
+++ b/lib/buckaruby/ideal.rb
@@ -8,13 +8,13 @@ "BUNQNL2A" => "bunq",
"HANDNL2A" => "Handelsbanken",
"INGBNL2A" => "ING",
- "KNABNL2H" => "Knab bank",
+ "KNABNL2H" => "Kna... | Change bank names to the names returned from the transaction specification.
|
diff --git a/deployment/puppet/nova/spec/classes/nova_volume_iscsi_spec.rb b/deployment/puppet/nova/spec/classes/nova_volume_iscsi_spec.rb
index abc1234..def5678 100644
--- a/deployment/puppet/nova/spec/classes/nova_volume_iscsi_spec.rb
+++ b/deployment/puppet/nova/spec/classes/nova_volume_iscsi_spec.rb
@@ -0,0 +1,45 @... | Add spec tests for nova::volume::iscsi
|
diff --git a/lib/debox_server/view_helpers.rb b/lib/debox_server/view_helpers.rb
index abc1234..def5678 100644
--- a/lib/debox_server/view_helpers.rb
+++ b/lib/debox_server/view_helpers.rb
@@ -3,25 +3,28 @@
def current_app
return @request_app if @request_app
- @request_app = params[:app]
- error!... | Move current_app and current_env to activerecord apps and env
|
diff --git a/lib/lita/handlers/karma/decay.rb b/lib/lita/handlers/karma/decay.rb
index abc1234..def5678 100644
--- a/lib/lita/handlers/karma/decay.rb
+++ b/lib/lita/handlers/karma/decay.rb
@@ -7,13 +7,13 @@ def call
return unless decay_enabled?
cutoff = Time.now.to_i - decay_interval
- terms = re... | Use clearer names in Decay.
|
diff --git a/lib/client_for_poslynx/net/em_connector/connection_handler.rb b/lib/client_for_poslynx/net/em_connector/connection_handler.rb
index abc1234..def5678 100644
--- a/lib/client_for_poslynx/net/em_connector/connection_handler.rb
+++ b/lib/client_for_poslynx/net/em_connector/connection_handler.rb
@@ -5,6 +5,7 @@... | Fix bug. Protocol not included in EM_Connector handler
|
diff --git a/spec/interactors/headlines/generate_scan_results_hash_spec.rb b/spec/interactors/headlines/generate_scan_results_hash_spec.rb
index abc1234..def5678 100644
--- a/spec/interactors/headlines/generate_scan_results_hash_spec.rb
+++ b/spec/interactors/headlines/generate_scan_results_hash_spec.rb
@@ -20,7 +20,7 ... | Fix total scan result spec
|
diff --git a/lib/turkish_support/constants.rb b/lib/turkish_support/constants.rb
index abc1234..def5678 100644
--- a/lib/turkish_support/constants.rb
+++ b/lib/turkish_support/constants.rb
@@ -1,6 +1,6 @@ module TurkishSupport
- DOWNCASED_ALPHABET = 'abcçdefgğhıijklmnoöprsştuüvyz'
- UPCASED_ALPHABET = 'ABCÇDEFGĞHIİ... | Add english chars to pattern matching
|
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -25,8 +25,6 @@ end
def check_lock_state
- if is_locked? && !is_admin?
- redirect_to root_url
- end
+ redirect_to root_url if is_... | Use correct form of if statement
:D
|
diff --git a/app/controllers/api/docs/branches.rb b/app/controllers/api/docs/branches.rb
index abc1234..def5678 100644
--- a/app/controllers/api/docs/branches.rb
+++ b/app/controllers/api/docs/branches.rb
@@ -3,6 +3,44 @@ class Branches
# :nocov:
include Swagger::Blocks
+
+ swagger_schema :Branch... | Add swagger schema for Branch
|
diff --git a/app/controllers/people_controller.rb b/app/controllers/people_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/people_controller.rb
+++ b/app/controllers/people_controller.rb
@@ -1,9 +1,15 @@ class PeopleController < ApplicationController
+ before_action :set_locale
+
def show
@pe... | Set locale in people controller
This matches the code in the organisations controller.
|
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -4,7 +4,7 @@
def show
@post_records = Post.search(query_term).paginate(page: params[:page]).records
- ... | Add filter to make sure search controller provides only published posts to the view
|
diff --git a/app/models/forem/ability.rb b/app/models/forem/ability.rb
index abc1234..def5678 100644
--- a/app/models/forem/ability.rb
+++ b/app/models/forem/ability.rb
@@ -27,8 +27,6 @@ end
end
end
-
- can :read, :forums
end
end
end
| Remove erroneous can :read, :forums
|
diff --git a/app/controllers/skills_controller.rb b/app/controllers/skills_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/skills_controller.rb
+++ b/app/controllers/skills_controller.rb
@@ -2,6 +2,7 @@ def index
@new_skill = Skill.new
@skills = current_user.skills.order(:id)
+ @first_l... | Add flag so only the first skill has the active flag
|
diff --git a/app/models/word_document.rb b/app/models/word_document.rb
index abc1234..def5678 100644
--- a/app/models/word_document.rb
+++ b/app/models/word_document.rb
@@ -11,6 +11,6 @@ end
def to_s
- @_converted ||= parser.new(path, display: ':99').to_s
+ @_converted ||= parser.new(path, display: ':99', ... | Use StarWriter format to overcome word import issues on QA |
diff --git a/db/migrate/20161006192505_rename_stripe_to_id.rb b/db/migrate/20161006192505_rename_stripe_to_id.rb
index abc1234..def5678 100644
--- a/db/migrate/20161006192505_rename_stripe_to_id.rb
+++ b/db/migrate/20161006192505_rename_stripe_to_id.rb
@@ -0,0 +1,6 @@+class RenameStripeToId < ActiveRecord::Migration
+ ... | Rename stripe_token to stripe_id throughout
|
diff --git a/app/models/users_project.rb b/app/models/users_project.rb
index abc1234..def5678 100644
--- a/app/models/users_project.rb
+++ b/app/models/users_project.rb
@@ -9,13 +9,18 @@ validates_uniqueness_of :user_id, :scope => [:project_id]
validates_presence_of :user_id
validates_presence_of :project_id
- ... | Add check to ensure that a team member has atleast one Access Role selected
|
diff --git a/deep_merge.gemspec b/deep_merge.gemspec
index abc1234..def5678 100644
--- a/deep_merge.gemspec
+++ b/deep_merge.gemspec
@@ -31,6 +31,7 @@ ]
s.add_development_dependency "rake", "~> 10.1"
+ s.add_development_dependency "test-unit-minitest"
end
| Fix issues with testing on newer Ruby versions.
|
diff --git a/app/models/addresses/address.rb b/app/models/addresses/address.rb
index abc1234..def5678 100644
--- a/app/models/addresses/address.rb
+++ b/app/models/addresses/address.rb
@@ -4,7 +4,7 @@ belongs_to :addressable, polymorphic: true
validates :number, presence: true
- validates :zipcode_id, pre... | Add try to zipcode and street.
|
diff --git a/app/models/concerns/srdc_run.rb b/app/models/concerns/srdc_run.rb
index abc1234..def5678 100644
--- a/app/models/concerns/srdc_run.rb
+++ b/app/models/concerns/srdc_run.rb
@@ -15,16 +15,15 @@ end
def set_runner_from_srdc
- return if srdc_id.nil? || user.present?
-
- srdc_run = Speedrun... | Revert "Guard against speedrun.com failed calls"
This reverts commit caf7d4aab73883f63ab00013712050a9e781f014.
|
diff --git a/app/validators/run_validator.rb b/app/validators/run_validator.rb
index abc1234..def5678 100644
--- a/app/validators/run_validator.rb
+++ b/app/validators/run_validator.rb
@@ -10,7 +10,7 @@ return if record.video_url.nil?
URI.parse(record.video_url).tap do |uri|
- unless uri.host =~ /^(www\... | Allow youtu.be links for proof
|
diff --git a/wateringServer/app/models/plant.rb b/wateringServer/app/models/plant.rb
index abc1234..def5678 100644
--- a/wateringServer/app/models/plant.rb
+++ b/wateringServer/app/models/plant.rb
@@ -7,7 +7,10 @@ end
def needs_water?
- # TODO handle no waterings
- Date.today() - self.latest_watering.date ... | Add handling of no waterings to needs_water?
|
diff --git a/git-duet.rb b/git-duet.rb
index abc1234..def5678 100644
--- a/git-duet.rb
+++ b/git-duet.rb
@@ -4,10 +4,10 @@ version "0.5.0"
if OS.mac?
url "https://github.com/git-duet/git-duet/releases/download/0.5.0/darwin_amd64.tar.gz"
- sha256 "adc9fe97c99e92fdb160ad29413ec437e125d454590f41be1b91924a4c9e... | Update SHAs of 0.5.0 tarballs
The initial release of 0.5.0 contained the wrong binaries, see:
https://github.com/git-duet/git-duet/issues/40
|
diff --git a/app/exporters/formatters/manual_section_indexable_formatter.rb b/app/exporters/formatters/manual_section_indexable_formatter.rb
index abc1234..def5678 100644
--- a/app/exporters/formatters/manual_section_indexable_formatter.rb
+++ b/app/exporters/formatters/manual_section_indexable_formatter.rb
@@ -1,6 +1,... | Refactor ManualSectionIndexableFormatter to use abstract class
This avoids duplication of with_leading_slash, and makes this formatter more
consistent with the others.
The main change here is to override private methods from the superclass
instead of defining the attributes entirely in indexable_attributes. This
make... |
diff --git a/playground/.chef/knife.rb b/playground/.chef/knife.rb
index abc1234..def5678 100644
--- a/playground/.chef/knife.rb
+++ b/playground/.chef/knife.rb
@@ -1,6 +1,6 @@ chef_repo = File.join(File.dirname(__FILE__), "..")
-chef_server_url "http://127.0.0.1:4000"
+chef_server_url "http://127.0.0.1:8889"
node_n... | Connect to chef zero default port in the playground
Fixes: #128
Signed-off-by: Thom May <b591b301ff4610f565a21bb050267ffd893cc83c@may.lt>
|
diff --git a/lib/redis_permalink.rb b/lib/redis_permalink.rb
index abc1234..def5678 100644
--- a/lib/redis_permalink.rb
+++ b/lib/redis_permalink.rb
@@ -1,5 +1,73 @@ require "redis_permalink/version"
+require "active_support"
+require "active_record"
module RedisPermalink
- # Your code goes here...
+ extend ActiveS... | Add Variant Redis Cache Store
|
diff --git a/lib/redshiftex/core.rb b/lib/redshiftex/core.rb
index abc1234..def5678 100644
--- a/lib/redshiftex/core.rb
+++ b/lib/redshiftex/core.rb
@@ -1,6 +1,6 @@ require 'yaml'
require 'logger'
-require 'timeout'
+require 'timeout' unless defined?(Timeout)
module Redshiftex
class Core
@@ -11,7 +11,7 @@ en... | Fix load error gem "timeout"
add condition when load gem.
|
diff --git a/lib/utils.rb b/lib/utils.rb
index abc1234..def5678 100644
--- a/lib/utils.rb
+++ b/lib/utils.rb
@@ -8,7 +8,7 @@ results = []
blocks.each do |b|
info = yield b
- results.concat [*info]
+ results.concat Array(info)
end
results
end
| Use Array instead of [*info] for clarity
|
diff --git a/lib/sfn/callback.rb b/lib/sfn/callback.rb
index abc1234..def5678 100644
--- a/lib/sfn/callback.rb
+++ b/lib/sfn/callback.rb
@@ -26,5 +26,23 @@ @api = api
end
+ # Wrap action within status text
+ #
+ # @param msg [String] action text
+ # @yieldblock action to perform
+ # @return ... | Add UI helper to wrap actions
|
diff --git a/lib/thin/recipes.rb b/lib/thin/recipes.rb
index abc1234..def5678 100644
--- a/lib/thin/recipes.rb
+++ b/lib/thin/recipes.rb
@@ -15,7 +15,7 @@
Capistrano::Configuration.instance.load do
set :thin_cluster, "thin_cluster"
- set :thin_config, "#{release_path}/config/thin.yml"
+ set :thin_config, "#{curr... | Use current_path to locate config file
git-svn-id: 1a7f608db5630264da01beecbf41f3f4b8b256b8@361 ab7993de-5426-0410-a80b-baa00616f331
|
diff --git a/lib/tdx/parsers/eod.rb b/lib/tdx/parsers/eod.rb
index abc1234..def5678 100644
--- a/lib/tdx/parsers/eod.rb
+++ b/lib/tdx/parsers/eod.rb
@@ -9,7 +9,7 @@
(file.size / 32).times do |line|
file.pos = line * 32
- quotes << Quote.read(file)
+ quotes << Quote.new.read(file)
... | Fix the bug that returns unparsed quotes
|
diff --git a/spec/app_manager/api_spec.rb b/spec/app_manager/api_spec.rb
index abc1234..def5678 100644
--- a/spec/app_manager/api_spec.rb
+++ b/spec/app_manager/api_spec.rb
@@ -8,8 +8,12 @@ end
describe "new" do
- it "should return a new Api instance" do
+ it "returns a new Api instance" do
ManageEn... | Add Spec for Unknown API Version
Update the API spec to include testing for an unknown version.
|
diff --git a/spec/models/activity_spec.rb b/spec/models/activity_spec.rb
index abc1234..def5678 100644
--- a/spec/models/activity_spec.rb
+++ b/spec/models/activity_spec.rb
@@ -1,5 +1,23 @@ require 'rails_helper'
RSpec.describe Activity, type: :model do
- pending "add some examples to (or delete) #{__FILE__}"
+
+ ... | Write tests for Activity model - all pass
|
diff --git a/lib/tinkoff/payment.rb b/lib/tinkoff/payment.rb
index abc1234..def5678 100644
--- a/lib/tinkoff/payment.rb
+++ b/lib/tinkoff/payment.rb
@@ -22,5 +22,13 @@ @original_amount = response['OriginalAmount']
@new_amount = response['NewAmount']
end
+
+ def failure?
+ !@success
+ end
+
... | Add success? and failure? methods to Payment
|
diff --git a/spec/tests/base/base_spec.rb b/spec/tests/base/base_spec.rb
index abc1234..def5678 100644
--- a/spec/tests/base/base_spec.rb
+++ b/spec/tests/base/base_spec.rb
@@ -12,15 +12,3 @@ describe command("timeout 1 dig #{property[:vip_internal_fqdn]}") do
it { should return_exit_status 0 }
end
-
-describe comm... | Revert "base: test eDeploy commands"
This reverts commit 4d3d626f50a1de24a08d89b64f0b0c511670d746.
|
diff --git a/fluent-plugin-kafka.gemspec b/fluent-plugin-kafka.gemspec
index abc1234..def5678 100644
--- a/fluent-plugin-kafka.gemspec
+++ b/fluent-plugin-kafka.gemspec
@@ -19,4 +19,5 @@ gem.add_dependency 'yajl-ruby'
gem.add_dependency 'msgpack'
gem.add_dependency 'zookeeper'
+ gem.add_dependency 'snappy'
en... | Add new dependency to gemspec
|
diff --git a/core/spec/models/concerns/comable/cart_owner_spec.rb b/core/spec/models/concerns/comable/cart_owner_spec.rb
index abc1234..def5678 100644
--- a/core/spec/models/concerns/comable/cart_owner_spec.rb
+++ b/core/spec/models/concerns/comable/cart_owner_spec.rb
@@ -19,7 +19,7 @@ let(:stock) { create(:stock, ... | Fix a failed test case for CartOwner
|
diff --git a/app/models/request.rb b/app/models/request.rb
index abc1234..def5678 100644
--- a/app/models/request.rb
+++ b/app/models/request.rb
@@ -6,7 +6,7 @@
validates :content, presence: true
validates :requester, presence: true
- validates :isFulfilled, presence: true
+ validates :is_fulfilled, presence: ... | Fix another variable to use snakecase
|
diff --git a/lib/specinfra/command/redhat/base/yumrepo.rb b/lib/specinfra/command/redhat/base/yumrepo.rb
index abc1234..def5678 100644
--- a/lib/specinfra/command/redhat/base/yumrepo.rb
+++ b/lib/specinfra/command/redhat/base/yumrepo.rb
@@ -1,7 +1,7 @@ class Specinfra::Command::Redhat::Base::Yumrepo < Specinfra::Comman... | Use regexp to match exactly the repo name
If you have different repos with name like gvp-bi-common, gvp-bi-common-x86_64, gvp-bi-common-noarch, etc...and you want to verify if they exist or not, with the current code it fails even if the repo not exist because it matches only the beginning of the name. Matching the na... |
diff --git a/user_api/com/mdi/storage/collection_definitions_mapping.rb b/user_api/com/mdi/storage/collection_definitions_mapping.rb
index abc1234..def5678 100644
--- a/user_api/com/mdi/storage/collection_definitions_mapping.rb
+++ b/user_api/com/mdi/storage/collection_definitions_mapping.rb
@@ -21,9 +21,20 @@
... | Add method to get definitions for an asset
|
diff --git a/app/views/renalware/api/ukrdc/patients/_clinic_visit_observation.xml.builder b/app/views/renalware/api/ukrdc/patients/_clinic_visit_observation.xml.builder
index abc1234..def5678 100644
--- a/app/views/renalware/api/ukrdc/patients/_clinic_visit_observation.xml.builder
+++ b/app/views/renalware/api/ukrdc/pa... | Use UKRR not PV coding standard for clinic observations
Had already changed HD observations but not those in clinic visits.
|
diff --git a/recipes/mod_cloudflare.rb b/recipes/mod_cloudflare.rb
index abc1234..def5678 100644
--- a/recipes/mod_cloudflare.rb
+++ b/recipes/mod_cloudflare.rb
@@ -18,7 +18,7 @@ #
apt_repository 'cloudflare' do
- uri 'http://pkg.cloudflare.com'
+ uri 'https://pkg.cloudflare.com/'
distribution node['lsb']['code... | Use the https cloudflare repo
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/db/seeds/demo/160_patients_bookmarks.rb b/db/seeds/demo/160_patients_bookmarks.rb
index abc1234..def5678 100644
--- a/db/seeds/demo/160_patients_bookmarks.rb
+++ b/db/seeds/demo/160_patients_bookmarks.rb
@@ -1,7 +1,5 @@ module Renalware
log "--------------------Adding Bookmarks --------------------"
-
-... | Remove unused .csv file and change log title
|
diff --git a/definitions/sn-centos-6.4/definition.rb b/definitions/sn-centos-6.4/definition.rb
index abc1234..def5678 100644
--- a/definitions/sn-centos-6.4/definition.rb
+++ b/definitions/sn-centos-6.4/definition.rb
@@ -12,7 +12,7 @@ ],
:memory_size => "512",
... | Update md5sum of the 6.4 iso
|
diff --git a/test/simplereactor_test.rb b/test/simplereactor_test.rb
index abc1234..def5678 100644
--- a/test/simplereactor_test.rb
+++ b/test/simplereactor_test.rb
@@ -12,7 +12,17 @@ it "sets reactor to a nio4r based reactor, if nio4r is available" do
SimpleReactor.use_engine :nio
- SimpleReactor.Reactor.m... | Add a basic test for toggling from one engine type to another, and back.
|
diff --git a/eclipse-plugins.rb b/eclipse-plugins.rb
index abc1234..def5678 100644
--- a/eclipse-plugins.rb
+++ b/eclipse-plugins.rb
@@ -5,7 +5,7 @@ MARKETPLACE_PLUGINS << { id: 2706327, human: 'Docker Tooling' }
MARKETPLACE_PLUGINS << { id: 1216155, human: 'm2e apt' }
MARKETPLACE_PLUGINS << { id: 264, human: 'ECL Em... | Use SpotBugs instead of FindBugs
* SpotBugs is under active development and FindBugs has effectively not moved for over a year.
|
diff --git a/mini_magick.gemspec b/mini_magick.gemspec
index abc1234..def5678 100644
--- a/mini_magick.gemspec
+++ b/mini_magick.gemspec
@@ -17,7 +17,6 @@ s.homepage = 'https://github.com/minimagick/minimagick'
s.files = Dir['README.rdoc', 'VERSION', 'MIT-LICENSE', 'Rakefile', 'lib/**/*']
- s.test_fil... | Remove test files from gemspec manifest
The images take up a lot of space, and there is no need to have test
files included in the gem.
|
diff --git a/core/lib/generators/spree/install/templates/config/initializers/spree.rb b/core/lib/generators/spree/install/templates/config/initializers/spree.rb
index abc1234..def5678 100644
--- a/core/lib/generators/spree/install/templates/config/initializers/spree.rb
+++ b/core/lib/generators/spree/install/templates/... | Switch to solidus_logo.png in initializer template
|
diff --git a/config/initializers/cors.rb b/config/initializers/cors.rb
index abc1234..def5678 100644
--- a/config/initializers/cors.rb
+++ b/config/initializers/cors.rb
@@ -7,7 +7,7 @@
Rails.application.config.middleware.insert_before 0, Rack::Cors do
allow do
- origins 'tebukuro.shinosakarb.org', 'localhost:40... | Switch allowed frontend origin by rails environment
|
diff --git a/app/controllers/sms_controller.rb b/app/controllers/sms_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sms_controller.rb
+++ b/app/controllers/sms_controller.rb
@@ -2,7 +2,7 @@ @user = User.find(session[:user_id])
reach = @user.reaches.find_by(main_reach: true)
to = reach.contact... | Add sent by signature in text message
|
diff --git a/zoo-app/lib/zoo_app/animal_service_client.rb b/zoo-app/lib/zoo_app/animal_service_client.rb
index abc1234..def5678 100644
--- a/zoo-app/lib/zoo_app/animal_service_client.rb
+++ b/zoo-app/lib/zoo_app/animal_service_client.rb
@@ -5,6 +5,7 @@ base_uri 'http://animal-service.com'
def get_alligator
- ... | Implement the Animal Service client consumer methods
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -24,4 +24,15 @@ capture(&block)
end
end
+
+ def money(number, currency)
+ number_to_currency(number, unit:... | Add money and hourly_rate helpers
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -9,7 +9,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script... | Update default pageview to include url fragment/hash.
|
diff --git a/app/models/edi_ops_transaction.rb b/app/models/edi_ops_transaction.rb
index abc1234..def5678 100644
--- a/app/models/edi_ops_transaction.rb
+++ b/app/models/edi_ops_transaction.rb
@@ -26,11 +26,11 @@ state :assigned
state :resolved
- event assign: do
+ event :assign do
transitions f... | Fix syntax error in event definitions
|
diff --git a/app/models/edi_ops_transaction.rb b/app/models/edi_ops_transaction.rb
index abc1234..def5678 100644
--- a/app/models/edi_ops_transaction.rb
+++ b/app/models/edi_ops_transaction.rb
@@ -1,6 +1,8 @@ class EdiOpsTransaction
include Mongoid::Document
include Mongoid::Timestamps
+ include AASM
+
fiel... | Add aasm, comments and assignment attributes
|
diff --git a/lib/lanes/api/default_routes.rb b/lib/lanes/api/default_routes.rb
index abc1234..def5678 100644
--- a/lib/lanes/api/default_routes.rb
+++ b/lib/lanes/api/default_routes.rb
@@ -10,8 +10,10 @@ get Lanes.config.mounted_at + '/file/*',
&API::Handlers::File.getter
- Extensions.each... | Load routes in reverse order
This way the current route can override all previous
|
diff --git a/lib/morph/docker_maintenance.rb b/lib/morph/docker_maintenance.rb
index abc1234..def5678 100644
--- a/lib/morph/docker_maintenance.rb
+++ b/lib/morph/docker_maintenance.rb
@@ -17,7 +17,7 @@ private
def self.delete_container(container)
- Rails.logger.info "Deleting container #{container}..."... | Fix typo - only output container ID
|
diff --git a/lib/fog/volume/openstack/requests/update_metadata.rb b/lib/fog/volume/openstack/requests/update_metadata.rb
index abc1234..def5678 100644
--- a/lib/fog/volume/openstack/requests/update_metadata.rb
+++ b/lib/fog/volume/openstack/requests/update_metadata.rb
@@ -9,7 +9,7 @@
request(
:... | Update metadata update expected return code
Huawei FusionSphere OpenStack return a 202 HTTP code when updating volume metadata |
diff --git a/Casks/appcode-eap.rb b/Casks/appcode-eap.rb
index abc1234..def5678 100644
--- a/Casks/appcode-eap.rb
+++ b/Casks/appcode-eap.rb
@@ -1,10 +1,32 @@ cask :v1 => 'appcode-eap' do
- version '3.2.0'
- sha256 'fa78dc8e2a7430e7173cecec7b6e369f3d2cf442facd7ee0df46592788b00715'
+ version '141.1399.2'
+ sha256 '2... | Improve cask for AppCode EAP
|
diff --git a/Casks/ninjablocks.rb b/Casks/ninjablocks.rb
index abc1234..def5678 100644
--- a/Casks/ninjablocks.rb
+++ b/Casks/ninjablocks.rb
@@ -2,8 +2,8 @@ version '0.2'
sha256 'f0ed94bc767a7f0059d08904f71c4266b6045ce4f7c194678e48b02a2d85eaeb'
- # dropboxusercontent.com is the official download host per the de... | Fix `url` stanza comment for NinjaBlocks.
|
diff --git a/Casks/simpholders.rb b/Casks/simpholders.rb
index abc1234..def5678 100644
--- a/Casks/simpholders.rb
+++ b/Casks/simpholders.rb
@@ -1,10 +1,10 @@ cask 'simpholders' do
- version '2.1'
- sha256 '68472926b108bc46b84fd2b6c1083b9fd1810f5fb70fc0924818d60f5bb8e668'
+ version '2.2'
+ sha256 '0f12b0076f2bef08c... | Update SimPholders to version 2.2
This commit updates the version and sha256 stanzas.
|
diff --git a/ruby-puppetdb.gemspec b/ruby-puppetdb.gemspec
index abc1234..def5678 100644
--- a/ruby-puppetdb.gemspec
+++ b/ruby-puppetdb.gemspec
@@ -15,6 +15,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency('json')
+ s.add_depende... | Add dependency on chronic to gemspec
|
diff --git a/lib/kosmos/package_attrs.rb b/lib/kosmos/package_attrs.rb
index abc1234..def5678 100644
--- a/lib/kosmos/package_attrs.rb
+++ b/lib/kosmos/package_attrs.rb
@@ -48,6 +48,10 @@ end
end
+ alias_method :prerequiste, :prerequisites
+ alias_method :pre_requisite, :prerequisites
+ ... | Add some aliases for the requiste methods.
|
diff --git a/lib/rails-html-sanitizer.rb b/lib/rails-html-sanitizer.rb
index abc1234..def5678 100644
--- a/lib/rails-html-sanitizer.rb
+++ b/lib/rails-html-sanitizer.rb
@@ -5,5 +5,18 @@
module Rails
module Html
+ module Sanitizer
+ def full_sanitizer
+ Html::FullSanitizer
+ end
+
+ def lin... | Add Sanitizer module responding to sanitizer_vendor interface.
|
diff --git a/lib/raygun/configuration.rb b/lib/raygun/configuration.rb
index abc1234..def5678 100644
--- a/lib/raygun/configuration.rb
+++ b/lib/raygun/configuration.rb
@@ -41,7 +41,7 @@ # set default attribute values
@ignore = IGNORE_DEFAULT
@custom_data ... | Change default value for config.silence_reporting to 'nil' as opposed to 'false' so it can be overridden by the Raltie
|
diff --git a/config/initializers/localeapp.rb b/config/initializers/localeapp.rb
index abc1234..def5678 100644
--- a/config/initializers/localeapp.rb
+++ b/config/initializers/localeapp.rb
@@ -1,3 +1,4 @@+require_relative '../application'
require 'localeapp/rails'
Localeapp.configure do |config|
| Make sure `Rails` constant is defined
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.