diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/hets/hets_options.rb b/lib/hets/hets_options.rb
index abc1234..def5678 100644
--- a/lib/hets/hets_options.rb
+++ b/lib/hets/hets_options.rb
@@ -14,6 +14,10 @@ def add(**opts)
@options.merge!(opts.dup)
prepare
+ end
+
+ def merge!(hets_options)
+ add(hets_options.options)
... | Add method merge! on HetsOptions.
|
diff --git a/spec/controllers/api/enterprise_fees_controller_spec.rb b/spec/controllers/api/enterprise_fees_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/api/enterprise_fees_controller_spec.rb
+++ b/spec/controllers/api/enterprise_fees_controller_spec.rb
@@ -0,0 +1,34 @@+require 'spec_helper'
... | Add specs for new Api::EnterpriseFeesController
|
diff --git a/spec/backend/exec/stdxxx_handler_spec.rb b/spec/backend/exec/stdxxx_handler_spec.rb
index abc1234..def5678 100644
--- a/spec/backend/exec/stdxxx_handler_spec.rb
+++ b/spec/backend/exec/stdxxx_handler_spec.rb
@@ -0,0 +1,25 @@+require 'spec_helper'
+
+backend = Specinfra::Backend::Exec.new
+
+context 'Output... | Add specs of stdout_handler and stderr_handler for exec backend
|
diff --git a/spec/controllers/join_controller_spec.rb b/spec/controllers/join_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/join_controller_spec.rb
+++ b/spec/controllers/join_controller_spec.rb
@@ -10,7 +10,7 @@ login_user
it "sign_up_at should be very very recent" do
subject.... | Fix a sporadic test failure
|
diff --git a/spec/integration/mince_interface_spec.rb b/spec/integration/mince_interface_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/mince_interface_spec.rb
+++ b/spec/integration/mince_interface_spec.rb
@@ -6,5 +6,9 @@ Mince::Config.interface = Mince::HashyDb::Interface
end
+ after do
+ M... | Clear data store when integration tests finish so that we can run ints and units together
|
diff --git a/lib/tasks/superbolt.rake b/lib/tasks/superbolt.rake
index abc1234..def5678 100644
--- a/lib/tasks/superbolt.rake
+++ b/lib/tasks/superbolt.rake
@@ -1,9 +1,19 @@ # assumes an environment task that sets up your app environment
desc "worker that reads the queue and sends messages through the router as config... | EGG-757: Add statsd message logging around worker perform
|
diff --git a/lib/uber/api/requests.rb b/lib/uber/api/requests.rb
index abc1234..def5678 100644
--- a/lib/uber/api/requests.rb
+++ b/lib/uber/api/requests.rb
@@ -1,11 +1,17 @@ require 'uber/arguments'
require 'uber/api_request'
require 'uber/models/request'
+require 'uber/models/estimate'
require 'uber/models/map'
... | Add request estimate and cancelation methods
|
diff --git a/rails/benchmarks/bm_actioncontroller_api.rb b/rails/benchmarks/bm_actioncontroller_api.rb
index abc1234..def5678 100644
--- a/rails/benchmarks/bm_actioncontroller_api.rb
+++ b/rails/benchmarks/bm_actioncontroller_api.rb
@@ -0,0 +1,16 @@+require 'bundler/setup'
+require 'action_controller'
+require_relative... | Add ActionController::API benchmark with Kir
|
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/default_spec.rb
+++ b/test/integration/default/serverspec/default_spec.rb
@@ -17,11 +17,11 @@ require 'serverspec'
set :backend,... | Fix up core tests for systemd. |
diff --git a/tools/filter_of_messages.rb b/tools/filter_of_messages.rb
index abc1234..def5678 100644
--- a/tools/filter_of_messages.rb
+++ b/tools/filter_of_messages.rb
@@ -0,0 +1,14 @@+#!/usr/bin/env ruby
+
+input_file = ARGV.shift
+input = File.open(input_file)
+
+while line = input.gets
+ if line =~ /^c.*OF Message... | Add a tool to filter out openflow messages from stdout logs
|
diff --git a/spec/requests/account_suspended_spec.rb b/spec/requests/account_suspended_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/account_suspended_spec.rb
+++ b/spec/requests/account_suspended_spec.rb
@@ -0,0 +1,91 @@+require "spec_helper"
+
+RSpec.describe "When account is enabled", type: :request do
+... | Add requests specs for account suspension
We have implimented an "emergency brake" feature on accounts that will
allow us to suspend the account. This will temporarily remove public
access to accounts to allow us to either perform some maintance or
respond to an incident.
In these cases the account will return a 503 ... |
diff --git a/fwtbt.rb b/fwtbt.rb
index abc1234..def5678 100644
--- a/fwtbt.rb
+++ b/fwtbt.rb
@@ -0,0 +1,8 @@+require_relative 'narrative-distance'
+
+#chunk = Chunk.new("sample.txt")
+
+# This should go in a seeds file.
+%w(Moscow Guaranty-Trust-Company Missoula Paris Foyot’s Butte Billings Red-Lodge Cooke-City Fort-Ke... | Add For Whom the Bell Tolls tokens.
|
diff --git a/Casks/balsamiq-mockups.rb b/Casks/balsamiq-mockups.rb
index abc1234..def5678 100644
--- a/Casks/balsamiq-mockups.rb
+++ b/Casks/balsamiq-mockups.rb
@@ -1,6 +1,6 @@ cask :v1 => 'balsamiq-mockups' do
- version '3.1.6'
- sha256 '5f6fec35f0ab2fdaea766b5139cc9ea604782eeda6ac417b606e6d309c7b89b7'
+ version '3... | Update Balsamic Mockups 3.app to v3.1.7
|
diff --git a/spec/dummy_app/config/routes.rb b/spec/dummy_app/config/routes.rb
index abc1234..def5678 100644
--- a/spec/dummy_app/config/routes.rb
+++ b/spec/dummy_app/config/routes.rb
@@ -1,4 +1,4 @@ Dummy::Application.routes.draw do
devise_for :users
- root :to => "rails_admin#index"
+ root :to => "rails_admin::... | Fix dummy app default route to point to RailsAdmin::MainController
|
diff --git a/spec/kenny_g/game_setup_spec.rb b/spec/kenny_g/game_setup_spec.rb
index abc1234..def5678 100644
--- a/spec/kenny_g/game_setup_spec.rb
+++ b/spec/kenny_g/game_setup_spec.rb
@@ -0,0 +1,14 @@+require 'spec_helper'
+require 'kenny_g/game_setup'
+
+describe GameSetup do
+ let(:options) { { winning_score: 100,... | Add unit test for GameSetup service object
|
diff --git a/spec/support/matchers/markup.rb b/spec/support/matchers/markup.rb
index abc1234..def5678 100644
--- a/spec/support/matchers/markup.rb
+++ b/spec/support/matchers/markup.rb
@@ -1,6 +1,6 @@ RSpec::Matchers.define :contain_nil_element do |element|
match do |markup|
- markup =~ /<#{element} xsi:nil="true... | Update Custom RSpec Matcher for Refactored Order Class
|
diff --git a/spec/system/follow_view_spec.rb b/spec/system/follow_view_spec.rb
index abc1234..def5678 100644
--- a/spec/system/follow_view_spec.rb
+++ b/spec/system/follow_view_spec.rb
@@ -0,0 +1,28 @@+# frozen_string_literal: true
+
+require 'rails_helper'
+
+RSpec.describe 'visit the follow page' do
+ let(:user) { u... | Add basic system spec for event_groups/follow view.
|
diff --git a/test/relation_test.rb b/test/relation_test.rb
index abc1234..def5678 100644
--- a/test/relation_test.rb
+++ b/test/relation_test.rb
@@ -5,10 +5,8 @@ let(:relation) {
if ActiveRecord.gem_version >= Gem::Version.new("5.2")
ActiveRecord::Relation.new(klass, table: stub, predicate_builder: stub)
... | Remove outdated ActiveRecord VERSION branch
The lowest supported version of ActiveRecord is v5.0.0.
|
diff --git a/test/test_fizzbuzz.rb b/test/test_fizzbuzz.rb
index abc1234..def5678 100644
--- a/test/test_fizzbuzz.rb
+++ b/test/test_fizzbuzz.rb
@@ -31,8 +31,9 @@ assert_equal "4", FizzBuzz.say(4)
end
- should "say Buzz for 5" do
+ should "say Buzz for multiples of 5" do
assert_equal "Buzz", FizzBuzz.sa... | Test for 10. 7 to 9 are not bringing anything new to change the code
|
diff --git a/sprout-osx-apps/recipes/onyx.rb b/sprout-osx-apps/recipes/onyx.rb
index abc1234..def5678 100644
--- a/sprout-osx-apps/recipes/onyx.rb
+++ b/sprout-osx-apps/recipes/onyx.rb
@@ -1,14 +1,7 @@-osx_majorver = node['platform_version'].split('.')[0,2].join()
-
-source_url = "http://joel.barriere.pagesperso-orange... | Simplify Onyx recipe and update to 2.7.1
|
diff --git a/kitchen-pester.gemspec b/kitchen-pester.gemspec
index abc1234..def5678 100644
--- a/kitchen-pester.gemspec
+++ b/kitchen-pester.gemspec
@@ -19,7 +19,7 @@
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
- spec.add_development_dependency "minitest", "~> 5.3", "< 5.14... | Update minitest requirement from ~> 5.3, < 5.14 to ~> 5.3, < 5.15
Updates the requirements on [minitest](https://github.com/seattlerb/minitest) to permit the latest version.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
-... |
diff --git a/api/lib/spree/api/controller_setup.rb b/api/lib/spree/api/controller_setup.rb
index abc1234..def5678 100644
--- a/api/lib/spree/api/controller_setup.rb
+++ b/api/lib/spree/api/controller_setup.rb
@@ -21,6 +21,9 @@ include CanCan::ControllerAdditions
include Spree::Core::ControllerHelpe... | Revert "Remove append_view_path from api ControllerSetup"
This reverts commit 92aaf03a787fc37810c07a1f8605fc4f1bb73c29.
|
diff --git a/lib/strut.rb b/lib/strut.rb
index abc1234..def5678 100644
--- a/lib/strut.rb
+++ b/lib/strut.rb
@@ -41,7 +41,7 @@ rescue => e
puts e
ensure
- Process.kill("HUP", pid)
+ Process.kill("KILL", pid)
end
end
end
| Use KILL signal instead of HUP for Windows compatibility.
|
diff --git a/kepler_processor.gemspec b/kepler_processor.gemspec
index abc1234..def5678 100644
--- a/kepler_processor.gemspec
+++ b/kepler_processor.gemspec
@@ -22,5 +22,6 @@
s.required_ruby_version = '>= 1.9.2'
s.add_dependency "gnuplot"
+ s.add_dependency "prawn"
s.add_development_dependency "rspec"
end
| Add prawn as a dependency |
diff --git a/Casks/razer-synapse.rb b/Casks/razer-synapse.rb
index abc1234..def5678 100644
--- a/Casks/razer-synapse.rb
+++ b/Casks/razer-synapse.rb
@@ -1,6 +1,6 @@ cask :v1 => 'razer-synapse' do
- version '1.44'
- sha256 '63c739c78d4f537ec64b32126fc358fba4840194296e45bd7c22638af6529984'
+ version '1.45'
+ sha256 '... | Update Razer Synapse.app to v1.45
|
diff --git a/Casks/join-together.rb b/Casks/join-together.rb
index abc1234..def5678 100644
--- a/Casks/join-together.rb
+++ b/Casks/join-together.rb
@@ -1,11 +1,11 @@ cask :v1 => 'join-together' do
- version '7.4.1'
- sha256 '86f7e31e437f7fbdbfa58db2f6e566d1f37f7eed74535ebcaa3e96eba23a4f18'
+ version '7.5.0'
+ sha2... | Update Join Together to 7.5.0
|
diff --git a/test/integration/coronavirus_local_restrictions_test.rb b/test/integration/coronavirus_local_restrictions_test.rb
index abc1234..def5678 100644
--- a/test/integration/coronavirus_local_restrictions_test.rb
+++ b/test/integration/coronavirus_local_restrictions_test.rb
@@ -3,14 +3,15 @@ class CoronavirusLoca... | Check form label displays in feature test
- We will add to this test in the follow up PR
Co-authored-by: Alex Newton <a4a07234de0a205690872ef5d9931abdf491c9ba@digital.cabinet-office.gov.uk>
Co-authored-by: Jonathan Hallam <jonathan.hallam@digital.cabinet-office.gov.uk
|
diff --git a/spec/requests/geckoboard/statistics_spec.rb b/spec/requests/geckoboard/statistics_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/geckoboard/statistics_spec.rb
+++ b/spec/requests/geckoboard/statistics_spec.rb
@@ -0,0 +1,27 @@+# frozen_string_literal: true
+
+RSpec.shared_examples 'a disabler of ... | Add missing geckoboard request spec
|
diff --git a/app/controllers/snippet_controller.rb b/app/controllers/snippet_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/snippet_controller.rb
+++ b/app/controllers/snippet_controller.rb
@@ -23,5 +23,17 @@ set_snippet
end
+ private
+ def set_user
+
+ end
+
+ def set_snippet
+ @sn... | Create private method to set a snippet and snippet params. Set skeleton for current user
|
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/articles_controller.rb
+++ b/app/controllers/articles_controller.rb
@@ -52,7 +52,6 @@ end
def force_authentication
- return if authenticated?
- redirect_to login_... | Use one liner for authentication check
|
diff --git a/app/controllers/contacts_controller.rb b/app/controllers/contacts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/contacts_controller.rb
+++ b/app/controllers/contacts_controller.rb
@@ -4,11 +4,8 @@ def new
@message = Message.new
@subject = default_subject
- user = User.fin... | [Refactor] Improve new method in Contacts Controller
|
diff --git a/app/controllers/expenses_controller.rb b/app/controllers/expenses_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/expenses_controller.rb
+++ b/app/controllers/expenses_controller.rb
@@ -15,11 +15,11 @@ end
def create
- Expense.expense_sheet(params[:expense][:amount]).each do |e|... | Revert to old expense create method
|
diff --git a/app/models/google_user.rb b/app/models/google_user.rb
index abc1234..def5678 100644
--- a/app/models/google_user.rb
+++ b/app/models/google_user.rb
@@ -9,7 +9,7 @@ current_user,
google_user.user,
User.joins(:twitch).find_by(twitch_users: {email: auth.info.email}),
- User.new(name: ... | Fix Google accounts with periods breaking signin
|
diff --git a/app/helpers/congress_message_helper.rb b/app/helpers/congress_message_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/congress_message_helper.rb
+++ b/app/helpers/congress_message_helper.rb
@@ -9,19 +9,18 @@ end
end
- def congress_forms_email_values(campaign, location = {})
+ def congr... | Remove duplicate values from congress_forms_email_values
|
diff --git a/app/models/builders/section_builder.rb b/app/models/builders/section_builder.rb
index abc1234..def5678 100644
--- a/app/models/builders/section_builder.rb
+++ b/app/models/builders/section_builder.rb
@@ -3,11 +3,11 @@ class SectionBuilder
def call(manual, attrs)
section_factory = SectionFactory.new... | Rename document -> section in SectionBuilder
|
diff --git a/app/models/webmail/stored_mail_part.rb b/app/models/webmail/stored_mail_part.rb
index abc1234..def5678 100644
--- a/app/models/webmail/stored_mail_part.rb
+++ b/app/models/webmail/stored_mail_part.rb
@@ -16,7 +16,7 @@ end
def image?
- part.main_type.upcase == 'IMAGE'
+ part.main_type.casecmp('... | [rubocop] C: Use casecmp instead of upcase ==.
|
diff --git a/app/presenters/tweet/html_presenter.rb b/app/presenters/tweet/html_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/tweet/html_presenter.rb
+++ b/app/presenters/tweet/html_presenter.rb
@@ -13,7 +13,12 @@ buffer = ActiveSupport::SafeBuffer.new
buffer << tweet.tweet_text
+ # make... | Make links in tweets anchor tags
|
diff --git a/lib/ordinalize_full.rb b/lib/ordinalize_full.rb
index abc1234..def5678 100644
--- a/lib/ordinalize_full.rb
+++ b/lib/ordinalize_full.rb
@@ -4,18 +4,37 @@ I18n.load_path << Dir[File.join(__dir__, "ordinalize_full/locales/*.yml")]
def ordinalize(in_full: false)
- if in_full
- self.ordinalize_i... | Drop optional dependency on ActiveSupport
|
diff --git a/lib/slatan/buttocks.rb b/lib/slatan/buttocks.rb
index abc1234..def5678 100644
--- a/lib/slatan/buttocks.rb
+++ b/lib/slatan/buttocks.rb
@@ -5,45 +5,70 @@ ## Wrapper class of Logger
class Buttocks
@@use_log = Spirit.use_log
+
+ @@color = {
+ reset: 0,
+ fatal: 31, #red
+ error: ... | Add console output of content of logger
|
diff --git a/lib/teaas/overlayer.rb b/lib/teaas/overlayer.rb
index abc1234..def5678 100644
--- a/lib/teaas/overlayer.rb
+++ b/lib/teaas/overlayer.rb
@@ -4,7 +4,7 @@ if options[:whitelisted_animation]
overlay_animated_on_animated(original_img, overlay_img, options)
else
- overlay_animated_on... | Fix bug in static overlaying
|
diff --git a/lib/vagrant-vbguest.rb b/lib/vagrant-vbguest.rb
index abc1234..def5678 100644
--- a/lib/vagrant-vbguest.rb
+++ b/lib/vagrant-vbguest.rb
@@ -11,7 +11,7 @@ Vagrant.config_keys.register(:vbguest) { VagrantVbguest::Config }
[:start, :up, :reload].each do |level|
- Vagrant::Action[level].use VagrantVbguest:... | Use new interface for modifying actions.
|
diff --git a/examples/methods/list.rb b/examples/methods/list.rb
index abc1234..def5678 100644
--- a/examples/methods/list.rb
+++ b/examples/methods/list.rb
@@ -2,3 +2,7 @@
# Filter by amount and currency
methods = Mollie::Method.all(amount: { value: '100.00', currency: 'EUR' })
+
+# Retrieve all payment methods tha... | Add example to retrieve all available payment methods
|
diff --git a/lib/b2b_center_api/web_service/response.rb b/lib/b2b_center_api/web_service/response.rb
index abc1234..def5678 100644
--- a/lib/b2b_center_api/web_service/response.rb
+++ b/lib/b2b_center_api/web_service/response.rb
@@ -9,7 +9,7 @@ @body = response.body
@ret = @body.values[0][:return]
... | Fix bug error_code = '0'
|
diff --git a/lib/kuniri/language/ruby/end_block_ruby.rb b/lib/kuniri/language/ruby/end_block_ruby.rb
index abc1234..def5678 100644
--- a/lib/kuniri/language/ruby/end_block_ruby.rb
+++ b/lib/kuniri/language/ruby/end_block_ruby.rb
@@ -9,13 +9,15 @@ public
def has_end_of_block?(pLine)
- #TODO
+ ... | Fix previous state bug (part 3: simple end detection)
|
diff --git a/lib/rubocop/cop/mixin/surrounding_space.rb b/lib/rubocop/cop/mixin/surrounding_space.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/mixin/surrounding_space.rb
+++ b/lib/rubocop/cop/mixin/surrounding_space.rb
@@ -22,7 +22,7 @@
def index_of_last_token(node)
e = node.loc.expression.en... | Use reverse_each instead of reverse.find
Saves an Array allocation, and since the block already has a `return`
statement, `#each` works just as well as `#find`.
|
diff --git a/Library/Formula/jython.rb b/Library/Formula/jython.rb
index abc1234..def5678 100644
--- a/Library/Formula/jython.rb
+++ b/Library/Formula/jython.rb
@@ -1,7 +1,8 @@ require 'formula'
class Jython <Formula
- url 'http://downloads.sourceforge.net/project/jython/jython/2.5.1/jython_installer-2.5.1.jar'
+ ... | Remove duplication of Jar name in Jython.
|
diff --git a/chef-zero.gemspec b/chef-zero.gemspec
index abc1234..def5678 100644
--- a/chef-zero.gemspec
+++ b/chef-zero.gemspec
@@ -15,6 +15,7 @@ s.add_dependency 'mixlib-log', '~> 1.3'
s.add_dependency 'hashie', '~> 2.0'
s.add_dependency 'moneta', '< 0.7.0' # For chef, see CHEF-3721
+ s.add_... | Add json to list of dependencies
|
diff --git a/lib/frontkick/error.rb b/lib/frontkick/error.rb
index abc1234..def5678 100644
--- a/lib/frontkick/error.rb
+++ b/lib/frontkick/error.rb
@@ -1,4 +1,5 @@ require 'json'
+require 'timeout'
module Frontkick
# ref. http://docs.ruby-lang.org/ja/1.9.3/class/Timeout=3a=3aError.html
| Fix uninitialized constant Timeout (NameError)
|
diff --git a/lib/nexmo/signature.rb b/lib/nexmo/signature.rb
index abc1234..def5678 100644
--- a/lib/nexmo/signature.rb
+++ b/lib/nexmo/signature.rb
@@ -8,10 +8,20 @@
signature = params.delete('sig')
- ::JWT.secure_compare(signature, digest(params, secret))
+ secure_compare(signature, digest(params,... | Fix Nexmo::Signature for compatibility with ruby-jwt v2
Currently raising NoMethodError: undefined method `secure_compare' because
the secure_compare method has been moved into a JWT::SecurityUtils module.
|
diff --git a/lib/scorm_cloud/CLI.rb b/lib/scorm_cloud/CLI.rb
index abc1234..def5678 100644
--- a/lib/scorm_cloud/CLI.rb
+++ b/lib/scorm_cloud/CLI.rb
@@ -2,7 +2,7 @@ class CLI
def self.start
command = ARGV.shift
- secret = ENV['SCORM-CLOUD-APPID']
+ appid = ENV['SCORM-CLOUD-APPID']
secret = ENV['SCORM-CL... | Fix variable name for defaulting appid from environment
|
diff --git a/lib/tasks/cleardb.rake b/lib/tasks/cleardb.rake
index abc1234..def5678 100644
--- a/lib/tasks/cleardb.rake
+++ b/lib/tasks/cleardb.rake
@@ -0,0 +1,11 @@+namespace :db do
+ desc 'setup DATABASE_URL from CLEARDB_DATABASE_URL in .env'
+ task cleardb_env: :environment do
+ unless ENV['CLEARDB_DATABASE_URL... | Add a rake task to setup DATABASE_URL for ClearDB
There currently is no other way to inherit environment
variables from parent apps on heroku
|
diff --git a/lib/twat/subcommand.rb b/lib/twat/subcommand.rb
index abc1234..def5678 100644
--- a/lib/twat/subcommand.rb
+++ b/lib/twat/subcommand.rb
@@ -5,11 +5,17 @@ module Twat
class Subcommand
- # A proxy class to represend all of the possible actions that a
- # command may take
def self.run(argv)
+ ... | Document some of the insanity
|
diff --git a/lib/yomou/bookshelf.rb b/lib/yomou/bookshelf.rb
index abc1234..def5678 100644
--- a/lib/yomou/bookshelf.rb
+++ b/lib/yomou/bookshelf.rb
@@ -12,6 +12,18 @@ def ncode_exist?(ncode)
novels = Groonga["NarouNovels"]
novels.has_key?(ncode.upcase)
+ end
+
+ def ncodes_from_realpath
+ ... | Add method to fetch ncodes from realpath
|
diff --git a/license_finder.gemspec b/license_finder.gemspec
index abc1234..def5678 100644
--- a/license_finder.gemspec
+++ b/license_finder.gemspec
@@ -17,11 +17,12 @@ s.license = "MIT"
s.add_dependency "bundler"
- %w(rake cucumber rails pry xpath capybara).each do |gem|
+ s.add_development_dependency "ra... | Revert "Try to clean up dependencies"
This reverts commit 869f468c148dd4cb4d198eba8b56c2caa566fd4c.
Conflicts:
license_finder.gemspec
|
diff --git a/lib/droplet_kit/models/droplet.rb b/lib/droplet_kit/models/droplet.rb
index abc1234..def5678 100644
--- a/lib/droplet_kit/models/droplet.rb
+++ b/lib/droplet_kit/models/droplet.rb
@@ -15,19 +15,26 @@ attribute :private_networking
def public_ip
- network = networks.v4.find do |network|
- ... | Refactor convenience methods to use a network_for method.
|
diff --git a/src/bosh-dev/lib/bosh/dev/gnatsd_manager.rb b/src/bosh-dev/lib/bosh/dev/gnatsd_manager.rb
index abc1234..def5678 100644
--- a/src/bosh-dev/lib/bosh/dev/gnatsd_manager.rb
+++ b/src/bosh-dev/lib/bosh/dev/gnatsd_manager.rb
@@ -3,10 +3,10 @@
module Bosh::Dev
class GnatsdManager
- VERSION = '0.9.6-bosh.... | Update gnatsd version used in tests
Signed-off-by: Nader Ziada <61306b0d4f20cfca7d1222440ff271187de40866@pivotal.io>
|
diff --git a/spec/rspec_emoji_spec.rb b/spec/rspec_emoji_spec.rb
index abc1234..def5678 100644
--- a/spec/rspec_emoji_spec.rb
+++ b/spec/rspec_emoji_spec.rb
@@ -0,0 +1,19 @@+describe 'my amazing tests' do
+ # generate many hearts!
+ 50.times do |i|
+ it "must #{i}" do
+ 100.should == 100
+ end
+ end
+
+ ... | Add a spec file to allow seeing the magical emoji!
|
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index abc1234..def5678 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -1,3 +1,8 @@ require 'capybara/poltergeist'
+Capybara.register_driver :poltergeist do |app|
+ Capybara::Poltergeist::Driver.new(app, { phantomjs_options: ['-... | Fix issue with phantom JS loading assets
phantomjs defaults to using SSLv3, which has now been disabled
everywhere. The protocol used can be changed with an option:
--ssl-protocol= Sets the SSL protocol
(supported protocols: 'SSLv3' (default), 'SSLv2', 'TLSv1', 'any')
This PR makes poltergeist set this option when in... |
diff --git a/db/migrate/20140418184518_remove_user_email_requirement.rb b/db/migrate/20140418184518_remove_user_email_requirement.rb
index abc1234..def5678 100644
--- a/db/migrate/20140418184518_remove_user_email_requirement.rb
+++ b/db/migrate/20140418184518_remove_user_email_requirement.rb
@@ -0,0 +1,9 @@+class Remov... | Create migration to allow null emails
Omniauth authentication providers do not always return a user's email
in the info hash sent back through the callback. Providers like Twitter
keep that information private/hidden. User records need to be able to
be saved without an email if they're using an omniauth provider.
|
diff --git a/Casks/gog-galaxy.rb b/Casks/gog-galaxy.rb
index abc1234..def5678 100644
--- a/Casks/gog-galaxy.rb
+++ b/Casks/gog-galaxy.rb
@@ -1,8 +1,8 @@ cask :v1 => 'gog-galaxy' do
- version '1.0.2.939'
- sha256 '2c46d7aafe862bc0b2aa6b4bc95490683f8ec80f96feffb7c6f7918e2203e4e7'
+ version '1.0.5.11'
+ sha256 '1adba9... | Upgrade GOG.com Galaxy Client to v1.0.5.11
|
diff --git a/ext/stompede/extconf.rb b/ext/stompede/extconf.rb
index abc1234..def5678 100644
--- a/ext/stompede/extconf.rb
+++ b/ext/stompede/extconf.rb
@@ -2,7 +2,7 @@
require "mkmf"
-$CFLAGS << " -ggdb -O0 -Wextra -DDEBUG_H" # only for development
+$CFLAGS << " -O3"
should_build = true
should_build &&= have_h... | Allow C-optimizations for even more C parser speed
|
diff --git a/hashie.gemspec b/hashie.gemspec
index abc1234..def5678 100644
--- a/hashie.gemspec
+++ b/hashie.gemspec
@@ -17,6 +17,15 @@ gem.files += Dir['spec/**/*.rb']
gem.test_files = Dir['spec/**/*.rb']
+ if gem.respond_to?(:metadata)
+ gem.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/ha... | Adjust URL in gemspec and add metadata URLs
RubyGems.org has recently added the capability to have extra metadata
URLs shown on the gem page. These are handy for people who are new to a
gem or need to report an issue.
|
diff --git a/Artsy+Authentication.podspec b/Artsy+Authentication.podspec
index abc1234..def5678 100644
--- a/Artsy+Authentication.podspec
+++ b/Artsy+Authentication.podspec
@@ -11,9 +11,11 @@ s.source = { :git => "https://github.com/artsy/Artsy_Authentication.git"}
s.social_media_url = 'https://twitter.c... | Copy AFNetworking in the Podspec |
diff --git a/pivo.gemspec b/pivo.gemspec
index abc1234..def5678 100644
--- a/pivo.gemspec
+++ b/pivo.gemspec
@@ -21,6 +21,6 @@ spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", "~> 10.0"
- spec.add_dependency "tracker_api"
+ spec.add_dependency "tracker_api", '>=0.2.9'... | Update tracker_api for bug fix
|
diff --git a/Library/Formula/jed.rb b/Library/Formula/jed.rb
index abc1234..def5678 100644
--- a/Library/Formula/jed.rb
+++ b/Library/Formula/jed.rb
@@ -0,0 +1,17 @@+require 'formula'
+
+class Jed <Formula
+ url 'ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-19.tar.bz2'
+ homepage 'http://www.jedsoft.org/jed/'
+ ... | Add a formula for the Jed editor.
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/app/controllers/cfp/proposals_controller.rb b/app/controllers/cfp/proposals_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/cfp/proposals_controller.rb
+++ b/app/controllers/cfp/proposals_controller.rb
@@ -26,7 +26,7 @@ end
def update
- if @proposal.update_attributes(propo... | Make sure that only the people that are supposed
to edit and destroy proposals do so
|
diff --git a/app/controllers/load_profiles_controller.rb b/app/controllers/load_profiles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/load_profiles_controller.rb
+++ b/app/controllers/load_profiles_controller.rb
@@ -14,6 +14,7 @@
# GET /load_profiles
def show
+ respond_with(@load_profile)... | Fix rendering load profile as JSON
|
diff --git a/app/controllers/presentations_controller.rb b/app/controllers/presentations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/presentations_controller.rb
+++ b/app/controllers/presentations_controller.rb
@@ -2,7 +2,7 @@ skip_before_filter :auth_required, :only => [:show]
before_filter ... | Allow project presentation title updates
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
|
diff --git a/app/controllers/relationships_controller.rb b/app/controllers/relationships_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/relationships_controller.rb
+++ b/app/controllers/relationships_controller.rb
@@ -2,11 +2,13 @@ before_filter :authenticate_user!
#TODO: Use ajax?
- #TODO: A... | Add TODO in normal relationships controller
|
diff --git a/webpack-rails.gemspec b/webpack-rails.gemspec
index abc1234..def5678 100644
--- a/webpack-rails.gemspec
+++ b/webpack-rails.gemspec
@@ -18,4 +18,5 @@ s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">= 3.2.0"
+ s.required_ruby_version = '>= 2.0.0'
end
| Add minimum ruby version to spec
|
diff --git a/spec/helpers/posts_helper_spec.rb b/spec/helpers/posts_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/posts_helper_spec.rb
+++ b/spec/helpers/posts_helper_spec.rb
@@ -17,6 +17,13 @@ post_page_title(post)
end
end
+
+ context "with a reshare" do
+ it "returns 'Res... | Add spec for post_page_title for reshares
|
diff --git a/app/controllers/drive/application_controller.rb b/app/controllers/drive/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/drive/application_controller.rb
+++ b/app/controllers/drive/application_controller.rb
@@ -5,7 +5,9 @@ private
def ensure_admin
- render_json_... | Return correct error status for invalid access
|
diff --git a/Formula/mysql-connector-c.rb b/Formula/mysql-connector-c.rb
index abc1234..def5678 100644
--- a/Formula/mysql-connector-c.rb
+++ b/Formula/mysql-connector-c.rb
@@ -3,7 +3,7 @@ class MysqlConnectorC <Formula
@homepage='http://dev.mysql.com/downloads/connector/c/6.0.html'
@url='http://mysql.llarian.net... | Fix md5 on MySQL Connector (C)
|
diff --git a/app/controllers/admin/orders_controller.rb b/app/controllers/admin/orders_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/orders_controller.rb
+++ b/app/controllers/admin/orders_controller.rb
@@ -7,7 +7,7 @@ def create
@order_form = NewOrderForm.new(customer: customer,
... | Fix broken tasks based on ambiguous name
module Admin
CreateOrderService
end
In test ::CreateOrderService is used sometimes instead of ::Admin::CreateOrderService
(e.g. run all tests)
|
diff --git a/app/controllers/api/v1/dicts_controller.rb b/app/controllers/api/v1/dicts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/dicts_controller.rb
+++ b/app/controllers/api/v1/dicts_controller.rb
@@ -3,7 +3,7 @@ class DictsController < ApplicationController
def show
... | Add default value for dict[entry]
|
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
@@ -27,11 +27,13 @@
should "load the sort my tax campaign" do
get :sort_my_tax... | Test to ensure DVLA campaign page exists |
diff --git a/rectangle.rb b/rectangle.rb
index abc1234..def5678 100644
--- a/rectangle.rb
+++ b/rectangle.rb
@@ -0,0 +1,24 @@+class Rectangle
+ def initialize(length = 0,breath = 0)
+ @length = length
+ @breath = breath
+ end
+
+ def area()
+ return @length*@breath
+ end
+
+ def setD... | Create Rectangle class and two objects of it
|
diff --git a/features/pages/article.rb b/features/pages/article.rb
index abc1234..def5678 100644
--- a/features/pages/article.rb
+++ b/features/pages/article.rb
@@ -1,6 +1,6 @@ module Pages
class Article < SitePrism::Page
set_url '/articles{/id}'
- set_url_matcher /\/articles\/\w+/
+ set_url_matcher %r{/a... | Use %r for regexp matching more than 1 '/' char
|
diff --git a/MendeleySDK.podspec b/MendeleySDK.podspec
index abc1234..def5678 100644
--- a/MendeleySDK.podspec
+++ b/MendeleySDK.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = "MendeleySDK"
- s.version = "1.1"
+ s.version = "1.2"
s.summary = "Objective-C client for the Mendeley O... | Update podspec for upcoming version 1.2
|
diff --git a/MendeleySDK.podspec b/MendeleySDK.podspec
index abc1234..def5678 100644
--- a/MendeleySDK.podspec
+++ b/MendeleySDK.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = 'MendeleySDK'
s.version = '2.0'
- s.summary = 'Objective-C client for the Mendeley Open API.'
+ s.s... | Update pod description (drop deprecated “Open” API)
|
diff --git a/SwiftLoader.podspec b/SwiftLoader.podspec
index abc1234..def5678 100644
--- a/SwiftLoader.podspec
+++ b/SwiftLoader.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "SwiftLoader"
- s.version = "0.2.3
+ s.version = "0.2.3"
s.summary = "A simple and beautif... | Add closing quote to version number in podspec |
diff --git a/UIFontComplete.podspec b/UIFontComplete.podspec
index abc1234..def5678 100644
--- a/UIFontComplete.podspec
+++ b/UIFontComplete.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'UIFontComplete'
- s.version = '0.1.0'
+ s.version = '0.1.1'
s.summary = 'Make... | Raise version in podspec to 0.1.1
|
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/welcome_controller.rb
+++ b/app/controllers/welcome_controller.rb
@@ -5,7 +5,7 @@ # GET /
# GET /feed.atom
def index
- @postings = Posting.readable( current_user ... | Fix order on rss feed
|
diff --git a/core/spec/integration-real/interactors/global_features_spec.rb b/core/spec/integration-real/interactors/global_features_spec.rb
index abc1234..def5678 100644
--- a/core/spec/integration-real/interactors/global_features_spec.rb
+++ b/core/spec/integration-real/interactors/global_features_spec.rb
@@ -3,7 +3,... | Update spec to support authorization.
|
diff --git a/db/migrate/20150507204849_remove_broken_profile_suggestions.rb b/db/migrate/20150507204849_remove_broken_profile_suggestions.rb
index abc1234..def5678 100644
--- a/db/migrate/20150507204849_remove_broken_profile_suggestions.rb
+++ b/db/migrate/20150507204849_remove_broken_profile_suggestions.rb
@@ -0,0 +1,... | Add migration to remove broken profile suggestions
|
diff --git a/app/jobs/asset_location_update_job.rb b/app/jobs/asset_location_update_job.rb
index abc1234..def5678 100644
--- a/app/jobs/asset_location_update_job.rb
+++ b/app/jobs/asset_location_update_job.rb
@@ -0,0 +1,18 @@+#------------------------------------------------------------------------------
+#
+# AssetLoc... | Move asset location update job to core where it belongs
|
diff --git a/test/compatibility_test.rb b/test/compatibility_test.rb
index abc1234..def5678 100644
--- a/test/compatibility_test.rb
+++ b/test/compatibility_test.rb
@@ -0,0 +1,47 @@+require File.expand_path('../test_helper', __FILE__)
+
+# Test ensures that values stored by previous versions of the gem will
+# roundtri... | Create CompatibilityTest to ensure that new versions of gem will decrypt data stored by old versions of gem
Test ensures that values stored by previous versions of the gem will
roundtrip and decrypt correctly in this and future versions. This is important
for data stored in databases and allows consumers of the gem to... |
diff --git a/lib/heroku_backup_orchestrator/email_error_reporter.rb b/lib/heroku_backup_orchestrator/email_error_reporter.rb
index abc1234..def5678 100644
--- a/lib/heroku_backup_orchestrator/email_error_reporter.rb
+++ b/lib/heroku_backup_orchestrator/email_error_reporter.rb
@@ -11,7 +11,7 @@ }
Pony.optio... | Use symbol instead of String for smtp config value
|
diff --git a/app/controllers/repository_issues_controller.rb b/app/controllers/repository_issues_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/repository_issues_controller.rb
+++ b/app/controllers/repository_issues_controller.rb
@@ -9,15 +9,12 @@ page = params[:page].to_i
page = 1 if page <... | Remove test code & fix pagination
|
diff --git a/vendor/plugins/noosfero_caching/init.rb b/vendor/plugins/noosfero_caching/init.rb
index abc1234..def5678 100644
--- a/vendor/plugins/noosfero_caching/init.rb
+++ b/vendor/plugins/noosfero_caching/init.rb
@@ -2,6 +2,8 @@
def self.included(c)
c.send(:after_filter, :noosfero_set_cache)
+ c.send(:b... | Revert "Remove Rails 2.1 handling code from noosfero HTTP caching code"
This reverts commit 0fcf86d44896774ec82af0ea41ac6c61a95a3485.
|
diff --git a/app/models/spree/store_credit_type.rb b/app/models/spree/store_credit_type.rb
index abc1234..def5678 100644
--- a/app/models/spree/store_credit_type.rb
+++ b/app/models/spree/store_credit_type.rb
@@ -1,6 +1,6 @@ module Spree
class StoreCreditType < ActiveRecord::Base
DEFAULT_TYPE_NAME = 'Promotiona... | Make store credits a has many association on types
|
diff --git a/app/models/spree/variant_decorator.rb b/app/models/spree/variant_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/variant_decorator.rb
+++ b/app/models/spree/variant_decorator.rb
@@ -12,7 +12,12 @@
if Spree::Config[:track_inventory_levels] && !self.on_demand
available = Sp... | Update variants with count on-hand, to keep direct queries happy |
diff --git a/lib/scss_helpers.rb b/lib/scss_helpers.rb
index abc1234..def5678 100644
--- a/lib/scss_helpers.rb
+++ b/lib/scss_helpers.rb
@@ -1,7 +1,19 @@ require "scss_helpers/version"
module ScssHelpers
- # Your code goes here...
+
+ def self.assets_path
+ Pathname.new(File.expand_path("../assets", __FILE__))
... | Add path methods for extending a sprockets environment manually
|
diff --git a/gears/carto_gears_api/lib/carto_gears_api/events/base_event.rb b/gears/carto_gears_api/lib/carto_gears_api/events/base_event.rb
index abc1234..def5678 100644
--- a/gears/carto_gears_api/lib/carto_gears_api/events/base_event.rb
+++ b/gears/carto_gears_api/lib/carto_gears_api/events/base_event.rb
@@ -1,5 +1,... | Mark base event as abstract (doc)
|
diff --git a/test/imminence_api_test.rb b/test/imminence_api_test.rb
index abc1234..def5678 100644
--- a/test/imminence_api_test.rb
+++ b/test/imminence_api_test.rb
@@ -0,0 +1,68 @@+require "test_helper"
+require "gds_api/imminence"
+
+class ImminenceApiTest < MiniTest::Unit::TestCase
+
+ ROOT = "https://imminence.tes... | Test existing Imminence API functionality.
|
diff --git a/test/piwik_plugins_test.rb b/test/piwik_plugins_test.rb
index abc1234..def5678 100644
--- a/test/piwik_plugins_test.rb
+++ b/test/piwik_plugins_test.rb
@@ -1,27 +1,25 @@ require File.expand_path('../helper', __FILE__)
class PiwikPluginsTest < Service::TestCase
- def setup
- @stubs = Faraday::Adapter... | Fix failing test for PiwikPlugins hook
|
diff --git a/lib/vagrant/util.rb b/lib/vagrant/util.rb
index abc1234..def5678 100644
--- a/lib/vagrant/util.rb
+++ b/lib/vagrant/util.rb
@@ -15,7 +15,7 @@ =====================================================================
Vagrant experienced an error!
-#{Translator.error_string(key, data).chomp}
+#{Translator.t(k... | Call properly `t` method in error_and_exit
|
diff --git a/twist.rb b/twist.rb
index abc1234..def5678 100644
--- a/twist.rb
+++ b/twist.rb
@@ -0,0 +1,33 @@+require 'rubygems'
+require 'bundler'
+require 'em-twitter'
+require 'json'
+require 'hipchat'
+
+Bundler.require
+
+track_keywords = ENV['TWITTER_TRACK_KEYWORDS']
+
+options = {
+ path: '/1/statuses/filter.... | Add twitter streaming api and hipchat message api script
|
diff --git a/spec/extensions/customer_extension_spec.rb b/spec/extensions/customer_extension_spec.rb
index abc1234..def5678 100644
--- a/spec/extensions/customer_extension_spec.rb
+++ b/spec/extensions/customer_extension_spec.rb
@@ -6,6 +6,7 @@ describe "#days_since_activity" do
it "returns a count of the da... | Add stub for Date in addition to DateTime (some of us used Date instead of DateTime for measuring days_since_last_activity) |
diff --git a/config/initializers/disable_xml_and_json.rb b/config/initializers/disable_xml_and_json.rb
index abc1234..def5678 100644
--- a/config/initializers/disable_xml_and_json.rb
+++ b/config/initializers/disable_xml_and_json.rb
@@ -0,0 +1,3 @@+# Per https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-s... | Disable xml and json parsers per security advisory
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.