diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/gitlab/middleware/read_only.rb b/lib/gitlab/middleware/read_only.rb
index abc1234..def5678 100644
--- a/lib/gitlab/middleware/read_only.rb
+++ b/lib/gitlab/middleware/read_only.rb
@@ -13,7 +13,7 @@ end
def call(env)
- ReadOnly::Controller.new(@app, env).call
+ ::Gitlab::Mid... | Fix "A copy of Gitlab::Middleware::Readonly has been removed from the module tree but is still active"
Similar to #34047 and #29327
|
diff --git a/lib/sequent/core/command_record.rb b/lib/sequent/core/command_record.rb
index abc1234..def5678 100644
--- a/lib/sequent/core/command_record.rb
+++ b/lib/sequent/core/command_record.rb
@@ -29,6 +29,7 @@ self.table_name = "command_records"
belongs_to :event_record, foreign_key: 'event_aggregat... | Add has many relation on events for command |
diff --git a/lib/template/lib/endpoints/base.rb b/lib/template/lib/endpoints/base.rb
index abc1234..def5678 100644
--- a/lib/template/lib/endpoints/base.rb
+++ b/lib/template/lib/endpoints/base.rb
@@ -20,7 +20,7 @@ error Sinatra::NotFound do
content_type :json
status 404
- "{}"
+ { id: "not_... | Return an id and message in body when 404 in json.
All other errors return something with `id` and `message`.
This is just uniformising the behavior there.
|
diff --git a/pastel.gemspec b/pastel.gemspec
index abc1234..def5678 100644
--- a/pastel.gemspec
+++ b/pastel.gemspec
@@ -1,4 +1,3 @@-# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pastel/version'
@@ -7,7 +6,7 @@ spec.name = "past... | Remove bundler dep upper limit
|
diff --git a/plugin/pivo.rb b/plugin/pivo.rb
index abc1234..def5678 100644
--- a/plugin/pivo.rb
+++ b/plugin/pivo.rb
@@ -16,6 +16,18 @@ puts " [##{story.id}] - {#{story.current_state}} #{story.name} {#{story.owned_by}}"
end
end
+
+ %w(start finish deliver accept reject).each do |operation|
+ define_m... | Define operations available for a story
|
diff --git a/bin/cuttlefish_smtp_server.rb b/bin/cuttlefish_smtp_server.rb
index abc1234..def5678 100644
--- a/bin/cuttlefish_smtp_server.rb
+++ b/bin/cuttlefish_smtp_server.rb
@@ -1,28 +1,33 @@ #!/usr/bin/env ruby
# If you need a bit of debugging output in the threads add -d to the line above
-
-# For the benefit of ... | Move server start code into module
|
diff --git a/db/dev_seeds/milestones.rb b/db/dev_seeds/milestones.rb
index abc1234..def5678 100644
--- a/db/dev_seeds/milestones.rb
+++ b/db/dev_seeds/milestones.rb
@@ -22,7 +22,24 @@ end
end
end
+
+ if rand < 0.8
+ record.progress_bars.create!(kind: :primary, percentage: rand(Prog... | Add progress bars dev seeds
|
diff --git a/opal/corelib/comparable.rb b/opal/corelib/comparable.rb
index abc1234..def5678 100644
--- a/opal/corelib/comparable.rb
+++ b/opal/corelib/comparable.rb
@@ -11,7 +11,8 @@ return true if equal?(other)
return false unless cmp = (self <=> other)
- return Comparable.normalize(cmp) == 0
+
+ retu... | Fix some possible infinite recursion in Comparable
|
diff --git a/spec/types_spec.rb b/spec/types_spec.rb
index abc1234..def5678 100644
--- a/spec/types_spec.rb
+++ b/spec/types_spec.rb
@@ -0,0 +1,19 @@+require 'spec_helper'
+
+module VhdlDoctest
+ describe Types do
+ describe ".parse" do
+ subject { Types.parse(string) }
+
+ describe 'std_logic' do
+ ... | Cover current feature of Types.parse with a spec
|
diff --git a/spidr_test.gemspec b/spidr_test.gemspec
index abc1234..def5678 100644
--- a/spidr_test.gemspec
+++ b/spidr_test.gemspec
@@ -21,7 +21,7 @@
spec.add_dependency 'spidr', '~> 0.4.0'
- spec.add_development_dependency 'bundler', '~> 1.8'
+ spec.add_development_dependency 'bundler', '~> 1.5'
spec.add_d... | Downgrade required bundler to 1.5
|
diff --git a/lib/oshpark.rb b/lib/oshpark.rb
index abc1234..def5678 100644
--- a/lib/oshpark.rb
+++ b/lib/oshpark.rb
@@ -1,9 +1,9 @@-require "Oshpark/version"
-require "Oshpark/Oshpark"
-require "Oshpark/client"
-require "Oshpark/model"
-require "Oshpark/dimensionable"
-require "Oshpark/project"
+require "oshpark/versi... | Fix accidental renaming of requires.
|
diff --git a/test/hw2_part2_test.rb b/test/hw2_part2_test.rb
index abc1234..def5678 100644
--- a/test/hw2_part2_test.rb
+++ b/test/hw2_part2_test.rb
@@ -23,4 +23,14 @@ assert_equal 0, CartesianProduct.new([:a,:b], []).count
end
+ def test_cartesian_product_of_ranges
+ expected_result = [[2,3],[2,4],[2,5],[... | Test with Enumerables that aren't an Array |
diff --git a/test/ruby_area_test.rb b/test/ruby_area_test.rb
index abc1234..def5678 100644
--- a/test/ruby_area_test.rb
+++ b/test/ruby_area_test.rb
@@ -4,4 +4,12 @@ test "truth" do
assert_kind_of Module, RubyArea
end
+
+ def test_to_area_extracts_acres_in_number
+ assert_equal 180.acre, 1
+ end
+
+ def... | Test to check perch and acre extraction
|
diff --git a/fraudrecord.gemspec b/fraudrecord.gemspec
index abc1234..def5678 100644
--- a/fraudrecord.gemspec
+++ b/fraudrecord.gemspec
@@ -13,7 +13,7 @@ gem.required_ruby_version = '> 2.0.0'
# Runtime Dependencies
- gem.add_runtime_dependency 'faraday', '~> 0.9.0'
+ gem.add_runtime_dependency 'faraday', '~... | Remove patch version from faraday dep
|
diff --git a/gds_zendesk.gemspec b/gds_zendesk.gemspec
index abc1234..def5678 100644
--- a/gds_zendesk.gemspec
+++ b/gds_zendesk.gemspec
@@ -22,5 +22,5 @@ gem.add_development_dependency "rake", "~> 10"
gem.add_development_dependency "rspec", "~> 3"
gem.add_development_dependency "rubocop-govuk", "~> 3"
- gem.a... | Use newer version of WebMock
|
diff --git a/faraday_middleware.gemspec b/faraday_middleware.gemspec
index abc1234..def5678 100644
--- a/faraday_middleware.gemspec
+++ b/faraday_middleware.gemspec
@@ -4,17 +4,16 @@ require 'faraday_middleware/version'
Gem::Specification.new do |spec|
- spec.add_dependency 'faraday', ['>= 0.7.4', '< 0.10']
- spec... | Reorganize gemspec to be much like faraday's
|
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
index abc1234..def5678 100644
--- a/config/deploy/staging.rb
+++ b/config/deploy/staging.rb
@@ -11,7 +11,7 @@ role :db, %w{deploy@198.199.86.239}
set :ssh_options, {:forward_agent => true}
-set :linked_files, %w{.env config/database.yml}
+set :linked_... | Add secrets to linked deploy files
|
diff --git a/shield.gemspec b/shield.gemspec
index abc1234..def5678 100644
--- a/shield.gemspec
+++ b/shield.gemspec
@@ -23,4 +23,5 @@ s.add_dependency "armor"
s.add_development_dependency "cutest"
s.add_development_dependency "rack-test"
+ s.add_development_dependency "cuba"
end
| Add cuba as a development dependency.
|
diff --git a/jurisdiction.gemspec b/jurisdiction.gemspec
index abc1234..def5678 100644
--- a/jurisdiction.gemspec
+++ b/jurisdiction.gemspec
@@ -23,5 +23,5 @@ spec.add_development_dependency "minitest"
spec.add_development_dependency "guard-minitest"
- spec.add_dependency "capybara", ">= 2"
+ spec.add_dependen... | Allow consuming project to define capybara version
|
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
@@ -3,7 +3,7 @@ require 'maildir'
# Require all the serializers
-serializers = File.join(".", File.dirname(__FILE__), "..","lib","maildir","serializer","*.rb")
+serializers = File.... | Fix requiring of all serializers
|
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
@@ -11,8 +11,8 @@ require 'capybara-screenshot/testunit' # for integration test
require 'webmock/test_unit'
-WebMock.disable_net_connect!(allow_localhost: true)
-
+WebMock.disable_... | Allow accessing "chromedriver.storage.googleapis.com" to check chromedriver version
Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
|
diff --git a/thirteenth_age.gemspec b/thirteenth_age.gemspec
index abc1234..def5678 100644
--- a/thirteenth_age.gemspec
+++ b/thirteenth_age.gemspec
@@ -20,6 +20,6 @@
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "rspec"
-... | Add version constraints to gemspec
|
diff --git a/plugin.rb b/plugin.rb
index abc1234..def5678 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -1,2 +1,7 @@+# name: discourse-twittercommunity
+# about: Customizations for twittercommunity.com
+# version: 0.1
+# authors: Neil Lalonde
+
register_asset "javascripts/discourse/templates/connectors/poster-avatar-botto... | Add metadata so it loads in admin
|
diff --git a/spec/helper.rb b/spec/helper.rb
index abc1234..def5678 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -47,6 +47,7 @@ config.include(IdentityMapMatcher)
config.before(:each) do
+ Toy.identity_map.clear
[FileStore, MongoStore, RedisStore].each(&:clear)
end
end | Clear identity map before each spec. |
diff --git a/spec/models.rb b/spec/models.rb
index abc1234..def5678 100644
--- a/spec/models.rb
+++ b/spec/models.rb
@@ -30,6 +30,9 @@ acts_as_tagger
end
+class InheritingTaggableUser < TaggableUser
+end
+
class UntaggableModel < ActiveRecord::Base
belongs_to :taggable_model
end
| Add inheriting user model to specs
|
diff --git a/lib/bummr/updater.rb b/lib/bummr/updater.rb
index abc1234..def5678 100644
--- a/lib/bummr/updater.rb
+++ b/lib/bummr/updater.rb
@@ -1,5 +1,7 @@ module Bummr
class Updater
+ include Log
+
def initialize(outdated_gems)
@outdated_gems = outdated_gems
end
| FIX invalid log command on update command
When running bummr update it crashes when trying to create a log.
|
diff --git a/lib/dears3/cli/s3.rb b/lib/dears3/cli/s3.rb
index abc1234..def5678 100644
--- a/lib/dears3/cli/s3.rb
+++ b/lib/dears3/cli/s3.rb
@@ -20,7 +20,7 @@ s3_upload.remove_website : s3_upload.configure_website
end
- desc "auth", "Save auth credentials in home directory"
+ desc "... | Make auth task description more precise
|
diff --git a/lib/filmbuff/imdb.rb b/lib/filmbuff/imdb.rb
index abc1234..def5678 100644
--- a/lib/filmbuff/imdb.rb
+++ b/lib/filmbuff/imdb.rb
@@ -25,7 +25,8 @@ results = self.class.get('/find', :query => {
:q => title, :locale => @locale
}).parsed_response
- find_by_id(results["data"]["results... | Use single quotes and add a newline for readability
|
diff --git a/lib/swoop/project.rb b/lib/swoop/project.rb
index abc1234..def5678 100644
--- a/lib/swoop/project.rb
+++ b/lib/swoop/project.rb
@@ -39,6 +39,7 @@
def valid_file? (f)
return false unless f.is_a?(Xcodeproj::Project::Object::PBXFileReference)
+ return false unless File.exist?(f.real_path)
... | Check if file in proj's filepaths exist
|
diff --git a/lib/tasks/check.rake b/lib/tasks/check.rake
index abc1234..def5678 100644
--- a/lib/tasks/check.rake
+++ b/lib/tasks/check.rake
@@ -9,6 +9,6 @@ config = Bruce::Config.new
result = aussieDetector.how_australian?
config.save(result) # Save into config/bruce_output.yml
- puts result
+ puts... | Change the output of rake
|
diff --git a/Casks/clean-my-mac.rb b/Casks/clean-my-mac.rb
index abc1234..def5678 100644
--- a/Casks/clean-my-mac.rb
+++ b/Casks/clean-my-mac.rb
@@ -3,4 +3,5 @@ homepage 'http://macpaw.com/cleanmymac'
version '2.0.3'
sha1 '3bd47a6c1849f42389daa92309e24b395d6eb1f2'
+ link 'CleanMyMac 2.app'
end
| Add link to CleanMyMac 2
|
diff --git a/Casks/pg-commander.rb b/Casks/pg-commander.rb
index abc1234..def5678 100644
--- a/Casks/pg-commander.rb
+++ b/Casks/pg-commander.rb
@@ -1,6 +1,6 @@ class PgCommander < Cask
- version '1.5.1'
- sha256 '082dc5b5c08e0df543424e86eef76d9aae121f7d64adf458d327542b30cd1185'
+ version '1.5.2'
+ sha256 'a7e848ad... | Update PG Commander to 1.5.2
Lowecase sha256
|
diff --git a/tasks/testng_patch.rake b/tasks/testng_patch.rake
index abc1234..def5678 100644
--- a/tasks/testng_patch.rake
+++ b/tasks/testng_patch.rake
@@ -0,0 +1,46 @@+raise "Patch applied upstream " if Buildr::VERSION.to_s > '1.5.8'
+
+class Buildr::TestNG < TestFramework::Java
+
+ def run(tests, dependencies) #:no... | Patch the TestNG addon to ensure that test failures result in a failed build.
|
diff --git a/lib/aweplug/helpers/cdn.rb b/lib/aweplug/helpers/cdn.rb
index abc1234..def5678 100644
--- a/lib/aweplug/helpers/cdn.rb
+++ b/lib/aweplug/helpers/cdn.rb
@@ -0,0 +1,38 @@+require 'digest'
+require 'yaml'
+
+module Aweplug
+ module Helpers
+ # CDN will take the details of a file passed to the version meth... | Support for versioned resources on a CDN
|
diff --git a/lib/celluloid/responses.rb b/lib/celluloid/responses.rb
index abc1234..def5678 100644
--- a/lib/celluloid/responses.rb
+++ b/lib/celluloid/responses.rb
@@ -1,10 +1,10 @@ module Celluloid
# Responses to calls
class Response
- attr_reader :value
+ attr_reader :call, :value
def initiali... | Store calls in response objects
|
diff --git a/lib/discordrb/events/id.rb b/lib/discordrb/events/id.rb
index abc1234..def5678 100644
--- a/lib/discordrb/events/id.rb
+++ b/lib/discordrb/events/id.rb
@@ -0,0 +1,24 @@+module Discordrb::Events
+ # An event only associated with an ID and no further information.
+ class IDEvent
+ # @return [Integer] th... | Make a generic IDEvent that only contains an ID
|
diff --git a/lib/puppet-parse/parser.rb b/lib/puppet-parse/parser.rb
index abc1234..def5678 100644
--- a/lib/puppet-parse/parser.rb
+++ b/lib/puppet-parse/parser.rb
@@ -5,7 +5,11 @@ # Read file and return parsed object
pparser = Puppet::Parser::Parser.new('production')
if File.exists?(file)
... | Return resource type object from Puppet::Parser::Parser.environment.known_resource_types instead of relying on result of import
|
diff --git a/json_resume.gemspec b/json_resume.gemspec
index abc1234..def5678 100644
--- a/json_resume.gemspec
+++ b/json_resume.gemspec
@@ -8,8 +8,8 @@ spec.version = JsonResume::VERSION
spec.authors = ["Prateek Agarwal"]
spec.email = ["prat0318@gmail.com"]
- spec.description = %q{TODO: ... | Add description and summary to gem
|
diff --git a/spec/evaluator/performance_spec.rb b/spec/evaluator/performance_spec.rb
index abc1234..def5678 100644
--- a/spec/evaluator/performance_spec.rb
+++ b/spec/evaluator/performance_spec.rb
@@ -2,15 +2,20 @@
describe Calvin::Evaluator do
describe "performance" do
+ Zillion = 10**42
# Basically, thes... | Add performance specs for take(`>:`) on ranges.
|
diff --git a/spec/features/landing_page_spec.rb b/spec/features/landing_page_spec.rb
index abc1234..def5678 100644
--- a/spec/features/landing_page_spec.rb
+++ b/spec/features/landing_page_spec.rb
@@ -1,8 +1,15 @@ require 'spec_helper'
describe 'Landing page' do
+ let!(:zomboland) { create(:location, name: 'Zombola... | Make sure that we generate JSON for the landing page map.
|
diff --git a/routes/main.rb b/routes/main.rb
index abc1234..def5678 100644
--- a/routes/main.rb
+++ b/routes/main.rb
@@ -4,6 +4,17 @@ class App < Sinatra::Base
register Sinatra::Namespace
include ADB
+
+ not_found do
+ if request.accept?('text/html')
+ return 'Not Found'
+ elsif requ... | Add 404 response for json & html
|
diff --git a/omnibus_overrides.rb b/omnibus_overrides.rb
index abc1234..def5678 100644
--- a/omnibus_overrides.rb
+++ b/omnibus_overrides.rb
@@ -3,7 +3,7 @@ #
# NOTE: You MUST update omnibus-software when adding new versions of
# software here: bundle exec rake dependencies:update_omnibus_gemfile_lock
-override "liba... | Update openssl to 1.1.1j and libarchive to 3.5.1
Update to the match the chef-16 branch
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/filterable_sortable.rb b/lib/filterable_sortable.rb
index abc1234..def5678 100644
--- a/lib/filterable_sortable.rb
+++ b/lib/filterable_sortable.rb
@@ -15,11 +15,14 @@ }
scope :search, lambda { |term|
- conditions = Array.new(self.attribute_names).delete_if{|i| i.in? ["created_at", "upd... | Add table name, actual if using includes(:connected_table)
|
diff --git a/lib/lita/adapters/slack.rb b/lib/lita/adapters/slack.rb
index abc1234..def5678 100644
--- a/lib/lita/adapters/slack.rb
+++ b/lib/lita/adapters/slack.rb
@@ -33,7 +33,7 @@ attr_reader :rtm_connection
def channel_for(target)
- if target.private_message?
+ if target.private_message... | Fix user not found bug |
diff --git a/lib/mutant/mutator/call.rb b/lib/mutant/mutator/call.rb
index abc1234..def5678 100644
--- a/lib/mutant/mutator/call.rb
+++ b/lib/mutant/mutator/call.rb
@@ -42,11 +42,11 @@ end
def emit_explicit_self_receiver
- mutatee = dup_node
- mutatee.privately = false
+ mutant = dup... | Use better variable name for mutant
|
diff --git a/lib/paysafe/rest/client.rb b/lib/paysafe/rest/client.rb
index abc1234..def5678 100644
--- a/lib/paysafe/rest/client.rb
+++ b/lib/paysafe/rest/client.rb
@@ -10,7 +10,7 @@ # @param options [Hash]
# @return [Paysafe::REST::Client]
def initialize(**options)
- @config = Configuration.... | Fix Ruby 2.7 keyword argument warning
|
diff --git a/tools/generate_class.rb b/tools/generate_class.rb
index abc1234..def5678 100644
--- a/tools/generate_class.rb
+++ b/tools/generate_class.rb
@@ -0,0 +1,74 @@+require 'sqlite3'
+require 'awesome_print'
+
+class String
+ def underscore
+ word = self.dup
+ word.gsub!(/::/, '/')
+ word.gsub!(/([A-Z]+)... | Add script to generate class stubs
|
diff --git a/lib/tasks/gem/bump_task.rb b/lib/tasks/gem/bump_task.rb
index abc1234..def5678 100644
--- a/lib/tasks/gem/bump_task.rb
+++ b/lib/tasks/gem/bump_task.rb
@@ -24,7 +24,7 @@ protected
def git
- @git ||= Git.clone ENV['PWD']
+ @git ||= Git.new ENV['PWD']
end
def file(mode = 'r')
| Use Git.new instead of Git.clone
|
diff --git a/lib/obj/mesh.rb b/lib/obj/mesh.rb
index abc1234..def5678 100644
--- a/lib/obj/mesh.rb
+++ b/lib/obj/mesh.rb
@@ -1,5 +1,9 @@ module OBJ
class Mesh
+ def self.load(file_path)
+ Mesh.new(file_path)
+ end
+
attr_accessor :vertices, :normals, :text_coords, :faces
def initialize(file_pa... | Implement basic parsing of actual OBJ data
- Before, the vertices, normals, and faces arrays contained dummy data
(although its sizes were correct)
- Now they contain (correct?) data (tests pending)
|
diff --git a/models.rb b/models.rb
index abc1234..def5678 100644
--- a/models.rb
+++ b/models.rb
@@ -1,10 +1,10 @@ # MIGRATIONS
-if !File.exists?("db/#{CONFIG[database]}.db")
+if !File.exists?("#{CONFIG['database']}")
# IF YOU DO CHANGES HERE, DELETE THE FILE 'db/pomospace.db'
- DB = Sequel.connect("sqlite://... | Fix syntax error when calling CONFIG
|
diff --git a/plugins/fileperms.rb b/plugins/fileperms.rb
index abc1234..def5678 100644
--- a/plugins/fileperms.rb
+++ b/plugins/fileperms.rb
@@ -28,7 +28,8 @@ '/etc/ssh/sshd_config',
'/etc/gshadow',
'/etc/group',
- '/etc/login.defs'
+ '/etc/login.defs',
+ '/var/run/php-fpm.sock'
... | Add PHP-FPM file to permissions check, per support
|
diff --git a/wptemplates.gemspec b/wptemplates.gemspec
index abc1234..def5678 100644
--- a/wptemplates.gemspec
+++ b/wptemplates.gemspec
@@ -21,5 +21,6 @@ spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
+ spec.add_development_de... | Add rdoc to development dependencies
|
diff --git a/lib/facter/pkgng.rb b/lib/facter/pkgng.rb
index abc1234..def5678 100644
--- a/lib/facter/pkgng.rb
+++ b/lib/facter/pkgng.rb
@@ -26,7 +26,7 @@ confine :kernel => "FreeBSD"
setcode do
- if Facter.pkgng_enabled
+ if Facter.value('pkgng_enabled') == "true"
Facter::Util::Resolution.exec("pkg... | Fix method call for Facter v2
Facter 2 doesn't seem to support methods for fact values. This code
moves to use a supported method that can be used to retrieve fact values
from the loaded facts.
|
diff --git a/lib/tasks/lint.rake b/lib/tasks/lint.rake
index abc1234..def5678 100644
--- a/lib/tasks/lint.rake
+++ b/lib/tasks/lint.rake
@@ -1,4 +1,4 @@ desc "Run govuk-lint with similar params to CI"
-task "lint" do
+task lint: :environment do
sh "bundle exec rubocop"
end
| Set :environment task as a dependency to all rake task
|
diff --git a/Formula/memcache-php.rb b/Formula/memcache-php.rb
index abc1234..def5678 100644
--- a/Formula/memcache-php.rb
+++ b/Formula/memcache-php.rb
@@ -0,0 +1,24 @@+require 'formula'
+
+class MemcachePhp <Formula
+ url 'http://pecl.php.net/get/memcache-2.2.6.tgz'
+ homepage 'http://pecl.php.net/package/memcache'... | Add formula for memcache PHP extension
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/spec/assets/assets_spec.rb b/spec/assets/assets_spec.rb
index abc1234..def5678 100644
--- a/spec/assets/assets_spec.rb
+++ b/spec/assets/assets_spec.rb
@@ -3,18 +3,22 @@ describe 'Assets' do
subject(:asset) { page.body }
- describe 'Static' do
- it 'provides the crown header' do
- visit '/ass... | Add asset test for IE shims
|
diff --git a/spec/lib/drb_queue_spec.rb b/spec/lib/drb_queue_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/drb_queue_spec.rb
+++ b/spec/lib/drb_queue_spec.rb
@@ -26,8 +26,8 @@ end
class SetKeyToValueWorker
- def self.perform(key, value)
- sleep 0.1
+ def self.perform(key, value, sleep_before_wo... | Make sure we do work in order
|
diff --git a/Lasagna-Cookies.podspec b/Lasagna-Cookies.podspec
index abc1234..def5678 100644
--- a/Lasagna-Cookies.podspec
+++ b/Lasagna-Cookies.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "Lasagna-Cookies"
s.version = "1.0.0"
- s.summary = "Lasagna Cookies is a UI theme for iOS that ... | Modify cocoas pods config file
|
diff --git a/app/finders/clusters_finder.rb b/app/finders/clusters_finder.rb
index abc1234..def5678 100644
--- a/app/finders/clusters_finder.rb
+++ b/app/finders/clusters_finder.rb
@@ -1,6 +1,4 @@ class ClustersFinder
- attr_reader :project, :user, :scope
-
def initialize(project, user, scope)
@project = proje... | Use attr_reader instead of instance variables
|
diff --git a/spec/evaluator_spec.rb b/spec/evaluator_spec.rb
index abc1234..def5678 100644
--- a/spec/evaluator_spec.rb
+++ b/spec/evaluator_spec.rb
@@ -14,4 +14,10 @@
Dest::Evaluator.new(doctest).evaluate.first.should == false
end
+
+ it "should raise an error if a non contextd class is referenced" do
+ ... | Add test for exceptions in Evaluator
|
diff --git a/KMSWebRTCCall.podspec b/KMSWebRTCCall.podspec
index abc1234..def5678 100644
--- a/KMSWebRTCCall.podspec
+++ b/KMSWebRTCCall.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "KMSWebRTCCall"
- s.version = "1.0.2"
+ s.version = "1.0.3"
s.summary = "Kurento M... | Update pod spec to v1.0.3
|
diff --git a/spec/classes/fpm/php_fpm_5_3_27_spec.rb b/spec/classes/fpm/php_fpm_5_3_27_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/fpm/php_fpm_5_3_27_spec.rb
+++ b/spec/classes/fpm/php_fpm_5_3_27_spec.rb
@@ -0,0 +1,9 @@+require 'spec_helper'
+
+describe "php::fpm::5_3_27" do
+ let(:facts) { default_test_f... | Add missing 5.3.27 fpm spec
|
diff --git a/MagicalRecord.podspec b/MagicalRecord.podspec
index abc1234..def5678 100644
--- a/MagicalRecord.podspec
+++ b/MagicalRecord.podspec
@@ -5,7 +5,7 @@ s.summary = 'Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!.'
s.homepage = 'http://github.com/magicalpanda/MagicalRecord'
s.author = { 'Saul... | Make podspec reference tag '2.1' |
diff --git a/myjohndeere.gemspec b/myjohndeere.gemspec
index abc1234..def5678 100644
--- a/myjohndeere.gemspec
+++ b/myjohndeere.gemspec
@@ -13,7 +13,7 @@ s.homepage = 'http://rubygems.org/gems/myjohndeere'
s.license = 'MIT'
- s.add_dependency "oauth", "~> 0.5.3"
+ s.add_dependency "oauth", ">= 0.5.3"
s.f... | Make it a >= for oauth gem
|
diff --git a/stackprof.gemspec b/stackprof.gemspec
index abc1234..def5678 100644
--- a/stackprof.gemspec
+++ b/stackprof.gemspec
@@ -5,6 +5,13 @@
s.authors = 'Aman Gupta'
s.email = 'aman@tmm1.net'
+
+ s.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/tmm1/stackprof/issues',
+ 'changelog_uri' ... | 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 changelog. These
`bug_tracker_uri`, `changelog_uri`, `documentation_uri` and
`source_code_uri... |
diff --git a/openweather.gemspec b/openweather.gemspec
index abc1234..def5678 100644
--- a/openweather.gemspec
+++ b/openweather.gemspec
@@ -22,5 +22,6 @@ spec.add_development_dependency "minitest", "~> 5.5.1"
spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0"... | Add web mock as a development dependency. |
diff --git a/lib/messagebird.rb b/lib/messagebird.rb
index abc1234..def5678 100644
--- a/lib/messagebird.rb
+++ b/lib/messagebird.rb
@@ -2,7 +2,7 @@ $:.unshift(libdir) unless $:.include?(libdir)
module MessageBird
- CLIENT_VERSION = '1.3.1'
+ CLIENT_VERSION = '1.3.2'
ENDPOINT = 'https://rest.messagebird.c... | Update the version to 1.3.2
|
diff --git a/rs-api-tools.gemspec b/rs-api-tools.gemspec
index abc1234..def5678 100644
--- a/rs-api-tools.gemspec
+++ b/rs-api-tools.gemspec
@@ -1,12 +1,13 @@ Gem::Specification.new do |s|
s.name = 'rs-api-tools'
- s.version = '0.0.7'
+ s.version = '0.0.8'
s.date = '2013-11-04'
s.summar... | Add lib dir to files in gemspec, bump to 0.0.8.
|
diff --git a/lib/reel/server.rb b/lib/reel/server.rb
index abc1234..def5678 100644
--- a/lib/reel/server.rb
+++ b/lib/reel/server.rb
@@ -1,22 +1,23 @@ module Reel
class Server
include Celluloid::IO
-
+
def initialize(host, port, &callback)
# This is actually an evented Celluloid::IO::TCPServer
... | Increase tcp connections backlog to 1024
Fixes #11
|
diff --git a/simple-pages.gemspec b/simple-pages.gemspec
index abc1234..def5678 100644
--- a/simple-pages.gemspec
+++ b/simple-pages.gemspec
@@ -17,7 +17,6 @@ s.test_files = Dir["test/**/*"]
s.add_dependency "rails", "~> 3.2.3"
- # s.add_dependency "jquery-rails"
-
+ s.add_dependency "ancestry"
s.add_develo... | Add ancestry as a dependency
|
diff --git a/Casks/visual-studio-code.rb b/Casks/visual-studio-code.rb
index abc1234..def5678 100644
--- a/Casks/visual-studio-code.rb
+++ b/Casks/visual-studio-code.rb
@@ -2,7 +2,7 @@ version :latest
sha256 :no_check
- url 'http://download.microsoft.com/download/0/D/5/0D57186C-834B-463A-AECB-BC55A8E466AE/VSCod... | Update Visual Studio Code to v0.3.0 |
diff --git a/Casks/data-rescue.rb b/Casks/data-rescue.rb
index abc1234..def5678 100644
--- a/Casks/data-rescue.rb
+++ b/Casks/data-rescue.rb
@@ -0,0 +1,11 @@+cask :v1 => 'data-rescue' do
+ version '4.1'
+ sha256 '479f91c85e4e87cf4d9b99a1e4c73a132c318a9b98d00d44a77e771c20a428dc'
+
+ url "https://s3.amazonaws.com/pros... | Add Data Rescue 4.app v4.1
|
diff --git a/Casks/growlnotify.rb b/Casks/growlnotify.rb
index abc1234..def5678 100644
--- a/Casks/growlnotify.rb
+++ b/Casks/growlnotify.rb
@@ -4,4 +4,5 @@ version '2.1'
sha256 'eec601488b19c9e9b9cb7f0081638436518bce782d079f6e43ddc195727c04ca'
install 'GrowlNotify.pkg'
+ uninstall :pkgutil => 'info.growl.grow... | Add uninstall stanza to growl notify
|
diff --git a/spec/lib/cli_spec.rb b/spec/lib/cli_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/cli_spec.rb
+++ b/spec/lib/cli_spec.rb
@@ -3,12 +3,64 @@
module MinitestToRspec
RSpec.describe CLI do
+ let(:cli) { described_class.new([source, target]) }
+ let(:source) { "spec/fixtures/01_trivial_assertio... | Complete test coverage of CLI
|
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index abc1234..def5678 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -6,10 +6,9 @@ require 'orm/active_record'
Capybara.app = RailsApp::Application
-Capybara.save_and_open_page_path = File.expand_path('../../tmp', __FILE__)
RSpec.configure... | Remove Capybara.save_and_open_page_path since it was removed
|
diff --git a/Casks/tg-pro.rb b/Casks/tg-pro.rb
index abc1234..def5678 100644
--- a/Casks/tg-pro.rb
+++ b/Casks/tg-pro.rb
@@ -1,6 +1,6 @@ cask :v1 => 'tg-pro' do
- version '2.8.1'
- sha256 '9cdb4731d20daa4242beff1ecbc44fe9a03b4d768261994c0cee85b42f33c525'
+ version '2.8.3'
+ sha256 'c7aa687b4ae43b2bf7adf83b444c0e371... | Update TG Pro.app to v2.8.3
|
diff --git a/app/controllers/registrar/sessions_controller.rb b/app/controllers/registrar/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/registrar/sessions_controller.rb
+++ b/app/controllers/registrar/sessions_controller.rb
@@ -1,6 +1,4 @@ class Registrar::SessionsController < Registrar::Ap... | Remove unneeded and unused callback.
This was not working (incorrect syntax) in the past. I updated it in
this PR https://github.com/procore/registrar/pull/27 while upgrading to
Rails 5. (See attached PR for relevant discussion) After double
checking, this callback can indeed get removed.
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -32,6 +32,5 @@ else # assume linux platform
package 'firefox' do
version node['firefox']['version'] unless node['firefox']['version'] == 'latest'
- action :nothing
- end.ru... | Remove compile time installation as this fights with apt-update and we lose
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/LLRegex.podspec b/LLRegex.podspec
index abc1234..def5678 100644
--- a/LLRegex.podspec
+++ b/LLRegex.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'LLRegex'
- s.version = '1.2.2'
+ s.version = '1.2.2-alpha'
s.summary = 'Regular expression library in Swi... | Update Pod version to 1.2.2-alpha
|
diff --git a/lib/generators/templates/sofort.rb b/lib/generators/templates/sofort.rb
index abc1234..def5678 100644
--- a/lib/generators/templates/sofort.rb
+++ b/lib/generators/templates/sofort.rb
@@ -14,4 +14,6 @@ config.currency_code = "EUR"
config.reason = "Reason"
+ config.user_variable = 'user_variable'
+
... | Add user_variable to the config template
|
diff --git a/lib/mutant/mutator/node/generic.rb b/lib/mutant/mutator/node/generic.rb
index abc1234..def5678 100644
--- a/lib/mutant/mutator/node/generic.rb
+++ b/lib/mutant/mutator/node/generic.rb
@@ -9,7 +9,7 @@ # your contribution is that close!
handle(
:defined,
- :next, :break, ... | Remove match node which is no longer provided by parser
|
diff --git a/lib/rubytest/core_ext/exception.rb b/lib/rubytest/core_ext/exception.rb
index abc1234..def5678 100644
--- a/lib/rubytest/core_ext/exception.rb
+++ b/lib/rubytest/core_ext/exception.rb
@@ -2,18 +2,18 @@
def set_assertion(boolean)
@assertion = boolean
- end unless defined?(:set_assertion)
+ end un... | Fix check for Exception extension methods.
|
diff --git a/Isengard/db/seeds.rb b/Isengard/db/seeds.rb
index abc1234..def5678 100644
--- a/Isengard/db/seeds.rb
+++ b/Isengard/db/seeds.rb
@@ -6,7 +6,7 @@ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
-url = 'https://raw2.github.com/Ze... | Use DSA API instead of github raw
|
diff --git a/Casks/cachewarmer.rb b/Casks/cachewarmer.rb
index abc1234..def5678 100644
--- a/Casks/cachewarmer.rb
+++ b/Casks/cachewarmer.rb
@@ -2,9 +2,10 @@ version '13'
sha256 '97f9d743a41c4a38ea3b2af5c33716e72b02e9e11b0fed3000d0a3c584f104f3'
- url "https://glencode.net/_downloads/CacheWarmer-#{version}.pkg"
... | Update CacheWarmer URL and homepage
|
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
@@ -13,5 +13,7 @@ end
RSpec.configure do |config|
- config.treat_symbols_as_metadata_keys_with_true_values = true
-end+ config.expect_with :rspec do |c|
+ c.syntax = :should
+... | Remove deprecation messages in rspec
|
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,7 +8,7 @@ require "webmock"
require "dotenv"
-Dotenv.overload(".env", ".env.local")
+Dotenv.load(".env.local", ".env")
config_vars = %i[username password agent_code host e... | Reorder dotenv loading for travis
It will not override the existing env variables
if they are already set
|
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,7 +1,6 @@ ENV['RAILS_ENV'] ||= 'test'
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rspec/rails'
-require 'rspec/autorun'
require 'pry'
Ra... | Remove autorun as it is no deprecated.
|
diff --git a/spec/lib/cool/work_spec.rb b/spec/lib/cool/work_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/cool/work_spec.rb
+++ b/spec/lib/cool/work_spec.rb
@@ -29,5 +29,15 @@ expect(work.execute).to eq(1)
expect(work.value).to eq(1)
end
+
+ it 'works with instance_eval' do
+ work = de... | Add a spec of Work
|
diff --git a/spec/support/dummy_view.rb b/spec/support/dummy_view.rb
index abc1234..def5678 100644
--- a/spec/support/dummy_view.rb
+++ b/spec/support/dummy_view.rb
@@ -3,7 +3,7 @@ class DummyView < ActionView::Base
module FakeRequest
class Request
- attr_accessor :path
+ attr_accessor :path, :fullpat... | Change to rely on rails view to find current page
|
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 '28.0.1750.36'
- sha256 'cab81fd4bee7b73ab8b377db3e73305f8dde64c2a495f4aa1acfd742e0ba248b'
+ version '29.0.1795.21'
+ sha256 ... | Upgrade Opera Beta.app to v29.0.1795.21
|
diff --git a/Casks/sassquatch.rb b/Casks/sassquatch.rb
index abc1234..def5678 100644
--- a/Casks/sassquatch.rb
+++ b/Casks/sassquatch.rb
@@ -7,5 +7,5 @@ homepage 'http://sassquatch.thoughtbot.com'
license :commercial
- app 'Sassquatch.app'
+ app 'Sassquatch/Sassquatch.app'
end
| Fix App Stanza target in Sassquatch Cask
|
diff --git a/lib/deploy_it/utils/exec.rb b/lib/deploy_it/utils/exec.rb
index abc1234..def5678 100644
--- a/lib/deploy_it/utils/exec.rb
+++ b/lib/deploy_it/utils/exec.rb
@@ -20,8 +20,8 @@ module Exec
extend self
- def capture(command, args = [])
- output, err, code = execute(command, args)
+ ... | Allow to pass a hash of options to Utils::Exec methods
|
diff --git a/lib/mindbody-api/version.rb b/lib/mindbody-api/version.rb
index abc1234..def5678 100644
--- a/lib/mindbody-api/version.rb
+++ b/lib/mindbody-api/version.rb
@@ -1,3 +1,4 @@ module MindBody
- VERSION = "0.5.2.0"
+ VERSION = "1.0.0.alpha"
+ API_VERSION = "0.5.2.0"
end
| Use semver for the gem and specify API_VERSION
|
diff --git a/lib/turntables/turntable.rb b/lib/turntables/turntable.rb
index abc1234..def5678 100644
--- a/lib/turntables/turntable.rb
+++ b/lib/turntables/turntable.rb
@@ -23,6 +23,7 @@ DbRegistry.instance.close!
DbRegistry.instance.name = location
DbRegistry.instance.open!
+ make!
end
# Crea... | Make it actually make the tables (forgot the make call)
|
diff --git a/Casks/vienna.rb b/Casks/vienna.rb
index abc1234..def5678 100644
--- a/Casks/vienna.rb
+++ b/Casks/vienna.rb
@@ -1,6 +1,6 @@ cask :v1 => 'vienna' do
version '3.0.3'
- sha256 '106c25c623866b5c2fe14fb38ffb19918fb15e753d7a05c5e15121ac546b3e05'
+ sha256 'c575b069ba0fa504891c104a9652b427c559d798ceff83109eb2... | Correct Vienna sha256 for version 3.0.3
|
diff --git a/app/views/organizations/_organization.json.rabl b/app/views/organizations/_organization.json.rabl
index abc1234..def5678 100644
--- a/app/views/organizations/_organization.json.rabl
+++ b/app/views/organizations/_organization.json.rabl
@@ -1,5 +1,28 @@-node(:'@id') { |org| member_url(org.member) }
-node(:'... | Add nested logo and membership details
|
diff --git a/workflow/main.rb b/workflow/main.rb
index abc1234..def5678 100644
--- a/workflow/main.rb
+++ b/workflow/main.rb
@@ -23,7 +23,7 @@ task_generator.contexts = omnifocus.contexts
tasks = task_generator.tasks
- tasks.push(tasks.shift)
+ tasks.push(tasks.shift) # Last task is always shown first
... | Add comment to weird behaviour
|
diff --git a/app/models/csv_db.rb b/app/models/csv_db.rb
index abc1234..def5678 100644
--- a/app/models/csv_db.rb
+++ b/app/models/csv_db.rb
@@ -3,13 +3,13 @@ class << self
def convert_save(target_model, csv_data, role = :default, &block)
csv_file = csv_data.read
- CSV.parse(csv_file, :headers => tru... | Make compatible with Ruby 1.8.7.
|
diff --git a/app/helpers/config_helper.rb b/app/helpers/config_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/config_helper.rb
+++ b/app/helpers/config_helper.rb
@@ -7,11 +7,12 @@ default_currency: Settings.default_currency,
facebook: Settings.facebook.to_hash.slice(:pixel_id),
recaptcha3... | Return to deep_transform_keys so that site_key is camelized
|
diff --git a/lib/head_music/circle.rb b/lib/head_music/circle.rb
index abc1234..def5678 100644
--- a/lib/head_music/circle.rb
+++ b/lib/head_music/circle.rb
@@ -20,8 +20,8 @@ attr_reader :interval, :pitch_classes
def initialize(interval)
- @interval = HeadMusic::ChromaticInterval.get(interval.to_i)
- @pitc... | Remove unnecessary use of ChromaticInterval in Circle.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.