diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/brain_love.gemspec b/brain_love.gemspec
index abc1234..def5678 100644
--- a/brain_love.gemspec
+++ b/brain_love.gemspec
@@ -16,5 +16,6 @@ gem.version = BrainLove::VERSION
gem.add_development_dependency "rspec"
+ gem.add_development_dependency "rake"
gem.add_runtime_dependency "parslet"
en... | Add rake as dev dependency
|
diff --git a/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb b/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb
index abc1234..def5678 100644
--- a/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb
+++ b/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb
@@ -11,7 +11,7 @@ action_link_close.apply(this);
};
|) if using_tiny_mce?
-... | Fix tiny_mce bridge for controllers which don't use tiny_mce
|
diff --git a/lib/g5_authenticatable_api/rails_helpers.rb b/lib/g5_authenticatable_api/rails_helpers.rb
index abc1234..def5678 100644
--- a/lib/g5_authenticatable_api/rails_helpers.rb
+++ b/lib/g5_authenticatable_api/rails_helpers.rb
@@ -1,7 +1,14 @@ module G5AuthenticatableApi
module RailsHelpers
def authentica... | Check warden user in rails before_filter
|
diff --git a/lib/infinity_test/strategy/auto_discover.rb b/lib/infinity_test/strategy/auto_discover.rb
index abc1234..def5678 100644
--- a/lib/infinity_test/strategy/auto_discover.rb
+++ b/lib/infinity_test/strategy/auto_discover.rb
@@ -26,8 +26,10 @@ strategy_to_run.strategy_name
else
mes... | Add a new line in the strategy exception message |
diff --git a/integration-tests/spec/spec_helper.rb b/integration-tests/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/integration-tests/spec/spec_helper.rb
+++ b/integration-tests/spec/spec_helper.rb
@@ -10,6 +10,31 @@ config.before(:suite) do
Java::IoWunderboss::WunderBoss.register_language('ruby', 'io... | Check for phantomjs before running the entire test suite
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -1,7 +1,5 @@ set :bundle_command, "/home/deploy/.rbenv/versions/2.3.1/bin/bundle exec"
set :output, { error: '/var/www/shared/cron.front.error.log', standard: '/var/www/shared/cron.fr... | Revert "add env var to whenever config"
This reverts commit 21d61b61ced9755338694fde0860238ddcbf171a.
|
diff --git a/test/features/can_login_test.rb b/test/features/can_login_test.rb
index abc1234..def5678 100644
--- a/test/features/can_login_test.rb
+++ b/test/features/can_login_test.rb
@@ -24,6 +24,7 @@ choose 'project_report_process_status_unmet'
# TODO: Need to make this test work.
# Disabling for now s... | Fix overly long line in test
Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
|
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -4,7 +4,7 @@ def gravatar_for(user, options = { size: 50 })
gravatar_id = Digest::MD5::hexdigest(user.email.downcase)
size = options[:si... | Change to loading gravatars via https to avoid browser security warnings
|
diff --git a/lib/active_record/composed_of_enum.rb b/lib/active_record/composed_of_enum.rb
index abc1234..def5678 100644
--- a/lib/active_record/composed_of_enum.rb
+++ b/lib/active_record/composed_of_enum.rb
@@ -16,11 +16,7 @@ base = options[:base]
enum_column = :"#{part}_cd"
- base.class_attribute... | Remove duplicate :instance_reader, change to :instance_accessor.
|
diff --git a/lib/http_eventstore/api/connection.rb b/lib/http_eventstore/api/connection.rb
index abc1234..def5678 100644
--- a/lib/http_eventstore/api/connection.rb
+++ b/lib/http_eventstore/api/connection.rb
@@ -15,6 +15,8 @@ content_type: APP_JSON
}
) do |builder|
+ buil... | Use the Faraday retry plugin to ameliorate possible ES performance problems
|
diff --git a/StartAppsKitExtensions.podspec b/StartAppsKitExtensions.podspec
index abc1234..def5678 100644
--- a/StartAppsKitExtensions.podspec
+++ b/StartAppsKitExtensions.podspec
@@ -26,7 +26,7 @@ s.osx.deployment_target = '10.10'
s.source_files = 'Sources'
-s.frameworks = 'Foundation', 'UIKit'
+s.frame... | Fix de requirement de UIKit
|
diff --git a/akismet.gemspec b/akismet.gemspec
index abc1234..def5678 100644
--- a/akismet.gemspec
+++ b/akismet.gemspec
@@ -10,7 +10,7 @@ s.platform = Gem::Platform::RUBY
s.authors = [ 'Jonah Burke' ]
s.email = [ 'jonah@bigthink.com' ]
- s.homepage = ''
+ s.homepage = 'http://github.com/bi... | Add home page to gemspec |
diff --git a/vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb b/vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb
index abc1234..def5678 100644
--- a/vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb
+++ b/ve... | Fix for Mysql Specific code
|
diff --git a/nivo-rails.gemspec b/nivo-rails.gemspec
index abc1234..def5678 100644
--- a/nivo-rails.gemspec
+++ b/nivo-rails.gemspec
@@ -8,8 +8,8 @@ gem.version = Nivo::Rails::VERSION
gem.authors = ["Robin Dupret"]
gem.email = ["robin.dupret@gmail.com"]
- gem.description = %q{TODO: Write ... | Add a summary and description for the gem
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -21,7 +21,7 @@ end
def message_for_new_pr(pr)
- "PR: #{pr['head']['repo']['name']}/#{pr['number']} - <a href='#{pr['html_url']}' >#{pr['title']}</a> (#{pr['user']['login']})"
+ "#{pr['head']['repo']['name']}/#{pr['number']} - <... | Use yellow for merged notifications
|
diff --git a/lib/pith/plugins/publication/input.rb b/lib/pith/plugins/publication/input.rb
index abc1234..def5678 100644
--- a/lib/pith/plugins/publication/input.rb
+++ b/lib/pith/plugins/publication/input.rb
@@ -1,39 +1,50 @@ require "pith/input"
require "time"
+
+module Pith
+ module Plugins
+ module Publication... | Refactor again, to ease testing.
|
diff --git a/jsoneur/service.rb b/jsoneur/service.rb
index abc1234..def5678 100644
--- a/jsoneur/service.rb
+++ b/jsoneur/service.rb
@@ -27,10 +27,12 @@ end
def set_faraday_defaults(faraday)
- faraday.adapter Faraday.default_adapter
faraday.request :json
+
faraday.response :mashify
... | Change order of faraday settings
|
diff --git a/spec/08xhr_spec.rb b/spec/08xhr_spec.rb
index abc1234..def5678 100644
--- a/spec/08xhr_spec.rb
+++ b/spec/08xhr_spec.rb
@@ -0,0 +1,99 @@+#!/usr/bin/env rspec
+
+require 'v8'
+
+require 'noms/command/xmlhttprequest'
+
+describe NOMS::Command::XMLHttpRequest do
+
+ before(:all) do
+ # I'm going to ... | Add failing tests for spec
|
diff --git a/app/helpers/admin/document_collection_helper.rb b/app/helpers/admin/document_collection_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin/document_collection_helper.rb
+++ b/app/helpers/admin/document_collection_helper.rb
@@ -1,55 +1,12 @@ module Admin::DocumentCollectionHelper
- class Docum... | Fix document collection menu on speed tagging page
Document collections are no longer organised by organisation, so it no
longer makes sense to group them in that way.
|
diff --git a/app/views/api/v1/wallpapers/index.json.jbuilder b/app/views/api/v1/wallpapers/index.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/api/v1/wallpapers/index.json.jbuilder
+++ b/app/views/api/v1/wallpapers/index.json.jbuilder
@@ -1,4 +1,9 @@ json.partial! 'api/v1/shared/paging', collection: @wall... | Include facets in wallpaper index api
|
diff --git a/ruby/vampires.rb b/ruby/vampires.rb
index abc1234..def5678 100644
--- a/ruby/vampires.rb
+++ b/ruby/vampires.rb
@@ -0,0 +1,14 @@+puts "what's your name?"
+name = gets.chomp
+
+puts "How old are you?"
+age = gets.chomp
+
+puts "What year were you born?"
+birthyear = gets.chomp
+
+puts "Our company cafeteria... | Set up initial questions for vampire detection survey
|
diff --git a/ruby_hue.gemspec b/ruby_hue.gemspec
index abc1234..def5678 100644
--- a/ruby_hue.gemspec
+++ b/ruby_hue.gemspec
@@ -20,5 +20,5 @@ gem.add_development_dependency "rspec", "~> 2.13.0"
gem.add_development_dependency "awesome_print", "~> 1.1.0"
- gem.add_runtime_dependency "httparty"
+ gem.add_runtime... | Add specific version for httparty to gemspec.
|
diff --git a/spec/dummy/app/models/user.rb b/spec/dummy/app/models/user.rb
index abc1234..def5678 100644
--- a/spec/dummy/app/models/user.rb
+++ b/spec/dummy/app/models/user.rb
@@ -8,6 +8,9 @@ attr_accessible :email, :password, :password_confirmation, :remember_me
# attr_accessible :title, :body
- # TODO: tempo... | Add missing attributes on User
|
diff --git a/PIAPIEnvironmentManager.podspec b/PIAPIEnvironmentManager.podspec
index abc1234..def5678 100644
--- a/PIAPIEnvironmentManager.podspec
+++ b/PIAPIEnvironmentManager.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "PIAPIEnvironmentManager"
- s.version = "0.4.0"
+ s.version ... | Update podspec version to 0.4.1
|
diff --git a/Casks/papers.rb b/Casks/papers.rb
index abc1234..def5678 100644
--- a/Casks/papers.rb
+++ b/Casks/papers.rb
@@ -1,7 +1,7 @@ class Papers < Cask
- url 'http://www.papersapp.com/papers/download/mac'
+ url 'http://www.papersapp.com/papers2/download'
homepage 'http://www.papersapp.com/papers/'
- version ... | Fix link for Papers 2
|
diff --git a/Casks/gmail-notifr.rb b/Casks/gmail-notifr.rb
index abc1234..def5678 100644
--- a/Casks/gmail-notifr.rb
+++ b/Casks/gmail-notifr.rb
@@ -1,6 +1,7 @@ class GmailNotifr < Cask
- url 'https://github.com/downloads/ashchan/gmail-notifr/GmailNotifr-0.6.4.zip'
+ url 'https://s3.amazonaws.com/assets.ashchan.com/g... | Update GmailNotifr to v. 0.8.0 and add link
|
diff --git a/Casks/webstorm-eap.rb b/Casks/webstorm-eap.rb
index abc1234..def5678 100644
--- a/Casks/webstorm-eap.rb
+++ b/Casks/webstorm-eap.rb
@@ -1,6 +1,6 @@ cask :v1 => 'webstorm-eap' do
- version '141.224'
- sha256 '262841715a4db53a4c2f1db268c16905875e933ab8d45e730894f2a888b80a88'
+ version '141.1108'
+ sha256... | Upgrade WebStorm EAP to 141.1108
Signed-off-by: Koichi Shiraishi <41a18128582fec5418c0a92661f7d4b13d21d912@gmail.com>
|
diff --git a/pokeratlas_page.rb b/pokeratlas_page.rb
index abc1234..def5678 100644
--- a/pokeratlas_page.rb
+++ b/pokeratlas_page.rb
@@ -1,11 +1,11 @@ # The base page object for pages on PokerAtlas.
-#require_relative 'subscribe_modal'
+require_relative 'subscribe_modal'
require 'addressable'
class PokerAtlasPa... | Enable support for automatically closing subscribe dialog
|
diff --git a/db/migrate/20140811213904_modify_spree_store_credit_payment_method_to_be_back_end_only.rb b/db/migrate/20140811213904_modify_spree_store_credit_payment_method_to_be_back_end_only.rb
index abc1234..def5678 100644
--- a/db/migrate/20140811213904_modify_spree_store_credit_payment_method_to_be_back_end_only.rb... | Make store credit payment method back end only.
If the store credit payment method is visible on the front end it will
cause an error due to missing templates.
|
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 '29.0.1795.35'
- sha256 '0b6ee1cad2b335bd95c1c77c24e13fabad80419f430a91e10ea62a4574064cac'
+ version '29.0.1795.41'
+ sha256 ... | Upgrade Opera Beta.app to v29.0.1795.41
|
diff --git a/lib/data_tables.rb b/lib/data_tables.rb
index abc1234..def5678 100644
--- a/lib/data_tables.rb
+++ b/lib/data_tables.rb
@@ -1,6 +1,6 @@
module DataTables
def self.root
- @root ||= Pathname.new(File.dirname(File.expand_path(File.dirname(__FILE__), '/../')))
+ @root ||= Pathname.new(File.expand_pa... | Clean up root path expansion utility
|
diff --git a/bisleri.gemspec b/bisleri.gemspec
index abc1234..def5678 100644
--- a/bisleri.gemspec
+++ b/bisleri.gemspec
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
spec.name = "bisleri"
spec.version = Bisleri::VERSION
- spec.authors = ["Emil Soman, Kashyap Kondamudi"]
+ spec.authors ... | Fix author list in gemspec
|
diff --git a/lib/fog/dnsimple/models/dns/record.rb b/lib/fog/dnsimple/models/dns/record.rb
index abc1234..def5678 100644
--- a/lib/fog/dnsimple/models/dns/record.rb
+++ b/lib/fog/dnsimple/models/dns/record.rb
@@ -25,7 +25,7 @@ end
def destroy
- service.delete_record(zone.domain, identity)
+ ... | Use the id for deletion also
|
diff --git a/Casks/burp-suite.rb b/Casks/burp-suite.rb
index abc1234..def5678 100644
--- a/Casks/burp-suite.rb
+++ b/Casks/burp-suite.rb
@@ -6,5 +6,5 @@ name 'Burp Suite'
homepage 'https://portswigger.net/burp/'
-
+ installer manual: 'Burp Suite Free Edition Installer.app'
end
| Add artifact stanza for the manual installer
|
diff --git a/Casks/firefox-ux.rb b/Casks/firefox-ux.rb
index abc1234..def5678 100644
--- a/Casks/firefox-ux.rb
+++ b/Casks/firefox-ux.rb
@@ -0,0 +1,7 @@+class FirefoxUx < Cask
+ url 'https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-ux/firefox-29.0a1.en-US.mac.dmg'
+ homepage 'http://people.mozilla.org/~... | Add cask for Firefox UX channel build
Not the same as Nightly as far as I understand.
|
diff --git a/Casks/moneydance.rb b/Casks/moneydance.rb
index abc1234..def5678 100644
--- a/Casks/moneydance.rb
+++ b/Casks/moneydance.rb
@@ -0,0 +1,11 @@+cask :v1 => 'moneydance' do
+ version '2015 build 1145'
+ sha256 'e740d4214b43c16dc30c48da854576a2b4e6359ce4ea8bb40ae726539ebcd68e'
+
+ url 'http://infinitekind.co... | Add Moneydance.app v2015 build 1145
|
diff --git a/Casks/tower-beta.rb b/Casks/tower-beta.rb
index abc1234..def5678 100644
--- a/Casks/tower-beta.rb
+++ b/Casks/tower-beta.rb
@@ -1,9 +1,9 @@ cask :v1 => 'tower-beta' do
- version '2.2.2-281'
- sha256 '83fdbb887c394ed0f76bf91c66972d28bc6d36f144c21dfd582ccb09d5e19864'
+ version '2.2.3-285'
+ sha256 'c9d79... | Update Tower beta to version 2.2.3
This commit updates the version, sha256 and url stanzas.
|
diff --git a/lib/resque/automatic_geocoder_jobs.rb b/lib/resque/automatic_geocoder_jobs.rb
index abc1234..def5678 100644
--- a/lib/resque/automatic_geocoder_jobs.rb
+++ b/lib/resque/automatic_geocoder_jobs.rb
@@ -0,0 +1,10 @@+# encoding: utf-8
+module Resque
+ class AutomaticGeocoderJobs
+ @queue = :automatic_geoco... | Add automatic geocoder resque job
|
diff --git a/spec/models/invoice_spec.rb b/spec/models/invoice_spec.rb
index abc1234..def5678 100644
--- a/spec/models/invoice_spec.rb
+++ b/spec/models/invoice_spec.rb
@@ -16,8 +16,6 @@ end
context "when amount is nil" do
- before(:all) { subject.amount = nil }
-
its(:to_s) { should == "" }
end
| Remove the setter of amount cause is now obsolete.
|
diff --git a/lib/caliph/testing/record-commands.rb b/lib/caliph/testing/record-commands.rb
index abc1234..def5678 100644
--- a/lib/caliph/testing/record-commands.rb
+++ b/lib/caliph/testing/record-commands.rb
@@ -15,7 +15,7 @@ attr_accessor :command_recording_path
def command_recording_path
- @com... | Remove ENV reference to Mattock
|
diff --git a/imagemagick/recipes/rmagick.rb b/imagemagick/recipes/rmagick.rb
index abc1234..def5678 100644
--- a/imagemagick/recipes/rmagick.rb
+++ b/imagemagick/recipes/rmagick.rb
@@ -22,7 +22,13 @@ when "redhat", "centos", "fedora"
package "ImageMagick-devel"
when "debian", "ubuntu"
- package "libmagickwand-dev"... | Use libmagick9-dev for the dev libraries on Ubuntu 8.04 and 8.10
The package changed to libmagickwand-dev after 8.10.
|
diff --git a/app/workers/image_recreator.rb b/app/workers/image_recreator.rb
index abc1234..def5678 100644
--- a/app/workers/image_recreator.rb
+++ b/app/workers/image_recreator.rb
@@ -2,7 +2,9 @@ include Sidekiq::Worker
def perform(image_id, version = nil)
- record = Image.find(image_id)
- record.image.re... | Use connection pool in worker
|
diff --git a/lib/waldo/scope.rb b/lib/waldo/scope.rb
index abc1234..def5678 100644
--- a/lib/waldo/scope.rb
+++ b/lib/waldo/scope.rb
@@ -13,7 +13,7 @@
if @block.respond_to?(:call)
model.instance_exec(value, &@block)
- elsif model.respond_to?(@block)
+ elsif @block && model.respond_to?(@block)... | Fix comparison and call order of BoolScope
|
diff --git a/test/factories/attachments.rb b/test/factories/attachments.rb
index abc1234..def5678 100644
--- a/test/factories/attachments.rb
+++ b/test/factories/attachments.rb
@@ -1,11 +1,13 @@ FactoryGirl.define do
+ sequence(:attachment_ordering)
+
factory :file_attachment do
ignore do
file { File.op... | Use a global sequence for attachment ordering
This should fix an intermittent test failure when HTML and File
attachments are built in the same test without being given an explicit
ordering.
|
diff --git a/Hydrant.podspec b/Hydrant.podspec
index abc1234..def5678 100644
--- a/Hydrant.podspec
+++ b/Hydrant.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Hydrant"
- s.version = "2.0.0-alpha.2"
+ s.version = "2.0.0"
s.summary = "A simple da... | Set version to 2.0.0 in podspec
|
diff --git a/spec/job_spec.rb b/spec/job_spec.rb
index abc1234..def5678 100644
--- a/spec/job_spec.rb
+++ b/spec/job_spec.rb
@@ -21,7 +21,7 @@ context "db_time_now" do
it "should return time in current time zone if set" do
Time.zone = 'Eastern Time (US & Canada)'
- Delayed::Job.db_time_now.zone.shoul... | Fix test for daylight saving time |
diff --git a/spec/pod_spec.rb b/spec/pod_spec.rb
index abc1234..def5678 100644
--- a/spec/pod_spec.rb
+++ b/spec/pod_spec.rb
@@ -0,0 +1,11 @@+require 'spec_helper'
+
+describe Cocoapods::Search::Pod do
+ context 'proxy settings' do
+ before do
+ @pod = Cocoapods::Search::Pod.new
+ end
+ subject { @pod }
... | Add test initilize of Pod
カバレッジ100%にするために
Podの初期値としてhas_githubにfalseが設定されているテストを追加
|
diff --git a/Library/Homebrew/utils/puts_columns.rb b/Library/Homebrew/utils/puts_columns.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/utils/puts_columns.rb
+++ b/Library/Homebrew/utils/puts_columns.rb
@@ -4,21 +4,19 @@ def puts_columns(*objects, gap_size: 2)
objects.flatten!
- if objects.empty? ... | Use `proc` to fallback to `puts`.
|
diff --git a/bin/check_google_doc_export.rb b/bin/check_google_doc_export.rb
index abc1234..def5678 100644
--- a/bin/check_google_doc_export.rb
+++ b/bin/check_google_doc_export.rb
@@ -0,0 +1,29 @@+#!/usr/bin/env ruby
+
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+#
+# Script to che... | Add an script to check the google doc export format
Adds an script that downloads an exported version of the reference document and
checks that we can parse it correctly.
This way we can easily know if google has made any change to the export format.
|
diff --git a/lib/emeril/metadata_chopper.rb b/lib/emeril/metadata_chopper.rb
index abc1234..def5678 100644
--- a/lib/emeril/metadata_chopper.rb
+++ b/lib/emeril/metadata_chopper.rb
@@ -31,7 +31,7 @@ end
end
- def method_missing(meth, *args, &block)
+ def method_missing(meth, *args, &_block)
se... | Refactor rename method param to signal it is unused (style).
|
diff --git a/lib/patronus_fati/bit_field.rb b/lib/patronus_fati/bit_field.rb
index abc1234..def5678 100644
--- a/lib/patronus_fati/bit_field.rb
+++ b/lib/patronus_fati/bit_field.rb
@@ -29,7 +29,7 @@ end
def set_bit(bit)
- raise ArgumentError unless valid_bit?(bit)
+ raise ArgumentError, "Bit #{bit}... | Make argument error more specific
|
diff --git a/lib/resque/failure/multiple.rb b/lib/resque/failure/multiple.rb
index abc1234..def5678 100644
--- a/lib/resque/failure/multiple.rb
+++ b/lib/resque/failure/multiple.rb
@@ -54,10 +54,6 @@ def self.remove(index)
classes.each { |klass| klass.remove(index) }
end
-
- def self.each(off... | Remove duplicate each definition after a merge |
diff --git a/lib/retryable_record/import.rb b/lib/retryable_record/import.rb
index abc1234..def5678 100644
--- a/lib/retryable_record/import.rb
+++ b/lib/retryable_record/import.rb
@@ -1,5 +1,6 @@ require 'retryable_record'
+# Extend Ruby's Kernel module
module Kernel
# Retryable operations on an ActiveRecord +re... | Make Inch not display purple anymore :heart:
|
diff --git a/lib/tasks/article_keyword.rake b/lib/tasks/article_keyword.rake
index abc1234..def5678 100644
--- a/lib/tasks/article_keyword.rake
+++ b/lib/tasks/article_keyword.rake
@@ -0,0 +1,32 @@+require 'csv'
+
+namespace :article_keyword do
+ desc "Export Articles and their Keywords into a CSV for easy editing."
+... | Add job to export all articles which don't have keywords linked
|
diff --git a/lib/trogdir/versions/v1/api.rb b/lib/trogdir/versions/v1/api.rb
index abc1234..def5678 100644
--- a/lib/trogdir/versions/v1/api.rb
+++ b/lib/trogdir/versions/v1/api.rb
@@ -13,7 +13,7 @@ before { authenticate! }
rescue_from Mongoid::Errors::DocumentNotFound do |e|
- error! "404 Not Fou... | Fix error on Mongoid DocumentNotFound
|
diff --git a/lib/content_for_once/helpers.rb b/lib/content_for_once/helpers.rb
index abc1234..def5678 100644
--- a/lib/content_for_once/helpers.rb
+++ b/lib/content_for_once/helpers.rb
@@ -4,7 +4,7 @@ @contents ||= Hash.new {|h, k| h[k] = '' }
name = name.to_sym
- @contents[name].concat(capture(&blo... | Fix concat to nil problem
|
diff --git a/lib/fact_check_email_handler.rb b/lib/fact_check_email_handler.rb
index abc1234..def5678 100644
--- a/lib/fact_check_email_handler.rb
+++ b/lib/fact_check_email_handler.rb
@@ -11,13 +11,9 @@ def initialize
self.errors = []
end
-
- def is_relevant_message?(message)
- message.to.any? { |to| t... | Fix bug in picking up publication ID from email addresses
|
diff --git a/lib/github_cli/apis/watching.rb b/lib/github_cli/apis/watching.rb
index abc1234..def5678 100644
--- a/lib/github_cli/apis/watching.rb
+++ b/lib/github_cli/apis/watching.rb
@@ -7,31 +7,31 @@
def list(user, repo, params, format)
output format do
- github_api.repos.watching.list user... | Update to use new activity scope.
|
diff --git a/lib/rrj/rabbit/listener/base.rb b/lib/rrj/rabbit/listener/base.rb
index abc1234..def5678 100644
--- a/lib/rrj/rabbit/listener/base.rb
+++ b/lib/rrj/rabbit/listener/base.rb
@@ -15,7 +15,7 @@ @rabbit = rabbit.channel
subscribe_queue
rescue
- raise Errors::Rabbit::Listen... | Fix namespace raise exception rabbit listener
|
diff --git a/lib/vines/stanza/dialback.rb b/lib/vines/stanza/dialback.rb
index abc1234..def5678 100644
--- a/lib/vines/stanza/dialback.rb
+++ b/lib/vines/stanza/dialback.rb
@@ -11,19 +11,16 @@ def process
id, from, to = %w[id from to].map {|a| @node[a] }
key = @node.text
- # Maybe select ... | Fix invalid xml error msg
|
diff --git a/TVMLKitchen.podspec b/TVMLKitchen.podspec
index abc1234..def5678 100644
--- a/TVMLKitchen.podspec
+++ b/TVMLKitchen.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "TVMLKitchen"
- s.version = "0.1.0"
+ s.version = "0.3.0"
s.summary = "Swifty TVML templat... | Update podspec to latest tag
|
diff --git a/kernel/core/autoload.rb b/kernel/core/autoload.rb
index abc1234..def5678 100644
--- a/kernel/core/autoload.rb
+++ b/kernel/core/autoload.rb
@@ -11,7 +11,6 @@ end
def call
- Autoload.remove(path)
require(path)
scope.const_get(name)
end
| Remove redundant call to Autoload.remove
|
diff --git a/lib/krypt/ossl/pkcs5.rb b/lib/krypt/ossl/pkcs5.rb
index abc1234..def5678 100644
--- a/lib/krypt/ossl/pkcs5.rb
+++ b/lib/krypt/ossl/pkcs5.rb
@@ -13,5 +13,5 @@ def pbkdf2_hmac(pass, salt, iter, keylen, digest)
Krypt::PBKDF2.new(digest).generate(pass, salt, iter, keylen)
end
- end
+ end unle... | Define PKCS5 module only if it doesn't exist yet
|
diff --git a/lib/rails_xss_helper.rb b/lib/rails_xss_helper.rb
index abc1234..def5678 100644
--- a/lib/rails_xss_helper.rb
+++ b/lib/rails_xss_helper.rb
@@ -38,12 +38,5 @@ end
alias_method_chain :content_tag_string, :escaping
end
-
- module TextHelper
- def simple_format_with_escaping(text... | Revert "Add simple_format protection" shouldn't be protected
This reverts commit 96cb0059f79d62e3660a926f89d1d0dcc04d1647.
|
diff --git a/lib/scanny/rake_task.rb b/lib/scanny/rake_task.rb
index abc1234..def5678 100644
--- a/lib/scanny/rake_task.rb
+++ b/lib/scanny/rake_task.rb
@@ -17,6 +17,8 @@ attr_accessor :path
# raise exception on error
attr_accessor :fail_on_error
+ # ruby mode
+ attr_accessor :ruby_mode
def i... | Add implementation for RakeTask and ruby_mode
|
diff --git a/lib/tasks/comments.rake b/lib/tasks/comments.rake
index abc1234..def5678 100644
--- a/lib/tasks/comments.rake
+++ b/lib/tasks/comments.rake
@@ -1,10 +1,9 @@ namespace :comments do
desc "Move posts to polymophic subject"
- task move_posts_to_subject: :environment do
+ task copy_posts_to_subject: :envir... | Update rake to not clear post from comment
|
diff --git a/Casks/google-music-manager.rb b/Casks/google-music-manager.rb
index abc1234..def5678 100644
--- a/Casks/google-music-manager.rb
+++ b/Casks/google-music-manager.rb
@@ -0,0 +1,7 @@+class GoogleMusicManager < Cask
+ url 'https://dl.google.com/dl/androidjumper/mac/718015/musicmanager.dmg'
+ homepage 'https:... | Add cask for Google Music Manager.
Upload music from your computer to Google Play with the Music Manager desktop
application and listen to the music you love anywhere you have Internet access.
|
diff --git a/examples/simple.rb b/examples/simple.rb
index abc1234..def5678 100644
--- a/examples/simple.rb
+++ b/examples/simple.rb
@@ -0,0 +1,20 @@+#! /usr/bin/env ruby
+
+require 'cloud_shaped'
+require 'yaml'
+
+template = CloudShaped.template do
+
+ self.description = "Make a bucket"
+
+ self.metadata["foo"] = {... | Add an example showing description and metadata.
|
diff --git a/palletjack.gemspec b/palletjack.gemspec
index abc1234..def5678 100644
--- a/palletjack.gemspec
+++ b/palletjack.gemspec
@@ -4,7 +4,7 @@ s.summary = 'Lightweight Configuration Management Database'
s.description = File.read(File.join(File.dirname(__FILE__), 'README.md'))
s.homepage = 'https://gith... | Add the dump_pallet script and bump version to 0.0.2
|
diff --git a/tet.gemspec b/tet.gemspec
index abc1234..def5678 100644
--- a/tet.gemspec
+++ b/tet.gemspec
@@ -1,12 +1,16 @@ Gem::Specification.new do |s|
- s.name = 'tet'
- s.version = '1.0.0'
- s.date = '2016-04-06'
+ s.name = 'tet'
+ s.version = '1.0.0'
+ s.date = '2016-04-06'
+
s.s... | Add a required_ruby_version after testing the gem
|
diff --git a/lib/benchtool/curl-cmd-builder.rb b/lib/benchtool/curl-cmd-builder.rb
index abc1234..def5678 100644
--- a/lib/benchtool/curl-cmd-builder.rb
+++ b/lib/benchtool/curl-cmd-builder.rb
@@ -5,9 +5,11 @@ @params = params
@options = options
# Sample curl status cmd
- # curl -IL --cookies '... | Add insecure flag so we can use self-signed certs
|
diff --git a/lib/geocoder/lookups/nominatim.rb b/lib/geocoder/lookups/nominatim.rb
index abc1234..def5678 100644
--- a/lib/geocoder/lookups/nominatim.rb
+++ b/lib/geocoder/lookups/nominatim.rb
@@ -10,16 +10,7 @@
def results(query, reverse = false)
return [] unless doc = fetch_data(query, reverse)
- if... | Simplify code and don't warn.
|
diff --git a/lib/gir_ffi-gtk/message_dialog.rb b/lib/gir_ffi-gtk/message_dialog.rb
index abc1234..def5678 100644
--- a/lib/gir_ffi-gtk/message_dialog.rb
+++ b/lib/gir_ffi-gtk/message_dialog.rb
@@ -15,12 +15,14 @@ class MessageDialog
alias old_initialize initialize
+ # rubocop:disable Style/FormatStringToken... | Disable FormatStringToken for gtk format string
|
diff --git a/lib/mini_form/nested_validator.rb b/lib/mini_form/nested_validator.rb
index abc1234..def5678 100644
--- a/lib/mini_form/nested_validator.rb
+++ b/lib/mini_form/nested_validator.rb
@@ -5,17 +5,17 @@ def validate_each(record, _, relation)
return if relation.valid?
- if relation.errors.respo... | Fix copy/paste error that put the merge!() call within a loop
|
diff --git a/cucover.gemspec b/cucover.gemspec
index abc1234..def5678 100644
--- a/cucover.gemspec
+++ b/cucover.gemspec
@@ -9,12 +9,12 @@ s.date = '2009-03-18'
s.description = s.summary = 'Cucover is a thin wrapper for Cucumber which makes it lazy.'
s.email = 'matt@mattwynne.net'
- s.files = Dir['lib/**/*.rb'... | Use specific files in gemspec to please github
|
diff --git a/src/testup.rb b/src/testup.rb
index abc1234..def5678 100644
--- a/src/testup.rb
+++ b/src/testup.rb
@@ -1,6 +1,6 @@ #-------------------------------------------------------------------------------
#
-# Copyright 2013-2016 Trimble Inc.
+# Copyright 2013-2018 Trimble Inc.
# License: The MIT License (MIT)
... | Correct lingering Trimble Navigation reference.
|
diff --git a/syllabus.gemspec b/syllabus.gemspec
index abc1234..def5678 100644
--- a/syllabus.gemspec
+++ b/syllabus.gemspec
@@ -8,8 +8,8 @@ spec.version = Syllabus::VERSION
spec.authors = ['Kentaro Kuribayashi']
spec.email = ['kentarok@gmail.com']
- spec.description = %q{TODO: Write a ge... | Add summary to .spec file
|
diff --git a/core/features/support/paths.rb b/core/features/support/paths.rb
index abc1234..def5678 100644
--- a/core/features/support/paths.rb
+++ b/core/features/support/paths.rb
@@ -1,4 +1,12 @@ module NavigationHelpers
+ class RoutesProxy
+ include Rails.application.routes.url_helpers
+ end
+
+ def spree_core... | [core] Add a RoutesProxy so that we can do things like spree_core.root_path in Cucumber features
|
diff --git a/test/features/add_transaction_test.rb b/test/features/add_transaction_test.rb
index abc1234..def5678 100644
--- a/test/features/add_transaction_test.rb
+++ b/test/features/add_transaction_test.rb
@@ -0,0 +1,25 @@+require "test_helper"
+
+class AddTransactionTest < Capybara::Rails::TestCase
+ test "add a n... | Add feature test for adding a transaction
|
diff --git a/app/models/progress_update.rb b/app/models/progress_update.rb
index abc1234..def5678 100644
--- a/app/models/progress_update.rb
+++ b/app/models/progress_update.rb
@@ -2,7 +2,7 @@ class ProgressUpdate < ApplicationRecord
belongs_to :project
belongs_to :user
- has_many :comments
+ has_many :comments... | Delete comments when user update is deleted
|
diff --git a/db/migrate/20120824165019_add_permission_for_send_mail_to_members_to_admin_and_moderator_roles.rb b/db/migrate/20120824165019_add_permission_for_send_mail_to_members_to_admin_and_moderator_roles.rb
index abc1234..def5678 100644
--- a/db/migrate/20120824165019_add_permission_for_send_mail_to_members_to_admi... | Add the new permission to the 'admin' and 'moderator' roles in all environments
(ActionItem2388)
|
diff --git a/app/models/spina/blog/post.rb b/app/models/spina/blog/post.rb
index abc1234..def5678 100644
--- a/app/models/spina/blog/post.rb
+++ b/app/models/spina/blog/post.rb
@@ -18,7 +18,7 @@ before_save :set_published_at
# Create a 301 redirect if the slug changed
- after_save :rewrite_rule, if:... | Use top level namespace to ensure reloading works properly
|
diff --git a/erudite.gemspec b/erudite.gemspec
index abc1234..def5678 100644
--- a/erudite.gemspec
+++ b/erudite.gemspec
@@ -1,10 +1,8 @@ # coding: utf-8
-
-require_relative 'lib/erudite/version'
Gem::Specification.new do |gem|
gem.name = 'erudite'
- gem.version = Erudite::VERSION.to_s
+ gem.version = '0.2.0'
... | Revert "Dynamically load the version from Erudite::VERSION"
This reverts commit e77c6a962259d4181cbb90cfc19e40cb818ab02d.
|
diff --git a/spec/features/submission_print_rate_spec.rb b/spec/features/submission_print_rate_spec.rb
index abc1234..def5678 100644
--- a/spec/features/submission_print_rate_spec.rb
+++ b/spec/features/submission_print_rate_spec.rb
@@ -17,8 +17,8 @@ login_as(user, scope: :user)
visit submission_path(submi... | Fix a spec for now - should be rewritten!
|
diff --git a/rack-github_webhooks.gemspec b/rack-github_webhooks.gemspec
index abc1234..def5678 100644
--- a/rack-github_webhooks.gemspec
+++ b/rack-github_webhooks.gemspec
@@ -18,8 +18,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
- spec.add_developm... | Allow using current versions of bundler, rake |
diff --git a/rspec-sitemap-matchers.gemspec b/rspec-sitemap-matchers.gemspec
index abc1234..def5678 100644
--- a/rspec-sitemap-matchers.gemspec
+++ b/rspec-sitemap-matchers.gemspec
@@ -14,4 +14,6 @@ gem.name = "rspec-sitemap-matchers"
gem.require_paths = ["lib"]
gem.version = RSpec::Sitemap::Matc... | Add rake as a development dependency.
|
diff --git a/lib/datr/queue.rb b/lib/datr/queue.rb
index abc1234..def5678 100644
--- a/lib/datr/queue.rb
+++ b/lib/datr/queue.rb
@@ -6,11 +6,11 @@ @elements = []
end
- def put(elem)
+ def insert elem
@elements << elem
end
- def pop
+ def remove
@elements.delete_at(0)
e... | Change a bit the Datr::Queue's method signatures
|
diff --git a/OSX/saldl.rb b/OSX/saldl.rb
index abc1234..def5678 100644
--- a/OSX/saldl.rb
+++ b/OSX/saldl.rb
@@ -1,9 +1,9 @@ class Saldl < Formula
desc "CLI downloader optimized for speed and early preview."
homepage "https://saldl.github.io"
- url "https://github.com/saldl/saldl/archive/v30.tar.gz"
- version "... | OSX: Update Homebrew formula for v31
Signed-off-by: Mohammad Alsaleh <6c225a8dcf0f3ea8ab31a8a88dea0c937d544fc7@gmail.com>
|
diff --git a/spec/guest_spec.rb b/spec/guest_spec.rb
index abc1234..def5678 100644
--- a/spec/guest_spec.rb
+++ b/spec/guest_spec.rb
@@ -0,0 +1,65 @@+require_relative '../lib/guest.rb'
+
+describe Guest do
+ let (:guest) { Guest.new({guest_money: 200, guest_bet: 0}) }
+
+ it "is created with a session array" do
+ ... | Write a spec suite for the guest class.
|
diff --git a/spec/proxy_spec.rb b/spec/proxy_spec.rb
index abc1234..def5678 100644
--- a/spec/proxy_spec.rb
+++ b/spec/proxy_spec.rb
@@ -21,9 +21,22 @@ @proxy.edits -= 1
@proxy.edits.should == 1
end
- it "should update the total when the buckets are updated" do
- @proxy.should == 3
- @proxy.comments ... | Add a couple more key specs.
|
diff --git a/pipedrive.gemspec b/pipedrive.gemspec
index abc1234..def5678 100644
--- a/pipedrive.gemspec
+++ b/pipedrive.gemspec
@@ -25,5 +25,6 @@ gem.add_development_dependency('bundler')
gem.add_development_dependency('rake')
gem.add_development_dependency('rspec', '>= 3.0')
+ gem.add_development_dependency(... | Add rubocop to dev dependency |
diff --git a/actionpack/lib/action_controller/metal/exceptions.rb b/actionpack/lib/action_controller/metal/exceptions.rb
index abc1234..def5678 100644
--- a/actionpack/lib/action_controller/metal/exceptions.rb
+++ b/actionpack/lib/action_controller/metal/exceptions.rb
@@ -30,9 +30,6 @@ class MissingFile < ActionContr... | Remove AC::RenderError class second declaration
|
diff --git a/jschematic.gemspec b/jschematic.gemspec
index abc1234..def5678 100644
--- a/jschematic.gemspec
+++ b/jschematic.gemspec
@@ -3,10 +3,19 @@ s.version = '0.0.1'
s.authors = ["Mike Sassak"]
s.description = "JSON Schema v3 Validator"
+ s.summary = "jschematic #{s.version}"
+ s.email ... | Include the right stuff in the gemspec
|
diff --git a/VMDE/extconf.rb b/VMDE/extconf.rb
index abc1234..def5678 100644
--- a/VMDE/extconf.rb
+++ b/VMDE/extconf.rb
@@ -15,13 +15,13 @@
if RbConfig::CONFIG['host_os'].index("linux")
puts "Linux system detected"
- $CFLAGS += " -Wall -O4 -O -pthread -malign-double "
+ $CXXFLAGS += " -Wall -O4 -O -pthread -malign... | Change SOIL to dynamic lib
Signed-off-by: Cheng Cao <f82fd421a071e898477b279d460f8204bae370d8@163.com>
|
diff --git a/lib/extensions/cached_attrs.rb b/lib/extensions/cached_attrs.rb
index abc1234..def5678 100644
--- a/lib/extensions/cached_attrs.rb
+++ b/lib/extensions/cached_attrs.rb
@@ -15,7 +15,7 @@ cached_attr attr_name do
result = []
- block.call result
+ instance_exec result, &block
r... | Fix context lost issue in cached_array_attr
|
diff --git a/lib/cms/attribute/association.rb b/lib/cms/attribute/association.rb
index abc1234..def5678 100644
--- a/lib/cms/attribute/association.rb
+++ b/lib/cms/attribute/association.rb
@@ -5,7 +5,7 @@
def options_for_select(entry)
self.klass.all.reject{ |e| e == entry }.collect do |e|
- [e... | Add email and login to options_for_select method for assotiations
|
diff --git a/lib/armok/token.rb b/lib/armok/token.rb
index abc1234..def5678 100644
--- a/lib/armok/token.rb
+++ b/lib/armok/token.rb
@@ -5,7 +5,7 @@ class Token
attr_accessor :pre, :key, :values, :post
- def initialize(s = '', pre = '', key = '', values = [], post = '')
+ def initialize(s = '', pre = '',... | Make parse methods return clones for method-chaining
|
diff --git a/lib/heaven/provider/ansible.rb b/lib/heaven/provider/ansible.rb
index abc1234..def5678 100644
--- a/lib/heaven/provider/ansible.rb
+++ b/lib/heaven/provider/ansible.rb
@@ -35,7 +35,7 @@
deploy_string = ["ANSIBLE_HOST_KEY_CHECKING=false",
"ansible-playbook", "-i", ans... | Fix bugs in extra vars.
|
diff --git a/spec/cwm_spec.rb b/spec/cwm_spec.rb
index abc1234..def5678 100644
--- a/spec/cwm_spec.rb
+++ b/spec/cwm_spec.rb
@@ -21,6 +21,9 @@ if t.name =~ /1018/
pending("matcher does not stop")
next
+ elsif t.rdf_type == "CwmProofTest"
+ pending("proofs not supp... | Mark CwmProofTests as pending, until proofs are supported (if ever).
|
diff --git a/lib/galera_cluster_migrations.rb b/lib/galera_cluster_migrations.rb
index abc1234..def5678 100644
--- a/lib/galera_cluster_migrations.rb
+++ b/lib/galera_cluster_migrations.rb
@@ -7,7 +7,7 @@ require 'galera_cluster_migrations/railtie' if defined?(Rails)
included do
- def set_db_to_rsu
+ def e... | Rename set_db_to_rsu to enable_rsu and set_db_to_toi to enable_toi.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.