diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/quantum_spec.rb b/spec/quantum_spec.rb
index abc1234..def5678 100644
--- a/spec/quantum_spec.rb
+++ b/spec/quantum_spec.rb
@@ -4,7 +4,7 @@ describe Quantum do
describe '.leap' do
- the_past = Time.new(1968, 03, 25, 15, 00)
+ the_past = Time.new(1956, 9, 13, 15, 00)
it 'changes the cu... | Use the correct leap date for first episode
|
diff --git a/app/models/avatar.rb b/app/models/avatar.rb
index abc1234..def5678 100644
--- a/app/models/avatar.rb
+++ b/app/models/avatar.rb
@@ -15,6 +15,7 @@ folder: 'avatar/',
public_id: member.id,
allowed_formats: %w[jpg png],
+ invalidate: true,
)
update!(cloudinary_id: response['... | Add `invalidate: true` to Cloudinary upload parameters
close #1535
|
diff --git a/app/services/jira.rb b/app/services/jira.rb
index abc1234..def5678 100644
--- a/app/services/jira.rb
+++ b/app/services/jira.rb
@@ -11,7 +11,7 @@ def find_issues_by_project(project)
return [] if project.jira_key.blank?
- response = self.class.get("/search?project=" + project.jira_key)
+ resp... | Fix query string on Jira issue listing
|
diff --git a/RNDeviceInfo.podspec b/RNDeviceInfo.podspec
index abc1234..def5678 100644
--- a/RNDeviceInfo.podspec
+++ b/RNDeviceInfo.podspec
@@ -8,7 +8,7 @@ s.license = "MIT"
s.platform = :ios, "7.0"
- s.source = { :git => "https://github.com/rebeccahughes/react-native-device-info", :head }
+ s.... | Fix source in podspec file.
|
diff --git a/app/models/report.rb b/app/models/report.rb
index abc1234..def5678 100644
--- a/app/models/report.rb
+++ b/app/models/report.rb
@@ -16,9 +16,8 @@ end
def mark_occupations_as_selected(occupation_ids)
- occupations.where(id: occupation_ids).select do |occupation|
- occupation.selected = true
-... | Refactor mark occupations as selected
|
diff --git a/app/controllers/account_activations_controller.rb b/app/controllers/account_activations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/account_activations_controller.rb
+++ b/app/controllers/account_activations_controller.rb
@@ -1,5 +1,6 @@ class AccountActivationsController < Applicatio... | Comment docs for account activations controller
|
diff --git a/app/controllers/devise/cas_sessions_controller.rb b/app/controllers/devise/cas_sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/devise/cas_sessions_controller.rb
+++ b/app/controllers/devise/cas_sessions_controller.rb
@@ -1,4 +1,6 @@ class Devise::CasSessionsController < Devise::S... | Make sessions controller unloadable to avoid dev mode errors
|
diff --git a/SDCAlertView.podspec b/SDCAlertView.podspec
index abc1234..def5678 100644
--- a/SDCAlertView.podspec
+++ b/SDCAlertView.podspec
@@ -9,7 +9,7 @@ # Source Info
s.platform = :ios, '7.0'
s.source = { :git => 'https://github.com/Scott90/SDCAlertView.git', :tag => "v#{s.version}" }
- s.source_... | Update podspec to include private header file
|
diff --git a/GestureRecognizerClosures.podspec b/GestureRecognizerClosures.podspec
index abc1234..def5678 100644
--- a/GestureRecognizerClosures.podspec
+++ b/GestureRecognizerClosures.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "GestureRecognizerClosures"
- s.version = "2.1.0"
+ s.version ... | Update podspec version to 2.2.0
|
diff --git a/app/workers/feed_eater_worker.rb b/app/workers/feed_eater_worker.rb
index abc1234..def5678 100644
--- a/app/workers/feed_eater_worker.rb
+++ b/app/workers/feed_eater_worker.rb
@@ -9,8 +9,15 @@ logger.info '1. Checking for new feeds'
python = './virtualenv/bin/python'
updated = `#{python} ./li... | Return if no updated feeds
|
diff --git a/app/services/curation_concerns/embargo_service.rb b/app/services/curation_concerns/embargo_service.rb
index abc1234..def5678 100644
--- a/app/services/curation_concerns/embargo_service.rb
+++ b/app/services/curation_concerns/embargo_service.rb
@@ -30,19 +30,6 @@ def presenter_class
Curat... | Remove duplicate methods in EmbargoService
These are already inherited in identical form from the
`RestrictionService` base.
|
diff --git a/event_sourcing.gemspec b/event_sourcing.gemspec
index abc1234..def5678 100644
--- a/event_sourcing.gemspec
+++ b/event_sourcing.gemspec
@@ -17,13 +17,13 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "values"
+ spec.add_depend... | Make required gem versions more specific
|
diff --git a/app/inputs/rich_input.rb b/app/inputs/rich_input.rb
index abc1234..def5678 100644
--- a/app/inputs/rich_input.rb
+++ b/app/inputs/rich_input.rb
@@ -5,7 +5,11 @@
scope_type = object_name
scope_id = object.id
- editor_options = Rich.options(options[:config], scope_type, scope_id)
+ e... | Fix use rich files per user
This fix use rich files per user.
In ActiveAdmin you can write such as:
f.input :body, as: :rich, config: { scoped: true, scope_type: 'user', scoped_id: current_user.id } |
diff --git a/app/controllers/admin/rooms_controller.rb b/app/controllers/admin/rooms_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/rooms_controller.rb
+++ b/app/controllers/admin/rooms_controller.rb
@@ -31,7 +31,7 @@ def destroy
@room = Room.find(params[:id])
@room.destroy
- res... | Fix a typo on redirecting
|
diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/users_controller.rb
+++ b/app/controllers/admin/users_controller.rb
@@ -12,7 +12,12 @@ end
def edit
+ show
add_breadcrumb I18n.t("views.user... | Add link to show before to edit in breadcrumbs users
|
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
@@ -20,12 +20,12 @@ private
def evidence_check_enabled?
- Settings.evidence_check.ena... | Improve feature toggle condition handling
|
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
@@ -5,10 +5,10 @@
def set_locale
# On the first visit, look at Accept-language and sel... | Use sessions instead of cookies for locale tracking.
|
diff --git a/app/controllers/invitations_controller.rb b/app/controllers/invitations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/invitations_controller.rb
+++ b/app/controllers/invitations_controller.rb
@@ -16,7 +16,7 @@
# Show additional warnings if member is a founding member
... | Fix condition bug when choosing whether to show founders' warnings.
|
diff --git a/app/views/categories/rss_feed.rss.builder b/app/views/categories/rss_feed.rss.builder
index abc1234..def5678 100644
--- a/app/views/categories/rss_feed.rss.builder
+++ b/app/views/categories/rss_feed.rss.builder
@@ -6,7 +6,7 @@ xml.name "#{SiteSetting['SiteName']} - Codidact"
end
xml.link nil, re... | Order feeds by last activity
|
diff --git a/Casks/kindle.rb b/Casks/kindle.rb
index abc1234..def5678 100644
--- a/Casks/kindle.rb
+++ b/Casks/kindle.rb
@@ -1,8 +1,8 @@ cask :v1 => 'kindle' do
- version '40961'
- sha256 '5036fef92ccb2334afd5c3e6c92ae56dccd5d9d120c005264044fa64147ff538'
+ version '41015'
+ sha256 '1c15ce4df69044dc9d2d3562b7f5a8589... | Upgrade Kindle.app to v1.12.4 (41015)
|
diff --git a/TBOOMDetector.podspec b/TBOOMDetector.podspec
index abc1234..def5678 100644
--- a/TBOOMDetector.podspec
+++ b/TBOOMDetector.podspec
@@ -19,5 +19,7 @@ s.source = { :git => "https://github.com/trailbehind/TBOOMDetector.git", :tag => "0.6" }
s.source_files = "TBOOMDetector/*.{h,m,c}"
+ s.depend... | Add Crashlytics dependency back to podspec and add static_framework = true
|
diff --git a/db/migrate/20150114162455_create_users.rb b/db/migrate/20150114162455_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20150114162455_create_users.rb
+++ b/db/migrate/20150114162455_create_users.rb
@@ -2,7 +2,7 @@ def change
create_table :users do |t|
t.string :username, null: f... | Fix password error with password_digest.
|
diff --git a/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb b/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb
index abc1234..def5678 100644
--- a/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb
+++ b/db/migrate/20161103110635_add_more_fields_to_trade_uploads.rb
@@ -0,0 +1,14 @... | Add migration to add fields to annual report uploads
|
diff --git a/AttributedLib.podspec b/AttributedLib.podspec
index abc1234..def5678 100644
--- a/AttributedLib.podspec
+++ b/AttributedLib.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'AttributedLib'
- s.version = '0.1.2'
+ s.version = '0.2.0'
s.summary = 'A Modern ... | Update podspec to point to release for 0.2.0
|
diff --git a/rails-bootstrap-helpers.gemspec b/rails-bootstrap-helpers.gemspec
index abc1234..def5678 100644
--- a/rails-bootstrap-helpers.gemspec
+++ b/rails-bootstrap-helpers.gemspec
@@ -10,6 +10,7 @@ s.homepage = "https://github.com/Tretti/rails-bootstrap-helpers"
s.summary = "A Rails plugin that contain... | Add license info to gemspec.
|
diff --git a/lib/suspenders/generators/import_dump_generator.rb b/lib/suspenders/generators/import_dump_generator.rb
index abc1234..def5678 100644
--- a/lib/suspenders/generators/import_dump_generator.rb
+++ b/lib/suspenders/generators/import_dump_generator.rb
@@ -17,6 +17,22 @@
% ./bin/import_dump stagin... | Add info about resetting database on heroku
|
diff --git a/test/rake_test.rb b/test/rake_test.rb
index abc1234..def5678 100644
--- a/test/rake_test.rb
+++ b/test/rake_test.rb
@@ -2,34 +2,39 @@ require "test_helper"
require "mocha"
-context "rake" do
- setup do
+describe "rake tasks" do
+ before do
Rake.application.rake_require "tasks/resque"
end
- ... | Refactor tests in preparation of testing more rake tasks
|
diff --git a/elementary-rpc.gemspec b/elementary-rpc.gemspec
index abc1234..def5678 100644
--- a/elementary-rpc.gemspec
+++ b/elementary-rpc.gemspec
@@ -5,12 +5,12 @@
Gem::Specification.new do |spec|
spec.name = "elementary-rpc"
- spec.version = Elementary::VERSION
+ spec.version = [Elementa... | Make the gemspec add a build version onto the gems released version
|
diff --git a/MQTTKit.podspec b/MQTTKit.podspec
index abc1234..def5678 100644
--- a/MQTTKit.podspec
+++ b/MQTTKit.podspec
@@ -6,7 +6,8 @@ s.homepage = "http://github.com/jmesnil/MQTTKit"
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { "Jeff Mesnil" => "jmesn... | Add OSX support to podspec |
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -17,10 +17,6 @@ format_plain = MapLayers::JsVar.new("format_plain")
page.assign(format_plain, OpenLayers::Forma... | Remove the vectorlayer definition from the helper, for now
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -22,6 +22,6 @@ def section_meta_tags(artefact)
return '' if artefact.nil? or artefact.section.blank?
tag(:meta, ... | Add /browse to all section links
|
diff --git a/sidekiq-batch.gemspec b/sidekiq-batch.gemspec
index abc1234..def5678 100644
--- a/sidekiq-batch.gemspec
+++ b/sidekiq-batch.gemspec
@@ -22,7 +22,7 @@ spec.add_dependency "sidekiq", ">= 3"
spec.add_development_dependency "bundler", "~> 1.12"
- spec.add_development_dependency "rake", "~> 10.0"
+ spe... | Update rake requirement from ~> 10.0 to ~> 12.3
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/compare/r... |
diff --git a/app/models/biodiversity_report.rb b/app/models/biodiversity_report.rb
index abc1234..def5678 100644
--- a/app/models/biodiversity_report.rb
+++ b/app/models/biodiversity_report.rb
@@ -24,7 +24,7 @@ end
def byline
- "by #{author} on #{measured_on.to_formatted_s(:long)} at #{measured_at.to_formatte... | Allow nil values for byline
|
diff --git a/lib/high_roller/random/pseudo.rb b/lib/high_roller/random/pseudo.rb
index abc1234..def5678 100644
--- a/lib/high_roller/random/pseudo.rb
+++ b/lib/high_roller/random/pseudo.rb
@@ -7,7 +7,7 @@ ary = []
@preload.times do
- ary << rand(1..rad)
+ ary << do_rand(1..rad)
end
... | Fix PRNG delegate for 1.9.2
|
diff --git a/lib/munge/cli/commands/server.rb b/lib/munge/cli/commands/server.rb
index abc1234..def5678 100644
--- a/lib/munge/cli/commands/server.rb
+++ b/lib/munge/cli/commands/server.rb
@@ -23,9 +23,7 @@ require "listen"
Listen.to(@bootloader.root_path) do |modified, added, removed|
- ... | Remove one level of chdir
Removing the chdir removes a warning about conflicting chdirs
|
diff --git a/lib/voicemail/storage_generic.rb b/lib/voicemail/storage_generic.rb
index abc1234..def5678 100644
--- a/lib/voicemail/storage_generic.rb
+++ b/lib/voicemail/storage_generic.rb
@@ -0,0 +1,110 @@+module Voicemail
+ class StorageGeneric
+ def initialize
+ end
+
+ #
+ # Get the mailbox with the sp... | Add a generic storage class
This storage class does nothing except provide a place for voicemail's storage API to be documented.
|
diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb
index abc1234..def5678 100644
--- a/config/initializers/gds-sso.rb
+++ b/config/initializers/gds-sso.rb
@@ -2,6 +2,6 @@ config.user_model = "User"
config.oauth_id = ENV["OAUTH_ID"] || "abcdefghjasndjkasndassetmanager"
config.oaut... | Use Plek.new instead of Plek.current
As per https://github.com/alphagov/plek/blob/3b838fd022a5890946a3a3ce7e774d758e0c6320/lib/plek.rb#L148-L152.
|
diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/common_steps.rb
+++ b/features/step_definitions/common_steps.rb
@@ -4,10 +4,6 @@
When /^(.*) within a cassette named "([^"]*)"$/ do |step_to_call, cassette_n... | Add step for inspecting request body.
|
diff --git a/config/initializers/twitter.rb b/config/initializers/twitter.rb
index abc1234..def5678 100644
--- a/config/initializers/twitter.rb
+++ b/config/initializers/twitter.rb
@@ -0,0 +1,12 @@+begin
+ twitter_config = YAML.load(File.open("#{Rails.root}/config/twitter.yml"))
+rescue Errno::ENOENT => exception
+ t... | Allow configuration to be loaded from yaml.
|
diff --git a/Scatter.podspec b/Scatter.podspec
index abc1234..def5678 100644
--- a/Scatter.podspec
+++ b/Scatter.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Scatter"
- s.version = "0.2.0"
+ s.version = "0.2"
s.homepage = "https://github.com/hyperoslo/Scatter"
... | Fix version number in podspec
|
diff --git a/lib/core_extensions/rubify_keys.rb b/lib/core_extensions/rubify_keys.rb
index abc1234..def5678 100644
--- a/lib/core_extensions/rubify_keys.rb
+++ b/lib/core_extensions/rubify_keys.rb
@@ -1,7 +1,8 @@ module CoreExtensions
module RubifyKeys
- # Creates methods #rubify_keys! and #unrubify_keys!
+ ... | Add comments to confusing metaprogramming
|
diff --git a/lib/fluffle/handlers/dispatcher.rb b/lib/fluffle/handlers/dispatcher.rb
index abc1234..def5678 100644
--- a/lib/fluffle/handlers/dispatcher.rb
+++ b/lib/fluffle/handlers/dispatcher.rb
@@ -1,5 +1,17 @@ module Fluffle
module Handlers
+ # Lightweight DSL for defining handler blocks for a given message
+... | Add some documentation for the `Dispatcher` handler
|
diff --git a/lib/rack/bug/filtered_backtrace.rb b/lib/rack/bug/filtered_backtrace.rb
index abc1234..def5678 100644
--- a/lib/rack/bug/filtered_backtrace.rb
+++ b/lib/rack/bug/filtered_backtrace.rb
@@ -31,7 +31,7 @@ nil
end
sub_path ? ::File.join(root, sub_path) : root
- end
+ ... | Fix for type mismatch: Pathname given
lib/rack/bug/filtered_backtrace.rb:16:in `index'
|
diff --git a/lib/serverspec/helper/detect_os.rb b/lib/serverspec/helper/detect_os.rb
index abc1234..def5678 100644
--- a/lib/serverspec/helper/detect_os.rb
+++ b/lib/serverspec/helper/detect_os.rb
@@ -9,6 +9,7 @@ os = property[:os_by_host][host]
else
os = backend(Serverspec::Commands::Base... | Delete os type cache by mistake, so rececover it
|
diff --git a/lib/tomcat-manager/api/version7.rb b/lib/tomcat-manager/api/version7.rb
index abc1234..def5678 100644
--- a/lib/tomcat-manager/api/version7.rb
+++ b/lib/tomcat-manager/api/version7.rb
@@ -36,6 +36,10 @@ def application_deployed?(application_name, version, response)
! deployed_application... | Add application_running? Method for Version7
Update the Version7 class to include an application_running? method.
|
diff --git a/lib/tumblargh/renderer/document.rb b/lib/tumblargh/renderer/document.rb
index abc1234..def5678 100644
--- a/lib/tumblargh/renderer/document.rb
+++ b/lib/tumblargh/renderer/document.rb
@@ -46,7 +46,7 @@ end
def custom_value_for_type(type, key)
- config[type][key] rescue "No config for ... | Raise an error when trying to access an appearance option that does not exist
|
diff --git a/app/helpers/admin/races_helper.rb b/app/helpers/admin/races_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin/races_helper.rb
+++ b/app/helpers/admin/races_helper.rb
@@ -12,4 +12,16 @@
html
end
+
+ # BAR category or Rider Rankings category
+ def competition_category_name(race)
+ ... | Add helper method for race categories
|
diff --git a/app/jobs/push_user_updates_job.rb b/app/jobs/push_user_updates_job.rb
index abc1234..def5678 100644
--- a/app/jobs/push_user_updates_job.rb
+++ b/app/jobs/push_user_updates_job.rb
@@ -1,9 +1,5 @@ class PushUserUpdatesJob < ActiveJob::Base
- include ActiveJob::Retry
-
- def self.inherited(subclass)
- s... | Use correct syntax for ActiveJob::Retry
Now specify options on the module as you include it
|
diff --git a/app/models/concerns/searchable.rb b/app/models/concerns/searchable.rb
index abc1234..def5678 100644
--- a/app/models/concerns/searchable.rb
+++ b/app/models/concerns/searchable.rb
@@ -12,7 +12,7 @@ skip_callback(:destroy, :after, :es_delete)
# background indexing
- after_save :delay_es_index
... | Index after the record has been committed
This avoids the common race condition that I always forget about:
https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#cannot-find-modelname-with-id12345
|
diff --git a/alchemy_spree.gemspec b/alchemy_spree.gemspec
index abc1234..def5678 100644
--- a/alchemy_spree.gemspec
+++ b/alchemy_spree.gemspec
@@ -16,5 +16,5 @@ gem.version = Alchemy::Spree::VERSION
gem.add_dependency('alchemy_cms', ['~> 3.0.0.rc4'])
- gem.add_dependency('spree', ['~> 2.1.5'])
+ gem.ad... | Allow spree 2.1 and 2.2
|
diff --git a/betabot.gemspec b/betabot.gemspec
index abc1234..def5678 100644
--- a/betabot.gemspec
+++ b/betabot.gemspec
@@ -9,7 +9,7 @@ s.homepage = 'https://github.com/gyng/betabot/'
s.metadata = {}
- s.add_development_dependency 'sequel'
- s.add_development_dependency 'sqlite3'
- s.add_development_de... | Load dependencies as runtime dependencies instead of dev
|
diff --git a/lib/fog/compute/google/models/instance_group_managers.rb b/lib/fog/compute/google/models/instance_group_managers.rb
index abc1234..def5678 100644
--- a/lib/fog/compute/google/models/instance_group_managers.rb
+++ b/lib/fog/compute/google/models/instance_group_managers.rb
@@ -12,10 +12,11 @@ :or... | Bring the IGM query to common format
It’s less elegant but should more gracefully fail if service.list_instance_group_managers(zone, opts).items returns nonsense (`false` for example)
|
diff --git a/solutions/uri/1005/1005.rb b/solutions/uri/1005/1005.rb
index abc1234..def5678 100644
--- a/solutions/uri/1005/1005.rb
+++ b/solutions/uri/1005/1005.rb
@@ -0,0 +1,4 @@+a = gets.to_f
+b = gets.to_f
+
+puts "MEDIA = #{'%.5f' % ((a * 3.5 + b * 7.5) / 11.0)}"
| Solve Average 1 in ruby
|
diff --git a/cache_rocket.gemspec b/cache_rocket.gemspec
index abc1234..def5678 100644
--- a/cache_rocket.gemspec
+++ b/cache_rocket.gemspec
@@ -22,7 +22,6 @@ spec.add_dependency "actionpack", ">= 3.2"
spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "minitest"
spec.add_dev... | Remove explicit dependency on minitest
|
diff --git a/cache_rocket.gemspec b/cache_rocket.gemspec
index abc1234..def5678 100644
--- a/cache_rocket.gemspec
+++ b/cache_rocket.gemspec
@@ -21,6 +21,6 @@
spec.add_dependency "actionpack", ">= 3.2"
- spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "mocha", "~> 1.0"
+ spe... | Update development gem dependencies for rake, mocha
|
diff --git a/spec/divvy_up/list_spec.rb b/spec/divvy_up/list_spec.rb
index abc1234..def5678 100644
--- a/spec/divvy_up/list_spec.rb
+++ b/spec/divvy_up/list_spec.rb
@@ -1,17 +1,6 @@ module DivvyUp
describe List do
-
- it "exists" do
- expect(DivvyUp::List)
- end
-
- it "creates a new list" do
- li... | Move parameters into let block
|
diff --git a/spec/app/content_schema_spec.rb b/spec/app/content_schema_spec.rb
index abc1234..def5678 100644
--- a/spec/app/content_schema_spec.rb
+++ b/spec/app/content_schema_spec.rb
@@ -0,0 +1,53 @@+require "spec_helper"
+
+RSpec.describe ContentSchema do
+ describe '#frontend_schema' do
+ it "it can link to Git... | Add tests for `ContentSchema` class
|
diff --git a/spec/factories/plans_factory.rb b/spec/factories/plans_factory.rb
index abc1234..def5678 100644
--- a/spec/factories/plans_factory.rb
+++ b/spec/factories/plans_factory.rb
@@ -1,6 +1,7 @@ FactoryGirl.define do
factory :plan, class: TaskManager::Plan do
name 'A test plan'
+ plan_type :daily
... | Set default type of plan
|
diff --git a/spec/support/confirm_helpers.rb b/spec/support/confirm_helpers.rb
index abc1234..def5678 100644
--- a/spec/support/confirm_helpers.rb
+++ b/spec/support/confirm_helpers.rb
@@ -8,6 +8,7 @@ begin
example.run
ensure
+ Spree.send(:remove_const, :User)
Spree.const_set('User... | Fix "already initialized constant" warnings about Spree::User
|
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,3 +1,4 @@+# encoding: utf-8
# `cop` and `source` must be declared with #let.
| Add missing utf-8 encoding comment
|
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
@@ -46,10 +46,10 @@ end
it 'return the count' do
- responses.first.body.result.should eq(2757)
+ responses.first.body.resu... | Fix specs that relied on exact values
|
diff --git a/spec/install/force_spec.rb b/spec/install/force_spec.rb
index abc1234..def5678 100644
--- a/spec/install/force_spec.rb
+++ b/spec/install/force_spec.rb
@@ -13,7 +13,7 @@
it "re-installs installed gems" do
bundle "install --force"
- expect(out).to match /Installing rack 1\.0\.0/
+ exp... | Use include expectation instead of unneeded regular expression
Fixes lint warning
|
diff --git a/spec/models/course_spec.rb b/spec/models/course_spec.rb
index abc1234..def5678 100644
--- a/spec/models/course_spec.rb
+++ b/spec/models/course_spec.rb
@@ -0,0 +1,47 @@+require 'rails_helper'
+
+describe Course do
+ let(:user) { build(:user) }
+
+ describe '.courses_for_person' do
+ before(:each) do
+... | Add tests for Course class methods
|
diff --git a/app/models/payload.rb b/app/models/payload.rb
index abc1234..def5678 100644
--- a/app/models/payload.rb
+++ b/app/models/payload.rb
@@ -26,7 +26,7 @@ end
def source_branch
- merge_request["source_branch"]
+ merge_request["last_commit"]["id"]
end
def target_branch
| Fix bug when branch name contains slash.
|
diff --git a/bosh-director/db/migrations/director/20150513225143_ip_addresses.rb b/bosh-director/db/migrations/director/20150513225143_ip_addresses.rb
index abc1234..def5678 100644
--- a/bosh-director/db/migrations/director/20150513225143_ip_addresses.rb
+++ b/bosh-director/db/migrations/director/20150513225143_ip_addr... | Use bignum for ip address
Postgres Integer is too small
Signed-off-by: Maria Shaldibina <dc03896a0185453e5852a5e0f0fab6cbd2e026ff@pivotal.io>
|
diff --git a/spec/models/staff_member_spec.rb b/spec/models/staff_member_spec.rb
index abc1234..def5678 100644
--- a/spec/models/staff_member_spec.rb
+++ b/spec/models/staff_member_spec.rb
@@ -8,5 +8,11 @@ expect(member.hashed_password).to be_kind_of(String)
expect(member.hashed_password.size).to eq(60)
... | Add spec. password = nil is hashed_password = nil
|
diff --git a/spec/fixtures/developer.rb b/spec/fixtures/developer.rb
index abc1234..def5678 100644
--- a/spec/fixtures/developer.rb
+++ b/spec/fixtures/developer.rb
@@ -2,7 +2,8 @@ has_and_belongs_to_many :projects, :order => 'projects.name', :join_table => 'developers_projects'
def self.with_poor_ones(&block)
-... | Fix `with_scope` test for Rails 4.1
|
diff --git a/spec/hotel_matcher_spec.rb b/spec/hotel_matcher_spec.rb
index abc1234..def5678 100644
--- a/spec/hotel_matcher_spec.rb
+++ b/spec/hotel_matcher_spec.rb
@@ -15,5 +15,12 @@ expect(all_stdout).to be == "Hotel matcher will search for a given hotel name and print its url\nUsage: hotel_matcher hotel-name... | Add test to check 'no result message' is displayed
|
diff --git a/spec/unit/rack_app_spec.rb b/spec/unit/rack_app_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/rack_app_spec.rb
+++ b/spec/unit/rack_app_spec.rb
@@ -24,7 +24,9 @@
describe "with a valid payload" do
before do
- post '/build', repo: 'emberjs/ember.js', pull_request_number: '3516'
+... | Fix params for RackApp /build.
|
diff --git a/coach_assist.gemspec b/coach_assist.gemspec
index abc1234..def5678 100644
--- a/coach_assist.gemspec
+++ b/coach_assist.gemspec
@@ -21,9 +21,9 @@
spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "rspec"
+ spec.... | Add version numbers to dependencies so rubygems wont complain any longer
|
diff --git a/attributes/default.rb b/attributes/default.rb
index abc1234..def5678 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -16,5 +16,3 @@ default['racktables']['db']['user'] = "racktables_user"
default['racktables']['db']['host'] = "localhost"
default['racktables']['db']['password'] = "passwo... | Remove 'admin' attribute. No longer used.
|
diff --git a/Casks/jumpshare.rb b/Casks/jumpshare.rb
index abc1234..def5678 100644
--- a/Casks/jumpshare.rb
+++ b/Casks/jumpshare.rb
@@ -1,8 +1,8 @@ cask :v1 => 'jumpshare' do
- version '2.1.1'
- sha256 '8181e5b35bd02dda770f81ba8f39b83e3c1cde0b934e2e563d962ce4ea16fced'
+ version '2.1.2'
+ sha256 '4745d9aa6902c902dd... | Update Jumpshare to version 2.1.2
|
diff --git a/Formula/soprano.rb b/Formula/soprano.rb
index abc1234..def5678 100644
--- a/Formula/soprano.rb
+++ b/Formula/soprano.rb
@@ -5,6 +5,7 @@ @homepage='http://soprano.sourceforge.net/'
@md5='c9a2c008b80cd5d76599e9d48139dfe9'
+ depends_on 'cmake'
depends_on 'qt'
depends_on 'clucene'
depends_on '... | Add cmake as a build dependency for Soprano
|
diff --git a/tty-which.gemspec b/tty-which.gemspec
index abc1234..def5678 100644
--- a/tty-which.gemspec
+++ b/tty-which.gemspec
@@ -6,7 +6,7 @@ spec.name = "tty-which"
spec.version = TTY::Which::VERSION
spec.authors = ["Piotr Murach"]
- spec.email = [""]
+ spec.email = ["... | Change to relax bundler version
|
diff --git a/test/test_apns-s3.rb b/test/test_apns-s3.rb
index abc1234..def5678 100644
--- a/test/test_apns-s3.rb
+++ b/test/test_apns-s3.rb
@@ -8,21 +8,29 @@ end
test "pemfile exists" do
- stub(ApnsS3).pemfile_exist?(@pem_filename) { true }
+ # FakeFS do
+ # FileUtils.touch @pem_filename
+ # moc... | Fix the test with fakefs
|
diff --git a/Library/Homebrew/extend/os/linux/development_tools.rb b/Library/Homebrew/extend/os/linux/development_tools.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/extend/os/linux/development_tools.rb
+++ b/Library/Homebrew/extend/os/linux/development_tools.rb
@@ -21,13 +21,7 @@ end
def build_sys... | build_system_info: Use the host glibc version only
Use the host glibc version only to avoid errors with
brew tests --no-compat
|
diff --git a/canvas_spaces.gemspec b/canvas_spaces.gemspec
index abc1234..def5678 100644
--- a/canvas_spaces.gemspec
+++ b/canvas_spaces.gemspec
@@ -15,7 +15,7 @@ s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["test/**/*"]
- s.add_dependency "rails", ">= ... | Update gemspec to allow Rails 5.1
|
diff --git a/app/controllers/tips_controller.rb b/app/controllers/tips_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/tips_controller.rb
+++ b/app/controllers/tips_controller.rb
@@ -34,6 +34,14 @@ end
def update
+ @tip = Tip.find(params[:id])
+ attributes = params.require(:tip).permit(:t... | Implement update method for tips controller
|
diff --git a/app/controllers/urls_controller.rb b/app/controllers/urls_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/urls_controller.rb
+++ b/app/controllers/urls_controller.rb
@@ -36,7 +36,7 @@ def destroy
@url = Url.find(params[:id])
@url.destroy
- redirect_to urls_url
+ redirect... | Add notice to redirect when destroying Urls
The create and edit action redirects have notices, so it seems
reasonable that the destroy action would have a similar notice. This
should make the app more usable.
Change-Id: Ie3c98a2952201c45858d2a8ef706be32c98ec9b0
|
diff --git a/gir_ffi-pretty_printer.gemspec b/gir_ffi-pretty_printer.gemspec
index abc1234..def5678 100644
--- a/gir_ffi-pretty_printer.gemspec
+++ b/gir_ffi-pretty_printer.gemspec
@@ -11,7 +11,7 @@ s.email = ['matijs@matijs.net']
s.homepage = 'http://www.github.com/mvz/gir_ffi-pretty_printer'
- s.license = 'LG... | Correct license info in gemspec
|
diff --git a/app/controllers/auth_controller.rb b/app/controllers/auth_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/auth_controller.rb
+++ b/app/controllers/auth_controller.rb
@@ -29,6 +29,8 @@ end
def team_access?
+ return true if ENV['GITHUB_TEAM_ID'].nil?
+
host = "https://api.g... | Update to make GITHUB_TEAM_ID optional properly
|
diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/root_controller.rb
+++ b/app/controllers/root_controller.rb
@@ -1,6 +1,6 @@ class RootController < ApplicationController
- caches_page :campaign, :wrapper, :print, :related, :repor... | Add cache to header_footer_only and chromeless
|
diff --git a/app/decorators/switch_decorator.rb b/app/decorators/switch_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/switch_decorator.rb
+++ b/app/decorators/switch_decorator.rb
@@ -2,4 +2,10 @@ def self.fonticon
'ff ff-network-switch'
end
+
+ def single_quad
+ {
+ :fonticon => fon... | Add single_quad definition into the SwitchDecorator
https://bugzilla.redhat.com/show_bug.cgi?id=1546729
|
diff --git a/app/controllers/rss_controller.rb b/app/controllers/rss_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/rss_controller.rb
+++ b/app/controllers/rss_controller.rb
@@ -5,7 +5,7 @@
def feed
ads = Ad
- ads = params[:type] == 'want' ? ads.want.available : ads.give
+ ads = params... | Fix scope being incorrectly applied in RSS feed
|
diff --git a/app/controllers/application.rb b/app/controllers/application.rb
index abc1234..def5678 100644
--- a/app/controllers/application.rb
+++ b/app/controllers/application.rb
@@ -2,15 +2,15 @@ # Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController:... | Fix render override to have a default {} argument
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,3 +1,31 @@ # Methods added to this helper will be available to all templates in the application.
module ApplicationHelpe... | Add error/success helper functions mainly for non-ajax form submission
|
diff --git a/app/representations/api/poi_log.rb b/app/representations/api/poi_log.rb
index abc1234..def5678 100644
--- a/app/representations/api/poi_log.rb
+++ b/app/representations/api/poi_log.rb
@@ -2,18 +2,11 @@ extend ActiveSupport::Concern
included do
- def around_api_response(api_template)
- custom_cach... | Remove caching in node changes template
|
diff --git a/app/helpers/form_answer_helper.rb b/app/helpers/form_answer_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/form_answer_helper.rb
+++ b/app/helpers/form_answer_helper.rb
@@ -38,7 +38,7 @@
def average_growth_for(form_answer, year)
growth = form_answer.average_growth_for(year)
- growth ... | Fix admin financial summary sector avg growth text alignment
|
diff --git a/spec/features/user/profile_spec.rb b/spec/features/user/profile_spec.rb
index abc1234..def5678 100644
--- a/spec/features/user/profile_spec.rb
+++ b/spec/features/user/profile_spec.rb
@@ -10,18 +10,27 @@ visit edit_user_profile_path
end
- scenario 'I can change my name' do
- new_name =... | Add specs for link account with facebook
|
diff --git a/app/models/ckeditor/picture.rb b/app/models/ckeditor/picture.rb
index abc1234..def5678 100644
--- a/app/models/ckeditor/picture.rb
+++ b/app/models/ckeditor/picture.rb
@@ -5,10 +5,10 @@ validates :storage_data, file_content_type: { allow: /^image\/.*/ }, file_size: { less_than: 2.megabytes }
def url... | Fix deleted file case in CKEditor
We were getting an error when browsing the server if one file had been
deleted.
|
diff --git a/spec/commands/ps_command_spec.rb b/spec/commands/ps_command_spec.rb
index abc1234..def5678 100644
--- a/spec/commands/ps_command_spec.rb
+++ b/spec/commands/ps_command_spec.rb
@@ -20,7 +20,8 @@
it 'it lists PID and command for each process in the manager' do
- expect(@double2).to receive(:id).once... | Remove unnecessary STDOUT output in test case
|
diff --git a/spec/debian/install_chef_spec.rb b/spec/debian/install_chef_spec.rb
index abc1234..def5678 100644
--- a/spec/debian/install_chef_spec.rb
+++ b/spec/debian/install_chef_spec.rb
@@ -0,0 +1,7 @@+require 'spec_helper'
+
+# Make sure Chef installs
+
+describe command('curl -kL https://www.chef.io/chef/install.s... | Test to make sure Chef can install
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -2,6 +2,10 @@ require 'slim'
require 'data_mapper'
require 'dm-postgres-adapter'
+
+configure :development do
+ require 'dm-sqlite-adapter'
+end
configure do
Slim::Engine.set_default_options :pretty => true
@@ -22,7 +26,6 @... | Move dm-sqlite-adapter require to its own configure development block
|
diff --git a/docs/jekyll-cayman-theme.gemspec b/docs/jekyll-cayman-theme.gemspec
index abc1234..def5678 100644
--- a/docs/jekyll-cayman-theme.gemspec
+++ b/docs/jekyll-cayman-theme.gemspec
@@ -13,6 +13,6 @@ spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(_layouts|_includes|_sass|LICENSE|... | Update bundler requirement from ~> 1.12 to >= 2.1.0 in /docs (dependabot) |
diff --git a/emojidataios.podspec b/emojidataios.podspec
index abc1234..def5678 100644
--- a/emojidataios.podspec
+++ b/emojidataios.podspec
@@ -22,6 +22,7 @@ s.social_media_url = 'https://twitter.com/maxoumime'
s.ios.deployment_target = '8.0'
+ s.watchos.deployment_target = '5.0'
s.source_files = 'emojida... | Add watchOS deployment target to the podspec
|
diff --git a/spec/support/database_cleaner.rb b/spec/support/database_cleaner.rb
index abc1234..def5678 100644
--- a/spec/support/database_cleaner.rb
+++ b/spec/support/database_cleaner.rb
@@ -0,0 +1,12 @@+RSpec.configure do |config|
+ config.before(:suite) do
+ DatabaseCleaner.clean
+ end
+
+ config.before(:each... | Add database cleaner rspec support.
|
diff --git a/spec/support/poslavu_api_stub.rb b/spec/support/poslavu_api_stub.rb
index abc1234..def5678 100644
--- a/spec/support/poslavu_api_stub.rb
+++ b/spec/support/poslavu_api_stub.rb
@@ -34,8 +34,8 @@ if actual_filters = params['filters']
# request has parameter
# parse both
- ... | Sort filters by field since where() hashes do not have a fixed order
This is another change to accomodate 1.8's non-deterministic Hash
sorting, which did not come up until pushing the previous change.
|
diff --git a/base/lib/flow/actions/if_match.rb b/base/lib/flow/actions/if_match.rb
index abc1234..def5678 100644
--- a/base/lib/flow/actions/if_match.rb
+++ b/base/lib/flow/actions/if_match.rb
@@ -12,7 +12,8 @@ else
@block_children = @children
@children = []
- new_flow.union *endp... | Copy location for union of if/unless_match
|
diff --git a/lib/dolt/disk_repo_resolver.rb b/lib/dolt/disk_repo_resolver.rb
index abc1234..def5678 100644
--- a/lib/dolt/disk_repo_resolver.rb
+++ b/lib/dolt/disk_repo_resolver.rb
@@ -28,9 +28,9 @@ end
def all
- Dir.entries(root).select do |e|
+ (Dir.entries(root).select do |e|
File.exist... | Sort the repo listing alfanumerically
|
diff --git a/event_store-entity_store.gemspec b/event_store-entity_store.gemspec
index abc1234..def5678 100644
--- a/event_store-entity_store.gemspec
+++ b/event_store-entity_store.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-entity_store'
- s.version = '0.0... | Package version is increased from 0.0.3.5 to 0.1.0.0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.