diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/motion-sqlite3/database.rb b/lib/motion-sqlite3/database.rb
index abc1234..def5678 100644
--- a/lib/motion-sqlite3/database.rb
+++ b/lib/motion-sqlite3/database.rb
@@ -8,6 +8,20 @@ end
def execute(sql, params = nil, &block)
+ raise ArgumentError if sql.nil?
+
+ prepare(sql, params)... | Remove logging from execute and define new execute_debug method.
|
diff --git a/lib/signable/concerns/query.rb b/lib/signable/concerns/query.rb
index abc1234..def5678 100644
--- a/lib/signable/concerns/query.rb
+++ b/lib/signable/concerns/query.rb
@@ -34,7 +34,7 @@ end
module ClassMethods
- def all(offset = 0, limit = 10)
+ def all(offset = 0, limit = 30)
... | Change the default limit of signable templates
|
diff --git a/lib/slg-meta/method_bondage.rb b/lib/slg-meta/method_bondage.rb
index abc1234..def5678 100644
--- a/lib/slg-meta/method_bondage.rb
+++ b/lib/slg-meta/method_bondage.rb
@@ -2,28 +2,28 @@ module Meta
module MethodBondage
def self.trace!(traced_method)
- target = traced_method.target
- ... | Refactor MethodBondage (but it's still failing) |
diff --git a/lib/tasks/service/account.rake b/lib/tasks/service/account.rake
index abc1234..def5678 100644
--- a/lib/tasks/service/account.rake
+++ b/lib/tasks/service/account.rake
@@ -32,8 +32,9 @@ Service::Account.each do |item|
puts item.name
item.reload_quota_used.save
- puts "=> { base: #{it... | [rubocop] C: Use \ instead of + or << to concatenate those strings.
|
diff --git a/spec/combined_call_spec.rb b/spec/combined_call_spec.rb
index abc1234..def5678 100644
--- a/spec/combined_call_spec.rb
+++ b/spec/combined_call_spec.rb
@@ -13,14 +13,14 @@ html: '<html><body>foo bar</body></html>',
url: 'http://www.google.com'
}.each do |type, value|
- [:json].each d... | Reduce char length so Rubocop settles down
|
diff --git a/masque.gemspec b/masque.gemspec
index abc1234..def5678 100644
--- a/masque.gemspec
+++ b/masque.gemspec
@@ -17,9 +17,9 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency "headless"
- gem.add_dependency "capybara"
- gem.add_dependency "... | Update gems, using Capybara 2.1.0
|
diff --git a/spec/load_profiles_spec.rb b/spec/load_profiles_spec.rb
index abc1234..def5678 100644
--- a/spec/load_profiles_spec.rb
+++ b/spec/load_profiles_spec.rb
@@ -11,7 +11,7 @@ expect(file.read).to_not match(/\r[^\n]/), message
end
- it "#{ file.basename } should something" do
+ ... | Make the load profile spec title more descriptive
|
diff --git a/spec/sisimai-rhost_spec.rb b/spec/sisimai-rhost_spec.rb
index abc1234..def5678 100644
--- a/spec/sisimai-rhost_spec.rb
+++ b/spec/sisimai-rhost_spec.rb
@@ -0,0 +1,20 @@+require 'spec_helper'
+require 'sisimai/rhost'
+
+describe 'Sisimai::Rhost' do
+ describe 'Sisimai::Rhost.list() method' do
+ v = Sisi... | Test code for list() and match() method in Sisimai::Rhost
|
diff --git a/app/controllers/auth.rb b/app/controllers/auth.rb
index abc1234..def5678 100644
--- a/app/controllers/auth.rb
+++ b/app/controllers/auth.rb
@@ -11,7 +11,8 @@ user = User.find_by(name: params[:name])
if user && user.authenticate(params[:password])
session[:user_id] =user.id
- redirect "/user/#{... | Fix user page and show useful dashboard page
|
diff --git a/lib/llt/form_builder/api.rb b/lib/llt/form_builder/api.rb
index abc1234..def5678 100644
--- a/lib/llt/form_builder/api.rb
+++ b/lib/llt/form_builder/api.rb
@@ -6,6 +6,12 @@
class Api < Sinatra::Base
register Sinatra::RespondWith
+
+ before do
+ headers 'Access-Control-Allow-Origin' => '*',
+ ... | Add header controls to API
|
diff --git a/spec/factories/outgoing_messages.rb b/spec/factories/outgoing_messages.rb
index abc1234..def5678 100644
--- a/spec/factories/outgoing_messages.rb
+++ b/spec/factories/outgoing_messages.rb
@@ -11,7 +11,15 @@ body 'Some information please'
what_doing 'normal_sort'
end
+ end
+ ... | Add a generic followup factory
|
diff --git a/spec/models/stock_estimator_spec.rb b/spec/models/stock_estimator_spec.rb
index abc1234..def5678 100644
--- a/spec/models/stock_estimator_spec.rb
+++ b/spec/models/stock_estimator_spec.rb
@@ -0,0 +1,19 @@+require 'spec_helper'
+
+describe Spree::Stock::Estimator do
+ context "complete order" do
+ it "u... | Add spec for getting rates when order completed
|
diff --git a/lib/resque/core_ext/hash.rb b/lib/resque/core_ext/hash.rb
index abc1234..def5678 100644
--- a/lib/resque/core_ext/hash.rb
+++ b/lib/resque/core_ext/hash.rb
@@ -23,7 +23,7 @@ end
unless method_defined?(:slice)
- # Return a subset of self
+ # Returns a subset of self
# Defined IFF not alrea... | Fix typo 'Return' -> 'Returns'
|
diff --git a/spec/uploaders/cover_image_uploader_spec.rb b/spec/uploaders/cover_image_uploader_spec.rb
index abc1234..def5678 100644
--- a/spec/uploaders/cover_image_uploader_spec.rb
+++ b/spec/uploaders/cover_image_uploader_spec.rb
@@ -16,7 +16,7 @@
context 'test env' do
it 'uploads the cover image to the cor... | Change asset url to match carrierwave asset host
|
diff --git a/spec/views/home/learn_more.html.erb_spec.rb b/spec/views/home/learn_more.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/home/learn_more.html.erb_spec.rb
+++ b/spec/views/home/learn_more.html.erb_spec.rb
@@ -0,0 +1,40 @@+require 'spec_helper'
+
+describe "home/learn_more.html.erb" do
+ inc... | Add View Spec for Learn More View
Add a view spec to account for a user being logged in/logged out for the
Learn More view.
|
diff --git a/lib/tasks/bulk_imports.rake b/lib/tasks/bulk_imports.rake
index abc1234..def5678 100644
--- a/lib/tasks/bulk_imports.rake
+++ b/lib/tasks/bulk_imports.rake
@@ -9,7 +9,7 @@ imported_count = 0
total_count = 0
- CSV.foreach(args.file_path, headers: true, skip_blanks: true).with_index do |row, in... | Make sure values are stripped
There's an issue at the moment where the data in the CSV file comes with
spaces which messes up the import.
|
diff --git a/logflow.rb b/logflow.rb
index abc1234..def5678 100644
--- a/logflow.rb
+++ b/logflow.rb
@@ -8,8 +8,8 @@ require './logbook'
Dir[File.join(File.dirname(__FILE__), 'schema', '*.rb')].each { |file| require file }
-get '/?:logbook_file?' do |logbook_file|
- logbook_file ||= 'data/logbook.csv'
+get '/' do
+... | Revert "Allow passing the logbook file path/name as an URL param."
Decided to undo this. It's a security risk if future people come across this and unknowingly run this as publicly accessible (would allow reading of arbitrary files on the file system via URL param). I don't think it provides enough additional convenie... |
diff --git a/app/controllers/salaries_controller.rb b/app/controllers/salaries_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/salaries_controller.rb
+++ b/app/controllers/salaries_controller.rb
@@ -33,7 +33,9 @@
def create
@salary = Salary.new(params[:salary])
- @salary.build_booking
+ ... | Handle salary validation problem gracefully.
|
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -13,7 +13,7 @@ format.html { redirect_to @user }
format.json { render json: :user, stat... | Fix redirect for invalid logins
|
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -4,9 +4,9 @@
def create
user = User.find_by(username: params[:session][:username])
- if user... | Fix if statement so a succesful login takes the user to their own user profile
|
diff --git a/lib/bun/bots/base.rb b/lib/bun/bots/base.rb
index abc1234..def5678 100644
--- a/lib/bun/bots/base.rb
+++ b/lib/bun/bots/base.rb
@@ -12,12 +12,14 @@ ::File.expand_path(::File.join(::File.dirname(called_from), ::File.basename(called_from,'.*')))
end
- def self.task_names
- Di... | Allow load_tasks to specify a directory
|
diff --git a/app/services/git_repository_service.rb b/app/services/git_repository_service.rb
index abc1234..def5678 100644
--- a/app/services/git_repository_service.rb
+++ b/app/services/git_repository_service.rb
@@ -0,0 +1,15 @@+class GitRepositoryService
+ def setup(git_url, git_username, git_password, verify_ssl)
+... | Add GitRepositoryService in preparation for extracting logic
https://bugzilla.redhat.com/show_bug.cgi?id=1393982
(transferred from ManageIQ/manageiq@436969b205dc85db451136c2d19c302714c2820d)
|
diff --git a/app/services/shop/order_cycles_list.rb b/app/services/shop/order_cycles_list.rb
index abc1234..def5678 100644
--- a/app/services/shop/order_cycles_list.rb
+++ b/app/services/shop/order_cycles_list.rb
@@ -10,7 +10,7 @@
def call
order_cycles = OrderCycle.with_distributor(@distributor).active
- ... | Fix relation/array handling in OrderCycles List
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -11,4 +11,3 @@ end
end
-
| Add question_id to Answer creation in seed file
|
diff --git a/watir/watir/elements.rb b/watir/watir/elements.rb
index abc1234..def5678 100644
--- a/watir/watir/elements.rb
+++ b/watir/watir/elements.rb
@@ -2,7 +2,6 @@ class Ul < NonControlElement
TAG = 'UL'
end
-
module Container
def ul(how, what)
return Ul.new(self, how, what)
@@ -1... | Add support for h4, h5 and h6.
|
diff --git a/app/controllers/rscratch/exceptions_controller.rb b/app/controllers/rscratch/exceptions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/rscratch/exceptions_controller.rb
+++ b/app/controllers/rscratch/exceptions_controller.rb
@@ -3,6 +3,9 @@ class ExceptionsController < ApplicationContr... | Resolve and toggle action added
|
diff --git a/lib/authem/base_user.rb b/lib/authem/base_user.rb
index abc1234..def5678 100644
--- a/lib/authem/base_user.rb
+++ b/lib/authem/base_user.rb
@@ -1,5 +1,3 @@-require 'bcrypt'
-
module Authem::BaseUser
extend ::ActiveSupport::Concern
| Remove bcrypt require from BaseUser
|
diff --git a/app/helpers/pattern_library/application_helper.rb b/app/helpers/pattern_library/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/pattern_library/application_helper.rb
+++ b/app/helpers/pattern_library/application_helper.rb
@@ -1,4 +1,12 @@ module PatternLibrary
module ApplicationHel... | Break engine isolation a bit.
Allow application route helpers to be accessed if they dont match
anything in the engine first. Needed to embed pages in app layout
|
diff --git a/lib/axiom/types/type.rb b/lib/axiom/types/type.rb
index abc1234..def5678 100644
--- a/lib/axiom/types/type.rb
+++ b/lib/axiom/types/type.rb
@@ -38,8 +38,6 @@ self
end
- singleton_class.class_eval { protected :constraint }
-
# TODO: move this into a module. separate the constrai... | Remove protected visibility from constraint
|
diff --git a/app/services/interventions/costs/input_service.rb b/app/services/interventions/costs/input_service.rb
index abc1234..def5678 100644
--- a/app/services/interventions/costs/input_service.rb
+++ b/app/services/interventions/costs/input_service.rb
@@ -12,12 +12,13 @@
options = { quantity: quantity, u... | Disable real cost by purchases
|
diff --git a/wikidata-client.gemspec b/wikidata-client.gemspec
index abc1234..def5678 100644
--- a/wikidata-client.gemspec
+++ b/wikidata-client.gemspec
@@ -17,8 +17,8 @@
s.add_dependency("faraday", "~> 0.9")
s.add_dependency("faraday_middleware", "~> 0.9")
- s.add_dependency("excon", "~> 0.40")
s.add_depend... | Make excon only a development dependency
|
diff --git a/lib/facter/node_join.rb b/lib/facter/node_join.rb
index abc1234..def5678 100644
--- a/lib/facter/node_join.rb
+++ b/lib/facter/node_join.rb
@@ -13,9 +13,8 @@ # See the License for the specific language governing permissions and
# limitations under the License.
#
-# Author: Martin Loschwitz <m.losch... | Apply a patch by Martin Zdrahal to no longer use the output variable
|
diff --git a/fieldhand.gemspec b/fieldhand.gemspec
index abc1234..def5678 100644
--- a/fieldhand.gemspec
+++ b/fieldhand.gemspec
@@ -6,7 +6,7 @@ A library to harvest metadata from OAI-PMH repositories.
EOF
s.license = 'MIT'
- s.authors = ['Paul Mucur', 'Maciej Gajewski', 'Giovanni Derks']
+ s.authors = ['Pa... | Add @cwrw as an author
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -2,18 +2,18 @@ require 'active_record/fixtures'
related_identifier_types = [
- [ "DOI" ]
- [ "URL" ]
- [" arXiv "]
- [" PMID "]
- [" ARK "]
- [" Handle "]
- [" ISBN "]
- [" ISTC"]
- [" LISSN "]
- [" ... | Fix array style representation of Seed data
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -5,3 +5,29 @@ #
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Character.create(name: 'Luke', movie: movies.first)
+
+ url_params = Hash.new
+ url_params[:page_url] = "w... | Add url to seed file for easy rails console testing
|
diff --git a/db/seeds.rb b/db/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -6,4 +6,4 @@ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first)
-Request.create! service_request_id: "1234", status: "open", service_n... | Change db/seed.rb to have input date per South Bend raw data
|
diff --git a/lib/command_objects/report_bot_status.rb b/lib/command_objects/report_bot_status.rb
index abc1234..def5678 100644
--- a/lib/command_objects/report_bot_status.rb
+++ b/lib/command_objects/report_bot_status.rb
@@ -13,19 +13,31 @@ def execute
# TODO: Replace everything here with just `bot.status.to... | [STABLE] Remove some abiguity from bot status messages.
|
diff --git a/lib/dredd_hooks/server/events_handler.rb b/lib/dredd_hooks/server/events_handler.rb
index abc1234..def5678 100644
--- a/lib/dredd_hooks/server/events_handler.rb
+++ b/lib/dredd_hooks/server/events_handler.rb
@@ -7,8 +7,8 @@ attr_reader :runner
private :runner
- def initialize
- @... | Refactor inject runner dependency in EventsHandler
|
diff --git a/lib/extensions/action_controller/base.rb b/lib/extensions/action_controller/base.rb
index abc1234..def5678 100644
--- a/lib/extensions/action_controller/base.rb
+++ b/lib/extensions/action_controller/base.rb
@@ -6,29 +6,7 @@
helper_method :current_user, :current_user?
- def current_user
- @curren... | Revert "Move current_user from protection section so it can be used in a controller"
Doing this for now until James/i386 can confirm that the current_user needs to be in the public scope.
This reverts commit cca77744a6ac29b387ad24d0afd2ec892f29671e.
|
diff --git a/lib/facter/mac_current_user_full_name.rb b/lib/facter/mac_current_user_full_name.rb
index abc1234..def5678 100644
--- a/lib/facter/mac_current_user_full_name.rb
+++ b/lib/facter/mac_current_user_full_name.rb
@@ -0,0 +1,13 @@+# mac_current_user_full_name.rb
+Facter.add(:mac_current_user_full_name) do
+ # L... | Add fact to display the current user's full name
I'm using this fact to display the current user's full name by using your 'mac_current_user' fact as a variable. As an example:
'mac_current_user' = paulgalow
'mac_current_user_full_name' = Paul Galow
As I'm using your great collection of Mac facts I'd like to pr... |
diff --git a/lib/intercode/virtual_host_constraint.rb b/lib/intercode/virtual_host_constraint.rb
index abc1234..def5678 100644
--- a/lib/intercode/virtual_host_constraint.rb
+++ b/lib/intercode/virtual_host_constraint.rb
@@ -14,6 +14,11 @@ request = Rack::Request.new(env)
unless request.path =~ %r{\A#{Rail... | Add some debug logging for FindVirtualHost, which seems to be crapping out on 2019.beconlarp.com
|
diff --git a/lib/poper/rule/seventy_two_char_limit.rb b/lib/poper/rule/seventy_two_char_limit.rb
index abc1234..def5678 100644
--- a/lib/poper/rule/seventy_two_char_limit.rb
+++ b/lib/poper/rule/seventy_two_char_limit.rb
@@ -1,7 +1,7 @@ module Poper
module Rule
class SeventyTwoCharLimit < Rule
- MSG = 'Eve... | Make message for SeventyTwoCharLimit rule more specific
|
diff --git a/lib/rack/webtranslateit/configuration.rb b/lib/rack/webtranslateit/configuration.rb
index abc1234..def5678 100644
--- a/lib/rack/webtranslateit/configuration.rb
+++ b/lib/rack/webtranslateit/configuration.rb
@@ -4,10 +4,13 @@ attr_accessor :api_key, :files, :master_locale, :password
def initialize
-... | Allow customization of config location.
|
diff --git a/spec/comments_spec.rb b/spec/comments_spec.rb
index abc1234..def5678 100644
--- a/spec/comments_spec.rb
+++ b/spec/comments_spec.rb
@@ -0,0 +1,13 @@+require 'yaml'
+require 'minitest/autorun'
+require_relative '../lib/taaze.rb'
+
+URL = ''
+comments_from_file = YAML.load(File.read('./spec/testfiles/comment... | Create comment spec test file.
|
diff --git a/spec/lib/task_spec.rb b/spec/lib/task_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/task_spec.rb
+++ b/spec/lib/task_spec.rb
@@ -19,9 +19,9 @@
describe 'given tags' do
describe '#tags' do
- it 'is an array of tags in the order they appear, without arguments' do
- task = ... | Clarify behavior for capital letters in tags
|
diff --git a/examples/pcbin/lib/pcbin/surgery_shims.rb b/examples/pcbin/lib/pcbin/surgery_shims.rb
index abc1234..def5678 100644
--- a/examples/pcbin/lib/pcbin/surgery_shims.rb
+++ b/examples/pcbin/lib/pcbin/surgery_shims.rb
@@ -12,7 +12,4 @@ Date.new(year, 7, 2)
end
end
-
- class SpecimenCollectionGroup... | Remove extraneous empty SCG class def.
|
diff --git a/test/integration/users_signup_test.rb b/test/integration/users_signup_test.rb
index abc1234..def5678 100644
--- a/test/integration/users_signup_test.rb
+++ b/test/integration/users_signup_test.rb
@@ -12,4 +12,15 @@ end
assert_template 'users/new'
end
+
+ test 'valid signup information creates ... | Add integration test for successful signup
|
diff --git a/Casks/jawbone-updater.rb b/Casks/jawbone-updater.rb
index abc1234..def5678 100644
--- a/Casks/jawbone-updater.rb
+++ b/Casks/jawbone-updater.rb
@@ -4,4 +4,5 @@ version '2.2.3'
sha256 '3085edf935347e45573405ee7e51fbacce366847f5f06f783a4e1ea89d70aee6'
install 'Jawbone_Updater-2.2.3.pkg'
+ uninstall ... | Add uninstall stanza for Jawbone Updater
|
diff --git a/middleman-sprockets.gemspec b/middleman-sprockets.gemspec
index abc1234..def5678 100644
--- a/middleman-sprockets.gemspec
+++ b/middleman-sprockets.gemspec
@@ -18,4 +18,5 @@ s.add_dependency("middleman-core", ["~> 3.2"])
s.add_dependency("sprockets", ["~> 2.1"])
s.add_dependency("sprockets-sass", [... | Revert "Remove unused sprockets-helpers dependency"
Guess we do need it...
This reverts commit 5edc902c47efc7b00c016216017d52a035fcc330.
|
diff --git a/core/lib/spree/testing_support/factories/image_factory.rb b/core/lib/spree/testing_support/factories/image_factory.rb
index abc1234..def5678 100644
--- a/core/lib/spree/testing_support/factories/image_factory.rb
+++ b/core/lib/spree/testing_support/factories/image_factory.rb
@@ -1,5 +1,5 @@ FactoryGirl.def... | Use local fixture for Image factory.
* faster tests
* no internet connection needed
Fixes #6342
|
diff --git a/lib/job_board/models.rb b/lib/job_board/models.rb
index abc1234..def5678 100644
--- a/lib/job_board/models.rb
+++ b/lib/job_board/models.rb
@@ -27,15 +27,24 @@
def initdb!
return if @initdb
- Sequel.extension :core_extensions
+ Sequel.extension(*global_extensions)
... | Load different sequel extensions at global and conn level
depending on database type
|
diff --git a/generators/lib/generators/refinery/engine/templates/db/migrate/create_plural_name.rb b/generators/lib/generators/refinery/engine/templates/db/migrate/create_plural_name.rb
index abc1234..def5678 100644
--- a/generators/lib/generators/refinery/engine/templates/db/migrate/create_plural_name.rb
+++ b/generato... | Use class methods in generated migration.
|
diff --git a/lib/plezi/activation.rb b/lib/plezi/activation.rb
index abc1234..def5678 100644
--- a/lib/plezi/activation.rb
+++ b/lib/plezi/activation.rb
@@ -12,10 +12,10 @@ end
@plezi_initialize = nil
def self.plezi_initialize
+ ::Plezi::Base::MessageDispatch._init
if @plezi_initialize.nil?
@plez... | Allow multiple reviews of Message Dispatch state
|
diff --git a/lib/scss_lint/linter.rb b/lib/scss_lint/linter.rb
index abc1234..def5678 100644
--- a/lib/scss_lint/linter.rb
+++ b/lib/scss_lint/linter.rb
@@ -1,6 +1,5 @@ module SCSSLint
class Linter < Sass::Tree::Visitors::Base
- include LinterRegistry
include Utils
attr_reader :engine, :lints
| Remove Linter superclass from LinterRegistry
The superclass `Linter` was incorrectly being returned in the list of
registered linters. Remove the inclusion of the `LinterRegistry` module
to remove it.
This didn't previously have any negative effect because the `Linter`
class `run` method is effectively a no-op.
Chan... |
diff --git a/lib/sensu-plugin/cli.rb b/lib/sensu-plugin/cli.rb
index abc1234..def5678 100644
--- a/lib/sensu-plugin/cli.rb
+++ b/lib/sensu-plugin/cli.rb
@@ -50,9 +50,9 @@ rescue SystemExit => e
exit e.status
rescue Exception => e
- critical "Check failed to run: #{e}"
+ sel... | Create a new instance for the exception/exit warning
|
diff --git a/db/migrate/20110512104213_set_neutral_feedback_to_zero.rb b/db/migrate/20110512104213_set_neutral_feedback_to_zero.rb
index abc1234..def5678 100644
--- a/db/migrate/20110512104213_set_neutral_feedback_to_zero.rb
+++ b/db/migrate/20110512104213_set_neutral_feedback_to_zero.rb
@@ -0,0 +1,14 @@+class SetNeutr... | Set neutral feedback value to default 0
|
diff --git a/app/controllers/admin/gists_controller.rb b/app/controllers/admin/gists_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/gists_controller.rb
+++ b/app/controllers/admin/gists_controller.rb
@@ -11,9 +11,8 @@ @gist.assign_attributes(gist_params[:gist])
paper = Paper.find_by_id... | Apply fix editing gists in for admin controller
|
diff --git a/app/controllers/admin/posts_controller.rb b/app/controllers/admin/posts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/posts_controller.rb
+++ b/app/controllers/admin/posts_controller.rb
@@ -74,7 +74,7 @@ private
def post_params
- params.require(:post).permit(:kind,... | Allow admin to receive reply_to field
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -18,10 +18,14 @@ current_publisher
end
+ def user_for_paper_trail
+ current_use... | Include user's id for paper_trail
|
diff --git a/app/controllers/sales_pages_controller.rb b/app/controllers/sales_pages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/sales_pages_controller.rb
+++ b/app/controllers/sales_pages_controller.rb
@@ -0,0 +1,8 @@+class SalesPagesController < ApplicationController
+ def show
+ @sales_page... | Add show Action for SalesPages Controller
Update the SalesPages controller to include a show action.
|
diff --git a/lib/sinatra/partials.rb b/lib/sinatra/partials.rb
index abc1234..def5678 100644
--- a/lib/sinatra/partials.rb
+++ b/lib/sinatra/partials.rb
@@ -13,11 +13,11 @@ options.merge!(:layout => false)
if collection = options.delete(:collection) then
collection.inject([]) do |buffer, member|
- ... | Use erb, not erubis explicitly.
|
diff --git a/lib/support/requires.rb b/lib/support/requires.rb
index abc1234..def5678 100644
--- a/lib/support/requires.rb
+++ b/lib/support/requires.rb
@@ -10,7 +10,7 @@
def initialize
@ignorable_source_files = [File.join('support', 'requires.rb'), File.join('raml_poliglota.rb')]
- @dir_order =... | Add requirement to generator source folder.
|
diff --git a/lib/metasploit/credential/version.rb b/lib/metasploit/credential/version.rb
index abc1234..def5678 100644
--- a/lib/metasploit/credential/version.rb
+++ b/lib/metasploit/credential/version.rb
@@ -9,7 +9,7 @@ # The patch number, scoped to the {MINOR} version number.
PATCH = 1
# The prere... | Fix PRERELEASE to match branch
MSP-9881
|
diff --git a/lib/metasploit_data_models/engine.rb b/lib/metasploit_data_models/engine.rb
index abc1234..def5678 100644
--- a/lib/metasploit_data_models/engine.rb
+++ b/lib/metasploit_data_models/engine.rb
@@ -11,7 +11,7 @@
# Remove ActiveSupport::Dependencies loading paths to save time during constant resolution an... | Revert "Fix problem with autoload path resetting"
This reverts commit 94f110167400016e4429e8506091c65b3a97db6f.
|
diff --git a/lib/pipeline/mounters/url_mounter.rb b/lib/pipeline/mounters/url_mounter.rb
index abc1234..def5678 100644
--- a/lib/pipeline/mounters/url_mounter.rb
+++ b/lib/pipeline/mounters/url_mounter.rb
@@ -19,7 +19,7 @@ last = target.slice(-4,target.length)
if last === ".git"
return false
- else i... | Fix bug in if / else
|
diff --git a/lib/pushing/adapters/test_adapter.rb b/lib/pushing/adapters/test_adapter.rb
index abc1234..def5678 100644
--- a/lib/pushing/adapters/test_adapter.rb
+++ b/lib/pushing/adapters/test_adapter.rb
@@ -10,7 +10,7 @@ @deliveries = []
end
- delegate :each, :clear, :<<, :length, :size, t... | Make empty? available on `Pushing::Base.deliveries`
|
diff --git a/lib/rbplusplus/builders/extension.rb b/lib/rbplusplus/builders/extension.rb
index abc1234..def5678 100644
--- a/lib/rbplusplus/builders/extension.rb
+++ b/lib/rbplusplus/builders/extension.rb
@@ -42,6 +42,7 @@
def with_module_functions
@code.functions.each do |func|
+ next if do_n... | Make sure to take into account the same availability checks for global functions
|
diff --git a/kraken-io.gemspec b/kraken-io.gemspec
index abc1234..def5678 100644
--- a/kraken-io.gemspec
+++ b/kraken-io.gemspec
@@ -11,7 +11,7 @@ s.homepage = 'http://github.com/kraken-io/kraken-ruby'
s.summary = %q{Ruby gem for interacting with Kraken.io API}
s.description = %q{With this gem you can pl... | Add lib/* to packaged files
|
diff --git a/db/migrate/20180503081248_add_hour_counter_to_product_categories.rb b/db/migrate/20180503081248_add_hour_counter_to_product_categories.rb
index abc1234..def5678 100644
--- a/db/migrate/20180503081248_add_hour_counter_to_product_categories.rb
+++ b/db/migrate/20180503081248_add_hour_counter_to_product_categ... | Add hour counter variable to product natures
|
diff --git a/lib/sortable_columns/helpers/action_view_extension.rb b/lib/sortable_columns/helpers/action_view_extension.rb
index abc1234..def5678 100644
--- a/lib/sortable_columns/helpers/action_view_extension.rb
+++ b/lib/sortable_columns/helpers/action_view_extension.rb
@@ -3,12 +3,12 @@ extend ActiveSupport::Con... | Update view helper. There was no need for them to call the param validation logic.
|
diff --git a/formatize.gemspec b/formatize.gemspec
index abc1234..def5678 100644
--- a/formatize.gemspec
+++ b/formatize.gemspec
@@ -12,7 +12,7 @@
s.files = Dir['lib/**/*', 'LICENSE', 'README.md']
- s.add_dependency 'RedCloth', '~> 4.2'
- s.add_dependency 'bluecloth', '~> 2.0'
- s.add_development_dependency 'a... | Make actionpack-3.0.0.beta4 a standard dependency
|
diff --git a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule7.rb b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule7.rb
index abc1234..def5678 100644
--- a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule7.rb
+++ b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_... | Add implementation of seventh rule of disambiguator prefix
|
diff --git a/db/migrate/20111213125009_project_members_admins.rb b/db/migrate/20111213125009_project_members_admins.rb
index abc1234..def5678 100644
--- a/db/migrate/20111213125009_project_members_admins.rb
+++ b/db/migrate/20111213125009_project_members_admins.rb
@@ -1,6 +1,7 @@ class ProjectMembersAdmins < ActiveReco... | Fix bug and actually iterate through the project members
|
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index abc1234..def5678 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -4,6 +4,13 @@ url 'http://www.cmake.org/files/v2.8/cmake-2.8.3.tar.gz'
md5 'a76a44b93acf5e3badda9de111385921'
homepage 'http://www.cmake.org/'
+
+ def ... | Add upstream CMake bootstrap patch.
|
diff --git a/SLFlexibleButton.podspec b/SLFlexibleButton.podspec
index abc1234..def5678 100644
--- a/SLFlexibleButton.podspec
+++ b/SLFlexibleButton.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'SLFlexibleButton'
- s.version = '0.1.0'
+ s.version = '0.0.1'
s.summary ... | Change the version to 0.0.1
|
diff --git a/lib/knapsack_pro/formatters/rspec_json_formatter.rb b/lib/knapsack_pro/formatters/rspec_json_formatter.rb
index abc1234..def5678 100644
--- a/lib/knapsack_pro/formatters/rspec_json_formatter.rb
+++ b/lib/knapsack_pro/formatters/rspec_json_formatter.rb
@@ -4,7 +4,7 @@ module KnapsackPro
module Formatters... | Remove methods because it's not needed to generate json report and in old rspec 3.6.5 it fails due to lack of seed method
|
diff --git a/RSBarcodes_Swift.podspec b/RSBarcodes_Swift.podspec
index abc1234..def5678 100644
--- a/RSBarcodes_Swift.podspec
+++ b/RSBarcodes_Swift.podspec
@@ -10,5 +10,5 @@ s.source_files = 'Source/*.{swift,h,m}'
s.frameworks = ['CoreImage', 'AVFoundation', 'QuartzCore']
s.requires_arc = true
- s.swift_ver... | Fix -- [!] Usage of the `.swift_version` file has been deprecated! Please delete the file and use the `swift_versions` attribute within your podspec instead.
|
diff --git a/config/initializers/dashboard_trial.rb b/config/initializers/dashboard_trial.rb
index abc1234..def5678 100644
--- a/config/initializers/dashboard_trial.rb
+++ b/config/initializers/dashboard_trial.rb
@@ -9,31 +9,53 @@ 'Chelmsford',
'Chelmsford',
'Coldingley',
+ 'Cookham Wood',
+ 'Deerbolt',
'D... | Add more estates to the trial
Adds North East, Yorkshire, Humberside, Kent and Sussex estates, except
Wealstun, Full Sutton, Lewes and Askham Grange.
Needs to be deployed by 30th of September.
|
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
@@ -14,6 +14,9 @@ end
def markdown(text)
- Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(text).html_safe
+ ... | Add fenced code blocks in markdown
|
diff --git a/lib/convection/model/template/resource_property/aws_elbv2_listener_rule_condition.rb b/lib/convection/model/template/resource_property/aws_elbv2_listener_rule_condition.rb
index abc1234..def5678 100644
--- a/lib/convection/model/template/resource_property/aws_elbv2_listener_rule_condition.rb
+++ b/lib/conv... | Fix field name so not overloading
|
diff --git a/modules/mongodb/spec/type/collection/create/spec.rb b/modules/mongodb/spec/type/collection/create/spec.rb
index abc1234..def5678 100644
--- a/modules/mongodb/spec/type/collection/create/spec.rb
+++ b/modules/mongodb/spec/type/collection/create/spec.rb
@@ -1,5 +1,6 @@ require 'spec_helper'
-describe comma... | Make sure collection is created with sharding by default
|
diff --git a/config/initializers/delayed_job_config.rb b/config/initializers/delayed_job_config.rb
index abc1234..def5678 100644
--- a/config/initializers/delayed_job_config.rb
+++ b/config/initializers/delayed_job_config.rb
@@ -1,3 +1,3 @@-Delayed::Worker.sleep_delay = 5
+Delayed::Worker.sleep_delay = 10
Delayed::Wor... | Increase Delayed::Worker.max_run_time to 20 minutes
|
diff --git a/config/initializers/skip_passive_login.rb b/config/initializers/skip_passive_login.rb
index abc1234..def5678 100644
--- a/config/initializers/skip_passive_login.rb
+++ b/config/initializers/skip_passive_login.rb
@@ -1,3 +1,5 @@-ApplicationController.class_eval do
- skip_before_filter :passive_login, if: -... | Disable passive login attempt on dev for multiple controllers
|
diff --git a/files/brews/tokumx.rb b/files/brews/tokumx.rb
index abc1234..def5678 100644
--- a/files/brews/tokumx.rb
+++ b/files/brews/tokumx.rb
@@ -11,7 +11,7 @@
def install
bin.install Dir["bin/*"]
- lib.install Dir["lib64/*"]
+ (prefix+'lib64').install Dir["lib64/*"]
share.install Dir["scripts"]
... | Use lib path actually linked into mongod executable
|
diff --git a/app/models/project_services/slack_service.rb b/app/models/project_services/slack_service.rb
index abc1234..def5678 100644
--- a/app/models/project_services/slack_service.rb
+++ b/app/models/project_services/slack_service.rb
@@ -40,7 +40,8 @@ project_name: project_name
))
- credentials = web... | Use allowed slack team name.
|
diff --git a/lib/fog/brightbox/models/compute/cloud_ip.rb b/lib/fog/brightbox/models/compute/cloud_ip.rb
index abc1234..def5678 100644
--- a/lib/fog/brightbox/models/compute/cloud_ip.rb
+++ b/lib/fog/brightbox/models/compute/cloud_ip.rb
@@ -22,6 +22,7 @@ attribute :interface_id, :aliases => "interface", :squash... | [Brightbox] Add ServerGroup attribute in CloudIP model
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -17,6 +17,7 @@
Webrat.configure do |config|
config.mode = :rails
+ config.open_error_files = false
end
# Comment out the next two lines if you're not usin... | Set cucumber/webrat config to not open browser
|
diff --git a/features/support/vcr.rb b/features/support/vcr.rb
index abc1234..def5678 100644
--- a/features/support/vcr.rb
+++ b/features/support/vcr.rb
@@ -1,5 +1,7 @@ require 'vcr'
require 'webmock/cucumber'
+
+WebMock.disable_net_connect!(:allow => 'lon.auth.api.rackspacecloud.com')
VCR.configure do |c|
# Aut... | Allow rackspace connections further up the chain
|
diff --git a/lib/ruboty/zoi.rb b/lib/ruboty/zoi.rb
index abc1234..def5678 100644
--- a/lib/ruboty/zoi.rb
+++ b/lib/ruboty/zoi.rb
@@ -34,12 +34,13 @@ end
def fetch_data
+ return @fetched_data if @fetched_data
zoi_data = open(ZOI_DATA_URI).read
zoi_data = zoi_data.
match... | Set fetched data into cache
|
diff --git a/lib/slatan/ear.rb b/lib/slatan/ear.rb
index abc1234..def5678 100644
--- a/lib/slatan/ear.rb
+++ b/lib/slatan/ear.rb
@@ -0,0 +1,21 @@+require "util/string_ex"
+
+module Slatan
+ using StringEx
+
+ class Ear
+ def initialize(mouth)
+ @concerns = []
+ Dir[File.expand_path('../../../concerns', _... | Create Ear class to dispatch receive event
|
diff --git a/queue_classic.gemspec b/queue_classic.gemspec
index abc1234..def5678 100644
--- a/queue_classic.gemspec
+++ b/queue_classic.gemspec
@@ -1,3 +1,4 @@+#encoding: UTF-8
Gem::Specification.new do |s|
s.name = "queue_classic"
s.email = "ryan@heroku.com"
| Add UTF-8 encoding directive to gemspec
|
diff --git a/app/controllers/paperclip_database_storage/attachments_controller.rb b/app/controllers/paperclip_database_storage/attachments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/paperclip_database_storage/attachments_controller.rb
+++ b/app/controllers/paperclip_database_storage/attachments_c... | Send uploaded images with inline disposition, and the rest with attachment
|
diff --git a/omniauth-heroku.gemspec b/omniauth-heroku.gemspec
index abc1234..def5678 100644
--- a/omniauth-heroku.gemspec
+++ b/omniauth-heroku.gemspec
@@ -1,17 +1,16 @@ Gem::Specification.new do |gem|
+ gem.name = "omniauth-heroku"
gem.authors = ["Pedro Belo"]
gem.email = ["pedro@heroku.... | Clean up gemspec a bit
|
diff --git a/omniauth-oauth2.gemspec b/omniauth-oauth2.gemspec
index abc1234..def5678 100644
--- a/omniauth-oauth2.gemspec
+++ b/omniauth-oauth2.gemspec
@@ -3,7 +3,7 @@ require "omniauth-oauth2/version"
Gem::Specification.new do |gem|
- gem.add_dependency "oauth2", "~> 1.1"
+ gem.add_dependency "oauth2", "... | Update oauth2 gem to 1.4
|
diff --git a/lib/Cinderella.rb b/lib/Cinderella.rb
index abc1234..def5678 100644
--- a/lib/Cinderella.rb
+++ b/lib/Cinderella.rb
@@ -23,6 +23,10 @@ DataStore.instance.get(id)[:transformed]
end
+ def self.midnight(id)
+ reset_data_at(id)
+ end
+
private
def self.store(data)
| Add the code to make previous spec commit pass
|
diff --git a/app/importers/settings/somerville_star_importers.rb b/app/importers/settings/somerville_star_importers.rb
index abc1234..def5678 100644
--- a/app/importers/settings/somerville_star_importers.rb
+++ b/app/importers/settings/somerville_star_importers.rb
@@ -2,13 +2,6 @@ def self.from_options(options)
... | Move STAR importers lists out of constant
+ The thor task tries to load up SomervilleStarImporters, which then tries to load the constant
+ But that fails because the Thor task doesn't automatically include the Rails environment
|
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 structure"
- s.version = '0.6.1.0'
+ s.version = '0.6.1.1'
s.description = ' '
s... | Package version is increased from 0.6.1.0 to 0.6.1.1
|
diff --git a/lib/facilethings/partners/coupons_data.rb b/lib/facilethings/partners/coupons_data.rb
index abc1234..def5678 100644
--- a/lib/facilethings/partners/coupons_data.rb
+++ b/lib/facilethings/partners/coupons_data.rb
@@ -3,7 +3,7 @@ module Facilethings
class CouponsData < Facilethings::Base
attr_reader :u... | Add date to coupons (event)
|
diff --git a/lib/light-service/context_key_verifier.rb b/lib/light-service/context_key_verifier.rb
index abc1234..def5678 100644
--- a/lib/light-service/context_key_verifier.rb
+++ b/lib/light-service/context_key_verifier.rb
@@ -6,13 +6,13 @@ class << self
def verify_expected_keys_are_in_context(context, act... | Remove to_s since interpolation already does it implicitly
|
diff --git a/lib/dmm-crawler.rb b/lib/dmm-crawler.rb
index abc1234..def5678 100644
--- a/lib/dmm-crawler.rb
+++ b/lib/dmm-crawler.rb
@@ -1,7 +1,7 @@ require 'mechanize'
module DMMCrawler
- BASE_URL = 'https://www.dmm.co.jp'.freeze
+ BASE_URL = 'http://www.dmm.co.jp'.freeze
end
require 'dmm-crawler/agent'
| Revert "Use HTTPS in all connections"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.