diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/probe.gemspec b/probe.gemspec
index abc1234..def5678 100644
--- a/probe.gemspec
+++ b/probe.gemspec
@@ -8,8 +8,8 @@ spec.version = Probe::VERSION
spec.authors = ["Gustav Jonsson"]
spec.email = ["gustav@invoke.se"]
- spec.description = %q{TODO: Write a gem description}
- spec... | Update gemspec to get rid of warnings
|
diff --git a/qwestioned.rb b/qwestioned.rb
index abc1234..def5678 100644
--- a/qwestioned.rb
+++ b/qwestioned.rb
@@ -8,7 +8,6 @@
get '/client' do
# build up a response
-
response = Twilio::TwiML::Response.new do |r|
r.Dial do |d|
d.Client params[:PhoneNumber]
@@ -17,6 +16,7 @@
# print the result... | Set to display in browser
|
diff --git a/rich.gemspec b/rich.gemspec
index abc1234..def5678 100644
--- a/rich.gemspec
+++ b/rich.gemspec
@@ -18,7 +18,7 @@
s.add_dependency "rails", ">= 3.2.0"
s.add_dependency "jquery-rails"
- s.add_dependency "paperclip", '~> 3.5.2' # Possible to upgrade, but will need a fix. See https://github.com/gwincr... | Revert "Fixe la version de Paperclip pour éviter un bug corrigé dans une future version de Rich"
This reverts commit 023f472a73e9dd84d5be602ffa9dd3bdda3f9209.
|
diff --git a/rocx.gemspec b/rocx.gemspec
index abc1234..def5678 100644
--- a/rocx.gemspec
+++ b/rocx.gemspec
@@ -12,7 +12,7 @@ gem.summary = %q{Using a simple API, create docx files programmatically, including bullet points, titles, headings, page breaks and tables!}
gem.homepage = "https://github.com/s... | [fix] Fix dependency with libxml (to libxml-ruby)
|
diff --git a/app/controllers/error_response_controller.rb b/app/controllers/error_response_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/error_response_controller.rb
+++ b/app/controllers/error_response_controller.rb
@@ -2,7 +2,7 @@ class ErrorResponseController < ApplicationController
def in... | Fix Rails 5 html rendering issue
|
diff --git a/app/controllers/group_requests_controller.rb b/app/controllers/group_requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/group_requests_controller.rb
+++ b/app/controllers/group_requests_controller.rb
@@ -22,7 +22,7 @@ private
def using_commercial_page?
- ENV['SHOW_PAYMENT_... | Change name of ENV variable to SHOW_COMMERCIAL_PAGE
|
diff --git a/app/models/alumni.rb b/app/models/alumni.rb
index abc1234..def5678 100644
--- a/app/models/alumni.rb
+++ b/app/models/alumni.rb
@@ -8,14 +8,28 @@ before_destroy { |record| TieAlumniWithStudentMember.destroy_all "alumni_id = #{record.id}" }
comma do
- id
+ id "ID"
name
year "Graduation year"
... | Add the comma gem DSL for the Alumni record
- Include Alumni Data
- Include Alumni status
- Include TieAlumni details
Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com> |
diff --git a/app/models/upload.rb b/app/models/upload.rb
index abc1234..def5678 100644
--- a/app/models/upload.rb
+++ b/app/models/upload.rb
@@ -1,5 +1,4 @@ class Upload < ActiveRecord::Base
- #attr_accessible :upload
has_attached_file :upload
validates_attachment_content_type :upload, :content_type => ["image/j... | Delete comment from Upload model
|
diff --git a/spin.gemspec b/spin.gemspec
index abc1234..def5678 100644
--- a/spin.gemspec
+++ b/spin.gemspec
@@ -11,4 +11,6 @@ By preloading your Rails environment for testing you don't load the same code over and over and over... Spin works best for an autotest(ish) workflow.}
s.executables = ['spin']
+ s.file... | Add proper file listings to gemspec
|
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -1,6 +1,6 @@ class UserMailer < ActionMailer::Base
- default :from => "Test <oursolutionis@gmail.com>",
+ default :from => "oursolutionis <oursoluti... | Set oursolution as default from in mailer
|
diff --git a/app/models/node_edition.rb b/app/models/node_edition.rb
index abc1234..def5678 100644
--- a/app/models/node_edition.rb
+++ b/app/models/node_edition.rb
@@ -37,8 +37,8 @@
def latlng=(latlng)
ll = latlng.split(',')
- location[0] = ll[0]
- location[1] = ll[1]
+ location[0] = ll[0].to_f
+ ... | Convert lat/lng to floats before saving
|
diff --git a/db/data_migration/20161110141524_remove_orphaned_related_policies.rb b/db/data_migration/20161110141524_remove_orphaned_related_policies.rb
index abc1234..def5678 100644
--- a/db/data_migration/20161110141524_remove_orphaned_related_policies.rb
+++ b/db/data_migration/20161110141524_remove_orphaned_related... | Remove related policies that do not exist within the publishing api
- In response to Sync Check error: "the links key 'related_policies' is not present"
|
diff --git a/rgot.gemspec b/rgot.gemspec
index abc1234..def5678 100644
--- a/rgot.gemspec
+++ b/rgot.gemspec
@@ -14,14 +14,6 @@ spec.homepage = "https://github.com/ksss/rgot"
spec.license = "MIT"
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
- # delete this section ... | Allow pushing any gem server
|
diff --git a/plugins/aws/autoscaling-instance-count-metrics.rb b/plugins/aws/autoscaling-instance-count-metrics.rb
index abc1234..def5678 100644
--- a/plugins/aws/autoscaling-instance-count-metrics.rb
+++ b/plugins/aws/autoscaling-instance-count-metrics.rb
@@ -0,0 +1,72 @@+#!/usr/bin/env ruby
+#
+# AutoScaling Group In... | Add metric for count of instances in AWS AutoScaling group
|
diff --git a/app/api/users.rb b/app/api/users.rb
index abc1234..def5678 100644
--- a/app/api/users.rb
+++ b/app/api/users.rb
@@ -15,18 +15,18 @@ end
desc "Get user"
- get '/user/:id' do
+ get '/users/:id' do
#TODO: authorise!
@user = User.find(params[:id])
end
desc "Get conven... | Change Users api to be more consistent with the new addition of convenors and tutors endpoints.
|
diff --git a/fog_pry.rb b/fog_pry.rb
index abc1234..def5678 100644
--- a/fog_pry.rb
+++ b/fog_pry.rb
@@ -8,18 +8,22 @@ require 'fog/compute'
require 'fog/aws'
require 'pry'
-require 'chef_metal/aws_credentials' # Cheat on how to get credentials
+require 'inifile'
-aws_credentials = ChefMetal::AWSCredentials.new
-aw... | Use inifile instead of chef-metal
|
diff --git a/week-4/math/math_methods_spec.rb b/week-4/math/math_methods_spec.rb
index abc1234..def5678 100644
--- a/week-4/math/math_methods_spec.rb
+++ b/week-4/math/math_methods_spec.rb
@@ -0,0 +1,41 @@+require_relative "my_solution"
+
+describe "add" do
+ it "is defined as a method" do
+ expect(defined?(add)).t... | Add rspec file for challenge 4.3 release 4
|
diff --git a/spec/controllers/flow_managers_controller_spec.rb b/spec/controllers/flow_managers_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/flow_managers_controller_spec.rb
+++ b/spec/controllers/flow_managers_controller_spec.rb
@@ -28,14 +28,14 @@
it "includes papers with Assigned A... | Fix test for new data structure
|
diff --git a/lib/stylin.rb b/lib/stylin.rb
index abc1234..def5678 100644
--- a/lib/stylin.rb
+++ b/lib/stylin.rb
@@ -17,6 +17,8 @@ File.read( File.expand_path(File.join('config', 'stylin.yml'), Rails.root) )
)
).symbolize_keys
+ else
+ user_config = {}
end
APP_CONFIG = config.merge( user... | Add default blank user config |
diff --git a/lib/twitch.rb b/lib/twitch.rb
index abc1234..def5678 100644
--- a/lib/twitch.rb
+++ b/lib/twitch.rb
@@ -10,8 +10,6 @@ end
class << self
- private
-
def get(login)
route(login).get
end
@@ -26,7 +24,7 @@ def self.followed_ids(login)
Rails.cache.fetch([:twitch... | Fix a 500 when getting follows
|
diff --git a/lib/vector.rb b/lib/vector.rb
index abc1234..def5678 100644
--- a/lib/vector.rb
+++ b/lib/vector.rb
@@ -31,11 +31,6 @@ end
def ==(other_value)
- @members == other_value.member
- end
-
- # TODO : remove compatibility method after usages are removed
- def member
- @members
+ @members == ot... | Remove compatibility method and fix its usages
|
diff --git a/spec/api/organization_spec.rb b/spec/api/organization_spec.rb
index abc1234..def5678 100644
--- a/spec/api/organization_spec.rb
+++ b/spec/api/organization_spec.rb
@@ -0,0 +1,27 @@+require 'spec_helper'
+require 'json'
+
+describe 'the organizations collection' do
+ include Rack::Test::Methods
+
+ before... | Add first tests for the organizations collection
|
diff --git a/spec/lib/configurator_spec.rb b/spec/lib/configurator_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/configurator_spec.rb
+++ b/spec/lib/configurator_spec.rb
@@ -3,7 +3,7 @@ describe Configurator::Config do
it "sets and gets values assigned" do
config = Configurator::Config.new
- config.my... | Use a string instead boolean
|
diff --git a/app/models/identity.rb b/app/models/identity.rb
index abc1234..def5678 100644
--- a/app/models/identity.rb
+++ b/app/models/identity.rb
@@ -1,6 +1,6 @@ class Identity <OmniAuth::Identity::Models::ActiveRecord
validates :name, presence: true
- validates :email, presence: true, uniqueness: true, allow_bl... | Remove allow_blank from user email validation
|
diff --git a/server.rb b/server.rb
index abc1234..def5678 100644
--- a/server.rb
+++ b/server.rb
@@ -32,9 +32,8 @@
def get_headers
array = []
- while true
- line = @client.gets
- break if line=="\r\n"
+ @client.each_line do |line|
+ break if line == "\r\n"
array << line.gsub("\r\n","")
end
array... | Clean up get_headers by using "each_line"
|
diff --git a/test/appharbor_test.rb b/test/appharbor_test.rb
index abc1234..def5678 100644
--- a/test/appharbor_test.rb
+++ b/test/appharbor_test.rb
@@ -18,6 +18,7 @@
branch = branches[payload['ref'].sub(/\Arefs\/heads\//, '')]
assert_not_nil branch
+ assert_equal payload["after"], branch["commit_id... | Verify that the "after" commit is the one posted
|
diff --git a/lib/generators/has_friendship_update/templates/update_friendships.rb b/lib/generators/has_friendship_update/templates/update_friendships.rb
index abc1234..def5678 100644
--- a/lib/generators/has_friendship_update/templates/update_friendships.rb
+++ b/lib/generators/has_friendship_update/templates/update_fr... | Fix the template of update migration
|
diff --git a/spec/dummy/config/environments/development.rb b/spec/dummy/config/environments/development.rb
index abc1234..def5678 100644
--- a/spec/dummy/config/environments/development.rb
+++ b/spec/dummy/config/environments/development.rb
@@ -12,8 +12,11 @@ config.consider_all_requests_local = true
config.... | Use mailcatcher SMTP in dev
|
diff --git a/completion_generator.rb b/completion_generator.rb
index abc1234..def5678 100644
--- a/completion_generator.rb
+++ b/completion_generator.rb
@@ -29,11 +29,11 @@ file = File.read(file)
doc = Nokogiri::XML(file)
- parse_functions(doc.css('function'))
+ # parse_functions(doc.css('funct... | Comment out unused method calls
|
diff --git a/app/models/review_body.rb b/app/models/review_body.rb
index abc1234..def5678 100644
--- a/app/models/review_body.rb
+++ b/app/models/review_body.rb
@@ -15,18 +15,7 @@ output = HEADER
room_left = MAX_BODY_LENGTH - output.size
- errors.each do |error|
- error_details = build_error_... | Use recursive algorithm to limit review comment
As an alternative, this commit uses recursion to limit the review body
comment.
|
diff --git a/spec/support/webmock_httmultiparty_monkey_path.rb b/spec/support/webmock_httmultiparty_monkey_path.rb
index abc1234..def5678 100644
--- a/spec/support/webmock_httmultiparty_monkey_path.rb
+++ b/spec/support/webmock_httmultiparty_monkey_path.rb
@@ -0,0 +1,82 @@+require 'webmock'
+require 'httmultiparty'
+
+... | Add Webmock and HttpMultiParty monkey patch.
|
diff --git a/db/migrate/20150115212948_create_users.rb b/db/migrate/20150115212948_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20150115212948_create_users.rb
+++ b/db/migrate/20150115212948_create_users.rb
@@ -1,8 +1,8 @@ class CreateUsers < ActiveRecord::Migration
def change
create_table :us... | Add not null db validations to users.
|
diff --git a/db/migrate/20150421010047_create_users.rb b/db/migrate/20150421010047_create_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20150421010047_create_users.rb
+++ b/db/migrate/20150421010047_create_users.rb
@@ -5,6 +5,7 @@ t.string :last_name, null: false
t.string :email, null: false
... | Add address reference to user migration
|
diff --git a/hi.gemspec b/hi.gemspec
index abc1234..def5678 100644
--- a/hi.gemspec
+++ b/hi.gemspec
@@ -18,7 +18,8 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency 'bundler', '~> 1.5'
- spec.add_development_dependency 'rake', ... | Add rack-test as development dependency
|
diff --git a/spec/features/profiles/preferences_spec.rb b/spec/features/profiles/preferences_spec.rb
index abc1234..def5678 100644
--- a/spec/features/profiles/preferences_spec.rb
+++ b/spec/features/profiles/preferences_spec.rb
@@ -1,6 +1,6 @@ require 'spec_helper'
-describe 'Profile > Preferences' do
+describe 'Pro... | Fix Profile > Preferences feature specs
Signed-off-by: Rémy Coutable <4ea0184b9df19e0786dd00b28e6daa4d26baeb3e@rymai.me>
|
diff --git a/lib/bricks.rb b/lib/bricks.rb
index abc1234..def5678 100644
--- a/lib/bricks.rb
+++ b/lib/bricks.rb
@@ -15,7 +15,11 @@ if @builders[key]
@builders[key]
elsif Class === key
- builder = self[key.superclass] and @builders[key] = builder.derive(key)
+ @builders[key] = if bui... | Initialize builders for models that don't have one.
|
diff --git a/logger.rb b/logger.rb
index abc1234..def5678 100644
--- a/logger.rb
+++ b/logger.rb
@@ -23,6 +23,7 @@ bot = Cinch::Bot.new do
configure do |c|
c.server = Config['server']
+ c.port = Config['port'] if Config['port']
c.channels = Config['channels']
c.user = Config['username']
... | Connect to port specified in configuration
Fixes #10. |
diff --git a/lib/gitlab.rb b/lib/gitlab.rb
index abc1234..def5678 100644
--- a/lib/gitlab.rb
+++ b/lib/gitlab.rb
@@ -36,7 +36,7 @@ #
# @return [Array<Symbol>]
def self.actions
- hidden = /endpoint|private_token|user_agent|sudo|get|post|put|\Adelete\z|validate|set_request_defaults|httparty/
+ hidden = /end... | Hide auth_token method from CLI/shell.
|
diff --git a/lib/kaisya.rb b/lib/kaisya.rb
index abc1234..def5678 100644
--- a/lib/kaisya.rb
+++ b/lib/kaisya.rb
@@ -1,13 +1,15 @@ #!/usr/bin/env ruby
+$:.unshift File.dirname(__FILE__)
+
require 'twitter'
-require './time_messenger'
+require 'time_messenger'
-Twitter.configure do |config|
+client = Twitter::REST:... | Fix Twitter gem usage changes.
|
diff --git a/lib/wowser.rb b/lib/wowser.rb
index abc1234..def5678 100644
--- a/lib/wowser.rb
+++ b/lib/wowser.rb
@@ -4,9 +4,9 @@
class Wowser < Sinatra::Base
- set :root, File.dirname(__FILE__) + '/../'
+ configure do
+ set :root, File.dirname(__FILE__) + '/../'
- configure do
register Sinatra::AssetPi... | Move root into configuration block
|
diff --git a/tasks/metrics/yardstick.rake b/tasks/metrics/yardstick.rake
index abc1234..def5678 100644
--- a/tasks/metrics/yardstick.rake
+++ b/tasks/metrics/yardstick.rake
@@ -7,7 +7,7 @@ require 'yardstick/rake/verify'
# Enable the legacy parser for JRuby until ripper is fully supported
- if Devto... | Update YARD to use the 1.8 parser for jruby
* Without this the ripper parser is used, which is still too buggy.
|
diff --git a/content_manager.gemspec b/content_manager.gemspec
index abc1234..def5678 100644
--- a/content_manager.gemspec
+++ b/content_manager.gemspec
@@ -9,7 +9,7 @@ s.version = ContentManager::VERSION
s.authors = ["Jasper Lyons"]
s.email = ["jasper.lyons@gmail.com"]
- s.homepage = "content... | Fix invalid URI in gemspec
|
diff --git a/tasks/mongoid_search.rake b/tasks/mongoid_search.rake
index abc1234..def5678 100644
--- a/tasks/mongoid_search.rake
+++ b/tasks/mongoid_search.rake
@@ -1,11 +1,15 @@ namespace :mongoid_search do
desc 'Goes through all documents with search enabled and indexes the keywords.'
task :index => :environmen... | Stop if classes is blank.
|
diff --git a/clockwork.gemspec b/clockwork.gemspec
index abc1234..def5678 100644
--- a/clockwork.gemspec
+++ b/clockwork.gemspec
@@ -3,6 +3,7 @@ s.version = "0.5.5"
s.authors = ["Adam Wiggins", "tomykaira"]
+ s.license = 'MIT'
s.description = "A scheduler process to replace cron, using a more flexible Ruby s... | Add MIT License specification to gemspec
Thanks to @bf4's detailed description (#49).
|
diff --git a/cocoapods.gemspec b/cocoapods.gemspec
index abc1234..def5678 100644
--- a/cocoapods.gemspec
+++ b/cocoapods.gemspec
@@ -6,7 +6,7 @@ s.version = Pod::VERSION
s.date = "2011-09-17"
s.license = "MIT"
- s.summary = "A simple Objective-C library package manager."
+ s.summary = "A simple Object... | Add MacRuby note to gemspec summary
|
diff --git a/test/functional/test-next.rb b/test/functional/test-next.rb
index abc1234..def5678 100644
--- a/test/functional/test-next.rb
+++ b/test/functional/test-next.rb
@@ -0,0 +1,85 @@+#!/usr/bin/env ruby
+require 'test/unit'
+require 'trace'
+require_relative 'fn_helper'
+
+class TestNext < Test::Unit::TestCase
+... | Add "next" command functional test.
|
diff --git a/script/cruise_build.rb b/script/cruise_build.rb
index abc1234..def5678 100644
--- a/script/cruise_build.rb
+++ b/script/cruise_build.rb
@@ -11,7 +11,7 @@ when "racing_on_rails"
exec("rake cruise")
when "aba", "atra", "obra", "wsba"
- exec(%Q{svn propset "svn:externals" "local svn+ssh://butlerpress.com... | Change cc.rb variable to project_name
|
diff --git a/app/controllers/gobierto_participation/welcome_controller.rb b/app/controllers/gobierto_participation/welcome_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/gobierto_participation/welcome_controller.rb
+++ b/app/controllers/gobierto_participation/welcome_controller.rb
@@ -3,7 +3,7 @@ mod... | Fix open and active processes in participation home
|
diff --git a/scripts/push-binary.rb b/scripts/push-binary.rb
index abc1234..def5678 100644
--- a/scripts/push-binary.rb
+++ b/scripts/push-binary.rb
@@ -3,7 +3,7 @@
binary_name = ENV['BINARY_NAME']
bucket_name= ENV['BUCKET_NAME']
-file_path = Dir.glob("binary-builder-artifacts/#{binary_name}-*.{tar.gz,tgz,phar}").... | Remove spurious dash from file path glob
- go .tar.gz files don't have a dash before the version,
e.g. go1.6.3.linux-amd64.tar.gz
[#127362389]
Signed-off-by: Sam Smith <03a07629efb0a02c7bbe7cc340a4243da1ab861a@gmail.com>
|
diff --git a/app/models/feed_import.rb b/app/models/feed_import.rb
index abc1234..def5678 100644
--- a/app/models/feed_import.rb
+++ b/app/models/feed_import.rb
@@ -35,10 +35,9 @@
def succeeded
self.update(success: true)
- t = Time.now
self.feed.update(
- last_fetched_at: t,
- last_imported_a... | Use FeedImport.created_at for Feed.last_fetched_at, FeedImport.updated_at for Feed.updated_at
|
diff --git a/prius.gemspec b/prius.gemspec
index abc1234..def5678 100644
--- a/prius.gemspec
+++ b/prius.gemspec
@@ -21,6 +21,6 @@ spec.required_ruby_version = ">= 2.2"
spec.add_development_dependency "rspec", "~> 3.1"
- spec.add_development_dependency "rubocop", "~> 0.64.0"
+ spec.add_development_dependency "... | Update rubocop requirement from ~> 0.64.0 to ~> 0.68.1
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](h... |
diff --git a/test/stripe/reversal_test.rb b/test/stripe/reversal_test.rb
index abc1234..def5678 100644
--- a/test/stripe/reversal_test.rb
+++ b/test/stripe/reversal_test.rb
@@ -35,7 +35,7 @@ reversal.metadata['key'] = 'value'
reversal.save
assert_requested :post,
- "#{Stripe.api_base}/v1/tran... | Work around idiosyncrasies of stripe-mock
|
diff --git a/db/migrate/20150423232750_create_documents.rb b/db/migrate/20150423232750_create_documents.rb
index abc1234..def5678 100644
--- a/db/migrate/20150423232750_create_documents.rb
+++ b/db/migrate/20150423232750_create_documents.rb
@@ -1,3 +1,5 @@+# Encoding: utf-8
+# Create document
class CreateDocuments < A... | Clean up document migration script
|
diff --git a/lib/rails_development_boost/cached_templates_patch/base_patch.rb b/lib/rails_development_boost/cached_templates_patch/base_patch.rb
index abc1234..def5678 100644
--- a/lib/rails_development_boost/cached_templates_patch/base_patch.rb
+++ b/lib/rails_development_boost/cached_templates_patch/base_patch.rb
@@ ... | Handle class level view_path changes, this should also avaid some weirdness in ActionMailer.
|
diff --git a/business.gemspec b/business.gemspec
index abc1234..def5678 100644
--- a/business.gemspec
+++ b/business.gemspec
@@ -23,5 +23,5 @@ spec.add_development_dependency "gc_ruboconfig", "~> 2.24.0"
spec.add_development_dependency "rspec", "~> 3.1"
spec.add_development_dependency "rspec_junit_formatter", "... | Update rubocop requirement from ~> 1.9.1 to ~> 1.10.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](ht... |
diff --git a/nexmo.gemspec b/nexmo.gemspec
index abc1234..def5678 100644
--- a/nexmo.gemspec
+++ b/nexmo.gemspec
@@ -15,7 +15,7 @@ s.require_path = 'lib'
if RUBY_VERSION == '1.8.7'
- s.add_development_dependency('minitest', '>= 4.2.0')
- s.add_development_dependency('json', '>= 1.6.5')
+ s.add_developme... | Fix gemspec for 1.8 rubies (minitest 5 clashes with mocha 0.13.2)
|
diff --git a/smail.gemspec b/smail.gemspec
index abc1234..def5678 100644
--- a/smail.gemspec
+++ b/smail.gemspec
@@ -3,7 +3,7 @@ s.version = "0.0.5"
s.author = "Matthew Walker"
s.email = "matthew@walker.wattle.id.au"
- s.homepage = "http://gemcutter.org/gems/smail"
+ s.homepage ... | Make github project page the homepage again.
|
diff --git a/spec/controllers/heartbeat_controller_spec.rb b/spec/controllers/heartbeat_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/heartbeat_controller_spec.rb
+++ b/spec/controllers/heartbeat_controller_spec.rb
@@ -3,18 +3,6 @@ RSpec.describe HeartbeatController, type: :controller do
... | Remove SSL test, this is done at nginx lvl
|
diff --git a/lib/overlord/connection/finalized_connection.rb b/lib/overlord/connection/finalized_connection.rb
index abc1234..def5678 100644
--- a/lib/overlord/connection/finalized_connection.rb
+++ b/lib/overlord/connection/finalized_connection.rb
@@ -4,8 +4,8 @@
class FinalizedConnection < ConnectionState
... | Update FinalizedConnection to new CommandContext format
|
diff --git a/lib/travis/logs/services/partman_maintenance.rb b/lib/travis/logs/services/partman_maintenance.rb
index abc1234..def5678 100644
--- a/lib/travis/logs/services/partman_maintenance.rb
+++ b/lib/travis/logs/services/partman_maintenance.rb
@@ -37,7 +37,7 @@ end
private def db
- Trav... | Create separate sequel connection to avoid settings leakage
|
diff --git a/lib/ahoy_email/engine.rb b/lib/ahoy_email/engine.rb
index abc1234..def5678 100644
--- a/lib/ahoy_email/engine.rb
+++ b/lib/ahoy_email/engine.rb
@@ -13,7 +13,9 @@ app.config
end
- creds.respond_to?(:secret_key_base) ? creds.secret_key_base : creds.secret_token
+ token ... | Improve token logic for ENV var
|
diff --git a/lib/akephalos/console.rb b/lib/akephalos/console.rb
index abc1234..def5678 100644
--- a/lib/akephalos/console.rb
+++ b/lib/akephalos/console.rb
@@ -2,7 +2,7 @@ # 3000.
def session
Capybara.app_host ||= "http://localhost:3000"
- @session ||= Capybara::Session.new(:Akephalos)
+ @session ||= Capybara::S... | Use new registration name in bin/akephalos
|
diff --git a/Casks/clion-eap.rb b/Casks/clion-eap.rb
index abc1234..def5678 100644
--- a/Casks/clion-eap.rb
+++ b/Casks/clion-eap.rb
@@ -1,6 +1,6 @@ cask :v1 => 'clion-eap' do
- version '142.4859.12'
- sha256 'eb0eda15a615aea33a43acbb0efd23e24049e041aed68711f6e0319d0c987c93'
+ version '142.5047.10'
+ sha256 '277115... | Upgrade CLion EAP to v142.5047.10
|
diff --git a/config/unicorn.rb b/config/unicorn.rb
index abc1234..def5678 100644
--- a/config/unicorn.rb
+++ b/config/unicorn.rb
@@ -1,7 +1,7 @@ # config/unicorn.rb
worker_processes Integer(ENV['WEB_CONCURRENCY'] || 3)
-timeout Integer(ENV['WEB_TIMEOUT'] || 30)
+timeout Integer(ENV['WEB_TIMEOUT'] || 25)
preload_app... | Set timeout limit to 25s
|
diff --git a/src/cookbooks/base_windows/recipes/default.rb b/src/cookbooks/base_windows/recipes/default.rb
index abc1234..def5678 100644
--- a/src/cookbooks/base_windows/recipes/default.rb
+++ b/src/cookbooks/base_windows/recipes/default.rb
@@ -7,11 +7,6 @@ # Copyright 2017, P. van der Velde
#
-# Always make sure... | Set all the recipes to be called in the right order
|
diff --git a/lib/dimples/frontable.rb b/lib/dimples/frontable.rb
index abc1234..def5678 100644
--- a/lib/dimples/frontable.rb
+++ b/lib/dimples/frontable.rb
@@ -3,7 +3,7 @@ module Dimples
# A mixin class that handles reading and parsing front matter from a file.
module Frontable
- METADATA_KEYS = %w[title layo... | Switch to a blacklist for metadata keys.
|
diff --git a/Formula/liftoff.rb b/Formula/liftoff.rb
index abc1234..def5678 100644
--- a/Formula/liftoff.rb
+++ b/Formula/liftoff.rb
@@ -8,7 +8,7 @@ depends_on 'xcproj' => :recommended
def install
- opoo 'This tap for Liftoff has been deprecated and will no longer be updated! Please move to the new tap at lif... | Fix typo in repo name
|
diff --git a/Framezilla.podspec b/Framezilla.podspec
index abc1234..def5678 100644
--- a/Framezilla.podspec
+++ b/Framezilla.podspec
@@ -11,5 +11,5 @@
spec.ios.deployment_target = '8.4'
spec.source = { git: "https://github.com/Otbivnoe/Framezilla.git", tag: "#{spec.version}"}
- spec.sourc... | Change podspec file / spec.source_files
|
diff --git a/app/api/pushificator/v1.rb b/app/api/pushificator/v1.rb
index abc1234..def5678 100644
--- a/app/api/pushificator/v1.rb
+++ b/app/api/pushificator/v1.rb
@@ -40,9 +40,9 @@
def current_user
# Find token. Check if valid.
- token = ::ApiKey.where(access_token: params[:token]).first
- ... | Add active in apikey validation |
diff --git a/heroku-request-id.gemspec b/heroku-request-id.gemspec
index abc1234..def5678 100644
--- a/heroku-request-id.gemspec
+++ b/heroku-request-id.gemspec
@@ -10,7 +10,7 @@ spec.email = ["jeremy@octolabs.com"]
spec.description = %q{Simple Rack middleware to log the heroku request id and write it to... | Add github repo to gemspec as the homepage.
|
diff --git a/app/models/github_issue.rb b/app/models/github_issue.rb
index abc1234..def5678 100644
--- a/app/models/github_issue.rb
+++ b/app/models/github_issue.rb
@@ -11,6 +11,11 @@ scope :locked, -> { where(locked: true) }
scope :unlocked, -> { where(locked: false) }
scope :actionable, -> { open.issue.unlock... | Add url method to github issues
Fixes #567
|
diff --git a/app/models/news_edition.rb b/app/models/news_edition.rb
index abc1234..def5678 100644
--- a/app/models/news_edition.rb
+++ b/app/models/news_edition.rb
@@ -13,6 +13,8 @@
attaches :image
+ attaches :video
+
def whole_body
body
end
| Add video asset to news items
|
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
index abc1234..def5678 100644
--- a/config/initializers/secret_token.rb
+++ b/config/initializers/secret_token.rb
@@ -9,4 +9,4 @@
# Make sure your secret_key_base is kept private
# if you're sharing your code publicly.
-Directory:... | Add a dummy string as a secret token
|
diff --git a/test/functional/campaign_controller_test.rb b/test/functional/campaign_controller_test.rb
index abc1234..def5678 100644
--- a/test/functional/campaign_controller_test.rb
+++ b/test/functional/campaign_controller_test.rb
@@ -42,4 +42,8 @@ assert_response :success
end
+ should "load the business su... | Add a functional test for the business support campaign page
|
diff --git a/Casks/stay.rb b/Casks/stay.rb
index abc1234..def5678 100644
--- a/Casks/stay.rb
+++ b/Casks/stay.rb
@@ -10,4 +10,9 @@ license :commercial
app 'Stay.app'
+
+ postflight do
+ # Don't ask to move the app bundle to /Applications
+ suppress_move_to_applications
+ end
end
| Remove question about moving Stay to /Applications
|
diff --git a/lib/nehm/path_manager.rb b/lib/nehm/path_manager.rb
index abc1234..def5678 100644
--- a/lib/nehm/path_manager.rb
+++ b/lib/nehm/path_manager.rb
@@ -14,7 +14,7 @@
def self.get_path(path)
unless Dir.exist?(path)
- UI.warning "This directory doesn't exist."
+ UI.warning "Directory #... | Make clarification in PathManager clearer
|
diff --git a/test/gir_ffi/receiver_argument_info_test.rb b/test/gir_ffi/receiver_argument_info_test.rb
index abc1234..def5678 100644
--- a/test/gir_ffi/receiver_argument_info_test.rb
+++ b/test/gir_ffi/receiver_argument_info_test.rb
@@ -0,0 +1,32 @@+# frozen_string_literal: true
+require 'gir_ffi_test_helper'
+require ... | Add unit tests for ReceiverArgumentInfo
|
diff --git a/test/controllers/authentication/registrations_controller_test.rb b/test/controllers/authentication/registrations_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/authentication/registrations_controller_test.rb
+++ b/test/controllers/authentication/registrations_controller_test.rb
@@ ... | Check last mail in deliveries instead of first cause it's appended not prepended.
|
diff --git a/roles/os-network.rb b/roles/os-network.rb
index abc1234..def5678 100644
--- a/roles/os-network.rb
+++ b/roles/os-network.rb
@@ -2,5 +2,9 @@ description "Configures OpenStack networking, managed by attribute for either nova-network or quantum"
run_list(
"role[os-base]",
- "recipe[openstack-network::com... | Enable all of the services required for networking.
This will probably get refactored later into more roles.
Change-Id: I303edfc8db1237acf507b0d5fe886dc66e0baeee
|
diff --git a/lib/parsley_simple_form/simple_form_adapt.rb b/lib/parsley_simple_form/simple_form_adapt.rb
index abc1234..def5678 100644
--- a/lib/parsley_simple_form/simple_form_adapt.rb
+++ b/lib/parsley_simple_form/simple_form_adapt.rb
@@ -1,6 +1,10 @@+# Provide a custom class of SimpleForm
module ParsleySimpleForm
... | Add documentation SimpleFormAdapt; Add ability to search custom validation;
|
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -1,5 +1,7 @@ # frozen_string_literal: true
class SearchController < ApplicationController
+ include StringUtil... | Handle bad url error in errbit
In particular, this query string
`ad_type='2&q='Bolso+(coslada)&woeid='766273`.
No idea where it comes from but let's just handle it gracefully and not
crash.
|
diff --git a/sinatra-redis-cache.gemspec b/sinatra-redis-cache.gemspec
index abc1234..def5678 100644
--- a/sinatra-redis-cache.gemspec
+++ b/sinatra-redis-cache.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
s.name = 'sinatra-redis-cache'
- s.version = '0.1'
+ s.version = '0.1.1'
s.license... | Add Rakefile to the gem, oops. Bump version to 0.1.1
|
diff --git a/lib/tasks/live_flag.rake b/lib/tasks/live_flag.rake
index abc1234..def5678 100644
--- a/lib/tasks/live_flag.rake
+++ b/lib/tasks/live_flag.rake
@@ -0,0 +1,13 @@+namespace :live_flag do
+ task :populate => :environment do
+ # Disable the search observer to avoid a mass update of Rummager
+ Artefact.o... | Add a task to populate the artefact 'live' flag.
|
diff --git a/spec/acceptance/organizer/around_each_with_reduce_if_spec.rb b/spec/acceptance/organizer/around_each_with_reduce_if_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/organizer/around_each_with_reduce_if_spec.rb
+++ b/spec/acceptance/organizer/around_each_with_reduce_if_spec.rb
@@ -0,0 +1,42 @@+re... | Test around_each logic with special organizer constructs
|
diff --git a/prius.gemspec b/prius.gemspec
index abc1234..def5678 100644
--- a/prius.gemspec
+++ b/prius.gemspec
@@ -21,5 +21,5 @@ spec.required_ruby_version = ">= 2.2"
spec.add_development_dependency "rspec", "~> 3.1"
- spec.add_development_dependency "rubocop", "~> 0.51.0"
+ spec.add_development_dependency "... | Update rubocop requirement to ~> 0.52.0
Updates the requirements on [rubocop](https://github.com/bbatsov/rubocop) to permit the latest version.
- [Release notes](https://github.com/bbatsov/rubocop/releases)
- [Changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bbatso... |
diff --git a/lib/travis/config/url.rb b/lib/travis/config/url.rb
index abc1234..def5678 100644
--- a/lib/travis/config/url.rb
+++ b/lib/travis/config/url.rb
@@ -18,6 +18,7 @@ super.reject { |key, value| key == :database }.merge(vhost: vhost)
end
end
+ Amqps = Amqp
class << self
... | Patch in AMQPS support for travis-config
|
diff --git a/lib/overcommit/hook/pre_commit/author_name.rb b/lib/overcommit/hook/pre_commit/author_name.rb
index abc1234..def5678 100644
--- a/lib/overcommit/hook/pre_commit/author_name.rb
+++ b/lib/overcommit/hook/pre_commit/author_name.rb
@@ -7,8 +7,8 @@
unless name.split(' ').count >= 2
return :fail... | Fix unescaped newline in single-quoted string
|
diff --git a/app/workers/publishing_api_worker.rb b/app/workers/publishing_api_worker.rb
index abc1234..def5678 100644
--- a/app/workers/publishing_api_worker.rb
+++ b/app/workers/publishing_api_worker.rb
@@ -7,13 +7,17 @@ presenter = PublishingApiPresenters.presenter_for(model, update_type: update_type)
I18... | Allow overriding of action in PublishingApiWorker
|
diff --git a/api/app/controllers/spree/api/v1/inventory_units_controller.rb b/api/app/controllers/spree/api/v1/inventory_units_controller.rb
index abc1234..def5678 100644
--- a/api/app/controllers/spree/api/v1/inventory_units_controller.rb
+++ b/api/app/controllers/spree/api/v1/inventory_units_controller.rb
@@ -34,7 +3... | [api] Convert 1.9 hash syntax to hashrocket syntax within inventory_units
controller
Fixes #2398
Fixes #2400
|
diff --git a/config/config.rb b/config/config.rb
index abc1234..def5678 100644
--- a/config/config.rb
+++ b/config/config.rb
@@ -9,8 +9,8 @@ config.plugin_paths = ["#{PE_PATH}/vendor/plugins","#{RAILS_ROOT}/vendor/plugins"]
config.gem_paths = ["#{PE_PATH}/vendor/gems"]
- # config.gem "geokit"
- ... | Disable dependencies plugin (should be branched instead) |
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -18,19 +18,9 @@ task :restart do
on roles(:app), in: :sequence, wait: 5 do
# Your restart mechanism here, for example:
- # execute :touch, release_path.join('tmp/restart.txt... | Add actual restart step for Capistrano
|
diff --git a/lib/puppet/provider/rabbitmq_erlang_cookie/ruby.rb b/lib/puppet/provider/rabbitmq_erlang_cookie/ruby.rb
index abc1234..def5678 100644
--- a/lib/puppet/provider/rabbitmq_erlang_cookie/ruby.rb
+++ b/lib/puppet/provider/rabbitmq_erlang_cookie/ruby.rb
@@ -3,14 +3,6 @@ Puppet::Type.type(:rabbitmq_erlang_cookie)... | Fix rabbitmq_erlang_cookie provider under rbenv |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,6 +11,8 @@ ENV['MONGOID_ENV'] = "test"
RSpec.configure do |config|
+ Mongo::Logger.logger.level = Logger::ERROR
+
config.include Mongoid::Matchers
config.before(:suit... | Remove deprecated way of setting up database
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,7 +3,6 @@ require 'finland'
Finland.index_location = "index.txt"
-Finland.observed_dirs << Pathname(__FILE__).join('../../lib').to_s
RSpec.configure do |c|
c.around(:ea... | Use default observed dirs instead of configuring
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,8 @@ $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'juggler'
+
+Juggler.logger.level = Logger::FATAL
require 'em-spec/rspec'
| Remove logging output from tests
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,7 +5,6 @@
RSpec.configure do |config|
config.color_enabled = true
- config.debug = true
config.filter_run :focus => true
config.run_all_when_everything_filtered = ... | Remove debug from the spec config.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -8,15 +8,15 @@ RAILS_ROOT = "#{dir}/rails_root"
RAILS_DEFAULT_LOGGER = Logger.new(StringIO.new(""))
-require "test/unit"
+require "active_support"
+require "initializer"
+requir... | Remove extraneous require to test/unit
git-svn-id: 982b67ca69bd6fc3726bc0f9388c1d3710924df8@1185 af276e61-6b34-4dac-905b-574b5f35ef33
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,9 +1,16 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'rubygems'
+require 'ticketmaster'
require 't... | Add require gems, and fixtures path
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,2 +1,5 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
+require 'coveralls'
+Coveralls.wear!
+
require 'optioneer'
| Add coveralls.io stats to gem
Signed-off-by: Seapagan <4ab1b2fdb7784a8f9b55e81e3261617f44fd0585@gmail.com>
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -24,8 +24,8 @@ puppetversion: Puppet.version,
facterversion: Facter.version
}
- default_facts.merge!(YAML.load(File.read(File.expand_path('../default_facts.yml', __FIL... | Fix for Security/YAMLLoad rubocop warning
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.