diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/truncate_html/html_string.rb b/lib/truncate_html/html_string.rb
index abc1234..def5678 100644
--- a/lib/truncate_html/html_string.rb
+++ b/lib/truncate_html/html_string.rb
@@ -8,7 +8,12 @@ end
def html_tokens
- scan(/(?:<script.*>.*<\/script>)+|<\/?[^>]+>|[[[:alpha:]]\w\|`~!@#\$%^&*\(\)... | Support ruby 1.8 as well
|
diff --git a/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb b/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb
index abc1234..def5678 100644
--- a/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb
+++ b/lib/ok_computer/built_in_checks/resque_failure_threshold_check.rb... | Add resque failure threshold check
|
diff --git a/gdata.gemspec b/gdata.gemspec
index abc1234..def5678 100644
--- a/gdata.gemspec
+++ b/gdata.gemspec
@@ -17,11 +17,11 @@
s.rubyforge_project = 'gdata-ruby-util'
- s.files = FileList.new('[A-Z]*', 'lib/**/*.rb', 'config/**/*', 'test/**/*') do |fl|
- fl.exclude(/test_config\.yml$/)
- end
- s.... | Use git to list the files that go in the gem
|
diff --git a/Casks/gimp.rb b/Casks/gimp.rb
index abc1234..def5678 100644
--- a/Casks/gimp.rb
+++ b/Casks/gimp.rb
@@ -3,8 +3,14 @@ sha256 'a90fe7001ee4f64d5108cd7b6aad843772aab7f1a7e67018564c620a4374460a'
url "http://download.gimp.org/pub/gimp/v2.8/osx/gimp-#{version}.dmg"
+ name 'GIMP'
homepage 'http://www.g... | Add name, license and zap for GIMP.app
|
diff --git a/Casks/docker-compose.rb b/Casks/docker-compose.rb
index abc1234..def5678 100644
--- a/Casks/docker-compose.rb
+++ b/Casks/docker-compose.rb
@@ -1,6 +1,6 @@ cask :v1_1 => 'docker-compose' do
- version '1.5.0'
- sha256 'e7ef90aa8081c767380a22588f329693d30a4ec658802b117c92acbe180ce5d4'
+ version '1.5.1'
+ ... | Update Docker Compose to 1.5.1
|
diff --git a/apps/core/admin/controllers/app_admin_controller.rb b/apps/core/admin/controllers/app_admin_controller.rb
index abc1234..def5678 100644
--- a/apps/core/admin/controllers/app_admin_controller.rb
+++ b/apps/core/admin/controllers/app_admin_controller.rb
@@ -13,7 +13,8 @@ unless check_action(actio... | Add admin base_allowed_users to all apps
|
diff --git a/spec/helper.rb b/spec/helper.rb
index abc1234..def5678 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -18,4 +18,6 @@ config.use_transactional_fixtures = true
end
-Dir[File.expand_path('../matchers/**/*.rb', __FILE__)].each { |file| require file }
+['../matchers/**/*.rb', '../support/**/*.rb'].eac... | Create support directory with shared examples
|
diff --git a/GDSheetController.podspec b/GDSheetController.podspec
index abc1234..def5678 100644
--- a/GDSheetController.podspec
+++ b/GDSheetController.podspec
@@ -0,0 +1,21 @@+Pod::Spec.new do |s|
+ s.name = "GDSheetController"
+ s.version = "0.1.1"
+
+ s.summary = "Simply organize your cont... | Add podspec to link directly on this repo with Cocoapods
|
diff --git a/spring.gemspec b/spring.gemspec
index abc1234..def5678 100644
--- a/spring.gemspec
+++ b/spring.gemspec
@@ -19,7 +19,7 @@ gem.add_development_dependency 'bump'
gem.add_development_dependency 'activesupport'
- s.metadata = {
+ gem.metadata = {
"rubygems_mfa_required" => "true",
}
end
| Fix variable name in gemspec
|
diff --git a/sidekiq-pool.gemspec b/sidekiq-pool.gemspec
index abc1234..def5678 100644
--- a/sidekiq-pool.gemspec
+++ b/sidekiq-pool.gemspec
@@ -18,7 +18,7 @@ spec.executables = ['sidekiq-pool']
spec.require_paths = ['lib']
- spec.add_dependency 'sidekiq', '>= 4.0', '< 6.0'
+ spec.add_dependency 'sidekiq', '... | Allow using sidekiq pool with sidekiq 3
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,7 +3,9 @@ protect_from_forgery
before_filter :authenticate_user!
before_filter :s... | Stop our requiring-admins policy preventing anyone from ever logging in
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -32,7 +32,7 @@
#oauth-plugin needs this
def current_user=(user)
- current_user = u... | Fix up current_user to work with warden based authentication
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -13,7 +13,7 @@ @nav_items = [
{ title: 'nav.start_page', style: 'page-nav-home',... | Disable faqs in navigation for current release.
|
diff --git a/app/controllers/concerns/authenticable.rb b/app/controllers/concerns/authenticable.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/authenticable.rb
+++ b/app/controllers/concerns/authenticable.rb
@@ -13,7 +13,9 @@ end
end
+ delegate :token_header_key, to: :class
+
def validate_... | Add delegate for class method providing token header key
|
diff --git a/app/controllers/filter_data_controller.rb b/app/controllers/filter_data_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/filter_data_controller.rb
+++ b/app/controllers/filter_data_controller.rb
@@ -14,7 +14,8 @@ qings = qings.filter_unique
# Temporary guard clause to investigat... | Fix unperformant call to full_rank
|
diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb
index abc1234..def5678 100644
--- a/config/initializers/kaminari_config.rb
+++ b/config/initializers/kaminari_config.rb
@@ -1,6 +1,6 @@ Kaminari.configure do |config|
- config.default_per_page = 9
- config.max_per_page = 13
+... | Put a lot on the page
|
diff --git a/test/monk_init_NAME.rb b/test/monk_init_NAME.rb
index abc1234..def5678 100644
--- a/test/monk_init_NAME.rb
+++ b/test/monk_init_NAME.rb
@@ -23,4 +23,22 @@ out, err = monk("init #{TARGET} --skeleton http://github.com/monkrb/skeleton.git")
assert out.match(/initialized.* #{TARGET}/)
end
+
+ test... | Verify that an rvmrc is created properly.
|
diff --git a/buffet.gemspec b/buffet.gemspec
index abc1234..def5678 100644
--- a/buffet.gemspec
+++ b/buffet.gemspec
@@ -13,7 +13,6 @@ s.description = 'Buffet distributes RSpec test cases over multiple machines.'
s.files = `git ls-files -- lib support`.split("\n")
- s.test_files = `git ls-files -- sp... | Remove spec folder from gemspec
We were including the specs when the gem was installed. This is not
necessary, so remove them from the gemspec.
Change-Id: I29791add1ee8a4e262fb3bcdfdd6c88f2b2699a4
Reviewed-on: https://gerrit.causes.com/1935
Tested-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@causes.com>... |
diff --git a/lib/generators/delayed_job/templates/upgrade_migration.rb b/lib/generators/delayed_job/templates/upgrade_migration.rb
index abc1234..def5678 100644
--- a/lib/generators/delayed_job/templates/upgrade_migration.rb
+++ b/lib/generators/delayed_job/templates/upgrade_migration.rb
@@ -1,5 +1,9 @@ class AddQueueT... | Use legacy migration instead of rails 3.1's change method
|
diff --git a/lib/generators/spree_reviews/install/install_generator.rb b/lib/generators/spree_reviews/install/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/spree_reviews/install/install_generator.rb
+++ b/lib/generators/spree_reviews/install/install_generator.rb
@@ -11,9 +11,9 @@ }
... | Write correct require line in vendor/assets/javascript files
|
diff --git a/test/unit/sync_test.rb b/test/unit/sync_test.rb
index abc1234..def5678 100644
--- a/test/unit/sync_test.rb
+++ b/test/unit/sync_test.rb
@@ -7,7 +7,7 @@ should 'have many sync items via polymorphic association' do
@person = Person.forge
@person2 = Person.forge
- @sync = Sync.create(:p... | Fix test on Sync model.
|
diff --git a/base/app/controllers/groups_controller.rb b/base/app/controllers/groups_controller.rb
index abc1234..def5678 100644
--- a/base/app/controllers/groups_controller.rb
+++ b/base/app/controllers/groups_controller.rb
@@ -16,6 +16,10 @@ create! do |success, failure|
success.html {
self.curren... | Add identity change message on group creation
|
diff --git a/lib/fluent/plugin/in_gc.rb b/lib/fluent/plugin/in_gc.rb
index abc1234..def5678 100644
--- a/lib/fluent/plugin/in_gc.rb
+++ b/lib/fluent/plugin/in_gc.rb
@@ -1,6 +1,11 @@ # encoding: UTF-8
class Fluent::GcInput < Fluent::Input
Fluent::Plugin.register_input('gc', self)
+
+ # To support log_level option i... | Support log_level of Fluentd 0.10.43
|
diff --git a/NBNPhotoChooser.podspec b/NBNPhotoChooser.podspec
index abc1234..def5678 100644
--- a/NBNPhotoChooser.podspec
+++ b/NBNPhotoChooser.podspec
@@ -1,6 +1,8 @@ Pod::Spec.new do |s|
s.name = "NBNPhotoChooser"
s.version = "0.0.1"
+ s.platform = :ios
+ s.deployment_target = "7.0"
s.sum... | Add only iOS to podspec
|
diff --git a/radius.gemspec b/radius.gemspec
index abc1234..def5678 100644
--- a/radius.gemspec
+++ b/radius.gemspec
@@ -4,6 +4,7 @@ Gem::Specification.new do |s|
s.name = %q{radius}
s.version = ::Radius.version
+ s.licenses = ["MIT"]
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respon... | Add licensing information to gemspec.
This should make it easier for automated tools to find out what license is used. |
diff --git a/test/unit/health_check/local_search_client_test.rb b/test/unit/health_check/local_search_client_test.rb
index abc1234..def5678 100644
--- a/test/unit/health_check/local_search_client_test.rb
+++ b/test/unit/health_check/local_search_client_test.rb
@@ -0,0 +1,31 @@+require_relative "../../test_helper"
+requ... | Add unit test for local search client
|
diff --git a/recipes/nis.rb b/recipes/nis.rb
index abc1234..def5678 100644
--- a/recipes/nis.rb
+++ b/recipes/nis.rb
@@ -18,6 +18,8 @@ #
unless node.sys.nis.servers.empty?
+
+ node.default[:ohai][:disabled_plugins] << 'passwd'
package 'nis'
| Disable the Ohai password plugin on all NIS nodes
|
diff --git a/swagger_ui_engine.gemspec b/swagger_ui_engine.gemspec
index abc1234..def5678 100644
--- a/swagger_ui_engine.gemspec
+++ b/swagger_ui_engine.gemspec
@@ -10,11 +10,17 @@ s.authors = ['ZuzannaSt']
s.email = ['zuzannast@gmail.com']
s.homepage = 'https://github.com/ZuzannaSt/swagger_ui_engi... | Redefine gem documentation and summary
|
diff --git a/lib/arel/ts_predications.rb b/lib/arel/ts_predications.rb
index abc1234..def5678 100644
--- a/lib/arel/ts_predications.rb
+++ b/lib/arel/ts_predications.rb
@@ -2,11 +2,11 @@ module TSPredications
def ts_query(expression, language=nil)
- vector = Arel::Nodes::TSVector.new(self, language)
-... | Update TSPredication to use keyword args |
diff --git a/lib/celluloid/io/mailbox.rb b/lib/celluloid/io/mailbox.rb
index abc1234..def5678 100644
--- a/lib/celluloid/io/mailbox.rb
+++ b/lib/celluloid/io/mailbox.rb
@@ -1,79 +1,9 @@ module Celluloid
module IO
# An alternative implementation of Celluloid::Mailbox using Reactor
- class Mailbox < Celluloid:... | Move Mailbox impl to Celluloid::EventedMailbox
|
diff --git a/lib/solidus_auth_devise.rb b/lib/solidus_auth_devise.rb
index abc1234..def5678 100644
--- a/lib/solidus_auth_devise.rb
+++ b/lib/solidus_auth_devise.rb
@@ -3,3 +3,4 @@ require "spree/authentication_helpers"
require "sass/rails"
require "coffee_script"
+require "deface"
| Add an explicit require to deface
Without this deface might not be loaded and will not apply its
overrides.
|
diff --git a/lib/sslyze/xml/certinfo.rb b/lib/sslyze/xml/certinfo.rb
index abc1234..def5678 100644
--- a/lib/sslyze/xml/certinfo.rb
+++ b/lib/sslyze/xml/certinfo.rb
@@ -42,9 +42,10 @@ # @return [VerifiedCertificateChain, nil]
#
def verified_certificate_chain
- if (path_validation = certificat... | Use XPath to find the verifiedCertificateChain element instead of lazy-initializing/searching the Ruby objects.
|
diff --git a/lib/tack/forked_sandbox.rb b/lib/tack/forked_sandbox.rb
index abc1234..def5678 100644
--- a/lib/tack/forked_sandbox.rb
+++ b/lib/tack/forked_sandbox.rb
@@ -24,14 +24,10 @@
@reader.close
result = block.call
- Marshal.dump([:ok, result], @writer)
+
+ @writer.write(Base64.encode64(Mar... | Fix bug with how errors are passed through ForkedSandbox
|
diff --git a/lib/mongoid-app_settings.rb b/lib/mongoid-app_settings.rb
index abc1234..def5678 100644
--- a/lib/mongoid-app_settings.rb
+++ b/lib/mongoid-app_settings.rb
@@ -7,6 +7,7 @@ class Record
include Mongoid::Document
identity type: String
+ store_in :settings
end
module ClassMe... | Store settings in settings collection
|
diff --git a/lib/ringleader/app_proxy.rb b/lib/ringleader/app_proxy.rb
index abc1234..def5678 100644
--- a/lib/ringleader/app_proxy.rb
+++ b/lib/ringleader/app_proxy.rb
@@ -22,7 +22,7 @@ end
def run
- start_activity_timer
+ start_activity_timer if config.idle_timeout > 0
debug "server listen... | Handle 0 idle_timeout for apps
|
diff --git a/redrax.gemspec b/redrax.gemspec
index abc1234..def5678 100644
--- a/redrax.gemspec
+++ b/redrax.gemspec
@@ -26,4 +26,5 @@ spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-vcr"
spec.add_development_dependency "yard"
+ spec.add_development_dependency "webmock"
en... | Add webmock as a dev dep
|
diff --git a/app/controllers/ajo_register/registrations_controller.rb b/app/controllers/ajo_register/registrations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/ajo_register/registrations_controller.rb
+++ b/app/controllers/ajo_register/registrations_controller.rb
@@ -27,6 +27,6 @@
protected
... | Add after sign up path
|
diff --git a/schlep.gemspec b/schlep.gemspec
index abc1234..def5678 100644
--- a/schlep.gemspec
+++ b/schlep.gemspec
@@ -15,8 +15,7 @@ s.rubyforge_project = "schlep"
s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls... | Remove unused files from gemspec
|
diff --git a/core/lib/spree/testing_support/factories/shipping_method_factory.rb b/core/lib/spree/testing_support/factories/shipping_method_factory.rb
index abc1234..def5678 100644
--- a/core/lib/spree/testing_support/factories/shipping_method_factory.rb
+++ b/core/lib/spree/testing_support/factories/shipping_method_fa... | Add carrier and service level to the shipping method factory
|
diff --git a/lib/generators/invitational/install/install_generator.rb b/lib/generators/invitational/install/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/invitational/install/install_generator.rb
+++ b/lib/generators/invitational/install/install_generator.rb
@@ -4,10 +4,6 @@ source_root ... | Remove cancan gem from generator
The gemspec already declares cancan as a dependency, so we don't need to add it to the host's Gemfile as well. |
diff --git a/lib/geo_ips.rb b/lib/geo_ips.rb
index abc1234..def5678 100644
--- a/lib/geo_ips.rb
+++ b/lib/geo_ips.rb
@@ -27,11 +27,7 @@ end
def parse response
- MultiJson.decode(fix_response(response))
- end
-
- def fix_response response_string
- response_string.gsub(/,\n}$/,"\n}")
+ MultiJson.dec... | Remove JSON response correction
Thanks @zeke!
|
diff --git a/spec/bundler/cli_rspec.rb b/spec/bundler/cli_rspec.rb
index abc1234..def5678 100644
--- a/spec/bundler/cli_rspec.rb
+++ b/spec/bundler/cli_rspec.rb
@@ -6,4 +6,9 @@ bundle '--invalid_argument', :exitstatus => true
expect(exitstatus).to_not be_zero
end
+
+ it 'returns non-zero exit status when p... | Add spec for exitstatus for unrecognized tasks
|
diff --git a/spec/lib/mr_darcy_spec.rb b/spec/lib/mr_darcy_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/mr_darcy_spec.rb
+++ b/spec/lib/mr_darcy_spec.rb
@@ -5,14 +5,15 @@ it { should respond_to :driver }
it { should respond_to :driver= }
- describe '#promise' do
- When 'no driver is specified' do
- ... | Disable failing spec on CI.
|
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb
index abc1234..def5678 100644
--- a/spec/models/event_spec.rb
+++ b/spec/models/event_spec.rb
@@ -1,6 +1,23 @@ require 'spec_helper'
describe Event do
+
+ describe "mass assignment" do
+
+ context "allowed" do
+ [:name, :description, :occurs... | Add spec of mass assigment on Event
|
diff --git a/db/data_migration/20150323153536_remove_mp_from_mps.rb b/db/data_migration/20150323153536_remove_mp_from_mps.rb
index abc1234..def5678 100644
--- a/db/data_migration/20150323153536_remove_mp_from_mps.rb
+++ b/db/data_migration/20150323153536_remove_mp_from_mps.rb
@@ -0,0 +1,8 @@+puts "Removing MP from MP's... | Remove MP from MP's names
As a person interested in government I need to know that as of 30/03/15
MP's elected in 2010 are no longer officially MP's so that that I am not
confused.
As a MP I need GOV.UK to reflect the fact that I am no longer a MP so
that I am not accused of impropriety.
|
diff --git a/db/migrate/20120306185750_acts_as_taggable_on_posts.rb b/db/migrate/20120306185750_acts_as_taggable_on_posts.rb
index abc1234..def5678 100644
--- a/db/migrate/20120306185750_acts_as_taggable_on_posts.rb
+++ b/db/migrate/20120306185750_acts_as_taggable_on_posts.rb
@@ -14,7 +14,9 @@ t.references :tagga... | Add a limit to the context column
Signed-off-by: Nathan Lowrie <4f3407de78bccc8cc160ee4d278d5efe7162e6b5@finelineautomation.com>
|
diff --git a/Library/Homebrew/requirements/ruby_requirement.rb b/Library/Homebrew/requirements/ruby_requirement.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/requirements/ruby_requirement.rb
+++ b/Library/Homebrew/requirements/ruby_requirement.rb
@@ -9,15 +9,14 @@ end
satisfy build_env: false do
- w... | Prepend selected ruby to PATH in RubyRequirement
|
diff --git a/lib/rom/env.rb b/lib/rom/env.rb
index abc1234..def5678 100644
--- a/lib/rom/env.rb
+++ b/lib/rom/env.rb
@@ -5,7 +5,25 @@ class Env
include Equalizer.new(:repositories, :relations, :readers, :commands)
- attr_reader :repositories, :relations, :readers, :commands
+ # @return [Hash] configured ... | Add more YARD docs for Env
|
diff --git a/SHTextFieldBlocks.podspec b/SHTextFieldBlocks.podspec
index abc1234..def5678 100644
--- a/SHTextFieldBlocks.podspec
+++ b/SHTextFieldBlocks.podspec
@@ -7,15 +7,14 @@
s.name = name
s.version = version
- s.summary = "Prefixed UITextField category replacing delegate calls with blocks... | Clean name a bit. Generic.
|
diff --git a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule9.rb b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule9.rb
index abc1234..def5678 100644
--- a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule9.rb
+++ b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_... | Add implementation of ninth rule of disambiguator prefix
|
diff --git a/spec/support/helpers/query_recorder.rb b/spec/support/helpers/query_recorder.rb
index abc1234..def5678 100644
--- a/spec/support/helpers/query_recorder.rb
+++ b/spec/support/helpers/query_recorder.rb
@@ -8,7 +8,10 @@ @log = []
@cached = []
@skip_cached = skip_cached
- ActiveSupport... | Apply bindings to querys from QueryRecorder
- local tests that assume certain parameters to queries from
QueryRecorder fail. These same tests don't fail in the runners,
and I can't tell why. This fixes the local failures
|
diff --git a/spec/views/users/show.html.erb_spec.rb b/spec/views/users/show.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/users/show.html.erb_spec.rb
+++ b/spec/views/users/show.html.erb_spec.rb
@@ -0,0 +1,50 @@+require 'rails_helper'
+
+RSpec.describe "users/show", type: :view do
+ before(:each) do
+... | Add tests for users/show view; all tests pass
|
diff --git a/spec/database.rb b/spec/database.rb
index abc1234..def5678 100644
--- a/spec/database.rb
+++ b/spec/database.rb
@@ -5,7 +5,7 @@ tmp_dir = Pathname.new(__FILE__).parent.parent.join('tmp')
tmp_dir.mkpath
::ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => tmp_dir.join("te... | Fix deprecation warning on ActiveRecord::Base.establish_connection
|
diff --git a/TEST2/test2.rb b/TEST2/test2.rb
index abc1234..def5678 100644
--- a/TEST2/test2.rb
+++ b/TEST2/test2.rb
@@ -6,17 +6,23 @@ response = open('http://www2.stat.duke.edu/courses/Spring01/sta114/data/andrews.html')
doc = Nokogiri::HTML(response)
-# rows = []
+rows = {}
months = ["January", "February", "March... | Create ruby hash association with table_name and links
|
diff --git a/thinreports-rails.gemspec b/thinreports-rails.gemspec
index abc1234..def5678 100644
--- a/thinreports-rails.gemspec
+++ b/thinreports-rails.gemspec
@@ -14,5 +14,5 @@ gem.name = "thinreports-rails"
gem.require_paths = ["lib"]
gem.version = ThinreportsRails::VERSION
- gem.add_dependen... | Change gemspec '~>0.7.6' --> '>=0.7.6'
|
diff --git a/tools/describe-domains.rb b/tools/describe-domains.rb
index abc1234..def5678 100644
--- a/tools/describe-domains.rb
+++ b/tools/describe-domains.rb
@@ -0,0 +1,44 @@+#!/usr/bin/env ruby
+
+require 'json'
+require 'aws-sdk'
+
+# Set these environment variables:
+# * AWS_ACCESS_KEY_ID
+# * AWS_SECRET_ACCESS_K... | Add a tools to issue signed requests to AWS
|
diff --git a/cookbooks/PF_CIS_CentOS7_v1.1.0_level_2/recipes/default.rb b/cookbooks/PF_CIS_CentOS7_v1.1.0_level_2/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/PF_CIS_CentOS7_v1.1.0_level_2/recipes/default.rb
+++ b/cookbooks/PF_CIS_CentOS7_v1.1.0_level_2/recipes/default.rb
@@ -6,26 +6,8 @@ #
# MIT L... | Tidy up the cookbook to use the new one level format.
|
diff --git a/discordrb-webhooks.gemspec b/discordrb-webhooks.gemspec
index abc1234..def5678 100644
--- a/discordrb-webhooks.gemspec
+++ b/discordrb-webhooks.gemspec
@@ -19,5 +19,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
+ spec.add_dependency 'rest... | :anchor: Add rest-client as a dependency
|
diff --git a/Casks/serviio.rb b/Casks/serviio.rb
index abc1234..def5678 100644
--- a/Casks/serviio.rb
+++ b/Casks/serviio.rb
@@ -1,12 +1,11 @@ cask :v1 => 'serviio' do
- version '1.4.1.2'
- sha256 '132ed6ba9baf466eec5d89789cd8d50163fa5b534899f10a9232e00f711707aa'
+ version '1.5.1'
+ sha256 '65964602b8ea1ddc29dfefa1... | Update Serviio to version 1.5.1
|
diff --git a/UIColor-Hex-Swift.podspec b/UIColor-Hex-Swift.podspec
index abc1234..def5678 100644
--- a/UIColor-Hex-Swift.podspec
+++ b/UIColor-Hex-Swift.podspec
@@ -5,7 +5,7 @@ s.homepage = "https://github.com/yeahdongcn/UIColor-Hex-Swift"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author ... | Change platform to 8.0, since Swift support uses dynamic frameworks and is therefore only supported on iOS > 8.
|
diff --git a/validate_as_email.gemspec b/validate_as_email.gemspec
index abc1234..def5678 100644
--- a/validate_as_email.gemspec
+++ b/validate_as_email.gemspec
@@ -22,4 +22,5 @@ gem.add_development_dependency 'aruba', '~> 0.4'
gem.add_development_dependency 'activerecord', '~> 3'
+ gem.add_development_dependen... | Add sqlite3 to dev dependencies
|
diff --git a/spec/features/returning_all_defined_factoried_spec.rb b/spec/features/returning_all_defined_factoried_spec.rb
index abc1234..def5678 100644
--- a/spec/features/returning_all_defined_factoried_spec.rb
+++ b/spec/features/returning_all_defined_factoried_spec.rb
@@ -10,6 +10,6 @@
it 'should return a list ... | Use spec helper to parse json and compare key/values
|
diff --git a/lib/express_templates/components/forms/express_form.rb b/lib/express_templates/components/forms/express_form.rb
index abc1234..def5678 100644
--- a/lib/express_templates/components/forms/express_form.rb
+++ b/lib/express_templates/components/forms/express_form.rb
@@ -10,6 +10,7 @@ has_option :actio... | Add enctype option to express-form for file upload
|
diff --git a/db/migrate/20150401092257_create_users.rb b/db/migrate/20150401092257_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20150401092257_create_users.rb
+++ b/db/migrate/20150401092257_create_users.rb
@@ -1,4 +1,10 @@ class CreateUsers < ActiveRecord::Migration
def change
+ create_table :u... | Write migration code for users table
|
diff --git a/models/init.rb b/models/init.rb
index abc1234..def5678 100644
--- a/models/init.rb
+++ b/models/init.rb
@@ -10,14 +10,14 @@ if ENV['VCAP_SERVICES']
require 'json'
svcs = JSON.parse ENV['VCAP_SERVICES']
- postgres = svcs.detect { |k,v| k =~ /^postgres/ }.last.first
- mysql = svcs.detect { |k,v| k =~ /^m... | Fix database configuration for AppFog
|
diff --git a/lib/generators/websocket_rails/install/templates/events.rb b/lib/generators/websocket_rails/install/templates/events.rb
index abc1234..def5678 100644
--- a/lib/generators/websocket_rails/install/templates/events.rb
+++ b/lib/generators/websocket_rails/install/templates/events.rb
@@ -1,21 +1,31 @@ Websocket... | Add the updated config options to the generator.
|
diff --git a/twdeps.gemspec b/twdeps.gemspec
index abc1234..def5678 100644
--- a/twdeps.gemspec
+++ b/twdeps.gemspec
@@ -21,5 +21,5 @@ gem.add_development_dependency 'activesupport', '~> 3.2'
gem.add_development_dependency 'twtest', '~> 0.0.2'
gem.add_development_dependency 'guard-test', '~> 0.5'
- gem.add_dev... | Add rake to bundle in order to allow 'bundle exec rake' (travis ci etc.)
|
diff --git a/schema.gemspec b/schema.gemspec
index abc1234..def5678 100644
--- a/schema.gemspec
+++ b/schema.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'schema'
s.summary = "Primitives for schema and structure"
- s.version = '0.0.1.4'
+ s.version = '0.1.0.0'
s.description = ' '
s.aut... | Package version increased from 0.0.1.4 to 0.1.0.0
|
diff --git a/moltin.gemspec b/moltin.gemspec
index abc1234..def5678 100644
--- a/moltin.gemspec
+++ b/moltin.gemspec
@@ -18,7 +18,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_dependency "rest-client", "~> 1.8"
+ spec.add_dependency "rest-... | Allow apps to use rest-client 1.6
|
diff --git a/process.rb b/process.rb
index abc1234..def5678 100644
--- a/process.rb
+++ b/process.rb
@@ -10,7 +10,7 @@ type: program['family'],
# group: program['category'],
# type: program['family'],
- depends: program['relatedItemsParents'].collect do |parent|
+ depends: (program['relatedItemsParents'] || [])... | Handle missing property as empty element
|
diff --git a/web/routes/uploads.rb b/web/routes/uploads.rb
index abc1234..def5678 100644
--- a/web/routes/uploads.rb
+++ b/web/routes/uploads.rb
@@ -6,11 +6,13 @@ route "uploads" do |r|
r.on "presign" do
r.post do
+ attache_host = FormalistDemo::Container.config.options.attache_host
... | Return the upload URL in the presign response |
diff --git a/app/views/hyper_admin/resource_classes/index.json.jbuilder b/app/views/hyper_admin/resource_classes/index.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/hyper_admin/resource_classes/index.json.jbuilder
+++ b/app/views/hyper_admin/resource_classes/index.json.jbuilder
@@ -9,6 +9,7 @@ {
... | Send attribute type along with resource class JSON
|
diff --git a/lib/guard/jruby-rspec/formatters/notification_rspec.rb b/lib/guard/jruby-rspec/formatters/notification_rspec.rb
index abc1234..def5678 100644
--- a/lib/guard/jruby-rspec/formatters/notification_rspec.rb
+++ b/lib/guard/jruby-rspec/formatters/notification_rspec.rb
@@ -1,6 +1,15 @@ require "guard/rspec/forma... | Support both guard-rspec 1.x and 2.x
Related:
https://github.com/guard/guard-rspec/commit/31e1be02503c51ed37aeda486866550f7f8395d2#diff-5
|
diff --git a/api/app/controllers/spree/api/zones_controller.rb b/api/app/controllers/spree/api/zones_controller.rb
index abc1234..def5678 100644
--- a/api/app/controllers/spree/api/zones_controller.rb
+++ b/api/app/controllers/spree/api/zones_controller.rb
@@ -4,7 +4,7 @@
def create
authorize! :create,... | Call permit! on zone params before passing to model
Apparrantly as of rails 4.2 we must `permit` controller `params` before
passing them to the model. Previous rails version `params` probably
didn't respond to `permitted?`
see https://github.com/rails/rails/blob/v4.2.0/activemodel/lib/active_model/forbidden_attribute... |
diff --git a/lib/kmdata.rb b/lib/kmdata.rb
index abc1234..def5678 100644
--- a/lib/kmdata.rb
+++ b/lib/kmdata.rb
@@ -11,9 +11,8 @@ def get(path, params = {})
path = path_with_params("/api/#{path}.json", params)
response = http.request(Net::HTTP::Get.new(path))
- process(JSON.parse(response.body))... | Return nil for both exceptions and when the response code isn't 200
|
diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users/registrations_controller.rb
+++ b/app/controllers/users/registrations_controller.rb
@@ -1,20 +1,35 @@ class Users::RegistrationsController < Devise... | Update registration controller to permit avatar params
|
diff --git a/app/helpers/textual_mixins/textual_power_state.rb b/app/helpers/textual_mixins/textual_power_state.rb
index abc1234..def5678 100644
--- a/app/helpers/textual_mixins/textual_power_state.rb
+++ b/app/helpers/textual_mixins/textual_power_state.rb
@@ -1,7 +1,7 @@ module TextualMixins::TextualPowerState
def ... | Use the machine_state method to determine powerstate icon/color
|
diff --git a/spec/helper.rb b/spec/helper.rb
index abc1234..def5678 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -20,7 +20,7 @@ RSpec.configure do |config|
config.filter_run :focused => true
config.alias_example_to :fit, :focused => true
- config.alias_example_to :xit, :disabled => true
+ config.alias_ex... | Make xit mark things pending
|
diff --git a/spec/classes/hub_spec.rb b/spec/classes/hub_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/hub_spec.rb
+++ b/spec/classes/hub_spec.rb
@@ -0,0 +1,26 @@+require 'spec_helper'
+
+describe 'hub' do
+ let(:boxen_home) { '/opt/boxen' }
+ let(:config_dir) { "#{boxen_home}/config/git" }
+ let(:repo_di... | Add basic hub class test
|
diff --git a/lib/rails_email_preview/main_app_route_delegator.rb b/lib/rails_email_preview/main_app_route_delegator.rb
index abc1234..def5678 100644
--- a/lib/rails_email_preview/main_app_route_delegator.rb
+++ b/lib/rails_email_preview/main_app_route_delegator.rb
@@ -1,7 +1,7 @@ module RailsEmailPreview::MainAppRouteD... | Fix minor bug in MainAppRouteDelegator
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -1,5 +1,4 @@ require 'rails_helper'
RSpec.describe User, type: :model do
- pending "add some examples to (or delete) #{__FILE__}"
end
| Remove pendig user model spec
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -0,0 +1,32 @@+require 'rails_helper'
+require 'factory_girl_rails'
+
+describe User do
+ let(:user){ FactoryGirl.create(:user) }
+
+ it "has a valid FACTORY" ... | Make rudimentary tests for user model
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -0,0 +1,13 @@+require 'rails_helper'
+
+RSpec.describe User, type: :model do
+ it "doesn't allow countries outside DACH" do
+ user = User.new name:"Ry", cit... | Add simple country validation test
Check happy and sad paths
|
diff --git a/spec/persistence_spec.rb b/spec/persistence_spec.rb
index abc1234..def5678 100644
--- a/spec/persistence_spec.rb
+++ b/spec/persistence_spec.rb
@@ -1,4 +1,5 @@ require File.dirname(__FILE__) + "/../lib/odb"
+require 'yard'
class Post
include ODB::Persistent
@@ -14,15 +15,24 @@
describe ODB::Persist... | Add spec for complex object
|
diff --git a/spec/support/stub_env.rb b/spec/support/stub_env.rb
index abc1234..def5678 100644
--- a/spec/support/stub_env.rb
+++ b/spec/support/stub_env.rb
@@ -1,15 +1,33 @@+# Inspired by https://github.com/ljkbennett/stub_env/blob/master/lib/stub_env/helpers.rb
module StubENV
- def stub_env(key, value)
- allow(E... | Use a slightly cleaner approach to stub ENV
Signed-off-by: Rémy Coutable <4ea0184b9df19e0786dd00b28e6daa4d26baeb3e@rymai.me>
|
diff --git a/app/helpers/application_helper/toolbar/catalogitem_buttons_center.rb b/app/helpers/application_helper/toolbar/catalogitem_buttons_center.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper/toolbar/catalogitem_buttons_center.rb
+++ b/app/helpers/application_helper/toolbar/catalogitem_butto... | Use API + remove modal to delete button group
|
diff --git a/app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb b/app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb
+++ b/app/models/manageiq/providers/amazon/cloud_manager/refre... | Move combined refresh workers to core
Depends on: https://github.com/ManageIQ/manageiq/pull/20302
|
diff --git a/app/presenters/renalware/directory/person_auto_complete_presenter.rb b/app/presenters/renalware/directory/person_auto_complete_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/renalware/directory/person_auto_complete_presenter.rb
+++ b/app/presenters/renalware/directory/person_auto_complete_... | Include address in label for autocomplete
|
diff --git a/app/models/model_cache.rb b/app/models/model_cache.rb
index abc1234..def5678 100644
--- a/app/models/model_cache.rb
+++ b/app/models/model_cache.rb
@@ -17,15 +17,15 @@ end
def discussion_for(discussion_id)
- discussions.find_by id: discussion_id
+ discussions.select { |d| d.id == discussion_id... | Remove N+1 for loading discussions
|
diff --git a/app/models/task_status.rb b/app/models/task_status.rb
index abc1234..def5678 100644
--- a/app/models/task_status.rb
+++ b/app/models/task_status.rb
@@ -13,7 +13,7 @@ default = TaskStatus.default_status
unless default.nil?
- if self.default_status
+ if self.default_status and not @updat... | Check if update is updating position
|
diff --git a/app/services/play_card.rb b/app/services/play_card.rb
index abc1234..def5678 100644
--- a/app/services/play_card.rb
+++ b/app/services/play_card.rb
@@ -12,7 +12,7 @@
def call
@round.game.with_lock do
- assert_legal_move && play_card && increment_round
+ legal_move? && play_card && increm... | Refactor rename PlayCard method to be more idomatic
|
diff --git a/app/patches/rails/active_resource/delete_with_content_body.rb b/app/patches/rails/active_resource/delete_with_content_body.rb
index abc1234..def5678 100644
--- a/app/patches/rails/active_resource/delete_with_content_body.rb
+++ b/app/patches/rails/active_resource/delete_with_content_body.rb
@@ -0,0 +1,47 @... | Add delete body support to Net::HTTP and ARes
|
diff --git a/Library/Formula/soprano.rb b/Library/Formula/soprano.rb
index abc1234..def5678 100644
--- a/Library/Formula/soprano.rb
+++ b/Library/Formula/soprano.rb
@@ -1,13 +1,13 @@ require 'formula'
class Soprano <Formula
- @url='http://downloads.sourceforge.net/project/soprano/Soprano/2.3.1/soprano-2.3.1.tar.bz2... | Update Soprano to 2.3.70 and update dependencies.
|
diff --git a/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb b/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb
+++ b/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb
@@ -1,6... | Handle user records without github_id; skip in test env
|
diff --git a/lib/convection/model/template/resource/aws_route53_recordset.rb b/lib/convection/model/template/resource/aws_route53_recordset.rb
index abc1234..def5678 100644
--- a/lib/convection/model/template/resource/aws_route53_recordset.rb
+++ b/lib/convection/model/template/resource/aws_route53_recordset.rb
@@ -26,... | Maintain backwards compatability with route53
Previously, users needed to specify the json for alias_target and
geo_location for a route53_recordset. In the add-alb branch, merged in
PR 214, this was changed in a backwards-incompatible way, requiring
anyone who had previously specified json to now specify a block for... |
diff --git a/db/migrate/20160127210623_create_settings_changes_table.rb b/db/migrate/20160127210623_create_settings_changes_table.rb
index abc1234..def5678 100644
--- a/db/migrate/20160127210623_create_settings_changes_table.rb
+++ b/db/migrate/20160127210623_create_settings_changes_table.rb
@@ -5,7 +5,7 @@ t.str... | Remove deprecation warning about timestamps :null => false for Rails 5
|
diff --git a/db/migrate/20170406102944_add_vendor_id_to_spree_models.rb b/db/migrate/20170406102944_add_vendor_id_to_spree_models.rb
index abc1234..def5678 100644
--- a/db/migrate/20170406102944_add_vendor_id_to_spree_models.rb
+++ b/db/migrate/20170406102944_add_vendor_id_to_spree_models.rb
@@ -0,0 +1,16 @@+class AddV... | Add vendor_id to tables that going to be vendorized
|
diff --git a/lib/inline_svg/transform_pipeline/transformations/data_attributes.rb b/lib/inline_svg/transform_pipeline/transformations/data_attributes.rb
index abc1234..def5678 100644
--- a/lib/inline_svg/transform_pipeline/transformations/data_attributes.rb
+++ b/lib/inline_svg/transform_pipeline/transformations/data_a... | Handle documents without SVG root elements
|
diff --git a/Formula/ruby.rb b/Formula/ruby.rb
index abc1234..def5678 100644
--- a/Formula/ruby.rb
+++ b/Formula/ruby.rb
@@ -1,12 +1,13 @@ require 'formula'
+# TODO de-version the include and lib directories
+
class Ruby <Formula
- url 'ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
- homepage 'http:... | Revert "Don't install gem or rake"
This reverts commit d0ed812b3dfa94507ac3c6c9b4a8ec54c1f3251f.
Fixes Homebrew/homebrew#129
|
diff --git a/samples/elb.rb b/samples/elb.rb
index abc1234..def5678 100644
--- a/samples/elb.rb
+++ b/samples/elb.rb
@@ -13,4 +13,14 @@
puts "", "Your Load Balancers", ""
-p $elb.describe_load_balancesr
+$elb.describe_load_balancers.describe_load_balancers_result.load_balancer_descriptions.each do |elb|
+ puts "Na... | Update ELB sample to show usage
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.