diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/railgun/asset.rb b/app/models/railgun/asset.rb
index abc1234..def5678 100644
--- a/app/models/railgun/asset.rb
+++ b/app/models/railgun/asset.rb
@@ -16,7 +16,7 @@
def guess_caption
self.caption = self.caption.presence
- self.caption ||= File.basename(image.path, ".*").gsub("_", " ")
... | Handle nil image path when guessing caption
|
diff --git a/lib/formtastic-bootstrap/inputs/base/wrapping.rb b/lib/formtastic-bootstrap/inputs/base/wrapping.rb
index abc1234..def5678 100644
--- a/lib/formtastic-bootstrap/inputs/base/wrapping.rb
+++ b/lib/formtastic-bootstrap/inputs/base/wrapping.rb
@@ -22,13 +22,16 @@
def control_group_wrapping(&block)
... | Move help-inline error sentences inside their control's div
Issue #42, move the help-inline items to inside their control's div.
Based on Twitter Bootstrap documentation
|
diff --git a/monaco.gemspec b/monaco.gemspec
index abc1234..def5678 100644
--- a/monaco.gemspec
+++ b/monaco.gemspec
@@ -14,14 +14,6 @@ spec.homepage = "https://github.com/robmiller/monaco"
spec.license = "MIT"
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
- # delet... | Allow gem to be published anywhere
|
diff --git a/Casks/dhs.rb b/Casks/dhs.rb
index abc1234..def5678 100644
--- a/Casks/dhs.rb
+++ b/Casks/dhs.rb
@@ -2,6 +2,7 @@ version '1.2.0'
sha256 '8a9d15d5fd4cff113285fa53b2e4071fe9f7c9d2b8e7514f3ba907e657972405'
+ # bitbucket.org/objective-see was verified as official when first introduced to the cask
url... | Fix `url` stanza comment for Dylib Hijeck Scanner.
|
diff --git a/gitback.rb b/gitback.rb
index abc1234..def5678 100644
--- a/gitback.rb
+++ b/gitback.rb
@@ -8,7 +8,7 @@ username = "addyosmani"
time = Time.new
# feel free to comment out the option you don't wish to use.
-backupDirectory = "/backups/github/#{time.year}.#{time.month}.#{time.day}"
+backupDirectory = "~/ba... | Put backups into home directory
|
diff --git a/base.rb b/base.rb
index abc1234..def5678 100644
--- a/base.rb
+++ b/base.rb
@@ -1,14 +1,14 @@+project_name = @root.split('/').last
+owner = `whoami`
+
# Delete unnecessary files
run "rm README"
run "rm -rf doc"
run "rm public/index.html"
run "rm public/favicon.ico"
-# Set up git repository
+# Set up... | Set up PostgreSQL by default.
|
diff --git a/vgh.gemspec b/vgh.gemspec
index abc1234..def5678 100644
--- a/vgh.gemspec
+++ b/vgh.gemspec
@@ -24,5 +24,4 @@ gem.add_development_dependency "rake"
gem.add_development_dependency "yard"
gem.add_development_dependency "bundle"
- gem.add_development_dependency "bundler"
end
| Remove bundler from development dependencies
Signed-off-by: Vlad <db4e71efac74cb2660ed39cb2c5b8af31d521746@vladgh.com>
|
diff --git a/spec/hoosegow_docker_spec.rb b/spec/hoosegow_docker_spec.rb
index abc1234..def5678 100644
--- a/spec/hoosegow_docker_spec.rb
+++ b/spec/hoosegow_docker_spec.rb
@@ -0,0 +1,25 @@+require_relative '../lib/hoosegow/docker'
+
+describe Hoosegow::Docker do
+ context 'volumes' do
+ subject { described_class.n... | Add specs for volume transformations.
|
diff --git a/spec/rails_nlp/query_spec.rb b/spec/rails_nlp/query_spec.rb
index abc1234..def5678 100644
--- a/spec/rails_nlp/query_spec.rb
+++ b/spec/rails_nlp/query_spec.rb
@@ -10,17 +10,17 @@ it "#keywords gives the query sanitized, with stopwords removed" do
flexmock(RailsNlp).should_receive(:suggest_stopw... | Fix specs, new rspec syntax.
|
diff --git a/lib/raven/railtie.rb b/lib/raven/railtie.rb
index abc1234..def5678 100644
--- a/lib/raven/railtie.rb
+++ b/lib/raven/railtie.rb
@@ -5,6 +5,13 @@ class Railtie < ::Rails::Railtie
initializer "raven.use_rack_middleware" do |app|
app.config.middleware.insert 0, "Raven::Rack"
+ end
+
+ init... | Include Rails controller methods via Railtie
See #85
|
diff --git a/lib/riif/dsl/vend.rb b/lib/riif/dsl/vend.rb
index abc1234..def5678 100644
--- a/lib/riif/dsl/vend.rb
+++ b/lib/riif/dsl/vend.rb
@@ -30,8 +30,7 @@ :custfld5,
:custfld6,
:custfld7,
- :"1099",
- :note
+ :"1099"
]
START_COLUMN = 'VEND'
END_COLUMN = ''
| Remove duplicate key 'note' in VEND object
|
diff --git a/lib/tasks/stats.rake b/lib/tasks/stats.rake
index abc1234..def5678 100644
--- a/lib/tasks/stats.rake
+++ b/lib/tasks/stats.rake
@@ -0,0 +1,6 @@+desc "Sync steam stats for recently logged in users"
+task :sync_stats => :environment do
+ Player.where(:last_viewed.gte => 1.week.ago).each do |player|
+ Ste... | Add rake task for syncing all users
|
diff --git a/lib/truncate_html.rb b/lib/truncate_html.rb
index abc1234..def5678 100644
--- a/lib/truncate_html.rb
+++ b/lib/truncate_html.rb
@@ -1,4 +1,5 @@ require File.join(File.dirname(__FILE__), 'truncate_html', 'html_truncator')
+require File.join(File.dirname(__FILE__), 'truncate_html', 'html_string')
require Fi... | Work around a failure to autoload classes in frozen gems in Rails 2.1 (and make load more robust)
Signed-off-by: Harold Giménez <187218c0e52f01347631ac23e73c24fd2c2a5ba7@gmail.com>
|
diff --git a/lib/aptly_command.rb b/lib/aptly_command.rb
index abc1234..def5678 100644
--- a/lib/aptly_command.rb
+++ b/lib/aptly_command.rb
@@ -24,6 +24,21 @@ @config[k.to_sym] = ask("Enter a value for #{k}:")
elsif v == '${PROMPT_PASSWORD}'
@config[k.to_sym] = password("Enter a value for #{k}:... | Use `keyring` gem when `${KEYRING}` specified
Optionally use the [`keyring` gem](https://github.com/jheiss/keyring)
when `${KEYRING}` is specified as a value for an option or config
setting.
Note that I require `keyring` at the point of use, so that it is an
optional dependency.
|
diff --git a/lib/nacre/product.rb b/lib/nacre/product.rb
index abc1234..def5678 100644
--- a/lib/nacre/product.rb
+++ b/lib/nacre/product.rb
@@ -49,7 +49,7 @@ def self.get(range)
request_url = build_request_url(url,range,resource_options)
response = self.link.get(request_url)
- Nacre::Product.fro... | Use self instead of explicit class name
|
diff --git a/lib/output_helper.rb b/lib/output_helper.rb
index abc1234..def5678 100644
--- a/lib/output_helper.rb
+++ b/lib/output_helper.rb
@@ -3,7 +3,7 @@ class OutputHelper
def self.run
- is_json_mode = (ENV['XSUB_JSON'] == '0')
+ is_json_mode = (ENV['XSUB_FORCE_JSON'] == '1')
is_success = ... | Change the force json mode enabling flag to XSUB_FORCE_JSON=1
|
diff --git a/lib/owners/config.rb b/lib/owners/config.rb
index abc1234..def5678 100644
--- a/lib/owners/config.rb
+++ b/lib/owners/config.rb
@@ -39,8 +39,8 @@ end
def subscribers(path, subscription)
- subscribers, pattern = subscription.split(/\s+/, 2)
- regex = Regexp.new(pattern || ".*")
+ s... | Rename a local variable for clarity
|
diff --git a/lib/voight_kampff.rb b/lib/voight_kampff.rb
index abc1234..def5678 100644
--- a/lib/voight_kampff.rb
+++ b/lib/voight_kampff.rb
@@ -3,7 +3,7 @@ require 'voight_kampff/test'
require 'voight_kampff/methods'
require 'voight_kampff/rack_request' if defined?(Rack::Request)
-require 'voight_kampff/engine' if d... | Load engine if Rails::Engine defined
|
diff --git a/lib/data_kitten/publishing_formats.rb b/lib/data_kitten/publishing_formats.rb
index abc1234..def5678 100644
--- a/lib/data_kitten/publishing_formats.rb
+++ b/lib/data_kitten/publishing_formats.rb
@@ -12,7 +12,10 @@ DataKitten::PublishingFormats::Datapackage,
DataKitten::PublishingFormats::... | Break from loop if format is supported
|
diff --git a/chef-berksfile-env.gemspec b/chef-berksfile-env.gemspec
index abc1234..def5678 100644
--- a/chef-berksfile-env.gemspec
+++ b/chef-berksfile-env.gemspec
@@ -15,7 +15,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "berkshelf", ... | Allow berkshelf 5.0 in dependencies
|
diff --git a/lib/gerritfs/fs/file_with_comments.rb b/lib/gerritfs/fs/file_with_comments.rb
index abc1234..def5678 100644
--- a/lib/gerritfs/fs/file_with_comments.rb
+++ b/lib/gerritfs/fs/file_with_comments.rb
@@ -38,7 +38,7 @@ comment_overlay = build_overlay
@content.zip(comment_overlay).map do |l,cs|
... | Remove extra line at the end of comments
|
diff --git a/lib/poi2csv.rb b/lib/poi2csv.rb
index abc1234..def5678 100644
--- a/lib/poi2csv.rb
+++ b/lib/poi2csv.rb
@@ -12,6 +12,10 @@ console_message = `java -cp #{classpath} ToCSV #{args * ' '}`
raise Poi2csvException.new, console_message unless output_file_created?(input_file_path, output_folder_path)
e... | Add method to check extension support
|
diff --git a/lib/chamber.rb b/lib/chamber.rb
index abc1234..def5678 100644
--- a/lib/chamber.rb
+++ b/lib/chamber.rb
@@ -23,8 +23,12 @@ load_file(self.basepath + 'settings.yml')
end
- def [](key)
- settings[key]
+ def method_missing(name, *args)
+ settings.public_send(name, *args) if settings.respond_t... | Use method missing to delegate any message sent to Chamber as a message for the underlying Hash
|
diff --git a/lib/dap/cli.rb b/lib/dap/cli.rb
index abc1234..def5678 100644
--- a/lib/dap/cli.rb
+++ b/lib/dap/cli.rb
@@ -6,7 +6,7 @@ include RestCli
def create_threat_assessment_run(name, section_ids, start_time, end_time)
- puts "1. creating new experiment for #{section_ids} profiles with period #{star... | Rename experiment to threat assessment run.
|
diff --git a/lib/redtape.rb b/lib/redtape.rb
index abc1234..def5678 100644
--- a/lib/redtape.rb
+++ b/lib/redtape.rb
@@ -30,8 +30,8 @@ if model.invalid?
own_your_errors_in(model)
end
- rescue MethodMissingError => e
- fail MethodMissing Error, "#{self.class} is missing ... | Fix exception handling for missing methods.
|
diff --git a/app/helpers/i18n_helper.rb b/app/helpers/i18n_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/i18n_helper.rb
+++ b/app/helpers/i18n_helper.rb
@@ -1,17 +1,17 @@ module I18nHelper
def set_locale
- # Save a given locale
+ # Save a given locale from params
if params[:locale] && availabl... | Refactor current_user_locale to a new method
|
diff --git a/app/helpers/orgs_helper.rb b/app/helpers/orgs_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/orgs_helper.rb
+++ b/app/helpers/orgs_helper.rb
@@ -9,9 +9,11 @@ # @return [String] The tooltip message
def tooltip_for_org_feedback_form(org)
email = org.contact_email.presence || DEFAULT_EMAI... | Update feedback tooltip message in org feedback
|
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
@@ -9,8 +9,7 @@ @token = token
@instance = Rails.configuration.x.local_domain
- # I18n.with_locale(@resource.locale || I18n.default_locale... | Revert "force mailer lang ja"
|
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
@@ -4,7 +4,7 @@ def user_created(user)
@user = user
@brand = brand_name
- mail = mail(:to => @user.email, :subject => "Your account has been... | Remove formatted brand from email
|
diff --git a/app/models/nwmls/office.rb b/app/models/nwmls/office.rb
index abc1234..def5678 100644
--- a/app/models/nwmls/office.rb
+++ b/app/models/nwmls/office.rb
@@ -18,4 +18,18 @@ @members ||= Nwmls::Member.find(:office_mls_id => office_mlsid)
end
+ Nwmls::Listing::TYPE_TO_CLASS_MAP.each do |type, klass|
... | ADD listing method for Office |
diff --git a/lib/schnitzelpress/cli.rb b/lib/schnitzelpress/cli.rb
index abc1234..def5678 100644
--- a/lib/schnitzelpress/cli.rb
+++ b/lib/schnitzelpress/cli.rb
@@ -40,20 +40,14 @@
desc "mongo_pull", "Pulls contents of remote MongoDB into your local MongoDB"
def mongo_pull
- if uri = YAML.load_file('./c... | Fix mongo_pull and mongo_push tasks to use MONGO_URL |
diff --git a/overcommit.gemspec b/overcommit.gemspec
index abc1234..def5678 100644
--- a/overcommit.gemspec
+++ b/overcommit.gemspec
@@ -29,5 +29,5 @@ s.add_dependency 'wopen3'
s.add_development_dependency 'rspec', '2.14.1'
- s.add_development_dependency 'image_optim', '0.10.2'
+ s.add_development_... | Update image_optim dependency 0.10.2 -> 0.11.1
Changes can be seen at:
https://github.com/toy/image_optim/compare/f1e50345206ffdd92bfeac901d43b0eff3a2f1ba...766405944890da22f3c4e7aa299e584cfcef66e0
Change-Id: I1f6ff0059f5f075791c4d9edfb0a338deb45bd4d
Reviewed-on: http://gerrit.causes.com/35728
Tested-by: jenkins <... |
diff --git a/ladle.gemspec b/ladle.gemspec
index abc1234..def5678 100644
--- a/ladle.gemspec
+++ b/ladle.gemspec
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
s.name = "ladle"
s.version = Ladle::VERSION
- s.platform = java ? Gem::Platform::JAVA : Gem::Platform::RUBY
+ s.platform = java ? 'java'... | Fix gem packaging on JRuby.
|
diff --git a/cookie_requirement.gemspec b/cookie_requirement.gemspec
index abc1234..def5678 100644
--- a/cookie_requirement.gemspec
+++ b/cookie_requirement.gemspec
@@ -6,7 +6,7 @@ s.platform = Gem::Platform::RUBY
s.authors = [ 'Jonah Burke' ]
s.email = [ 'jonah@jonahb.com' ]
- s.homepage = ''
... | Add home page to gemspec
|
diff --git a/config/unicorn.rb b/config/unicorn.rb
index abc1234..def5678 100644
--- a/config/unicorn.rb
+++ b/config/unicorn.rb
@@ -23,7 +23,8 @@ end
if defined?(Resque)
- Resque.redis = ENV['<REDIS_URI>']
+ Resque.redis = ENV["REDISTOGO_URL"] if ENV["REDISTOGO_URL"]
+ Resque.redis ||= ENV["REDISCLOUD_... | Set Resque.redis to correct ENV var
|
diff --git a/lib/pg_drive/uploader.rb b/lib/pg_drive/uploader.rb
index abc1234..def5678 100644
--- a/lib/pg_drive/uploader.rb
+++ b/lib/pg_drive/uploader.rb
@@ -10,7 +10,7 @@ drive.authorization = credentials
app_name = Rails.application.class.parent_name
drive.insert_file(
- Drive::F... | Change timestamp to be human readable
|
diff --git a/lib/presentator/slide.rb b/lib/presentator/slide.rb
index abc1234..def5678 100644
--- a/lib/presentator/slide.rb
+++ b/lib/presentator/slide.rb
@@ -19,6 +19,8 @@ show_text element, offset: -index*2
end
getch
+ clear
+ refresh
end
private
| Refresh and clear, because we can!
|
diff --git a/lib/resourceful/maker.rb b/lib/resourceful/maker.rb
index abc1234..def5678 100644
--- a/lib/resourceful/maker.rb
+++ b/lib/resourceful/maker.rb
@@ -27,6 +27,7 @@
def add_helpers
helper_method(:object_path, :objects_path, :new_object_path, :edit_object_path,
+ :object_url, :o... | Make _url helpers accessible from views.
git-svn-id: 30fef0787527f3d4b2d3639a5d6955e4dc84682e@112 c18eca5a-f828-0410-9317-b2e082e89db6
|
diff --git a/lib/tasks/searchbar.rake b/lib/tasks/searchbar.rake
index abc1234..def5678 100644
--- a/lib/tasks/searchbar.rake
+++ b/lib/tasks/searchbar.rake
@@ -1,15 +1,23 @@ namespace :searchbar do
desc 'Update educator student searchbar cached data'
task update_for_all_educators: :environment do
- Educator.a... | Searchbar: Update job to run based on active educators, not sign in
|
diff --git a/test/generators/transloadit/test_install_generator.rb b/test/generators/transloadit/test_install_generator.rb
index abc1234..def5678 100644
--- a/test/generators/transloadit/test_install_generator.rb
+++ b/test/generators/transloadit/test_install_generator.rb
@@ -19,4 +19,8 @@
assert_file 'config... | Test the generator is named correctly
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,8 +1,4 @@ Foosball::Application.routes.draw do
- match '/' => redirect("http://protestsopa.org")
- match '*players' => redirect("http://protestsopa.org")
- match '*bagels' => redirect("h... | Revert "Add sopa blackout redirection."
This reverts commit 87cb8f556e4099533b61f194aa0edf74e4bb21bb.
|
diff --git a/config/initializers/ihat_supported_formats.rb b/config/initializers/ihat_supported_formats.rb
index abc1234..def5678 100644
--- a/config/initializers/ihat_supported_formats.rb
+++ b/config/initializers/ihat_supported_formats.rb
@@ -7,7 +7,7 @@ is_json = %r{^application/json}.match(response.headers[... | Call dump on JSON, since hash has no dump message
:grimacing:
|
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb
index abc1234..def5678 100644
--- a/config/initializers/new_framework_defaults.rb
+++ b/config/initializers/new_framework_defaults.rb
@@ -18,7 +18,7 @@ Rails.application.config.active_record.belongs_to_required_by... | Fix rails5.0 to rails5.2 behavior
|
diff --git a/test/generated_gio_test.rb b/test/generated_gio_test.rb
index abc1234..def5678 100644
--- a/test/generated_gio_test.rb
+++ b/test/generated_gio_test.rb
@@ -7,10 +7,18 @@ GirFFI.setup :Gio
end
- should "create a GFile with #file_new_from_path" do
- assert_nothing_raised {
- Gio.file_new... | Make test for function returning GFile a bit more explicit.
|
diff --git a/puppet-lint-no_cron_resources-check.gemspec b/puppet-lint-no_cron_resources-check.gemspec
index abc1234..def5678 100644
--- a/puppet-lint-no_cron_resources-check.gemspec
+++ b/puppet-lint-no_cron_resources-check.gemspec
@@ -22,7 +22,7 @@ spec.add_development_dependency 'rspec-its', '~> 1.0'
spec.add_d... | Update rake requirement from ~> 11.2.0 to ~> 13.0.0
Updates the requirements on [rake](https://github.com/ruby/rake) to permit the latest version.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compa... |
diff --git a/parser.gemspec b/parser.gemspec
index abc1234..def5678 100644
--- a/parser.gemspec
+++ b/parser.gemspec
@@ -25,7 +25,9 @@ spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake', '~> 0.9'
spec.add_development_dependency 'racc'
+
spec.add_development_depe... | Add json_pure for coveralls on 1.9.2.
|
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb
index abc1234..def5678 100644
--- a/config/initializers/i18n.rb
+++ b/config/initializers/i18n.rb
@@ -0,0 +1,31 @@+# config/initializers/i18n.rb
+# https://github.com/svenfuchs/i18n/issues/123
+
+module I18n
+ module Backend
+ module Pluralizati... | Fix translation bug in Czech
When the :few key is missing fallback to :other key
if present
|
diff --git a/spec/entities/resource_group_spec.rb b/spec/entities/resource_group_spec.rb
index abc1234..def5678 100644
--- a/spec/entities/resource_group_spec.rb
+++ b/spec/entities/resource_group_spec.rb
@@ -0,0 +1,24 @@+describe Dox::Entities::ResourceGroup do
+ subject { described_class }
+
+ let(:resource_group_n... | Add entities specs for resource group
|
diff --git a/spec/integration/mutant/null_spec.rb b/spec/integration/mutant/null_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/mutant/null_spec.rb
+++ b/spec/integration/mutant/null_spec.rb
@@ -0,0 +1,18 @@+# encoding: utf-8
+
+require 'spec_helper'
+
+describe 'null integration' do
+
+ let(:base_cmd) {... | Add integration spec for 'null' strategy
|
diff --git a/spec/models/duckrails/header_spec.rb b/spec/models/duckrails/header_spec.rb
index abc1234..def5678 100644
--- a/spec/models/duckrails/header_spec.rb
+++ b/spec/models/duckrails/header_spec.rb
@@ -1,5 +1,46 @@ require 'rails_helper'
-RSpec.describe Duckrails::Header, type: :model do
- pending "add some e... | Add specs for Header model. |
diff --git a/config/initializers/fog.rb b/config/initializers/fog.rb
index abc1234..def5678 100644
--- a/config/initializers/fog.rb
+++ b/config/initializers/fog.rb
@@ -2,26 +2,29 @@ CarrierWave.configure do |config|
if Rails.env.development? || Rails.env.test?
- # config.fog_directory = 'policeboard-staging'
... | Update CarrierWave config for prod
|
diff --git a/tumblfetch.gemspec b/tumblfetch.gemspec
index abc1234..def5678 100644
--- a/tumblfetch.gemspec
+++ b/tumblfetch.gemspec
@@ -20,6 +20,7 @@
spec.add_runtime_dependency 'tumblr_client', '~> 0.8'
spec.add_runtime_dependency 'faraday', '= 0.8.9'
+ spec.add_runtime_dependency 'thor'
spec.add_develop... | Use thor for command-line interfaces
|
diff --git a/mogenerator.rb b/mogenerator.rb
index abc1234..def5678 100644
--- a/mogenerator.rb
+++ b/mogenerator.rb
@@ -0,0 +1,14 @@+require "formula"
+
+class Mogenerator < Formula
+ homepage "https://github.com/rentzsch/mogenerator"
+
+ head "https://github.com/rentzsch/mogenerator.git", :revision => "258832"
+
+ ... | Add formula for Homebrew for iOS development
|
diff --git a/core/enumerator/new_spec.rb b/core/enumerator/new_spec.rb
index abc1234..def5678 100644
--- a/core/enumerator/new_spec.rb
+++ b/core/enumerator/new_spec.rb
@@ -6,15 +6,17 @@ describe "Enumerator.new" do
it_behaves_like(:enum_new, :new)
- ruby_version_is "1.8.8" do
+ ruby_version_is "1.9.1" d... | Expand spec for Enumerator.new with block
|
diff --git a/spec/lib/cli_spec.rb b/spec/lib/cli_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/cli_spec.rb
+++ b/spec/lib/cli_spec.rb
@@ -0,0 +1,19 @@+require 'spec_helper'
+require 'stringio'
+require 'markdo/cli'
+
+module Markdo
+ describe CLI do
+ describe 'given "version"' do
+ it 'prints the versi... | Add spec for `markdo version`
|
diff --git a/redis.gemspec b/redis.gemspec
index abc1234..def5678 100644
--- a/redis.gemspec
+++ b/redis.gemspec
@@ -33,7 +33,7 @@ s.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "lib/**/*"]
s.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
- s.required_ruby_version... | Mark gems as requiring Ruby 2.3 |
diff --git a/app/controllers/omniauth_callbacks_controller.rb b/app/controllers/omniauth_callbacks_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/omniauth_callbacks_controller.rb
+++ b/app/controllers/omniauth_callbacks_controller.rb
@@ -23,6 +23,7 @@ def handle_login_failure(auth_hash)
Rails.... | Change error level to 'warning' for login failure
This is pretty well-understood; it's always "mwoauthdatastore-access-token-not-found", likely because of the same token being sent twice or somesuch. We handle it well-ish on our end now.
|
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -8,7 +8,7 @@ end
unless artifacts_file.exists?
- ... | Fix nonexistent method in artifacts controller
|
diff --git a/app/models/concerns/gobierto_common/sluggable.rb b/app/models/concerns/gobierto_common/sluggable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/gobierto_common/sluggable.rb
+++ b/app/models/concerns/gobierto_common/sluggable.rb
@@ -21,11 +21,12 @@ new_slug = base_slug
if uniquene... | Refactor slug counter calculation to avoid increasing queries
|
diff --git a/phare.gemspec b/phare.gemspec
index abc1234..def5678 100644
--- a/phare.gemspec
+++ b/phare.gemspec
@@ -8,8 +8,8 @@ spec.version = Phare::VERSION
spec.authors = ['Rémi Prévost']
spec.email = ['remi@exomel.com']
- spec.description = ''
- spec.summary = ''
+ spec.descri... | Update gem description and summary
|
diff --git a/spec/features/submission_print_rate_spec.rb b/spec/features/submission_print_rate_spec.rb
index abc1234..def5678 100644
--- a/spec/features/submission_print_rate_spec.rb
+++ b/spec/features/submission_print_rate_spec.rb
@@ -4,13 +4,10 @@ let!(:user) { FactoryGirl.create(:user) }
context "when the submis... | Refactor submission pront rate spec
|
diff --git a/spec/services/itsi_authoring/editor_spec.rb b/spec/services/itsi_authoring/editor_spec.rb
index abc1234..def5678 100644
--- a/spec/services/itsi_authoring/editor_spec.rb
+++ b/spec/services/itsi_authoring/editor_spec.rb
@@ -10,17 +10,40 @@ activity
}
- let(:page) { FactoryGirl.create(:in... | Improve ITSI authoring editor spec test.
|
diff --git a/.github/REPRODUCTION_SCRIPT.rb b/.github/REPRODUCTION_SCRIPT.rb
index abc1234..def5678 100644
--- a/.github/REPRODUCTION_SCRIPT.rb
+++ b/.github/REPRODUCTION_SCRIPT.rb
@@ -4,13 +4,25 @@ source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "factory_bot", ... | Add basic AR setup to reproduction script
Many of our bug reports involve interactions between factory_bot and
active_record. This will make it easier for people to submit
reproduction scripts for those cases.
|
diff --git a/api/spec/support/controller_hacks.rb b/api/spec/support/controller_hacks.rb
index abc1234..def5678 100644
--- a/api/spec/support/controller_hacks.rb
+++ b/api/spec/support/controller_hacks.rb
@@ -17,7 +17,8 @@ end
def api_process(action, params={}, session=nil, flash=nil, method="get")
- process(... | Allow scoping of requests in tests by definition of a resource_scoping method (i.e. a let) in the API tests
|
diff --git a/app/controllers/jmd/participants_controller.rb b/app/controllers/jmd/participants_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/jmd/participants_controller.rb
+++ b/app/controllers/jmd/participants_controller.rb
@@ -6,6 +6,7 @@
def index
# @competition and @participants are fet... | Add TODO to solve participant authorization
|
diff --git a/pugbot.gemspec b/pugbot.gemspec
index abc1234..def5678 100644
--- a/pugbot.gemspec
+++ b/pugbot.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |gem|
gem.name = "pugbot"
- gem.version = "0.1.0"
+ gem.version = "0.1.1"
gem.authors = ["Xzanth"]
gem.description = "Pug... | Upgrade version number to 0.1.1
|
diff --git a/spec/controllers/api/v1/games_controller_spec.rb b/spec/controllers/api/v1/games_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/api/v1/games_controller_spec.rb
+++ b/spec/controllers/api/v1/games_controller_spec.rb
@@ -19,12 +19,13 @@ expect(response).to have_http_status(:ok)... | Return only the machine's games in the API.
|
diff --git a/spec/controllers/opportunity_controlller_spec.rb b/spec/controllers/opportunity_controlller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/opportunity_controlller_spec.rb
+++ b/spec/controllers/opportunity_controlller_spec.rb
@@ -2,10 +2,15 @@
RSpec.describe OpportunitiesController, type: :... | Refactor opportunities controller tests to separate one assert per test
|
diff --git a/ruby/puppy.rb b/ruby/puppy.rb
index abc1234..def5678 100644
--- a/ruby/puppy.rb
+++ b/ruby/puppy.rb
@@ -0,0 +1,13 @@+# SPECIES ------------------------
+# puppy
+
+# CHARACTERISTICS ----------------
+# color: varies
+# species: varies
+# name: varies
+
+# BEHAVIOR -----------------------
+# bark
+# wag tai... | Add class design to code
|
diff --git a/spec/microphite_spec.rb b/spec/microphite_spec.rb
index abc1234..def5678 100644
--- a/spec/microphite_spec.rb
+++ b/spec/microphite_spec.rb
@@ -1,14 +1,14 @@ # Sanity tests for the convenience factories
module Microphite
describe :client do
- before_block = Proc.new { @client = Microphite::Client::S... | Fix module convenience method coverage
|
diff --git a/spec/middleware_spec.rb b/spec/middleware_spec.rb
index abc1234..def5678 100644
--- a/spec/middleware_spec.rb
+++ b/spec/middleware_spec.rb
@@ -4,10 +4,10 @@ describe 'UTF8Cleaner::Middleware' do
let :env do
{
- 'PATH_INFO' => 'foo/bar%2e%2fbaz',
+ 'PATH_INFO' => 'foo/%FFbar%2e%2fbaz%26%3... | Revise specs to provide guidelines for conservative behavior
|
diff --git a/BHCDatabase/test/test_helper.rb b/BHCDatabase/test/test_helper.rb
index abc1234..def5678 100644
--- a/BHCDatabase/test/test_helper.rb
+++ b/BHCDatabase/test/test_helper.rb
@@ -3,6 +3,7 @@ require 'rails/test_help'
require "minitest/reporters"
Minitest::Reporters.use!
+ActiveRecord::Migration.maintain_tes... | Fix to avoid calling db:test:prepare
|
diff --git a/lib/chef/resource/aws_sqs_queue.rb b/lib/chef/resource/aws_sqs_queue.rb
index abc1234..def5678 100644
--- a/lib/chef/resource/aws_sqs_queue.rb
+++ b/lib/chef/resource/aws_sqs_queue.rb
@@ -7,9 +7,9 @@ actions :create, :delete, :nothing
default_action :create
- attribute :name, String, :name_attribut... | Fix attribute to work with LWRP syntax
|
diff --git a/app/controllers/email_confirmation_controller.rb b/app/controllers/email_confirmation_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/email_confirmation_controller.rb
+++ b/app/controllers/email_confirmation_controller.rb
@@ -1,11 +1,20 @@ # frozen_string_literal: true
class EmailConfirm... | Create a session cookie when member confirms registration
|
diff --git a/lib/apiarist/resource_controller/responder.rb b/lib/apiarist/resource_controller/responder.rb
index abc1234..def5678 100644
--- a/lib/apiarist/resource_controller/responder.rb
+++ b/lib/apiarist/resource_controller/responder.rb
@@ -7,13 +7,15 @@ delegate :serialize, :_serialization_scope, to: :contro... | FIX: Use resource_instance_name and resource_collection_name rather than mangling with resource class name |
diff --git a/lib/cyoi/providers/constants/aws_constants.rb b/lib/cyoi/providers/constants/aws_constants.rb
index abc1234..def5678 100644
--- a/lib/cyoi/providers/constants/aws_constants.rb
+++ b/lib/cyoi/providers/constants/aws_constants.rb
@@ -16,6 +16,7 @@ { label: "Asia Pacific (Singapore) Region", code: "ap-s... | Add AWS Asia Pacific (Seoul) Region
|
diff --git a/lib/facebooker/rails/extensions/rack_setup.rb b/lib/facebooker/rails/extensions/rack_setup.rb
index abc1234..def5678 100644
--- a/lib/facebooker/rails/extensions/rack_setup.rb
+++ b/lib/facebooker/rails/extensions/rack_setup.rb
@@ -1,2 +1,8 @@+# Somewhere in 2.3 RewindableInput was removed- rack supports i... | Allow the rack middle_ware to fall back from after RewindableInput to after Session::CookieStore if RewindableInput is not available. It was removed somewhere in Rails 2.3
|
diff --git a/lib/j-cap-recipes/tasks/handy.rake b/lib/j-cap-recipes/tasks/handy.rake
index abc1234..def5678 100644
--- a/lib/j-cap-recipes/tasks/handy.rake
+++ b/lib/j-cap-recipes/tasks/handy.rake
@@ -4,7 +4,7 @@
namespace :settings do
desc 'Update the remote config/settings/<stage>.yml file with local'
- t... | :panda_face: Remove the old settings before upload a new one.
|
diff --git a/roles/web-backend.rb b/roles/web-backend.rb
index abc1234..def5678 100644
--- a/roles/web-backend.rb
+++ b/roles/web-backend.rb
@@ -12,6 +12,7 @@ :memory_limit => 4096
},
:passenger => {
+ :version => 4,
:max_pool_size => 12
}
)
| Revert to passenger 4 on backend servers
|
diff --git a/lib/neighborly/balanced/bankaccount/engine.rb b/lib/neighborly/balanced/bankaccount/engine.rb
index abc1234..def5678 100644
--- a/lib/neighborly/balanced/bankaccount/engine.rb
+++ b/lib/neighborly/balanced/bankaccount/engine.rb
@@ -3,6 +3,11 @@ module Bankaccount
class Engine < ::Rails::Engine
... | Load helpers from main application
With this we are able to use helpers that is on the main application.
It also allow us to render the application layout here in the engine.
|
diff --git a/rake/common.rb b/rake/common.rb
index abc1234..def5678 100644
--- a/rake/common.rb
+++ b/rake/common.rb
@@ -3,7 +3,7 @@ PUPPET_BINARY = File.join(BASEDIR, 'bin', 'puppet').freeze
TEST_COMMAND = begin
if ENV['TRAVIS']
- "rspec --suffix '_spec.rb$'"
+ "rspec --pattern '*_spec.rb'"
else
"par... | Correct pattern arg for rspec
|
diff --git a/stackdriver/ruby_debugger.rb b/stackdriver/ruby_debugger.rb
index abc1234..def5678 100644
--- a/stackdriver/ruby_debugger.rb
+++ b/stackdriver/ruby_debugger.rb
@@ -15,8 +15,8 @@ # [START explicit_debugger_ruby]
require "google/cloud/debugger"
-Google::Cloud::Debugger.new(project_id: "YOUR-PROJECT-ID",
-... | Update project_id to project for standalone ruby sample
|
diff --git a/spec/views/ideas/new.html.erb_spec.rb b/spec/views/ideas/new.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/ideas/new.html.erb_spec.rb
+++ b/spec/views/ideas/new.html.erb_spec.rb
@@ -14,5 +14,15 @@ expect(rendered).to have_selector('div.form-group', :count => 3)
expect(rendere... | Test for email form presence
|
diff --git a/test/spec/Sandbox/Application_filtration_spec.rb b/test/spec/Sandbox/Application_filtration_spec.rb
index abc1234..def5678 100644
--- a/test/spec/Sandbox/Application_filtration_spec.rb
+++ b/test/spec/Sandbox/Application_filtration_spec.rb
@@ -0,0 +1,58 @@+require 'minitest/autorun'
+require_relative '../.... | Move filtration spec into own test script
|
diff --git a/test/integration/default/serverspec/cookbook/default_spec.rb b/test/integration/default/serverspec/cookbook/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/cookbook/default_spec.rb
+++ b/test/integration/default/serverspec/cookbook/default_spec.rb
@@ -15,6 +15,9 @@
... | Add comment to failing ServerSpec test
|
diff --git a/wp_roster.gemspec b/wp_roster.gemspec
index abc1234..def5678 100644
--- a/wp_roster.gemspec
+++ b/wp_roster.gemspec
@@ -9,6 +9,7 @@ s.authors = ["Deans Charbal"]
s.summary = %q{A gem for accessing current MLB rosters using Wikipedia template pages.}
s.description = s.summary
+ s.home... | Add homepage in gemspec file.
|
diff --git a/simple_oauth.gemspec b/simple_oauth.gemspec
index abc1234..def5678 100644
--- a/simple_oauth.gemspec
+++ b/simple_oauth.gemspec
@@ -6,7 +6,7 @@ gem.add_development_dependency 'rake', '~> 0.8'
gem.add_development_dependency 'simplecov', '~> 0.4'
gem.add_development_dependency 'turn', '~> 0.8'
- gem... | Update yard dependency to version 0.7
|
diff --git a/.chef/knife-dev.rb b/.chef/knife-dev.rb
index abc1234..def5678 100644
--- a/.chef/knife-dev.rb
+++ b/.chef/knife-dev.rb
@@ -5,7 +5,7 @@ client_key "#{current_dir}/admin-dev.pem"
validation_client_name 'chef-validator'
validation_key "#{current_dir}/chef-validator-dev.pem"
-chef_... | Fix bug chef serveur dev.
|
diff --git a/SPTDataLoader.podspec b/SPTDataLoader.podspec
index abc1234..def5678 100644
--- a/SPTDataLoader.podspec
+++ b/SPTDataLoader.podspec
@@ -15,7 +15,7 @@ s.license = "Apache 2.0"
s.author = { "Will Sackfield" => "sackfield@spotify.com" }
s.platform = :ios, "7.0"
- s.source ... | Make the tag the version
* It will never be anything else |
diff --git a/core/app/interactors/interactors/channels/add_fact.rb b/core/app/interactors/interactors/channels/add_fact.rb
index abc1234..def5678 100644
--- a/core/app/interactors/interactors/channels/add_fact.rb
+++ b/core/app/interactors/interactors/channels/add_fact.rb
@@ -9,7 +9,7 @@ command :"channels/add_... | Fix adding of top topic to site, use slug_title instead of id
|
diff --git a/db/migrate/20170301101006_add_ci_runner_namespaces.rb b/db/migrate/20170301101006_add_ci_runner_namespaces.rb
index abc1234..def5678 100644
--- a/db/migrate/20170301101006_add_ci_runner_namespaces.rb
+++ b/db/migrate/20170301101006_add_ci_runner_namespaces.rb
@@ -2,8 +2,6 @@ include Gitlab::Database::Mig... | Remove unnecessary disable transaction in add_ci_runner_namespaces
|
diff --git a/Library/Formula/tokyo-tyrant.rb b/Library/Formula/tokyo-tyrant.rb
index abc1234..def5678 100644
--- a/Library/Formula/tokyo-tyrant.rb
+++ b/Library/Formula/tokyo-tyrant.rb
@@ -5,7 +5,7 @@ # Also it appears the Ruby (Rufus) bindings will only work with up to 1.1.33
url 'http://1978th.net/tokyotyrant/to... | Use the correct md5, why not?
|
diff --git a/hyperloop.rb b/hyperloop.rb
index abc1234..def5678 100644
--- a/hyperloop.rb
+++ b/hyperloop.rb
@@ -8,17 +8,26 @@
def start
loop do
- socket = @server.accept
+ @socket = @server.accept
+ read_data_from_socket
+ send_response
+ close_socket
+ end
+ end
- data = s... | Refactor server processing a little bit
|
diff --git a/core/db/migrate/20131118183431_add_line_item_id_to_spree_inventory_units.rb b/core/db/migrate/20131118183431_add_line_item_id_to_spree_inventory_units.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20131118183431_add_line_item_id_to_spree_inventory_units.rb
+++ b/core/db/migrate/20131118183431_add_... | Make migration more tolerant of deleted Variants
This migration bailed for me when it found an old order (before Spree used `acts_as_paranoid`) with a line_item referencing a Variant that no longer existed.
Making the migration use `variant_id` instead of `variant.id` fixed this problem for me, and I suspect will mak... |
diff --git a/smoke_test.rb b/smoke_test.rb
index abc1234..def5678 100644
--- a/smoke_test.rb
+++ b/smoke_test.rb
@@ -1,5 +1,6 @@ #!/usr/bin/env ruby
+require 'date'
require 'faraday'
domain = 'https://www.pensionwise.gov.uk'
| Add missing dependency on Date |
diff --git a/Casks/fontexplorer-x-pro.rb b/Casks/fontexplorer-x-pro.rb
index abc1234..def5678 100644
--- a/Casks/fontexplorer-x-pro.rb
+++ b/Casks/fontexplorer-x-pro.rb
@@ -1,6 +1,6 @@ cask :v1 => 'fontexplorer-x-pro' do
- version '5.0.1'
- sha256 'e75369d862a186a75dcbb9d0f61a5f99f03bd1482de02f3e71ffaa29a0828b9c'
+ ... | Upgrade FontExplorer X Pro.app to v5.0.2
|
diff --git a/rack-pretty_json.gemspec b/rack-pretty_json.gemspec
index abc1234..def5678 100644
--- a/rack-pretty_json.gemspec
+++ b/rack-pretty_json.gemspec
@@ -18,6 +18,7 @@ s.require_paths = ["lib"]
s.add_dependency 'rack', '>=1.0.0'
+ s.add_dependency "json"
s.add_development_dependency 'rake'
| Add "json" as a dependency
|
diff --git a/QASwipeSelector.podspec b/QASwipeSelector.podspec
index abc1234..def5678 100644
--- a/QASwipeSelector.podspec
+++ b/QASwipeSelector.podspec
@@ -0,0 +1,29 @@+Pod::Spec.new do |s|
+
+# Library description
+ s.name = 'QASwipeSelector'
+ s.version = '0.0.1'
+ s.author = { 'Quentin ARNAULT... | IMPLEMENT add a pod spec
|
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
@@ -30,9 +30,9 @@
def redirect_to_back(default = root_url)
if request.env["HTTP_RE... | Remove second call to redirect_to
|
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
@@ -1,3 +1,20 @@ class ApplicationController < ActionController::Base
protect_from_forgery
+... | Add some shared methods for dealing with users (stubbed out for current_user)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.