diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/Timepiece.podspec b/Timepiece.podspec
index abc1234..def5678 100644
--- a/Timepiece.podspec
+++ b/Timepiece.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Timepiece"
- s.version = "0.3.4"
+ s.version = `git describe --tags --abbrev=0`
s.summary = "Intuitive NSDate ext... | Use git tag at podspec
|
diff --git a/lib/groonga_packages_regression_test/subcommand/install.rb b/lib/groonga_packages_regression_test/subcommand/install.rb
index abc1234..def5678 100644
--- a/lib/groonga_packages_regression_test/subcommand/install.rb
+++ b/lib/groonga_packages_regression_test/subcommand/install.rb
@@ -13,7 +13,7 @@ ... | Use -no-cache option to docker build
|
diff --git a/lib/metasploit_data_models/active_record_models/session.rb b/lib/metasploit_data_models/active_record_models/session.rb
index abc1234..def5678 100644
--- a/lib/metasploit_data_models/active_record_models/session.rb
+++ b/lib/metasploit_data_models/active_record_models/session.rb
@@ -17,9 +17,8 @@ bef... | Fix to the upgradeable? method to be all around better
|
diff --git a/spec/requests/quizzes_spec.rb b/spec/requests/quizzes_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/quizzes_spec.rb
+++ b/spec/requests/quizzes_spec.rb
@@ -33,9 +33,11 @@
it 'does validation' do
login
+ stub_out_plus_discovery_document
+ stub_out_current_user_profile
visit n... | Set the quiz owner to the user's Google+ profile ID
|
diff --git a/lib/mr_mongo/loader.rb b/lib/mr_mongo/loader.rb
index abc1234..def5678 100644
--- a/lib/mr_mongo/loader.rb
+++ b/lib/mr_mongo/loader.rb
@@ -9,7 +9,7 @@ def load(file)
dsl_script = ::File.read(file).sub!(/^__END__\n.*\Z/m, '')
- map_reduce = load_from_string(dsl_script)
+ map_reduce =... | Fix to set DSL file path as __FILE__
|
diff --git a/example/spec/views/project_assignments/index.html.erb_spec.rb b/example/spec/views/project_assignments/index.html.erb_spec.rb
index abc1234..def5678 100644
--- a/example/spec/views/project_assignments/index.html.erb_spec.rb
+++ b/example/spec/views/project_assignments/index.html.erb_spec.rb
@@ -6,7 +6,7 @@... | Add comma to even the last line of Hash/Array
|
diff --git a/lib/pay_dirt/result.rb b/lib/pay_dirt/result.rb
index abc1234..def5678 100644
--- a/lib/pay_dirt/result.rb
+++ b/lib/pay_dirt/result.rb
@@ -1,4 +1,5 @@ module PayDirt
+ # Provides developers with a [re]usable result object for their service objects to return.
class Result
# The response from a use... | Work on documentation for the PayDirt::Result class
|
diff --git a/spec/integration/veritas/self_referential/one_to_many_spec.rb b/spec/integration/veritas/self_referential/one_to_many_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/veritas/self_referential/one_to_many_spec.rb
+++ b/spec/integration/veritas/self_referential/one_to_many_spec.rb
@@ -1,6 +1,6 @@... | Fix example description for self referential 1:N specs
|
diff --git a/lib/happy-cli.rb b/lib/happy-cli.rb
index abc1234..def5678 100644
--- a/lib/happy-cli.rb
+++ b/lib/happy-cli.rb
@@ -24,7 +24,7 @@ if options[:git]
run "git init"
run "git add ."
- run "git commit -m 'Created new Schnitzelpress blog'"
+ run "git commit -m 'Cre... | Fix message for first git commit |
diff --git a/lib/livereload-rails/middleware.rb b/lib/livereload-rails/middleware.rb
index abc1234..def5678 100644
--- a/lib/livereload-rails/middleware.rb
+++ b/lib/livereload-rails/middleware.rb
@@ -8,10 +8,11 @@ @app = app
@clients = WeakObservable.new
+ assets.digest = false
assets.config... | Disable digests to help LiveReload find the file to reload! |
diff --git a/lib/vagrant/ansible_auto/cap/guest/posix/gateway_addresses.rb b/lib/vagrant/ansible_auto/cap/guest/posix/gateway_addresses.rb
index abc1234..def5678 100644
--- a/lib/vagrant/ansible_auto/cap/guest/posix/gateway_addresses.rb
+++ b/lib/vagrant/ansible_auto/cap/guest/posix/gateway_addresses.rb
@@ -17,39 +17,2... | Simplify iteration over candidate gateway IP addresses
|
diff --git a/php_session-rails.gemspec b/php_session-rails.gemspec
index abc1234..def5678 100644
--- a/php_session-rails.gemspec
+++ b/php_session-rails.gemspec
@@ -10,7 +10,7 @@ spec.email = ["shinpeim@gmail.com"]
spec.description = %q{Read/write php session file from Ruby on Rails}
spec.summary ... | Add homepage url to gemspec
|
diff --git a/lib/swoop/formatter.rb b/lib/swoop/formatter.rb
index abc1234..def5678 100644
--- a/lib/swoop/formatter.rb
+++ b/lib/swoop/formatter.rb
@@ -4,7 +4,7 @@ if Swoop.colorize?
"#{ severity[0].bold.send(severity_color(severity)) } #{ datetime.iso8601.bold.black } #{ (progname || "mytvh-web").bold }: #... | Use "rails" as default progname
|
diff --git a/lib/tasks/release.rake b/lib/tasks/release.rake
index abc1234..def5678 100644
--- a/lib/tasks/release.rake
+++ b/lib/tasks/release.rake
@@ -0,0 +1,12 @@+desc "Create git tag with version"
+task release: :environment do
+ sh "git tag -m \"Version #{version}\" #{version_tag}"
+end
+
+def version
+ DockerRa... | Add simple task task for tagging
|
diff --git a/lib/web_game_engine.rb b/lib/web_game_engine.rb
index abc1234..def5678 100644
--- a/lib/web_game_engine.rb
+++ b/lib/web_game_engine.rb
@@ -2,12 +2,13 @@
class WebGameEngine
- attr_reader :ttt_board
- attr_accessor :comp_player
+ attr_accessor :ttt_board, :comp_player
def initialize(args)
... | Add accessors and rules to web game engine
|
diff --git a/lib/generators/templates/ie_conditional_tag.rb b/lib/generators/templates/ie_conditional_tag.rb
index abc1234..def5678 100644
--- a/lib/generators/templates/ie_conditional_tag.rb
+++ b/lib/generators/templates/ie_conditional_tag.rb
@@ -18,7 +18,7 @@
# For all other browsers
# Note: Don't remove this... | Remove mention of body tag
|
diff --git a/activefile.gemspec b/activefile.gemspec
index abc1234..def5678 100644
--- a/activefile.gemspec
+++ b/activefile.gemspec
@@ -1,19 +1,19 @@ Gem::Specification.new do |s|
- s.name = 'activefile'
- s.version = '0.1'
- s.authors = 'David Heinemeier Hansson'
- s.email = 'david@basecamp.com'
- s.sum... | Switch to double quotes for Rails linter
|
diff --git a/app/models/manageiq/providers/ansible_tower/configuration_manager/configured_system.rb b/app/models/manageiq/providers/ansible_tower/configuration_manager/configured_system.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/ansible_tower/configuration_manager/configured_system.rb
+++ b/ap... | Add Ansible Tower ConfiguredSystem subclass
|
diff --git a/google.rb b/google.rb
index abc1234..def5678 100644
--- a/google.rb
+++ b/google.rb
@@ -6,17 +6,17 @@ class Google
include Cinch::Plugin
plugin "google"
- help "!g(oogle) [number] <query> - search Google"
- match /g(?:oogle)? (.+)/
+ help "!g(oogle) [number] <query> - search Google (5 default resu... | Tweak regex following dominikh's advice
|
diff --git a/lib/usesthis/api/endpoint.rb b/lib/usesthis/api/endpoint.rb
index abc1234..def5678 100644
--- a/lib/usesthis/api/endpoint.rb
+++ b/lib/usesthis/api/endpoint.rb
@@ -25,12 +25,16 @@ item_count: @pagination[:item_count]
}
+ links = @pagination[:links].transform_values d... | Switch pagination links to absolute URLs.
|
diff --git a/lib/carto/visualization_migrator.rb b/lib/carto/visualization_migrator.rb
index abc1234..def5678 100644
--- a/lib/carto/visualization_migrator.rb
+++ b/lib/carto/visualization_migrator.rb
@@ -8,6 +8,7 @@
layer_selector_migration(vis)
mapcap_creation(vis)
+ google_basemap_migration(vis)
... | Fix editor -> builder migrations
Gmaps visualizations migrated from v2 to v3 were breaking JS
|
diff --git a/db/migrate/20190520142857_create_infrastructure_voltage_types.rb b/db/migrate/20190520142857_create_infrastructure_voltage_types.rb
index abc1234..def5678 100644
--- a/db/migrate/20190520142857_create_infrastructure_voltage_types.rb
+++ b/db/migrate/20190520142857_create_infrastructure_voltage_types.rb
@@ ... | Fix infrastructure voltage type db migration.
|
diff --git a/lib/netsuite/records/member_list.rb b/lib/netsuite/records/member_list.rb
index abc1234..def5678 100644
--- a/lib/netsuite/records/member_list.rb
+++ b/lib/netsuite/records/member_list.rb
@@ -2,8 +2,6 @@ module Records
class MemberList < Support::Sublist
include Namespaces::ListAcct
-
- ... | Remove duplicate definition of replace_all field on MemberList
Support::Sublist already defines the replace_all field.
|
diff --git a/config/initializers/date_formats.rb b/config/initializers/date_formats.rb
index abc1234..def5678 100644
--- a/config/initializers/date_formats.rb
+++ b/config/initializers/date_formats.rb
@@ -1,4 +1,4 @@ Time::DATE_FORMATS[:appointment_date] = lambda { |time| time.strftime("%A, %B #{time.day.ordinalize}") ... | Tweak the slot date format
|
diff --git a/test/test_bad_schema_ref.rb b/test/test_bad_schema_ref.rb
index abc1234..def5678 100644
--- a/test/test_bad_schema_ref.rb
+++ b/test/test_bad_schema_ref.rb
@@ -29,7 +29,7 @@ schema = {
"$schema" => "http://json-schema.org/draft-04/schema#",
"type" => "array",
- "items" => { "$ref" =>... | Use RFC 2606 reserved invalid DNS name in tests.
This test used a DNS name which, while currently not existing, is not
actually reserved. This can manifest as a test failure on poorly
configured (like Time Warner Cable) networks. This changes said DNS
name to one using a reserved invalid top level name as specified in... |
diff --git a/lib/toshi/web.rb b/lib/toshi/web.rb
index abc1234..def5678 100644
--- a/lib/toshi/web.rb
+++ b/lib/toshi/web.rb
@@ -17,8 +17,8 @@ @available_peers = Toshi::Models::Peer.count
@connected_peers = Toshi::Models::Peer.connected.count
@database_size = Toshi::Utils.database_size
- @tx_co... | Use the faster total_count method here too
|
diff --git a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb
+++ b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb
@@ -7,7 +7,... | GithubLatest: Align test URL with example
|
diff --git a/Library/Homebrew/compat/tap.rb b/Library/Homebrew/compat/tap.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/compat/tap.rb
+++ b/Library/Homebrew/compat/tap.rb
@@ -16,6 +16,8 @@ old_remote = path.git_origin
super(new_user, new_repo)
+
+ @repo_var = nil
new_initial_revis... | Reset `repo_var` so it actually is re-computed.
|
diff --git a/libraries/aws.rb b/libraries/aws.rb
index abc1234..def5678 100644
--- a/libraries/aws.rb
+++ b/libraries/aws.rb
@@ -26,7 +26,7 @@
chef_gem 'aws-sdk' do
version node['aws']['aws_sdk_version']
- compile_time true if Chef::Resource::ChefGem.method_defined?(:compile_time)
+ compi... | Remove Chef 11 compatibility code
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/db/migrate/20181102125923_add_constraints_to_most_recent_for_form_answer_transitions.rb b/db/migrate/20181102125923_add_constraints_to_most_recent_for_form_answer_transitions.rb
index abc1234..def5678 100644
--- a/db/migrate/20181102125923_add_constraints_to_most_recent_for_form_answer_transitions.rb
+++ b... | Add missing rake task which should run before migration.
|
diff --git a/Casks/intel-haxm.rb b/Casks/intel-haxm.rb
index abc1234..def5678 100644
--- a/Casks/intel-haxm.rb
+++ b/Casks/intel-haxm.rb
@@ -1,22 +1,20 @@ cask :v1 => 'intel-haxm' do
- version '1.1.1'
- sha256 'dd6dabfc34ebf73a19bc34eecfb5d8c4269773e3108ee6ef71ae2a5eacfd37d2'
+ version '1.1.4'
+ sha256 '41ec5833015... | Upgrade Intel HAXM to 1.1.4
Previous download URL returns a 404 error (not found)
Uses the provided install and uninstall script (silent_install.sh)
|
diff --git a/Casks/opera-beta.rb b/Casks/opera-beta.rb
index abc1234..def5678 100644
--- a/Casks/opera-beta.rb
+++ b/Casks/opera-beta.rb
@@ -1,6 +1,6 @@ cask :v1 => 'opera-beta' do
- version '29.0.1795.41'
- sha256 'e7f013637993189ee96409fd647bbc00fa94bde544e2604c36cde230ad717063'
+ version '30.0.1835.18'
+ sha256 ... | Upgrade Opera Beta.app to v30.0.1835.18
|
diff --git a/lingohub.gemspec b/lingohub.gemspec
index abc1234..def5678 100644
--- a/lingohub.gemspec
+++ b/lingohub.gemspec
@@ -1,3 +1,5 @@+# -*- encoding: utf-8 -*-
+
require File.expand_path("../lib/lingohub/version", __FILE__)
Gem::Specification.new do |gem|
| Add encoding declaration to the gemspec file |
diff --git a/everyday.gemspec b/everyday.gemspec
index abc1234..def5678 100644
--- a/everyday.gemspec
+++ b/everyday.gemspec
@@ -17,7 +17,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.7"
+ spec.add_developme... | Update bundler version from 1.7 to 1.8
|
diff --git a/analysand.gemspec b/analysand.gemspec
index abc1234..def5678 100644
--- a/analysand.gemspec
+++ b/analysand.gemspec
@@ -23,6 +23,7 @@ gem.add_dependency 'rack'
gem.add_dependency 'yajl-ruby'
+ gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'
gem.add_development_dep... | Add Rake as a development dependency.
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -2,17 +2,25 @@ #
# Table name: users
#
-# id :integer not null, primary key
-# first_name :string
-# last_name :string
-# ssn :string
-# dob ... | Update Users model attribute comment
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -11,7 +11,6 @@ def init
self.first_name ||= ""
self.last_name ||= ""
- self.username ||= ""
self.password ||= ""
self.role ||= ""
self.manager_... | Change models to reflect the changes in the db
|
diff --git a/app/decorators/manageiq/providers/network_manager_decorator.rb b/app/decorators/manageiq/providers/network_manager_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/manageiq/providers/network_manager_decorator.rb
+++ b/app/decorators/manageiq/providers/network_manager_decorator.rb
@@ -0,0 +1,... | Add a separate decorator for Network Providers
|
diff --git a/lib/App/Support/Scheduler.rb b/lib/App/Support/Scheduler.rb
index abc1234..def5678 100644
--- a/lib/App/Support/Scheduler.rb
+++ b/lib/App/Support/Scheduler.rb
@@ -43,6 +43,8 @@ if @config['cleanup_frequency'] > 0
pid = fork do
trap("INT") { exit }
+ ... | Exit on any of the exit statuses
|
diff --git a/lib/catarse_stripe/engine.rb b/lib/catarse_stripe/engine.rb
index abc1234..def5678 100644
--- a/lib/catarse_stripe/engine.rb
+++ b/lib/catarse_stripe/engine.rb
@@ -7,7 +7,7 @@ class Mapper
def mount_catarse_stripe_at(catarse_stripe)
namespace CatarseStripe do
- namespeace :payment do
+... | Change route to share application
|
diff --git a/lib/catarse_stripe/engine.rb b/lib/catarse_stripe/engine.rb
index abc1234..def5678 100644
--- a/lib/catarse_stripe/engine.rb
+++ b/lib/catarse_stripe/engine.rb
@@ -6,7 +6,7 @@ module ActionDispatch::Routing
class Mapper
def mount_catarse_stripe_at(catarse_stripe)
- namespace :payment do
+ ... | Change route to share application
|
diff --git a/prawn-emoji.gemspec b/prawn-emoji.gemspec
index abc1234..def5678 100644
--- a/prawn-emoji.gemspec
+++ b/prawn-emoji.gemspec
@@ -19,7 +19,7 @@ spec.require_path = 'lib'
spec.add_runtime_dependency 'prawn', '~> 2.3'
- spec.add_runtime_dependency 'unicode-emoji', '~> 3.1.0'
+ spec.add_runtime_depend... | Exclude patch version from version constraints
|
diff --git a/unchanged_validator.gemspec b/unchanged_validator.gemspec
index abc1234..def5678 100644
--- a/unchanged_validator.gemspec
+++ b/unchanged_validator.gemspec
@@ -18,6 +18,8 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
+ spec.add_runtime_dependency "... | Add runtime dependency on activmodel (>= 3.1)
|
diff --git a/git_diff.gemspec b/git_diff.gemspec
index abc1234..def5678 100644
--- a/git_diff.gemspec
+++ b/git_diff.gemspec
@@ -7,7 +7,7 @@ spec.name = "git_diff"
spec.version = GitDiff::VERSION
spec.authors = ["Andrew Olson"]
- spec.email = ["aolson@geezeo.com"]
+ spec.email ... | Update email in Gem spec. |
diff --git a/lib/dimples/configuration.rb b/lib/dimples/configuration.rb
index abc1234..def5678 100644
--- a/lib/dimples/configuration.rb
+++ b/lib/dimples/configuration.rb
@@ -18,13 +18,13 @@
def self.default_generation
{
- paginated_posts: true,
categories: true,
post_feeds: tr... | Tweak the archive configs, add the page_prefix
|
diff --git a/lib/ntee/search_dimension.rb b/lib/ntee/search_dimension.rb
index abc1234..def5678 100644
--- a/lib/ntee/search_dimension.rb
+++ b/lib/ntee/search_dimension.rb
@@ -1,13 +1,13 @@ require 'search_dimensions'
module NTEE
- class SearchDimension < SearchDimensions::HierarchicalDimension
+ class Hierarchic... | Allow hierarchical or flat NTEE dimensions (because Thoth client receives flattened values)
|
diff --git a/lib/resque/metrics_logger.rb b/lib/resque/metrics_logger.rb
index abc1234..def5678 100644
--- a/lib/resque/metrics_logger.rb
+++ b/lib/resque/metrics_logger.rb
@@ -11,7 +11,7 @@ Resque::Metrics.on_job_complete do |job_class, queue, time|
CartoDB::Resque::Metrics.logger.info(
{:event => :job_complet... | Use import job class name instead of to_json
|
diff --git a/week-4/4-2/simple-string.rb b/week-4/4-2/simple-string.rb
index abc1234..def5678 100644
--- a/week-4/4-2/simple-string.rb
+++ b/week-4/4-2/simple-string.rb
@@ -0,0 +1,26 @@+# Solution Below
+old_string = "Ruby is cool"
+new_string = old_string.reverse.upcase
+
+# RSpec Tests. They are included in this file... | Test files for 4.2 submission
|
diff --git a/harness.gemspec b/harness.gemspec
index abc1234..def5678 100644
--- a/harness.gemspec
+++ b/harness.gemspec
@@ -26,4 +26,5 @@ gem.add_development_dependency "sidekiq"
gem.add_development_dependency "active_model_serializers"
gem.add_development_dependency "rails"
+ gem.add_development_dependency "... | Add minitest as a development_dependency
|
diff --git a/veil.gemspec b/veil.gemspec
index abc1234..def5678 100644
--- a/veil.gemspec
+++ b/veil.gemspec
@@ -12,6 +12,7 @@
spec.summary = %q{Veil is a Ruby Gem for generating secure secrets from a shared secret}
spec.description = spec.summary
+ spec.license = "Apache-2.0"
spec.homepage ... | Add licensing information for the transitive dependencies of Chef Server.
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -32,6 +32,7 @@
def setup
DatabaseCleaner.start
+ I18n.locale = I18n.default_locale
end
def teardown
| Set default locale before each test
app/views/selection_notification/make_notification.text.erb overwrites
locale, leading to flip flopping tests.
|
diff --git a/Forecastr.podspec b/Forecastr.podspec
index abc1234..def5678 100644
--- a/Forecastr.podspec
+++ b/Forecastr.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = "Forecastr"
- s.version = "0.0.1"
- s.summary = "A simple Objective-C wrapper for the Forecast.io API"
+ s.version ... | Update cocoapod spec to 0.0.2
|
diff --git a/Formula/gqview.rb b/Formula/gqview.rb
index abc1234..def5678 100644
--- a/Formula/gqview.rb
+++ b/Formula/gqview.rb
@@ -0,0 +1,14 @@+require 'formula'
+
+class Gqview <Formula
+ url 'http://downloads.sourceforge.net/project/gqview/gqview/2.0.4/gqview-2.0.4.tar.gz'
+ homepage 'http://gqview.sourceforge.ne... | Add formula for GQview, a gtk-based image browser.
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/HRLEngine.podspec b/HRLEngine.podspec
index abc1234..def5678 100644
--- a/HRLEngine.podspec
+++ b/HRLEngine.podspec
@@ -1,10 +1,10 @@ Pod::Spec.new do |s|
s.name = 'HRLEngine'
- s.version = '0.2.6'
- s.summary = 'Use Machine Learning to predict if a person is working out ... | Update README: repo is deprecated ... again :)
|
diff --git a/InstagramSimpleOAuth.podspec b/InstagramSimpleOAuth.podspec
index abc1234..def5678 100644
--- a/InstagramSimpleOAuth.podspec
+++ b/InstagramSimpleOAuth.podspec
@@ -9,7 +9,7 @@ s.requires_arc = true
s.platform = :ios
s.ios.deployment_target = '8.0'
- s.public_header_files = ... | Fix really dumb podspec error
|
diff --git a/MGCommand.podspec b/MGCommand.podspec
index abc1234..def5678 100644
--- a/MGCommand.podspec
+++ b/MGCommand.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = "MGCommand"
- s.version = "0.0.1"
+ s.version = "0.0.2"
s.summary = "This library provides a lightweight way for... | Set podspec version to 0.0.2
|
diff --git a/lib/rom/session.rb b/lib/rom/session.rb
index abc1234..def5678 100644
--- a/lib/rom/session.rb
+++ b/lib/rom/session.rb
@@ -21,7 +21,7 @@ # @yieldparam [Session::Environment]
#
# @api public
- def self.start(environment, &block)
+ def self.start(environment)
yield(new(Environment... | Simplify Session.start signature and kill mutation
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -26,4 +26,5 @@
git "#{ENV['HOME']}/.janus" do
repository 'git@github.com:pr0d1r2/dotjanus.git'
+ user node['current_user']
end
| Add user for git retrieval
|
diff --git a/lib/arena_api.rb b/lib/arena_api.rb
index abc1234..def5678 100644
--- a/lib/arena_api.rb
+++ b/lib/arena_api.rb
@@ -4,6 +4,7 @@
module ArenaApi
API_VERSION = 'v1'
+ COLLECTION_LIMIT = 400
end
require 'arena_api/resource'
require 'arena_api/bom_item'
| Add the maximum collection return as a constant
So users of the items-search API can retrieve the maximum
|
diff --git a/db/data_migration/20210225103359_update_pa_ur_translations_to_pa_pk.rb b/db/data_migration/20210225103359_update_pa_ur_translations_to_pa_pk.rb
index abc1234..def5678 100644
--- a/db/data_migration/20210225103359_update_pa_ur_translations_to_pa_pk.rb
+++ b/db/data_migration/20210225103359_update_pa_ur_tran... | Migrate translations from unsupported pa-ur locale to pa-pk
Co-authored-by: Peter Hartshorn <1117c31d7ee48714d5fa71842e06c8443afb8c81@digital.cabinet-office.gov.uk>
|
diff --git a/lib/mdss/init.rb b/lib/mdss/init.rb
index abc1234..def5678 100644
--- a/lib/mdss/init.rb
+++ b/lib/mdss/init.rb
@@ -2,6 +2,8 @@ require_relative 'extra'
class MDSSInit
+ @@helper = MDSSExtra.new
+
def self.mdss_init(name)
MDSSExtra.new.puts_err("Directory exists") if File.exists?(name)
... | Create index.md in new sites
|
diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb
index abc1234..def5678 100644
--- a/Casks/handbrakecli-nightly.rb
+++ b/Casks/handbrakecli-nightly.rb
@@ -1,6 +1,6 @@ cask :v1 => 'handbrakecli-nightly' do
- version '6822svn'
- sha256 '06b3024888643041779f4ac301266739ef6a6c4a30972a951aec881fb... | Update HandbrakeCLI Nightly to v6859svn
HandBrakeCLI Nightly v6859svn built 2015-02-02.
|
diff --git a/spanner/spec/quickstart_spec.rb b/spanner/spec/quickstart_spec.rb
index abc1234..def5678 100644
--- a/spanner/spec/quickstart_spec.rb
+++ b/spanner/spec/quickstart_spec.rb
@@ -33,7 +33,7 @@
expect {
load File.expand_path("../quickstart.rb", __dir__)
- }.to output("1").to_stdout
+ }.to ou... | Fix spec test for spanner quickstart
|
diff --git a/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb b/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb
index abc1234..def5678 100644
--- a/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb
+++ b/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb... | Move alter outside of migration block
|
diff --git a/spec/models/reservation_spec.rb b/spec/models/reservation_spec.rb
index abc1234..def5678 100644
--- a/spec/models/reservation_spec.rb
+++ b/spec/models/reservation_spec.rb
@@ -7,10 +7,24 @@
context 'with schedule item starting in the past' do
subject { build(:reservation, schedule_item: build(... | Add checking for full schedule items to specs
|
diff --git a/spec/requests/rails_api_spec.rb b/spec/requests/rails_api_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/rails_api_spec.rb
+++ b/spec/requests/rails_api_spec.rb
@@ -4,7 +4,9 @@ let(:params) {}
let(:headers) {}
- describe 'GET articles index' do
+ describe 'GET request' do
+ before { ... | Mark rails API specs as pending
|
diff --git a/spec/support/shared_examples.rb b/spec/support/shared_examples.rb
index abc1234..def5678 100644
--- a/spec/support/shared_examples.rb
+++ b/spec/support/shared_examples.rb
@@ -1,4 +1,4 @@-shared_examples :node_set do |options|
+RSpec.shared_examples :node_set do |options|
example 'return a NodeSet insta... | Use RSpec.shared_example vs just shared_example.
|
diff --git a/sparkle_formation.gemspec b/sparkle_formation.gemspec
index abc1234..def5678 100644
--- a/sparkle_formation.gemspec
+++ b/sparkle_formation.gemspec
@@ -10,7 +10,7 @@ s.description = 'Ruby DSL for programmatic orchestration API template generation'
s.license = 'Apache-2.0'
s.require_path = 'lib'
- ... | Increase the minimum ruby version constraint to 2.1
|
diff --git a/spec/lib/construi_spec.rb b/spec/lib/construi_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/construi_spec.rb
+++ b/spec/lib/construi_spec.rb
@@ -0,0 +1,20 @@+require 'spec_helper'
+
+RSpec.describe Construi do
+ describe 'run' do
+ let(:targets) { ['target1', 'target2'] }
+ let(:config) { { '... | Add tests for Construi module
|
diff --git a/GSKStretchyHeaderView.podspec b/GSKStretchyHeaderView.podspec
index abc1234..def5678 100644
--- a/GSKStretchyHeaderView.podspec
+++ b/GSKStretchyHeaderView.podspec
@@ -3,11 +3,9 @@ s.version = "0.1.0"
s.summary = "A short description of GSKStretchyHeaderView."
- s.description ... | Update podspec and add screenshots
|
diff --git a/db/data/20150714110820_remove_ontology_from_proof_attempt_configuration.rb b/db/data/20150714110820_remove_ontology_from_proof_attempt_configuration.rb
index abc1234..def5678 100644
--- a/db/data/20150714110820_remove_ontology_from_proof_attempt_configuration.rb
+++ b/db/data/20150714110820_remove_ontology... | Fix data migration not finding a method.
|
diff --git a/lib/best_boy.rb b/lib/best_boy.rb
index abc1234..def5678 100644
--- a/lib/best_boy.rb
+++ b/lib/best_boy.rb
@@ -19,16 +19,16 @@ end
def self.in_test_mode(&block)
- executute_with_test_mode_set_to(true, &block)
+ execute_with_test_mode_set_to(true, &block)
end
def self.in_real_mode(&blo... | Fix typo in method name
|
diff --git a/Casks/obs.rb b/Casks/obs.rb
index abc1234..def5678 100644
--- a/Casks/obs.rb
+++ b/Casks/obs.rb
@@ -6,7 +6,7 @@ url "https://github.com/jp9000/obs-studio/releases/download/#{version}/obs-#{version}-installer.dmg"
appcast 'https://github.com/jp9000/obs-studio/releases.atom'
name 'OBS'
- homepage 'h... | Fix homepage to use SSL in OBS Cask
The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.
|
diff --git a/lib/goku/cli.rb b/lib/goku/cli.rb
index abc1234..def5678 100644
--- a/lib/goku/cli.rb
+++ b/lib/goku/cli.rb
@@ -24,7 +24,7 @@ end
map "module" => "m"
- map "class" => "m"
+ map "class" => "c"
private
| Fix class -> c alias
|
diff --git a/lib/json_vat.rb b/lib/json_vat.rb
index abc1234..def5678 100644
--- a/lib/json_vat.rb
+++ b/lib/json_vat.rb
@@ -44,7 +44,13 @@ end
def country(country)
- self.rates.select { |r| r.country_code == country.to_s.upcase }.first
+ code = country.to_s.upcase
+
+ # Fix ISO-3166-1-alpha2 ... | Fix ISO-3166-1-alpha2 exceptions for GB/UK and GR/EL
|
diff --git a/lib/capistrano-resque.rb b/lib/capistrano-resque.rb
index abc1234..def5678 100644
--- a/lib/capistrano-resque.rb
+++ b/lib/capistrano-resque.rb
@@ -1,6 +1,6 @@ require "capistrano-resque/version"
-if Gem::Version.new(Capistrano::VERSION).release >= Gem::Version.new("3.0.0")
+if defined?(Capistrano::VERSI... | Check if Capistrano::VERSION is defined
V2 uses Capistrano::Version, not ::VERSION, so this would have thrown
an error when used in V2. (Thanks to @avaranovich for pointing this out)
|
diff --git a/lib/capistrano/ec2tag.rb b/lib/capistrano/ec2tag.rb
index abc1234..def5678 100644
--- a/lib/capistrano/ec2tag.rb
+++ b/lib/capistrano/ec2tag.rb
@@ -12,7 +12,7 @@ @ec2 ||= AWS::EC2.new({access_key_id: fetch(:aws_access_key_id), secret_access_key: fetch(:aws_secret_access_key)}.merge! fetch(:aws_para... | Check for the private ip if public ip is empty
|
diff --git a/lib/catalog/organizer.rb b/lib/catalog/organizer.rb
index abc1234..def5678 100644
--- a/lib/catalog/organizer.rb
+++ b/lib/catalog/organizer.rb
@@ -1,7 +1,7 @@ module Catalog
class Organizer
- def initialize(base_path:)
- @base_path = base_path
+ def initialize(base_path: nil)
+ @base_pa... | Add a default base_path for Organizer
|
diff --git a/db/migrate/20110626150056_add_updated_at_and_count_to_views.rb b/db/migrate/20110626150056_add_updated_at_and_count_to_views.rb
index abc1234..def5678 100644
--- a/db/migrate/20110626150056_add_updated_at_and_count_to_views.rb
+++ b/db/migrate/20110626150056_add_updated_at_and_count_to_views.rb
@@ -1,6 +1,... | [views] Make view count default to 0
|
diff --git a/nodenv.rb b/nodenv.rb
index abc1234..def5678 100644
--- a/nodenv.rb
+++ b/nodenv.rb
@@ -11,6 +11,9 @@ def caveats; <<-EOS.undent
To enable shims and autocompletion add to your profile:
if which nodenv > /dev/null; then eval "$(nodenv init -)"; fi
+
+ To use Homebrew's directories rather th... | Add caveat about setting NODENV_ROOT
|
diff --git a/core/app/interactors/interactors/feed/global_discussions.rb b/core/app/interactors/interactors/feed/global_discussions.rb
index abc1234..def5678 100644
--- a/core/app/interactors/interactors/feed/global_discussions.rb
+++ b/core/app/interactors/interactors/feed/global_discussions.rb
@@ -0,0 +1,27 @@+module... | Create interactor for global discussions
|
diff --git a/db/migrate/20110602193842_add_post_login_action_to_users.rb b/db/migrate/20110602193842_add_post_login_action_to_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20110602193842_add_post_login_action_to_users.rb
+++ b/db/migrate/20110602193842_add_post_login_action_to_users.rb
@@ -0,0 +1,9 @@+class A... | Add field for post-login action.
|
diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb
index abc1234..def5678 100644
--- a/test/dummy/config/routes.rb
+++ b/test/dummy/config/routes.rb
@@ -3,9 +3,9 @@ mount Calligraph::Engine => "/"
devise_for :calligraph_admin_users, {
- :class_name => "Calligraph::AdminUser",
+ class_na... | Migrate old hash syntax to new ruby style
|
diff --git a/test/version_sorter_test.rb b/test/version_sorter_test.rb
index abc1234..def5678 100644
--- a/test/version_sorter_test.rb
+++ b/test/version_sorter_test.rb
@@ -1,10 +1,18 @@ require 'test/unit'
require 'version_sorter'
+require 'rubygems/version'
class VersionSorterTest < Test::Unit::TestCase
def te... | Verify that we sort version numbers the same way RubyGems does
|
diff --git a/spec/graphql/execution/typecast_spec.rb b/spec/graphql/execution/typecast_spec.rb
index abc1234..def5678 100644
--- a/spec/graphql/execution/typecast_spec.rb
+++ b/spec/graphql/execution/typecast_spec.rb
@@ -22,6 +22,10 @@ end
it "resolve correctly when potential type is an Interface and current typ... | Add an additional test for the missing case
|
diff --git a/spec/image_templates/shared_examples.rb b/spec/image_templates/shared_examples.rb
index abc1234..def5678 100644
--- a/spec/image_templates/shared_examples.rb
+++ b/spec/image_templates/shared_examples.rb
@@ -8,8 +8,14 @@ end
describe '#erb_template' do
- it 'is a valid erb template' do
+ it 'i... | Add valid file check for shared template examples
|
diff --git a/app/models/concerns/likable.rb b/app/models/concerns/likable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/likable.rb
+++ b/app/models/concerns/likable.rb
@@ -9,7 +9,7 @@ base.has_many likes, dependent: :destroy
base.has_many :likers, through: likes, source: :user
- base.scope :p... | Fix typo: liked_count -> likes_count
|
diff --git a/lib/scorm2004/sequencing/evaluate_rollup_conditions_subprocess.rb b/lib/scorm2004/sequencing/evaluate_rollup_conditions_subprocess.rb
index abc1234..def5678 100644
--- a/lib/scorm2004/sequencing/evaluate_rollup_conditions_subprocess.rb
+++ b/lib/scorm2004/sequencing/evaluate_rollup_conditions_subprocess.rb... | Add a comment on the EvaluateRollupConditionsSubprocess class.
|
diff --git a/webapp/db/migrate/20120320040150_allow_nulls_in_participation_entity_ids.rb b/webapp/db/migrate/20120320040150_allow_nulls_in_participation_entity_ids.rb
index abc1234..def5678 100644
--- a/webapp/db/migrate/20120320040150_allow_nulls_in_participation_entity_ids.rb
+++ b/webapp/db/migrate/20120320040150_al... | Fix participation validation to allow nulls in entity_id fields
|
diff --git a/features/step_definitions/admin_broken_link_reporting_steps.rb b/features/step_definitions/admin_broken_link_reporting_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/admin_broken_link_reporting_steps.rb
+++ b/features/step_definitions/admin_broken_link_reporting_steps.rb
@@ -13,6 +1... | Fix feature broken by copy change
|
diff --git a/parallel.gemspec b/parallel.gemspec
index abc1234..def5678 100644
--- a/parallel.gemspec
+++ b/parallel.gemspec
@@ -7,6 +7,12 @@ s.authors = ["Michael Grosser"]
s.email = "michael@grosser.it"
s.homepage = "https://github.com/grosser/#{name}"
+ s.metadata = {
+ "bug_tracker_uri" => "https://gi... | Add project metadata to the gemspec
As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the wiki. These
`bug_tracker_uri`, `wiki_uri`, `documentation_uri` and `source_code_uri`
links wi... |
diff --git a/lib/coinmux/http.rb b/lib/coinmux/http.rb
index abc1234..def5678 100644
--- a/lib/coinmux/http.rb
+++ b/lib/coinmux/http.rb
@@ -1,16 +1,17 @@ require 'httpclient'
class Coinmux::Http
- include Singleton
+ include Singleton, Coinmux::Facades
- def get(host, path)
+ def get(host, path, options = {:d... | Allow GET requests that do not cache. |
diff --git a/db/data_migration/20130321100108_remove_world_editions_from_rummager.rb b/db/data_migration/20130321100108_remove_world_editions_from_rummager.rb
index abc1234..def5678 100644
--- a/db/data_migration/20130321100108_remove_world_editions_from_rummager.rb
+++ b/db/data_migration/20130321100108_remove_world_e... | Remove world priorities and news from search
They won't get added back in due to 2ae3439, but we also need existing
ones to be removed.
|
diff --git a/actionpack/test/template/safe_buffer_test.rb b/actionpack/test/template/safe_buffer_test.rb
index abc1234..def5678 100644
--- a/actionpack/test/template/safe_buffer_test.rb
+++ b/actionpack/test/template/safe_buffer_test.rb
@@ -26,7 +26,7 @@ end
test "Should not mess with a previously escape test" d... | Fix failing safe buffer test. We don't patch CGI.escapeHTML, only ERB:Util.
|
diff --git a/app/channels/application_cable/connection.rb b/app/channels/application_cable/connection.rb
index abc1234..def5678 100644
--- a/app/channels/application_cable/connection.rb
+++ b/app/channels/application_cable/connection.rb
@@ -14,7 +14,7 @@ if (verified_user = env["warden"].user)
verified_u... | Allow visitors to receive action cable broadcasts
|
diff --git a/app/controllers/abuse_comments_controller.rb b/app/controllers/abuse_comments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/abuse_comments_controller.rb
+++ b/app/controllers/abuse_comments_controller.rb
@@ -3,7 +3,6 @@ class AbuseCommentsController < ApplicationController
before_act... | Allow all core to edit abuse reports - 1 |
diff --git a/recipes/_user.rb b/recipes/_user.rb
index abc1234..def5678 100644
--- a/recipes/_user.rb
+++ b/recipes/_user.rb
@@ -25,10 +25,23 @@ mode 0700
end
-file "#{home_dir}/.ssh/authorized_keys" do
- owner user
- group group
- mode 0700
- backup false
- content public_key
-end if public_key+authorized_ke... | Update user's authorized_keys file to only append if the file exists
|
diff --git a/recipes/rspec.rb b/recipes/rspec.rb
index abc1234..def5678 100644
--- a/recipes/rspec.rb
+++ b/recipes/rspec.rb
@@ -10,9 +10,9 @@
generate "rspec:install"
- append_file("spec/spec_helper.rb") { "\nDatabaseCleaner.strategy = :truncation" }
+ append_file("spec/spec_helper.rb") { "\nDatabaseCleaner.st... | Add some closing newlines and documentation formatter for RSpec |
diff --git a/ResearchKit.podspec b/ResearchKit.podspec
index abc1234..def5678 100644
--- a/ResearchKit.podspec
+++ b/ResearchKit.podspec
@@ -8,7 +8,7 @@ s.source = { :git => 'https://github.com/ResearchKit/ResearchKit.git', :tag => "v#{s.version}"}
s.source_files = 'ResearchKit/**/*'
s.private_header_file... | Add shader files to resources
|
diff --git a/lib/genomer/rules_dsl.rb b/lib/genomer/rules_dsl.rb
index abc1234..def5678 100644
--- a/lib/genomer/rules_dsl.rb
+++ b/lib/genomer/rules_dsl.rb
@@ -4,30 +4,27 @@ @types = Array.new
end
- def scaffold_file(location=nil)
- return @scaffold if location.nil?
- @scaffold = location
+ private
+
... | Refactor DSL methods using helper method
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.