diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/Futuristic.podspec b/Futuristic.podspec
index abc1234..def5678 100644
--- a/Futuristic.podspec
+++ b/Futuristic.podspec
@@ -17,6 +17,4 @@ s.dependency 'Result', '~> 2.1'
s.requires_arc = true
-
- s.pod_target_xcconfig = { 'SWIFT_VERSION' => '2.3' }
end
| Remove swift version from podspec
|
diff --git a/db/migrate/20190125170630_add_reset_password_token_index_to_spree_users.rb b/db/migrate/20190125170630_add_reset_password_token_index_to_spree_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20190125170630_add_reset_password_token_index_to_spree_users.rb
+++ b/db/migrate/20190125170630_add_reset_pa... | Add DB index to `reset_password_token` field
This field should have an index in order to ensure uniqueness also at DB level
and to speed up search performances.
The index is added only if it does not exist yet and if the field actually
exists on the DB.
This index is present also in DB migrations generated by Devise... |
diff --git a/spec/mailers/user_mailer_spec.rb b/spec/mailers/user_mailer_spec.rb
index abc1234..def5678 100644
--- a/spec/mailers/user_mailer_spec.rb
+++ b/spec/mailers/user_mailer_spec.rb
@@ -1,6 +1,7 @@ require "spec_helper"
RSpec.describe UserMailer, type: :mailer do
+ before { ResqueSpec.reset! }
describe "#... | Reset ResqueSpec before each UserMailer test
Running the test suite with 'bundle exec rspec --seed 58707'
used to make tests fail, as it ran these out of order and
the tests were not resetting the queues appropriately.
This fixes that.
|
diff --git a/app/services/git_log_importer.rb b/app/services/git_log_importer.rb
index abc1234..def5678 100644
--- a/app/services/git_log_importer.rb
+++ b/app/services/git_log_importer.rb
@@ -46,10 +46,18 @@ end
def handle_author_data(mapped_result:)
- Author.find_or_create_by!(
- email: mapped_result.a... | Make the author finding more tolerant
|
diff --git a/spec/lib/lipo_spec.rb b/spec/lib/lipo_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/lipo_spec.rb
+++ b/spec/lib/lipo_spec.rb
@@ -5,18 +5,17 @@
describe '#bundle_path' do
subject { lipo.bundle_path }
- it { should match(/spec\/resources\/chou.app/) }
+ it { is_expected.to match(/spec\/... | Use rspec expect syntax instead of should
|
diff --git a/omf_rc_shm.gemspec b/omf_rc_shm.gemspec
index abc1234..def5678 100644
--- a/omf_rc_shm.gemspec
+++ b/omf_rc_shm.gemspec
@@ -20,6 +20,7 @@ spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_runtime_dependency "omf_rc", "~> 6.0.5"
+ spec.add_runtime_d... | Add json-jwt since local comm use json
|
diff --git a/spec/server/rack_adapter_spec.rb b/spec/server/rack_adapter_spec.rb
index abc1234..def5678 100644
--- a/spec/server/rack_adapter_spec.rb
+++ b/spec/server/rack_adapter_spec.rb
@@ -12,7 +12,7 @@ end
it "should pass up to the next middleware on 404" do
- @superapp.should_receive(:call).and_return... | Fix specs to use proper rack protocol
|
diff --git a/Casks/scansnap-manager-s1500.rb b/Casks/scansnap-manager-s1500.rb
index abc1234..def5678 100644
--- a/Casks/scansnap-manager-s1500.rb
+++ b/Casks/scansnap-manager-s1500.rb
@@ -0,0 +1,16 @@+cask 'scansnap-manager-s1500' do
+ version :latest
+ sha256 :no_check
+
+ # pfultd.com is the official download hos... | Add ScanSnap Manager for Fujitsu ScanSnap s1500
|
diff --git a/lib/ffi.rb b/lib/ffi.rb
index abc1234..def5678 100644
--- a/lib/ffi.rb
+++ b/lib/ffi.rb
@@ -1,4 +1,5 @@-if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
+if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'rbx'
+ Object.send(:remove_const, :FFI) if defined?(::FFI)
begin
if RUBY... | Enable loading FFI gem on rubinius
|
diff --git a/LightRoute.podspec b/LightRoute.podspec
index abc1234..def5678 100644
--- a/LightRoute.podspec
+++ b/LightRoute.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "LightRoute"
- s.version = "2.1.17"
+ s.version = "2.1.18"
s.summary = "LightRoute is easy transition betwee... | Update spec to version 2.1.18
|
diff --git a/test/unit/remotely_exceptional_test.rb b/test/unit/remotely_exceptional_test.rb
index abc1234..def5678 100644
--- a/test/unit/remotely_exceptional_test.rb
+++ b/test/unit/remotely_exceptional_test.rb
@@ -12,10 +12,13 @@ should "be defined" do
assert_kind_of Module, subject
end
+ en... | Move version test to different context
|
diff --git a/app/controllers/artists_controller.rb b/app/controllers/artists_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/artists_controller.rb
+++ b/app/controllers/artists_controller.rb
@@ -18,7 +18,8 @@
def index
@artists = Artist.all.order('LOWER(name)')
- @chart_data = Artist.joins... | Make this cart only top 10 too
|
diff --git a/app/controllers/follows_controller.rb b/app/controllers/follows_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/follows_controller.rb
+++ b/app/controllers/follows_controller.rb
@@ -1,12 +1,15 @@ class FollowsController < ApplicationController
def create
- current_user.followees <... | Update create and destroy actions
|
diff --git a/db/migrate/20121005142110_regenerate_err_fingerprints.rb b/db/migrate/20121005142110_regenerate_err_fingerprints.rb
index abc1234..def5678 100644
--- a/db/migrate/20121005142110_regenerate_err_fingerprints.rb
+++ b/db/migrate/20121005142110_regenerate_err_fingerprints.rb
@@ -10,8 +10,10 @@ :envir... | Update migration to generate fingerprint in best system
See #557
|
diff --git a/app/serializers/comment_serializer.rb b/app/serializers/comment_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/comment_serializer.rb
+++ b/app/serializers/comment_serializer.rb
@@ -2,7 +2,7 @@ embed :ids
attributes :id, :body, :created_at
- has_one :task, embed: :id, polymorpic: ... | Fix typo. Include task in comment payload.
[Fixes #77048202] |
diff --git a/app/serializers/subject_serializer.rb b/app/serializers/subject_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/subject_serializer.rb
+++ b/app/serializers/subject_serializer.rb
@@ -10,7 +10,6 @@ can_include :project, :collections
def locations
-
@model.locations.order("\"medi... | Remove blank line at start of method body
|
diff --git a/api/app/policies/new_club_application_policy.rb b/api/app/policies/new_club_application_policy.rb
index abc1234..def5678 100644
--- a/api/app/policies/new_club_application_policy.rb
+++ b/api/app/policies/new_club_application_policy.rb
@@ -32,6 +32,6 @@ private
def user_added?
- record.users.incl... | Reduce unneeded DB calls when checking if user_added?
|
diff --git a/test/integration/request_test.rb b/test/integration/request_test.rb
index abc1234..def5678 100644
--- a/test/integration/request_test.rb
+++ b/test/integration/request_test.rb
@@ -23,13 +23,13 @@ visit root_path
# common for all paths
- assert_equal 1, aggregate['request.time.total'][:cou... | Fix tests for dropping .total suffix
|
diff --git a/backbone_fixtures_rails.gemspec b/backbone_fixtures_rails.gemspec
index abc1234..def5678 100644
--- a/backbone_fixtures_rails.gemspec
+++ b/backbone_fixtures_rails.gemspec
@@ -1,5 +1,6 @@ # -*- encoding: utf-8 -*-
-require_relative 'lib/backbone_fixtures_rails/version'
+$:.push File.expand_path("../lib", _... | Fix relative require problem in gemspec
|
diff --git a/cobbler/snippets/client.rb b/cobbler/snippets/client.rb
index abc1234..def5678 100644
--- a/cobbler/snippets/client.rb
+++ b/cobbler/snippets/client.rb
@@ -6,9 +6,15 @@ #if $getVar('proxy', '') != ""
http_proxy '$proxy'
https_proxy '$proxy'
+ENV['http_proxy'] = '$proxy'
+ENV['https_proxy'] = ... | Set proxy env variable so that rubygems works
Change-Id: Ia07abee94484137a870c0dd07678bde293e86d7f
|
diff --git a/promisepay.gemspec b/promisepay.gemspec
index abc1234..def5678 100644
--- a/promisepay.gemspec
+++ b/promisepay.gemspec
@@ -10,8 +10,10 @@ spec.email = ['romain.vigobenia@gmail.com']
spec.summary = 'Gem to wrap promisepay.com API.'
spec.description = 'Gem to wrap promisepay.com API.... | Add homepage and required ruby version to gemspec file
|
diff --git a/test/helper.rb b/test/helper.rb
index abc1234..def5678 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -14,6 +14,13 @@ Sauce.config do |c|
c[:start_tunner] = ENV['RUN_ON_SAUCE']
c[:browsers] = [
- ["OS X 10.10", "Chrome", "39"] # TBD
+
+ ['OS X 10.10', 'Chrome', '40'],
+ ['OS X 10.10', ... | Add more platforms to sauce's 'browsers' config
|
diff --git a/test/helper.rb b/test/helper.rb
index abc1234..def5678 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,8 +1,11 @@ # -*- encoding: utf-8 -*-
+require 'coveralls'
require 'test/unit'
require 'fluent/test'
require 'fluent/plugin/in_udp_event'
+
+Coveralls.wear!
unless defined?(Test::Unit::Asser... | Add coveralls when running tests |
diff --git a/lib/banjo.rb b/lib/banjo.rb
index abc1234..def5678 100644
--- a/lib/banjo.rb
+++ b/lib/banjo.rb
@@ -17,6 +17,11 @@ end
def self.load_channels
+ load_channels!
+ rescue Exception
+ end
+
+ def self.load_channels!
Dir['./channels/*.rb'].each do |file|
load file
end
@@ -31,10 +36... | Refactor a bit how channels are loaded
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -12,7 +12,7 @@ package 'munin-node' do
action :install
notifies :run, "execute[clean-default-plugins]"
-# notifies :run, "execute[clean-default-plugin-conf]"
+ notifies :run, "... | Clean plugin-conf.d too after install
|
diff --git a/lib/i18n_rails_helpers/railtie.rb b/lib/i18n_rails_helpers/railtie.rb
index abc1234..def5678 100644
--- a/lib/i18n_rails_helpers/railtie.rb
+++ b/lib/i18n_rails_helpers/railtie.rb
@@ -0,0 +1,10 @@+require 'i18n_rails_helpers'
+require 'rails'
+
+module I18nRailsHelpers
+ class Railtie < Rails::Railtie
+ ... | Add Railtie for Rails 3 compatibility.
|
diff --git a/lib/kitty_events/handle_worker.rb b/lib/kitty_events/handle_worker.rb
index abc1234..def5678 100644
--- a/lib/kitty_events/handle_worker.rb
+++ b/lib/kitty_events/handle_worker.rb
@@ -4,7 +4,11 @@ module KittyEvents
class HandleWorker < ActiveJob::Base
def perform(event, object)
- self.class.p... | Fix breakage resulting from Rails 6 upgrade
Use Module.module_parent instead of Module.parent because Rails
deprecated the parent() method in 6 and removed it in 6.1. This is part
of the Rails 6.1.4 upgrade.
|
diff --git a/lib/lobster/abstract_attribute.rb b/lib/lobster/abstract_attribute.rb
index abc1234..def5678 100644
--- a/lib/lobster/abstract_attribute.rb
+++ b/lib/lobster/abstract_attribute.rb
@@ -1,5 +1,7 @@ # Custom class attributes.
class Class
+
+ private
# Defines an abstract method.
# The method will th... | Make abstract method private to class definitions
|
diff --git a/lib/tasks/pretty_flash_tasks.rake b/lib/tasks/pretty_flash_tasks.rake
index abc1234..def5678 100644
--- a/lib/tasks/pretty_flash_tasks.rake
+++ b/lib/tasks/pretty_flash_tasks.rake
@@ -1,7 +1,7 @@ namespace :pretty_flash do
desc "Copies assets to proper application directories"
task :install do
- A... | Use correct path to find assets
|
diff --git a/test/all_basic.rb b/test/all_basic.rb
index abc1234..def5678 100644
--- a/test/all_basic.rb
+++ b/test/all_basic.rb
@@ -5,15 +5,15 @@
module Test
- module Unit
- class TestCase
- alias :_old_run_ :run
- def run(result, &blk)
- puts "Running #{@method_name}"
- _old_run_(result, &blk)
- end
... | Include Magick.rb and Pixel.rb suites
|
diff --git a/test/rack_test.rb b/test/rack_test.rb
index abc1234..def5678 100644
--- a/test/rack_test.rb
+++ b/test/rack_test.rb
@@ -9,7 +9,7 @@ context "A Rack app" do
app { lambda { [200, {}, "Hello, World!"] } }
- context "on a GET" do
+ context "serving a GET request to '/'" do
setup { get '/' }
as... | Use better wording in the tests
|
diff --git a/spec/factories/community_factory.rb b/spec/factories/community_factory.rb
index abc1234..def5678 100644
--- a/spec/factories/community_factory.rb
+++ b/spec/factories/community_factory.rb
@@ -5,5 +5,6 @@ sequence(:name) { |n| "Community #{n}" }
sequence(:abbrv) { |n| "C#{n % 10}" }
sequence(:... | 797: Set country code in community factory
|
diff --git a/spec/models/user_shared_examples.rb b/spec/models/user_shared_examples.rb
index abc1234..def5678 100644
--- a/spec/models/user_shared_examples.rb
+++ b/spec/models/user_shared_examples.rb
@@ -6,12 +6,11 @@ shared_examples_for "user models" do
describe '#get_twitter_imports_count' do
+ include_conte... | Refactor user test using users helper
|
diff --git a/spec/earth_spec.rb b/spec/earth_spec.rb
index abc1234..def5678 100644
--- a/spec/earth_spec.rb
+++ b/spec/earth_spec.rb
@@ -21,31 +21,4 @@ Earth.resources.should include('Industry')
end
end
-
- describe '.database_configurations' do
- it 'reads configuration from a yaml file' do
- re... | Fix earth spec for removal of config management
|
diff --git a/tools/purge_archived_storages.rb b/tools/purge_archived_storages.rb
index abc1234..def5678 100644
--- a/tools/purge_archived_storages.rb
+++ b/tools/purge_archived_storages.rb
@@ -7,9 +7,12 @@ end
if opts[:dry_run]
- puts "\n"
- puts "* This is a dry run and will not modify the database"
- puts "* To... | Add an explicit "Press Enter to Continue"
|
diff --git a/scoped_search.gemspec b/scoped_search.gemspec
index abc1234..def5678 100644
--- a/scoped_search.gemspec
+++ b/scoped_search.gemspec
@@ -1,7 +1,7 @@ Gem::Specification.new do |s|
s.name = 'scoped_search'
- s.version = '0.7.1'
- s.date = '2008-10-11'
+ s.version = '0.7.2'
+ s.date = '2008-10-... | Set gem version to 0.7.2
|
diff --git a/Casks/sencha.rb b/Casks/sencha.rb
index abc1234..def5678 100644
--- a/Casks/sencha.rb
+++ b/Casks/sencha.rb
@@ -1,6 +1,6 @@ cask :v1 => 'sencha' do
- version '5.1.1.39'
- sha256 'bb3de716b825fe9f8908f96a3f7570499ffbf41bac860a16f57f680b3cd341ad'
+ version '5.1.3.61'
+ sha256 '6083490b578191d2b8307b375e1... | Update to Sencha Cmd 5.1.3.61 |
diff --git a/Casks/mono-mre.rb b/Casks/mono-mre.rb
index abc1234..def5678 100644
--- a/Casks/mono-mre.rb
+++ b/Casks/mono-mre.rb
@@ -1,6 +1,6 @@ cask :v1 => 'mono-mre' do
- version '3.10.0'
- sha256 'c9973d1206a36b71964a8b173d452780c19200cac2955723e0d48f969a3f6d28'
+ version '3.12.0'
+ sha256 'af104354a7445f5565aa4... | Upgrade Mono MRE to 3.12.0
|
diff --git a/Changeset.podspec b/Changeset.podspec
index abc1234..def5678 100644
--- a/Changeset.podspec
+++ b/Changeset.podspec
@@ -10,7 +10,7 @@ spec.source = { :git => 'https://github.com/osteslag/Changeset.git', :tag => "v#{spec.version}" }
spec.source_files = 'Sources/*.swift'
spec.requires_arc = true
- spec.... | Update Swift version in .podspec
|
diff --git a/textrazor.gemspec b/textrazor.gemspec
index abc1234..def5678 100644
--- a/textrazor.gemspec
+++ b/textrazor.gemspec
@@ -24,4 +24,5 @@ spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", "~> 10.4"
spec.add_development_dependency "rspec", "~> 3.0.0"
+ spec.add... | Add 'dotenv' as development dependency
Signed-off-by: Aymeric Brisse <a462d6a602eb500679b027b39ff035d803cbe1e9@perfect-memory.com> |
diff --git a/CoreHound.podspec b/CoreHound.podspec
index abc1234..def5678 100644
--- a/CoreHound.podspec
+++ b/CoreHound.podspec
@@ -11,7 +11,7 @@ s.requires_arc = true
s.source_files = 'Pod/**/*.{h,m}'
- s.private_header_files = "{Pod/Model/Internal/**/*.h,Pod/**/*+Internal.h,Pod/Network/Internal/**/*.h}"
+ s... | Update private header pattern in podspec
|
diff --git a/lib/s3_file.rb b/lib/s3_file.rb
index abc1234..def5678 100644
--- a/lib/s3_file.rb
+++ b/lib/s3_file.rb
@@ -3,7 +3,7 @@ def url
s3 = AWS::S3.new
bucket = s3.buckets["gradecraft-#{Rails.env}"]
- return bucket.objects[CGI::unescape(filepath || filename)].url_for(:read, :expires => 15 * 60).to_... | Remove check for older files.
Rake task now takes care of this.
|
diff --git a/traceview.gemspec b/traceview.gemspec
index abc1234..def5678 100644
--- a/traceview.gemspec
+++ b/traceview.gemspec
@@ -1,9 +1,9 @@ $:.push File.expand_path("../lib", __FILE__)
-require "oboe/version"
+require "traceview/version"
Gem::Specification.new do |s|
- s.name = %q{oboe}
- s.version = Oboe::Ve... | Swap calls to Oboe with TraceView
|
diff --git a/i_am_valid.gemspec b/i_am_valid.gemspec
index abc1234..def5678 100644
--- a/i_am_valid.gemspec
+++ b/i_am_valid.gemspec
@@ -28,5 +28,6 @@ s.test_files = Dir["{test,spec,features}/**/*"]
s.require_paths = ["lib"]
#= Manifest =#
+
+ s.add_dependency 'activerecord', ... | Add active_record as a dependency
|
diff --git a/Formula/attica.rb b/Formula/attica.rb
index abc1234..def5678 100644
--- a/Formula/attica.rb
+++ b/Formula/attica.rb
@@ -0,0 +1,14 @@+require 'formula'
+
+class Attica <Formula
+ url 'ftp://ftp.kde.org/pub/kde/stable/attica/attica-0.1.2.tar.bz2'
+ homepage 'http://www.kde.org/'
+ md5 '8b4207dbc0a826d4226... | Add formula for Attica 0.1.2.
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -1,5 +1,4 @@ #
-# Author:: Matt Ray <matt@chef.io>
# Cookbook:: drbd
# Recipe:: default
#
@@ -20,11 +19,8 @@ # prime the search to avoid 2 masters
node.save
-if node['drbd']['cus... | Simplify the platform check logic a bit
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -16,7 +16,7 @@ action :install
end
-node['rvm']['user_installs'] = [
+node['default']['rvm']['user_installs'] = [
{ 'user' => 'rubygems_app',
'default_ruby' => '... | Fix Node attributes are read-only when you do not specify which
precedence level to set. To set an attribute
|
diff --git a/Curry.podspec b/Curry.podspec
index abc1234..def5678 100644
--- a/Curry.podspec
+++ b/Curry.podspec
@@ -12,6 +12,7 @@ spec.source = { :git => 'https://github.com/thoughtbot/curry.git', :tag => "v#{spec.version}" }
spec.source_files = 'Source/**/*.{h,swift}'
spec.requires_arc = true
+ spec.swift_ve... | Add supported Swift versions to the podspec
Turns out we support a bunch of swift versions
|
diff --git a/lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb b/lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb
index abc1234..def5678 100644
--- a/lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb
+++ b/lib/generators/react_on_rails/template... | Fix where coverage folder is being output for generated apps
|
diff --git a/LunchOverflow/spec/models/user_spec.rb b/LunchOverflow/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/LunchOverflow/spec/models/user_spec.rb
+++ b/LunchOverflow/spec/models/user_spec.rb
@@ -0,0 +1,10 @@+require 'rails_helper'
+
+describe User do
+
+ describe "Database tests" do
+ it { sho... | Add Database tests for User
|
diff --git a/SwiftyAds.podspec b/SwiftyAds.podspec
index abc1234..def5678 100644
--- a/SwiftyAds.podspec
+++ b/SwiftyAds.podspec
@@ -18,7 +18,7 @@
s.source_files = 'Sources/**/*.{h,m,swift}'
-s.dependency 'Google-Mobile-Ads-SDK', '~> 7.6'
-s.dependency 'PersonalizedAdConsent'
+s.dependency 'Google-Mobile-Ads-SDK', ... | Update pod spec dependency version
|
diff --git a/TJDropbox.podspec b/TJDropbox.podspec
index abc1234..def5678 100644
--- a/TJDropbox.podspec
+++ b/TJDropbox.podspec
@@ -14,9 +14,10 @@
s.source_files = "TJDropbox/*.{h,m}"
s.osx.exclude_files = "TJDropbox/TJDropboxAuthenticationViewController.{h,m}"
+ s.tvos.exclude_files = "TJDropbox/TJDropbo... | Add tvOS support to podspec.
|
diff --git a/phantomjs.gemspec b/phantomjs.gemspec
index abc1234..def5678 100644
--- a/phantomjs.gemspec
+++ b/phantomjs.gemspec
@@ -9,9 +9,9 @@ gem.homepage = "https://github.com/colszowka/phantomjs-gem"
gem.license = 'MIT'
- gem.add_development_dependency 'poltergeist'
- gem.add_development_depend... | Fix the build by adjusting dependency version specs
|
diff --git a/poke-api.gemspec b/poke-api.gemspec
index abc1234..def5678 100644
--- a/poke-api.gemspec
+++ b/poke-api.gemspec
@@ -20,5 +20,5 @@ spec.add_runtime_dependency 'httpclient', '2.8.0'
spec.add_runtime_dependency 'geocoder', '1.3.7'
spec.add_runtime_dependency 'google-protobuf', '~> 3.0.0.alpha'
- spec... | Update GPSOAuth gem version to 0.1.2
This allows for backwards compatibility with older Ruby versions. |
diff --git a/verbalize.gemspec b/verbalize.gemspec
index abc1234..def5678 100644
--- a/verbalize.gemspec
+++ b/verbalize.gemspec
@@ -24,6 +24,6 @@ spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'coveralls'
- spec.add_development_depende... | Update rubocop requirement from = 0.45 to = 0.74.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](https... |
diff --git a/lib/rescue_tracer/railtie.rb b/lib/rescue_tracer/railtie.rb
index abc1234..def5678 100644
--- a/lib/rescue_tracer/railtie.rb
+++ b/lib/rescue_tracer/railtie.rb
@@ -1,7 +1,9 @@ module RescueTracer
class Railtie < Rails::Railtie
initializer "rescue_tracer" do
- ActionController::Base.send(:inclu... | Use AS.on_load when touching AC::Base in the initializer
|
diff --git a/lib/strava/l10n/tx_config.rb b/lib/strava/l10n/tx_config.rb
index abc1234..def5678 100644
--- a/lib/strava/l10n/tx_config.rb
+++ b/lib/strava/l10n/tx_config.rb
@@ -10,7 +10,10 @@ config.get_groups().each do |group|
if group == 'main'
main = config[group]
- @lang_m... | Make lang_map optional in txconfig
|
diff --git a/test_bed.gemspec b/test_bed.gemspec
index abc1234..def5678 100644
--- a/test_bed.gemspec
+++ b/test_bed.gemspec
@@ -4,9 +4,12 @@ Gem::Specification.new do |gem|
gem.authors = ["TheHamon"]
gem.email = ["example@example.com"]
- gem.description = %q{TODO: Write a gem description}
- gem... | Add gems for fetching information from PT and git repository |
diff --git a/examples/logging_aspect.rb b/examples/logging_aspect.rb
index abc1234..def5678 100644
--- a/examples/logging_aspect.rb
+++ b/examples/logging_aspect.rb
@@ -13,8 +13,9 @@ require 'aspector'
class LoggingAspect < Aspector::Base
+ ALL_METHODS = /.*/
- around /.*/, :except => [:class], :context_arg => t... | Make aspect more readable by defining constants for all methods pattern
|
diff --git a/web/lib/models.rb b/web/lib/models.rb
index abc1234..def5678 100644
--- a/web/lib/models.rb
+++ b/web/lib/models.rb
@@ -1,4 +1,4 @@-DB = Sequel.connect(ENV['DATABASE_URL'], pool_timeout: 25)
+DB = Sequel.connect(ENV['DATABASE_URL'], max_connections: 12 , pool_timeout: 60)
class Package < Sequel::Model
... | Increase pool timeout, add more connections
|
diff --git a/Ruby/lib/mini_profiler/storage/redis_store.rb b/Ruby/lib/mini_profiler/storage/redis_store.rb
index abc1234..def5678 100644
--- a/Ruby/lib/mini_profiler/storage/redis_store.rb
+++ b/Ruby/lib/mini_profiler/storage/redis_store.rb
@@ -7,6 +7,7 @@ def initialize(args)
@args = args || {}
... | Implement external connection creation in RedisStore
|
diff --git a/test/system/navbar_brand_test.rb b/test/system/navbar_brand_test.rb
index abc1234..def5678 100644
--- a/test/system/navbar_brand_test.rb
+++ b/test/system/navbar_brand_test.rb
@@ -0,0 +1,12 @@+# frozen_string_literal: true
+
+require 'application_system_test_case'
+
+class NavbarBrandTest < ApplicationSyst... | Test the navbar brand bar
|
diff --git a/lib/boxcar/command/server.rb b/lib/boxcar/command/server.rb
index abc1234..def5678 100644
--- a/lib/boxcar/command/server.rb
+++ b/lib/boxcar/command/server.rb
@@ -16,7 +16,7 @@ end
def stop
- pid = `cat tmp/pids/thin.pid`.chomp
+ pid = `cd #{current_path}; cat tmp/pids/thin.pid`.chomp
`k... | Fix possible bug with thin pid
|
diff --git a/lib/celluloid/cpu_counter.rb b/lib/celluloid/cpu_counter.rb
index abc1234..def5678 100644
--- a/lib/celluloid/cpu_counter.rb
+++ b/lib/celluloid/cpu_counter.rb
@@ -18,7 +18,7 @@ else
Dir["/sys/devices/system/cpu/cpu*"].select { |n| n=~/cpu\d+/ }.count
... | Use Windows NUMBER_OF_PROCESSORS for Cygwin |
diff --git a/lib/unicode/display_width.rb b/lib/unicode/display_width.rb
index abc1234..def5678 100644
--- a/lib/unicode/display_width.rb
+++ b/lib/unicode/display_width.rb
@@ -3,11 +3,13 @@
module Unicode
module DisplayWidth
+ DEPTHS = [0x10000, 0x1000, 0x100, 0x10].freeze
+
def self.of(string, ambiguous ... | Increase performance and decrease memory usage
|
diff --git a/app/workers/concerns/project_import_options.rb b/app/workers/concerns/project_import_options.rb
index abc1234..def5678 100644
--- a/app/workers/concerns/project_import_options.rb
+++ b/app/workers/concerns/project_import_options.rb
@@ -1,9 +1,9 @@ module ProjectImportOptions
extend ActiveSupport::Concer... | Remove warning noise in ProjectImportOptions
Squlches these warnings:
```
/opt/gitlab/embedded/service/gitlab-rails/app/workers/concerns/project_import_options.rb:5: warning: already initialized constant ProjectImportOptions::IMPORT_RETRY_COUNT
/opt/gitlab/embedded/service/gitlab-rails/app/workers/concerns/project_im... |
diff --git a/raptor.gemspec b/raptor.gemspec
index abc1234..def5678 100644
--- a/raptor.gemspec
+++ b/raptor.gemspec
@@ -4,6 +4,8 @@ require 'raptor/version'
Gem::Specification.new do |spec|
+ spec.required_ruby_version = '>= 2.0.0'
+
spec.name = 'raptor'
spec.version = Raptor::VERSION
spec.... | gemspec: Set Ruby 2.0.0 as minimum accepted version
|
diff --git a/reagan.gemspec b/reagan.gemspec
index abc1234..def5678 100644
--- a/reagan.gemspec
+++ b/reagan.gemspec
@@ -8,18 +8,18 @@ s.description = s.summary
s.authors = ['Tim Smith']
s.email = 'tim@cozy.co'
+ s.homepage = 'http://www.github.com/tas50/reagan'
+ s.license = 'Apache-2.0'
+... | Automate files / executables in the gemspec
|
diff --git a/lib/synapse_payments/request.rb b/lib/synapse_payments/request.rb
index abc1234..def5678 100644
--- a/lib/synapse_payments/request.rb
+++ b/lib/synapse_payments/request.rb
@@ -2,7 +2,6 @@ class Request
HEADERS = {
- 'Accept' => 'application/json',
'User-Agent' => "Synapse... | Use HTTP's accept method for specifying JSON
I’ve noticed some sporadic incorrect text/html mime type errors when we
are expecting JSON consistently. While the library supports specifying
it in a few different ways I’m going to stick with this one for now.
|
diff --git a/lib/end_view/rails_layout.rb b/lib/end_view/rails_layout.rb
index abc1234..def5678 100644
--- a/lib/end_view/rails_layout.rb
+++ b/lib/end_view/rails_layout.rb
@@ -14,12 +14,12 @@
private
- def stylesheet_args
- ['application', { media: 'all', 'data-turbolinks-track' => true }]
+ def sty... | Use super instead of splat
|
diff --git a/lib/properties/generators.rb b/lib/properties/generators.rb
index abc1234..def5678 100644
--- a/lib/properties/generators.rb
+++ b/lib/properties/generators.rb
@@ -1,3 +1,4 @@ require "properties/generators/character"
+require "properties/generators/float"
require "properties/generators/integer"
require ... | Implement a Float generator (squash into previous)
|
diff --git a/cmc.rb b/cmc.rb
index abc1234..def5678 100644
--- a/cmc.rb
+++ b/cmc.rb
@@ -3,7 +3,7 @@ class Cmc < Formula
homepage "https://github.com/ClockworkNet/cmc"
url "https://github.com/ClockworkNet/cmc/archive/1.0.1.tar.gz"
- sha1 "ba6502a6b034ab7af44e7a7152f78f9ba65fa14a"
+ sha256 "bc9a35770c365ef254e39... | Replace deprecated sha1 with sha256 |
diff --git a/ruby/spec/bson/nil_class_spec.rb b/ruby/spec/bson/nil_class_spec.rb
index abc1234..def5678 100644
--- a/ruby/spec/bson/nil_class_spec.rb
+++ b/ruby/spec/bson/nil_class_spec.rb
@@ -2,11 +2,15 @@ require "spec_helper"
describe NilClass do
- let(:type) { 10.chr }
- let(:obj) { nil }
- let(:bson) { BSON... | Reformat nil spec for consistency
|
diff --git a/spec/happy_spec.rb b/spec/happy_spec.rb
index abc1234..def5678 100644
--- a/spec/happy_spec.rb
+++ b/spec/happy_spec.rb
@@ -0,0 +1,19 @@+require 'spec_helper'
+
+describe Happy do
+ describe '#env' do
+ it "is a StringInquirer instance describing the RACK environment" do
+ Happy.env.should be_kind... | Add some specs for the Happy module. |
diff --git a/spec/store_spec.rb b/spec/store_spec.rb
index abc1234..def5678 100644
--- a/spec/store_spec.rb
+++ b/spec/store_spec.rb
@@ -25,6 +25,23 @@ end
end
+ describe 'default config' do
+ context 'with RACK_ENV not explicitly configured in database.yml' do
+ before do
+ @stashe... | Add test to demonstrate default configuration not being read. |
diff --git a/spec/features/event_join_spec.rb b/spec/features/event_join_spec.rb
index abc1234..def5678 100644
--- a/spec/features/event_join_spec.rb
+++ b/spec/features/event_join_spec.rb
@@ -1,15 +1,24 @@ require 'rails_helper'
RSpec.feature 'User joins an event', js: true do
- before { create(:event) }
+ before... | Add spec for visiting event page when logged in
|
diff --git a/spec/models/given_course_spec.rb b/spec/models/given_course_spec.rb
index abc1234..def5678 100644
--- a/spec/models/given_course_spec.rb
+++ b/spec/models/given_course_spec.rb
@@ -6,12 +6,12 @@ end
it "requires a when" do
- Factory.build(:given_course, :when => nil).should_not be_valid
... | Fix GivenCourse spec. GivenCourse does no longer exists
|
diff --git a/spec/status_change_event_spec.rb b/spec/status_change_event_spec.rb
index abc1234..def5678 100644
--- a/spec/status_change_event_spec.rb
+++ b/spec/status_change_event_spec.rb
@@ -9,13 +9,13 @@ @type = 'pass_now_fail'
@file = 'file'
@inner_event = PassOrFailEvent.new(*(1..7))
- ... | Fix status change event spec using wrong variable
|
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
@@ -8,13 +8,11 @@ end
config.before do
- is_rack = Capybara.current_driver == :rack_test
-
- DatabaseCleaner.strategy ... | Adjust when the database cleaner runs to prevent deadlocks.
|
diff --git a/scripts/update-apidoc.rb b/scripts/update-apidoc.rb
index abc1234..def5678 100644
--- a/scripts/update-apidoc.rb
+++ b/scripts/update-apidoc.rb
@@ -14,7 +14,7 @@ def extract_version(path)
IO.readlines(path).each do |l|
#if md = l.strip.match(/VERSION\s*=\s*[\'\"]?([^\'\"]+)/i)
- if md = l.strip.... | Use broader regexp for extracting version
|
diff --git a/lib/comp_player.rb b/lib/comp_player.rb
index abc1234..def5678 100644
--- a/lib/comp_player.rb
+++ b/lib/comp_player.rb
@@ -1,3 +1,5 @@+require 'pry'
+
class CompPlayer
def minimax(board, rules, increment = 10)
@@ -12,6 +14,8 @@ board.valid_slots.send(board.whose_turn(:max_by, :min_by)){|index| m... | Add comp_move method to class
|
diff --git a/lib/desktop/osx.rb b/lib/desktop/osx.rb
index abc1234..def5678 100644
--- a/lib/desktop/osx.rb
+++ b/lib/desktop/osx.rb
@@ -2,6 +2,7 @@
module Desktop
class OSX
+ attr_reader :desktop_image_path
class DesktopImagePermissionsError < StandardError; end
def self.desktop_image=(image)
@@ -1... | Allow OSX default desktop image to be customized
|
diff --git a/week-4/define-method/defining_variable_spec.rb b/week-4/define-method/defining_variable_spec.rb
index abc1234..def5678 100644
--- a/week-4/define-method/defining_variable_spec.rb
+++ b/week-4/define-method/defining_variable_spec.rb
@@ -0,0 +1,10 @@+require_relative "my_solution"
+
+describe 'do_something' ... | Add rspec file for challenge 4.3 release 2
|
diff --git a/schema.gemspec b/schema.gemspec
index abc1234..def5678 100644
--- a/schema.gemspec
+++ b/schema.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'evt-schema'
s.summary = "Primitives for schema and data structure"
- s.version = '1.1.0.1'
+ s.version = '1.2.0.0'
s.description = ' '
... | Package version is increased from 1.1.0.1 to 1.2.0.0
|
diff --git a/schlep.gemspec b/schlep.gemspec
index abc1234..def5678 100644
--- a/schlep.gemspec
+++ b/schlep.gemspec
@@ -20,6 +20,11 @@
s.add_runtime_dependency "redis"
+ if RUBY_VERSION =~ /1.8/
+ s.add_runtime_dependency "json"
+ s.add_runtime_dependency "system_timer"
+ end
+
s.add_development_depen... | Add redis and json dependencies for 1.8
|
diff --git a/peat.gemspec b/peat.gemspec
index abc1234..def5678 100644
--- a/peat.gemspec
+++ b/peat.gemspec
@@ -18,6 +18,10 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
+ spec.add_dependency 'faraday'
+ spec.add_dependency 'activesupport'
+
+ spec.add_devel... | Add faraday and activesupport as dependencies |
diff --git a/rom-yaml.gemspec b/rom-yaml.gemspec
index abc1234..def5678 100644
--- a/rom-yaml.gemspec
+++ b/rom-yaml.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
- spec.add_runtime_dependency "rom", "~> 1.0.0"
+ spec.add_runtime_depende... | Update ROM dependency to 2.0
|
diff --git a/rom-yaml.gemspec b/rom-yaml.gemspec
index abc1234..def5678 100644
--- a/rom-yaml.gemspec
+++ b/rom-yaml.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'rom', '~> 0.8', '>= 0.8.0'
+ spec.add_runti... | Update rom dep in gemspec
|
diff --git a/spec/component/ancestors_spec.rb b/spec/component/ancestors_spec.rb
index abc1234..def5678 100644
--- a/spec/component/ancestors_spec.rb
+++ b/spec/component/ancestors_spec.rb
@@ -0,0 +1,40 @@+# GitCompound
+#
+module GitCompound
+ describe Component do
+ before do
+ git_build_test_environment!
+ ... | Add red spec for component ancestors
|
diff --git a/spec/features/clubs/view_spec.rb b/spec/features/clubs/view_spec.rb
index abc1234..def5678 100644
--- a/spec/features/clubs/view_spec.rb
+++ b/spec/features/clubs/view_spec.rb
@@ -1,11 +1,11 @@ require 'spec_helper.rb'
feature "Viewing a Club", js: true do
- let(:club1) {FactoryGirl::create(:club)}
+ ... | Add checking players presence in clubs view feature spec
|
diff --git a/lib/raml_models.rb b/lib/raml_models.rb
index abc1234..def5678 100644
--- a/lib/raml_models.rb
+++ b/lib/raml_models.rb
@@ -1 +1,5 @@-Dir["File.dirname(__FILE__)/raml"].each {|file| require file}
+require_relative "./raml_models/api"
+require_relative "./raml_models/body"
+require_relative "./raml_models/m... | Fix requires because they aren't working
|
diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/site_controller.rb
+++ b/app/controllers/site_controller.rb
@@ -27,12 +27,13 @@ end
def export
- zipfile_name = Tempfile.new()
+ export_path = Rails.root.join('tmp') # fo... | Change Tempfile path for Heroku
|
diff --git a/app/modules/kpi/estadistica_kpi.rb b/app/modules/kpi/estadistica_kpi.rb
index abc1234..def5678 100644
--- a/app/modules/kpi/estadistica_kpi.rb
+++ b/app/modules/kpi/estadistica_kpi.rb
@@ -1,5 +1,3 @@-# coding: UTF-8
-
require 'active_support/concern'
module Kpi::EstadisticaKpi
@@ -12,7 +10,7 @@
b... | Use SQL BETWEEN & remove unneeded .to_date
|
diff --git a/Casks/electron.rb b/Casks/electron.rb
index abc1234..def5678 100644
--- a/Casks/electron.rb
+++ b/Casks/electron.rb
@@ -2,6 +2,7 @@ version '1.2.5'
sha256 'd27f0e1f7712c01e49e3bbf40e741be39fc21790b4206edd1e141a6b75ead9e5'
+ # github.com/atom/electron was verified as official when first introduced t... | Fix `url` stanza comment for Electron.
|
diff --git a/app/lib/deck.rb b/app/lib/deck.rb
index abc1234..def5678 100644
--- a/app/lib/deck.rb
+++ b/app/lib/deck.rb
@@ -1,6 +1,6 @@ class Deck
DEFAULT_SUITS = %w(spades clubs diamonds hearts)
- DEFAULT_RANKS = %w(ace one two three four five six seven eight nine ten jack queen king)
+ DEFAULT_RANKS = %w(ace tw... | Remove 'one' from default ranks
|
diff --git a/Casks/owncloud.rb b/Casks/owncloud.rb
index abc1234..def5678 100644
--- a/Casks/owncloud.rb
+++ b/Casks/owncloud.rb
@@ -4,7 +4,7 @@
url "https://download.owncloud.com/desktop/stable/ownCloud-#{version}.pkg"
homepage 'http://owncloud.com'
- license :unknown
+ license :gpl
pkg "ownCloud-#{versi... | Change ownCloud license to GPL
See: https://github.com/owncloud/mirall/blob/master/COPYING |
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
@@ -9,7 +9,7 @@ menu.item "York", "/by_province/York"
end
- Page.content_types.each do |type|
+ Page.content... | Remove page from the index list
|
diff --git a/lib/totem/shell.rb b/lib/totem/shell.rb
index abc1234..def5678 100644
--- a/lib/totem/shell.rb
+++ b/lib/totem/shell.rb
@@ -16,7 +16,7 @@ env_path = 'config/environment.rb'
if File.exists?(env_path)
load(env_path)
- else
+ elsif args[0] != 'new'
puts "Unable to find... | Fix for creating new projects.
|
diff --git a/app/presenters/confirmation_presenter.rb b/app/presenters/confirmation_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/confirmation_presenter.rb
+++ b/app/presenters/confirmation_presenter.rb
@@ -41,10 +41,6 @@ end
end
- def payment_type
- payment_failed? ? :payment_not_process... | Remove unused private method from confirmation presenter |
diff --git a/app/services/follower_notifier.rb b/app/services/follower_notifier.rb
index abc1234..def5678 100644
--- a/app/services/follower_notifier.rb
+++ b/app/services/follower_notifier.rb
@@ -34,7 +34,7 @@ #{times_text}
Full results for #{effort_data[:full_name]} here: https://www.opensplittime.org/efforts/#{... | Change FollowerNotifier event link to spread page.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.