diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/Latch.podspec b/Latch.podspec
index abc1234..def5678 100644
--- a/Latch.podspec
+++ b/Latch.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Latch"
- s.version = "1.1.0"
+ s.version = "1.2.0"
s.summary = "A simple Swift Keychain Wrapper for iOS"
... | Enable watchOS support in podspec and bump to 1.2.0
|
diff --git a/lib/cocoapods/resolver/lazy_specification.rb b/lib/cocoapods/resolver/lazy_specification.rb
index abc1234..def5678 100644
--- a/lib/cocoapods/resolver/lazy_specification.rb
+++ b/lib/cocoapods/resolver/lazy_specification.rb
@@ -25,7 +25,7 @@ def specification
@specification ||= source.sp... | [LazySpecification] Fix indentation of an end
|
diff --git a/lib/puppet/provider/network_device_ssh/ce.rb b/lib/puppet/provider/network_device_ssh/ce.rb
index abc1234..def5678 100644
--- a/lib/puppet/provider/network_device_ssh/ce.rb
+++ b/lib/puppet/provider/network_device_ssh/ce.rb
@@ -1,3 +1,15 @@+# Licensed under the Apache License, Version 2.0 (the "License");
... | Add description of LICENSE and Modify |
diff --git a/lib/yard/server/commands/static_file_command.rb b/lib/yard/server/commands/static_file_command.rb
index abc1234..def5678 100644
--- a/lib/yard/server/commands/static_file_command.rb
+++ b/lib/yard/server/commands/static_file_command.rb
@@ -24,7 +24,20 @@ return
end
end... | Return an empty favicon.ico for browsers that request it (if it does not exist in static paths)
|
diff --git a/template/foss/tasks/uber_jar.rake b/template/foss/tasks/uber_jar.rake
index abc1234..def5678 100644
--- a/template/foss/tasks/uber_jar.rake
+++ b/template/foss/tasks/uber_jar.rake
@@ -3,7 +3,7 @@ desc "Build the uberjar"
task :uberjar => [ ] do
if `which lein`
- sh "lein uberjar"
+ sh "lein -U u... | Add -U to `lein uberjar`
Without this, we don't always check for updated SNAPSHOTs.
|
diff --git a/lib/joint/instance_methods.rb b/lib/joint/instance_methods.rb
index abc1234..def5678 100644
--- a/lib/joint/instance_methods.rb
+++ b/lib/joint/instance_methods.rb
@@ -24,7 +24,6 @@ :filename => send(name).name,
:content_type => send(name).type,
})
- io.clos... | Revert "close the file after putting it on the grid"
This reverts commit 4ecfeaae2c800c5a37d60a1566dfe7f923221055.
Caused all the tests to fail and came with none of its own. Need to know more of the problem it was solving.
|
diff --git a/lib/newline_hw/gui_trigger.rb b/lib/newline_hw/gui_trigger.rb
index abc1234..def5678 100644
--- a/lib/newline_hw/gui_trigger.rb
+++ b/lib/newline_hw/gui_trigger.rb
@@ -19,15 +19,38 @@ end
def call
+ applescript = case application
+ when "iTerm2"
+ applescript_for_iterm
+ e... | Add AppleScript support for iterm2
|
diff --git a/lib/tagify_string/core_ext.rb b/lib/tagify_string/core_ext.rb
index abc1234..def5678 100644
--- a/lib/tagify_string/core_ext.rb
+++ b/lib/tagify_string/core_ext.rb
@@ -26,7 +26,7 @@ end
# The Sonia Clause. Check for all garbage characters. Return an empty string in this case.
- output = sel... | Replace with space to keep in the spirit of things.
|
diff --git a/lib/analyze_educators_export.rb b/lib/analyze_educators_export.rb
index abc1234..def5678 100644
--- a/lib/analyze_educators_export.rb
+++ b/lib/analyze_educators_export.rb
@@ -0,0 +1,42 @@+require 'csv'
+
+class AnalyzeEducatorsExport < Struct.new :path
+
+ def contents
+ encoding_options = {
+ in... | Add code to fetch staff list by school
+ This is part of the process of onboarding a second school onto Student Insights
+ We need to check the second school's staff list in X2 for missing educators and Active/Inactive status set correctly
+ #293
|
diff --git a/lib/discordrb/events/message.rb b/lib/discordrb/events/message.rb
index abc1234..def5678 100644
--- a/lib/discordrb/events/message.rb
+++ b/lib/discordrb/events/message.rb
@@ -7,9 +7,9 @@ end
def author; @message.author; end
- def user; @message.author; end
+ alias_method :user, :author
... | Use alias_method instead of duplicating the method code
|
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
@@ -32,8 +32,8 @@ return false
end
- # &after_each_message: an optional block to call after processing each message
- def pr... | Remove a redundant block parameter
|
diff --git a/lib/generator/implementation.rb b/lib/generator/implementation.rb
index abc1234..def5678 100644
--- a/lib/generator/implementation.rb
+++ b/lib/generator/implementation.rb
@@ -1,6 +1,6 @@ require 'delegate'
require 'forwardable'
-require_relative 'template_values'
+require 'generator/template_values'
m... | Use require rather than require_relative.
This is consistent with all the other generator includes.
|
diff --git a/lib/omnibus/compressors/null.rb b/lib/omnibus/compressors/null.rb
index abc1234..def5678 100644
--- a/lib/omnibus/compressors/null.rb
+++ b/lib/omnibus/compressors/null.rb
@@ -18,6 +18,10 @@ class Compressor::Null < Compressor::Base
id :null
+ def package_name
+ ''
+ end
+
def run!... | Define package_name on Null compressor to be the empty string |
diff --git a/lib/refills/import_generator.rb b/lib/refills/import_generator.rb
index abc1234..def5678 100644
--- a/lib/refills/import_generator.rb
+++ b/lib/refills/import_generator.rb
@@ -7,15 +7,41 @@ argument :snippet, type: :string, required: true
def copy_html
- copy_file "_#{snippet}.html.erb", "a... | Use Rails naming conventions for partials
|
diff --git a/lib/rspec-rayo/tropo1/driver.rb b/lib/rspec-rayo/tropo1/driver.rb
index abc1234..def5678 100644
--- a/lib/rspec-rayo/tropo1/driver.rb
+++ b/lib/rspec-rayo/tropo1/driver.rb
@@ -42,7 +42,6 @@ latch = @latches[latch_name]
raise RuntimeError, "No latch by that name" unless latch
latch.wait ... | Fix a stupid syntax error |
diff --git a/test/test-command.rb b/test/test-command.rb
index abc1234..def5678 100644
--- a/test/test-command.rb
+++ b/test/test-command.rb
@@ -0,0 +1,29 @@+require "fileutils"
+require "stringio"
+require "clipcellar/version"
+require "clipcellar/command"
+
+class CommandTest < Test::Unit::TestCase
+ class << self
+... | Add a test for version command
|
diff --git a/dsass.gemspec b/dsass.gemspec
index abc1234..def5678 100644
--- a/dsass.gemspec
+++ b/dsass.gemspec
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|
s.name = 'dsass'
- s.version = '1.0'
+ s.version = '1.0.1'
s.date = '2012-06-08'
s.summary = 'SASS runner for Drupal'
s.description = 'Provides... | Add documentation to the gem
|
diff --git a/bugsnag.gemspec b/bugsnag.gemspec
index abc1234..def5678 100644
--- a/bugsnag.gemspec
+++ b/bugsnag.gemspec
@@ -18,7 +18,13 @@ s.require_paths = ["lib"]
s.add_runtime_dependency 'multi_json', ["~> 1.0"]
- s.add_runtime_dependency 'httparty', ["< 1.0", ">= 0.6"]
+
+ if RUBY_VERSION < "1.9"
+ # U... | Use ruby 1.8 compatible httparty in gemspec for older rubies
|
diff --git a/lib/controllers/frontend/spree/checkout_controller_decorator.rb b/lib/controllers/frontend/spree/checkout_controller_decorator.rb
index abc1234..def5678 100644
--- a/lib/controllers/frontend/spree/checkout_controller_decorator.rb
+++ b/lib/controllers/frontend/spree/checkout_controller_decorator.rb
@@ -1,4... | Remove reference to the old EmailValidator
It was removed in https://github.com/spree/spree/commit/f80b0c30cac356f465ba35d1a98d29b7bd945f54 |
diff --git a/laravel/recipes/storage_permissions.rb b/laravel/recipes/storage_permissions.rb
index abc1234..def5678 100644
--- a/laravel/recipes/storage_permissions.rb
+++ b/laravel/recipes/storage_permissions.rb
@@ -5,6 +5,7 @@ cwd "#{deploy[:deploy_to]}/current"
code <<-EOH
chown -R www-data:www-data ap... | Add RW permissions to image folders
|
diff --git a/CUtil.podspec b/CUtil.podspec
index abc1234..def5678 100644
--- a/CUtil.podspec
+++ b/CUtil.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "CUtil"
- s.version = "0.1.17"
+ s.version = "0.1.18"
s.summary = "CUtil is a common utilities collection. It is designed as a too... | Add a new version 0.1.18 for CocoaPods.
|
diff --git a/modules/cron/spec/defines/crondotdee_spec.rb b/modules/cron/spec/defines/crondotdee_spec.rb
index abc1234..def5678 100644
--- a/modules/cron/spec/defines/crondotdee_spec.rb
+++ b/modules/cron/spec/defines/crondotdee_spec.rb
@@ -0,0 +1,35 @@+require_relative '../../../../spec_helper'
+
+describe 'cron::cron... | Add specs for the new crondotdee class
|
diff --git a/app/helpers/exercises_helper.rb b/app/helpers/exercises_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/exercises_helper.rb
+++ b/app/helpers/exercises_helper.rb
@@ -1,4 +1,25 @@ module ExercisesHelper
+ # 'CodeRayify' class implementation taken from
+ # http://allfuzzy.tumblr.com/post/27314404... | Add method to deal with markdown text
|
diff --git a/lib/buildkit/version.rb b/lib/buildkit/version.rb
index abc1234..def5678 100644
--- a/lib/buildkit/version.rb
+++ b/lib/buildkit/version.rb
@@ -1,5 +1,5 @@ # frozen_string_literal: true
module Buildkit
- VERSION = '1.4.5'
+ VERSION = '1.4.6'
end
| Patch upgrade 1.4.5 to 1.4.6, to remove deprecation warnings from Faraday
|
diff --git a/lib/capybara/helpers.rb b/lib/capybara/helpers.rb
index abc1234..def5678 100644
--- a/lib/capybara/helpers.rb
+++ b/lib/capybara/helpers.rb
@@ -39,7 +39,7 @@ def inject_asset_host(html)
if Capybara.asset_host
if Nokogiri::HTML(html).css("base").empty? and match = html.match(/<head... | Make sure we don't accidentally modify the body
Since we don't know where it comes from in the driver. Related to #958 |
diff --git a/lib/coalesce/grouper.rb b/lib/coalesce/grouper.rb
index abc1234..def5678 100644
--- a/lib/coalesce/grouper.rb
+++ b/lib/coalesce/grouper.rb
@@ -20,12 +20,16 @@ end
def each(items, &proc)
+ # We try to use find_each vs. each for Enumerables that support it.
+
+ each_method = items.respo... | Use find_each vs. find when possible
|
diff --git a/lib/diary_issue_hook.rb b/lib/diary_issue_hook.rb
index abc1234..def5678 100644
--- a/lib/diary_issue_hook.rb
+++ b/lib/diary_issue_hook.rb
@@ -10,7 +10,7 @@ # Instead of creating a time entry with a blank comment, copy the first 200
# characters from the journal (the issue comment)
if time_e... | Copy 251 characters from the journal, instead of 200
|
diff --git a/lib/ekylibre/first_run/loaders/demo.rb b/lib/ekylibre/first_run/loaders/demo.rb
index abc1234..def5678 100644
--- a/lib/ekylibre/first_run/loaders/demo.rb
+++ b/lib/ekylibre/first_run/loaders/demo.rb
@@ -2,8 +2,9 @@ Ekylibre::FirstRun.add_loader :demo do |first_run|
if Preference.get!(:demo, false, :b... | Replace fake sales and purchases by more real one
|
diff --git a/app/models/course_data/block.rb b/app/models/course_data/block.rb
index abc1234..def5678 100644
--- a/app/models/course_data/block.rb
+++ b/app/models/course_data/block.rb
@@ -36,7 +36,7 @@ DEFAULT_POINTS = 10
def training_modules
- training_module_ids.collect { |id| TrainingModule.find(id) }
+ ... | Update how TrainingModule records are collected for a Block
We're in ActiveRecord world now.
|
diff --git a/lib/holidays/finder/rules/in_region.rb b/lib/holidays/finder/rules/in_region.rb
index abc1234..def5678 100644
--- a/lib/holidays/finder/rules/in_region.rb
+++ b/lib/holidays/finder/rules/in_region.rb
@@ -6,7 +6,6 @@ def call(requested, available)
return true if requested.include?(:an... | [issue-331] Remove unnecessary TODO in region rules
|
diff --git a/lib/lets_encrypt_heroku/acme_client.rb b/lib/lets_encrypt_heroku/acme_client.rb
index abc1234..def5678 100644
--- a/lib/lets_encrypt_heroku/acme_client.rb
+++ b/lib/lets_encrypt_heroku/acme_client.rb
@@ -36,7 +36,7 @@ private
def client
- @client ||= Acme::Client.new(private_key: private_ke... | Use `endpoint` from config instead of hardcoding it.
|
diff --git a/lib/toolshed/databases/mysql/backup.rb b/lib/toolshed/databases/mysql/backup.rb
index abc1234..def5678 100644
--- a/lib/toolshed/databases/mysql/backup.rb
+++ b/lib/toolshed/databases/mysql/backup.rb
@@ -1,5 +1,7 @@ require 'toolshed/error'
require 'toolshed/password'
+
+require 'fileutils'
module Tool... | Create the path if it does not exist when performing mysql dump
|
diff --git a/lib/wright/provider/user/gnu_passwd.rb b/lib/wright/provider/user/gnu_passwd.rb
index abc1234..def5678 100644
--- a/lib/wright/provider/user/gnu_passwd.rb
+++ b/lib/wright/provider/user/gnu_passwd.rb
@@ -36,8 +36,12 @@ '-s' => shell,
'-d' => home
}.reject { |_k, v| v.nil... | Clean up GNU user provider
Extract system_user_options method.
|
diff --git a/pages/lib/refinery/pages/admin/instance_methods.rb b/pages/lib/refinery/pages/admin/instance_methods.rb
index abc1234..def5678 100644
--- a/pages/lib/refinery/pages/admin/instance_methods.rb
+++ b/pages/lib/refinery/pages/admin/instance_methods.rb
@@ -4,7 +4,7 @@ module InstanceMethods
def... | Use arel style instead of dynamic finder.
|
diff --git a/lib/joker-api/errors.rb b/lib/joker-api/errors.rb
index abc1234..def5678 100644
--- a/lib/joker-api/errors.rb
+++ b/lib/joker-api/errors.rb
@@ -1,3 +1,5 @@ module JokerAPI
class AuthorisationError < RuntimeError; end
+ class ObjectNotFound < RuntimeError; end
+ class IncompleteRequest < RuntimeError; ... | Add some more error types.
|
diff --git a/lib/malady/evaluator.rb b/lib/malady/evaluator.rb
index abc1234..def5678 100644
--- a/lib/malady/evaluator.rb
+++ b/lib/malady/evaluator.rb
@@ -1,47 +1,43 @@ module Malady
- class Evaluator
+ module Evaluator
+ module_function
+ def evaluate(env, ast)
+ type = ast.first
+ rest = ast[1..-1... | Change Evaluator class to a module
|
diff --git a/lib/mws-rb/api/feeds.rb b/lib/mws-rb/api/feeds.rb
index abc1234..def5678 100644
--- a/lib/mws-rb/api/feeds.rb
+++ b/lib/mws-rb/api/feeds.rb
@@ -1,6 +1,8 @@ module MWS
module API
class Feeds < Base
+ XSD_PATH = File.join(File.dirname(__FILE__), "feeds", "xsd")
+
Actions = [:get_feed_subm... | Add global reference to the location of XSD files
|
diff --git a/lib/translations/cli.rb b/lib/translations/cli.rb
index abc1234..def5678 100644
--- a/lib/translations/cli.rb
+++ b/lib/translations/cli.rb
@@ -7,7 +7,7 @@ class_option :directory, aliases: ["-d"], default: "config/locales", type: :string, desc: "Directory containing the translations"
class_option... | Add a description for translate
|
diff --git a/holidays.gemspec b/holidays.gemspec
index abc1234..def5678 100644
--- a/holidays.gemspec
+++ b/holidays.gemspec
@@ -7,15 +7,15 @@ Gem::Specification.new do |gem|
gem.name = 'holidays'
gem.version = Holidays::VERSION
- gem.authors = ['Alex Dunae', 'Hana Wang']
- gem.email ... | Update gemspec to specify files
|
diff --git a/spec/views/miq_policy/_alert_details.html.haml_spec.rb b/spec/views/miq_policy/_alert_details.html.haml_spec.rb
index abc1234..def5678 100644
--- a/spec/views/miq_policy/_alert_details.html.haml_spec.rb
+++ b/spec/views/miq_policy/_alert_details.html.haml_spec.rb
@@ -1,7 +1,7 @@ describe "miq_policy/_alert... | Fix warning about top level constant access
Stub the constant on the test controller instead of creating a new,
top-level constant.
|
diff --git a/giphy.gemspec b/giphy.gemspec
index abc1234..def5678 100644
--- a/giphy.gemspec
+++ b/giphy.gemspec
@@ -19,8 +19,8 @@ spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.3"
- spec.add_development_dependency "rake"
- spec.add_development_dependency "rspec"
+ spec.add_deve... | Use pesimitic locking for dev dependencies
|
diff --git a/week-4/add-it-up/my-solution.rb b/week-4/add-it-up/my-solution.rb
index abc1234..def5678 100644
--- a/week-4/add-it-up/my-solution.rb
+++ b/week-4/add-it-up/my-solution.rb
@@ -0,0 +1,75 @@+# Add it up!
+
+# Complete each step below according to the challenge directions and
+# include it in this file. Also ... | Add add it up challenge
|
diff --git a/limit_detectors.gemspec b/limit_detectors.gemspec
index abc1234..def5678 100644
--- a/limit_detectors.gemspec
+++ b/limit_detectors.gemspec
@@ -19,8 +19,8 @@ spec.require_paths = ["lib"]
spec.add_development_dependency 'bundler'
- spec.add_development_dependency 'rake'
+ spec.add_development_depen... | Fix rake & pry version a bit tigher
|
diff --git a/app/models/spree/gateway/stripe_ach_gateway.rb b/app/models/spree/gateway/stripe_ach_gateway.rb
index abc1234..def5678 100644
--- a/app/models/spree/gateway/stripe_ach_gateway.rb
+++ b/app/models/spree/gateway/stripe_ach_gateway.rb
@@ -0,0 +1,36 @@+module Spree
+ class Gateway::StripeAchGateway < Gateway:... | Add ACH payment support for Stripe Gateway
|
diff --git a/app/serializers/sprangular/order_serializer.rb b/app/serializers/sprangular/order_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/sprangular/order_serializer.rb
+++ b/app/serializers/sprangular/order_serializer.rb
@@ -1,18 +1,17 @@ module Sprangular
class OrderSerializer < BaseSerializ... | Allow order_attributes to be appended to by extensions. Adds token attribute
|
diff --git a/app/components/twitter/bootstrap/components/v3/responsive_media_object.rb b/app/components/twitter/bootstrap/components/v3/responsive_media_object.rb
index abc1234..def5678 100644
--- a/app/components/twitter/bootstrap/components/v3/responsive_media_object.rb
+++ b/app/components/twitter/bootstrap/componen... | Fix additional div container classes not working on v3 responsive media object.
|
diff --git a/conekta.gemspec b/conekta.gemspec
index abc1234..def5678 100644
--- a/conekta.gemspec
+++ b/conekta.gemspec
@@ -23,6 +23,7 @@ spec.add_dependency "faraday"
spec.add_dependency "json"
spec.add_dependency "sys-uname"
+ spec.add_dependency "i18n"
spec.add_development_dependency "rspec", ">= 3.0"... | Fix i18n dependency load error
|
diff --git a/lib/active_remote/scope_keys.rb b/lib/active_remote/scope_keys.rb
index abc1234..def5678 100644
--- a/lib/active_remote/scope_keys.rb
+++ b/lib/active_remote/scope_keys.rb
@@ -1,3 +1,5 @@+require 'active_support/core_ext/module'
+
module ActiveRemote
module ScopeKeys
extend ActiveSupport::Concern
... | Use mattr_accessor to save state of scope key
Instance variables in modules get messy with inheritance. This ensures
that @_scope_keys is the same at the parent module and child module
level.
|
diff --git a/lib/controllers/frontend/solidus_paypal_braintree/checkouts_controller.rb b/lib/controllers/frontend/solidus_paypal_braintree/checkouts_controller.rb
index abc1234..def5678 100644
--- a/lib/controllers/frontend/solidus_paypal_braintree/checkouts_controller.rb
+++ b/lib/controllers/frontend/solidus_paypal_b... | Update render plain to rails 5 syntax
|
diff --git a/multilateration.gemspec b/multilateration.gemspec
index abc1234..def5678 100644
--- a/multilateration.gemspec
+++ b/multilateration.gemspec
@@ -8,8 +8,8 @@ spec.version = Multilateration::VERSION
spec.authors = ["Arron Mabrey"]
spec.email = ["arron@mabreys.com"]
- spec.descript... | Add gemspec description and summary
|
diff --git a/no-style-please.gemspec b/no-style-please.gemspec
index abc1234..def5678 100644
--- a/no-style-please.gemspec
+++ b/no-style-please.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "no-style-please"
- spec.version = "0.4.6"
+ spec.version = "0.4.7"
spec.au... | Update gem version to 0.4.7
|
diff --git a/LolayPair.podspec b/LolayPair.podspec
index abc1234..def5678 100644
--- a/LolayPair.podspec
+++ b/LolayPair.podspec
@@ -16,7 +16,5 @@ }
s.source_files = 'LolayPairGlobals.*','LolayNamePair.*','LolayNumberPair.h.*','LolayStringPair.*','LolayPairTests.*','LolayInvestigo/LolayNSLogTracker.*','Lo... | Update podspec to remove XCTest
|
diff --git a/app/controllers/scrapers_controller.rb b/app/controllers/scrapers_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/scrapers_controller.rb
+++ b/app/controllers/scrapers_controller.rb
@@ -0,0 +1,36 @@+# started the scraper controller
+#
+# require 'pry'
+# require_relative '..\..\lib\housin... | Copy template for scrapers controller
|
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
@@ -25,7 +25,7 @@
def destroy
auth_session.invalidate!
- redirect_to :back, notice: 'Signed out... | Fix redirect_to :back (removed in Rails 5.1)
|
diff --git a/lib/guard/ejs.rb b/lib/guard/ejs.rb
index abc1234..def5678 100644
--- a/lib/guard/ejs.rb
+++ b/lib/guard/ejs.rb
@@ -52,7 +52,9 @@ hash[@options[:namespace]][path] = compiled
end
- puts hash.inspect
+ File.open(@options[:output], 'w') do |file|
+ file.write hash.inspe... | Write compiled templates to a file.
|
diff --git a/testing/rspec/spec/integration/cuke_modeler_integration_spec.rb b/testing/rspec/spec/integration/cuke_modeler_integration_spec.rb
index abc1234..def5678 100644
--- a/testing/rspec/spec/integration/cuke_modeler_integration_spec.rb
+++ b/testing/rspec/spec/integration/cuke_modeler_integration_spec.rb
@@ -0,0... | Add test for detecting new Gherkin versions
The test suite will now fail if a newer version of Gherkin exists. This
way I won't not notice half a dozen new versions getting released for
months at a time.
|
diff --git a/lib/camel_caser/strategies/raw_input.rb b/lib/camel_caser/strategies/raw_input.rb
index abc1234..def5678 100644
--- a/lib/camel_caser/strategies/raw_input.rb
+++ b/lib/camel_caser/strategies/raw_input.rb
@@ -24,7 +24,8 @@ unless params.empty?
json = MultiJson.dump(transform_params(params... | Update CONTENT_LENGTH after converting to underscore
|
diff --git a/lib/hpcloud/commands/servers.rb b/lib/hpcloud/commands/servers.rb
index abc1234..def5678 100644
--- a/lib/hpcloud/commands/servers.rb
+++ b/lib/hpcloud/commands/servers.rb
@@ -23,7 +23,8 @@ if servers.empty?
display "You currently have no servers, use `#{selfname} servers:add <name>`... | Update some attributes that needs to be displayed.
|
diff --git a/lib/performance_promise/sql_recorder.rb b/lib/performance_promise/sql_recorder.rb
index abc1234..def5678 100644
--- a/lib/performance_promise/sql_recorder.rb
+++ b/lib/performance_promise/sql_recorder.rb
@@ -33,7 +33,7 @@ 'SCHEMA',
'SQLR-EXPLAIN',
]
- payload[:name] && ignore_query_nam... | Use .include? instead of .in?
|
diff --git a/lib/rb-kqueue/watcher/signal.rb b/lib/rb-kqueue/watcher/signal.rb
index abc1234..def5678 100644
--- a/lib/rb-kqueue/watcher/signal.rb
+++ b/lib/rb-kqueue/watcher/signal.rb
@@ -1,7 +1,7 @@ module KQueue
class Watcher
# The {Watcher} subclass for events fired when a signal is received.
- # File ev... | Fix a minor doc error.
|
diff --git a/lib/simple_form/inputs/numeric_input.rb b/lib/simple_form/inputs/numeric_input.rb
index abc1234..def5678 100644
--- a/lib/simple_form/inputs/numeric_input.rb
+++ b/lib/simple_form/inputs/numeric_input.rb
@@ -22,14 +22,12 @@ protected
def infer_attrs_from_validations(input_options)
- obj... | Refactor the code a bit
|
diff --git a/app/mailers/georgia_mailer/notifier.rb b/app/mailers/georgia_mailer/notifier.rb
index abc1234..def5678 100644
--- a/app/mailers/georgia_mailer/notifier.rb
+++ b/app/mailers/georgia_mailer/notifier.rb
@@ -3,7 +3,7 @@
def new_message_notification(message)
@message = GeorgiaMailer::MessageDecorat... | Send emails only to users with receives_notifications true
|
diff --git a/lib/anal_uuid.rb b/lib/anal_uuid.rb
index abc1234..def5678 100644
--- a/lib/anal_uuid.rb
+++ b/lib/anal_uuid.rb
@@ -1,5 +1,18 @@ require 'anal_uuid/version'
+# Parse a UUID as defined in IETF RFC 4122, "A Universally Unique IDentifier
+# (UUID) URN Namespace" by Leach, Mealling, and Salz
+# (http://www.i... | Add some notes to main
|
diff --git a/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb b/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb
index abc1234..def5678 100644
--- a/db/migrate/20140822150920_create_neighborly_balanced_orders.neighborly_balanced.rb
+++ b/db/migrate/201... | Add orders migration from neigborly balanced
|
diff --git a/lib/stackprofiler/middleware.rb b/lib/stackprofiler/middleware.rb
index abc1234..def5678 100644
--- a/lib/stackprofiler/middleware.rb
+++ b/lib/stackprofiler/middleware.rb
@@ -30,6 +30,8 @@ profile = StackProfx.run(@stackprof_opts) { out = @app.call env }
Thread.new do
+ iseq = ... | Send along suggested stack rebase
|
diff --git a/app/models/gobierto_data/connection.rb b/app/models/gobierto_data/connection.rb
index abc1234..def5678 100644
--- a/app/models/gobierto_data/connection.rb
+++ b/app/models/gobierto_data/connection.rb
@@ -9,14 +9,18 @@ class << self
def execute_query(site, query)
base_connection_config =... | Define db_config class method with site argument in GobiertoData::Connection
|
diff --git a/lib/vault/storage/yaml_store.rb b/lib/vault/storage/yaml_store.rb
index abc1234..def5678 100644
--- a/lib/vault/storage/yaml_store.rb
+++ b/lib/vault/storage/yaml_store.rb
@@ -8,30 +8,39 @@
delegate :[], :[]=, :size, :each, :delete, :to => :doc
- def initialize(file=nil, contents=ActiveSuppo... | Clean up the implementation of YamlStore a bit
|
diff --git a/lib/zensana/services/zendesk.rb b/lib/zensana/services/zendesk.rb
index abc1234..def5678 100644
--- a/lib/zensana/services/zendesk.rb
+++ b/lib/zensana/services/zendesk.rb
@@ -3,7 +3,7 @@ module Zensana
class Zendesk
include HTTMultiParty
- default_timeout 10
+ default_timeout 20
#debug_... | Extend timeout on ZenDesk calls
|
diff --git a/lib/erbtex.rb b/lib/erbtex.rb
index abc1234..def5678 100644
--- a/lib/erbtex.rb
+++ b/lib/erbtex.rb
@@ -1,7 +1,6 @@ #! /usr/bin/env ruby
require 'bundler/setup'
-Bundler.require
require 'erubis'
require 'pry'
| Remove unneeded Budler.require from main lib file.
|
diff --git a/lib/contextio.rb b/lib/contextio.rb
index abc1234..def5678 100644
--- a/lib/contextio.rb
+++ b/lib/contextio.rb
@@ -6,3 +6,4 @@
require_relative 'contextio/api_resource'
require_relative 'contextio/email_settings'
+require_relative 'contextio/connect_token'
| Make sure connect tokens are included in gem.
|
diff --git a/lib/rantly.rb b/lib/rantly.rb
index abc1234..def5678 100644
--- a/lib/rantly.rb
+++ b/lib/rantly.rb
@@ -5,7 +5,6 @@ end
require 'rantly/generator'
-require 'rantly/shrinks'
def Rantly(n=1,&block)
if n > 1
| Make shrink's monkey patching opt-in
|
diff --git a/csstats.gemspec b/csstats.gemspec
index abc1234..def5678 100644
--- a/csstats.gemspec
+++ b/csstats.gemspec
@@ -4,19 +4,21 @@ require 'csstats/version'
Gem::Specification.new do |gem|
- gem.name = "csstats"
+ gem.name = 'csstats'
gem.version = CSstats::VERSION
- gem.authors = ["Justas Palumickas"]... | Add required ruby version into gemspec
|
diff --git a/lib/nehm/menu.rb b/lib/nehm/menu.rb
index abc1234..def5678 100644
--- a/lib/nehm/menu.rb
+++ b/lib/nehm/menu.rb
@@ -45,7 +45,7 @@
def select
newline
- choice('e', 'Exit'.red) { raise Interrupt }
+ choice('e', 'Exit'.red) { UI.term }
# Output items
@items.e... | Use UI.term instead of Interrupt in 'configure'
|
diff --git a/lib/needs_csv.rb b/lib/needs_csv.rb
index abc1234..def5678 100644
--- a/lib/needs_csv.rb
+++ b/lib/needs_csv.rb
@@ -4,12 +4,15 @@ class NeedsCsv < CsvRenderer
def to_csv
CSV.generate do |csv|
- csv << ["Id", "Lead department", "Priority", "Title", "Format", "Tags", "Context", "Status", "Update... | Add reasoning, dg links and existing services to CSV export
|
diff --git a/croudia.gemspec b/croudia.gemspec
index abc1234..def5678 100644
--- a/croudia.gemspec
+++ b/croudia.gemspec
@@ -16,6 +16,8 @@ gem.version = Croudia::VERSION
gem.add_dependency 'mechanize', '~> 2.5.1'
+ gem.add_development_dependency 'rake', '~> 0.9.2.2'
+ gem.add_development_dependency 'rdoc... | Add rake & rdoc to development dependency
|
diff --git a/lib/pg_search.rb b/lib/pg_search.rb
index abc1234..def5678 100644
--- a/lib/pg_search.rb
+++ b/lib/pg_search.rb
@@ -12,15 +12,10 @@
module ClassMethods
def pg_search_scope(name, options)
- scope = PgSearch::Scope.new(name, self, options)
- scope_method =
- if respond_to?(:scope) &... | Remove conditional logic around Active Record 2 named_scope. |
diff --git a/lib/poper/cli.rb b/lib/poper/cli.rb
index abc1234..def5678 100644
--- a/lib/poper/cli.rb
+++ b/lib/poper/cli.rb
@@ -16,6 +16,9 @@
def run(commit)
Runner.new(commit).run.each do |message|
+ # message.commit and message.message are Strings
+ # prints first 7 characteres of the comm... | Add a comment to clarify a piece of code
|
diff --git a/lib/repos/cli.rb b/lib/repos/cli.rb
index abc1234..def5678 100644
--- a/lib/repos/cli.rb
+++ b/lib/repos/cli.rb
@@ -38,7 +38,7 @@ if options[:verbose]
Dir.chdir repository do
system 'git status'
- system 'git stash list'
+ system 'git stash --no-pager l... | Fix an issue with --verbose by disabling the pager for git stash
|
diff --git a/dummy/spec/models/story_spec.rb b/dummy/spec/models/story_spec.rb
index abc1234..def5678 100644
--- a/dummy/spec/models/story_spec.rb
+++ b/dummy/spec/models/story_spec.rb
@@ -1,4 +1,7 @@ require 'spec_helper'
+
+class ChildStory < Story
+end
describe Product do
describe 'member methods' do
@@ -6,6 +... | Test that not a child story is considered at Product.stories('no-name', user) call.
|
diff --git a/spec/controllers/friendships_controller_spec.rb b/spec/controllers/friendships_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/friendships_controller_spec.rb
+++ b/spec/controllers/friendships_controller_spec.rb
@@ -0,0 +1,28 @@+require 'spec_helper'
+
+describe FriendshipsControlle... | Add tests for friendship creation
|
diff --git a/route.rb b/route.rb
index abc1234..def5678 100644
--- a/route.rb
+++ b/route.rb
@@ -1,4 +1,8 @@-# cities = [[1, 2], [3, 4], [8, 7], [10, 12], [2, 4]]
+# cities = [
+# [[1, 2], [3, 4], [8, 7], [10, 12], [2, 4]],
+# [[1, 2], [3, 4], [8, 7], [10, 12], [2, 4]],
+# ...
+#]
class TSP
@@ -6,17 +10,17 @@
... | Add solution to pass all tests
|
diff --git a/db/migrate/20140324144244_copy_artefact_need_id_to_array_field_need_ids.rb b/db/migrate/20140324144244_copy_artefact_need_id_to_array_field_need_ids.rb
index abc1234..def5678 100644
--- a/db/migrate/20140324144244_copy_artefact_need_id_to_array_field_need_ids.rb
+++ b/db/migrate/20140324144244_copy_artefac... | Migrate existing need_ids to Array field `need_ids`
|
diff --git a/lib/acfs/model.rb b/lib/acfs/model.rb
index abc1234..def5678 100644
--- a/lib/acfs/model.rb
+++ b/lib/acfs/model.rb
@@ -20,7 +20,7 @@ include ActiveModel::Conversion
include ActiveModel::Validations
- require 'model/initialization'
+ require 'acfs/model/initialization'
... | Fix require bug on rails 3.2.
|
diff --git a/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb b/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb
index abc1234..def5678 100644
--- a/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb
+++ b/provider/vendor/plugins/oauth2_provider/l... | Add ability to disable SSL validation on controllers. |
diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/courses_controller.rb
+++ b/app/controllers/courses_controller.rb
@@ -10,7 +10,7 @@
def index
@courses = apply_scopes(Course.accessible_by(current_user)).paginate(
- ... | Fix courses pagination when 'page' param is empty
|
diff --git a/app/controllers/explore_controller.rb b/app/controllers/explore_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/explore_controller.rb
+++ b/app/controllers/explore_controller.rb
@@ -6,15 +6,15 @@ @licenses = Project.popular_licenses(:facet_limit => 40).first(10)
project_scope =... | Load 10 projects per list on explore page
|
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
@@ -19,7 +19,9 @@ end
# Show the response in an appropriate form.
- render :json => response.body... | Update option to render reponse as JSON or instance variable
|
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/comments_controller_spec.rb
+++ b/spec/controllers/comments_controller_spec.rb
@@ -7,8 +7,9 @@ context "GET #new" do
it "assigns a new comment to @comment" ... | Add authorize user to tests
|
diff --git a/core/db/default/spree/stores.rb b/core/db/default/spree/stores.rb
index abc1234..def5678 100644
--- a/core/db/default/spree/stores.rb
+++ b/core/db/default/spree/stores.rb
@@ -3,7 +3,7 @@ Spree::Store.new do |s|
s.code = 'spree'
s.name = 'Spree Demo Site'
- s.url ... | Change the default canonical URL for a store to example.com
[Fixes #5674]
|
diff --git a/ec2list.gemspec b/ec2list.gemspec
index abc1234..def5678 100644
--- a/ec2list.gemspec
+++ b/ec2list.gemspec
@@ -19,8 +19,8 @@ spec.require_paths = ["lib"]
spec.add_runtime_dependency "aws_config"
- spec.add_runtime_dependency "aws-sdk"
- spec.add_runtime_dependency "slop"
+ spec.add_runtime_depen... | Add build constraint for aws-sdk and slop
|
diff --git a/app/lib/api_entreprise/rna_adapter.rb b/app/lib/api_entreprise/rna_adapter.rb
index abc1234..def5678 100644
--- a/app/lib/api_entreprise/rna_adapter.rb
+++ b/app/lib/api_entreprise/rna_adapter.rb
@@ -6,9 +6,11 @@ end
def process_params
- # Responses with a 206 codes are sometimes not useable,
- ... | Improve a comment in RNAAdapter |
diff --git a/spec/views/admissions/index.html.erb_spec.rb b/spec/views/admissions/index.html.erb_spec.rb
index abc1234..def5678 100644
--- a/spec/views/admissions/index.html.erb_spec.rb
+++ b/spec/views/admissions/index.html.erb_spec.rb
@@ -1,4 +1,7 @@ require 'rails_helper'
RSpec.describe "admissions/index", type: ... | Add pending test for Sunspot-dependent feature
|
diff --git a/lib/faker/role.rb b/lib/faker/role.rb
index abc1234..def5678 100644
--- a/lib/faker/role.rb
+++ b/lib/faker/role.rb
@@ -8,7 +8,7 @@ end
def by_index i
- all_values.fetch(i) { require 'pry'; binding.pry }
+ all_values.fetch(i) { raise NotEnoughRoles, "You only have #{i} roles de... | Remove random pry in Faker::Role
|
diff --git a/spec/fc-reminder/providers/base_spec.rb b/spec/fc-reminder/providers/base_spec.rb
index abc1234..def5678 100644
--- a/spec/fc-reminder/providers/base_spec.rb
+++ b/spec/fc-reminder/providers/base_spec.rb
@@ -18,7 +18,7 @@ end
describe "#run" do
- let(:team_name) { "Barcelona" }
+ let(:team_nam... | Use more generic team name |
diff --git a/models/player.rb b/models/player.rb
index abc1234..def5678 100644
--- a/models/player.rb
+++ b/models/player.rb
@@ -45,6 +45,10 @@
def self.authorize(name, pass)
p = self.find_by_name(name)
- p && p.password == pass
+ if p && p.password == pass
+ p
+ else
+ nil
+ end
end
... | Modify to Player::authorize return the Player object.
|
diff --git a/app/services/delete_branch_service.rb b/app/services/delete_branch_service.rb
index abc1234..def5678 100644
--- a/app/services/delete_branch_service.rb
+++ b/app/services/delete_branch_service.rb
@@ -0,0 +1,42 @@+class DeleteBranchService
+ def execute(project, branch_name, current_user)
+ repository =... | Delete branch service with permission checks
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
|
diff --git a/vignette.gemspec b/vignette.gemspec
index abc1234..def5678 100644
--- a/vignette.gemspec
+++ b/vignette.gemspec
@@ -17,11 +17,11 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
- gem.add_dependency "activesupport"
- gem.add_dependency "actionpack"
+ g... | Add versioning for dependency gems
|
diff --git a/app/helpers/mailpenny_helper.rb b/app/helpers/mailpenny_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/mailpenny_helper.rb
+++ b/app/helpers/mailpenny_helper.rb
@@ -2,9 +2,16 @@ private
# Returns the profile for the specified user
- # @param [user] the user whose profile path is required... | Define a helper to count unread messages
|
diff --git a/railties/helpers/application.rb b/railties/helpers/application.rb
index abc1234..def5678 100644
--- a/railties/helpers/application.rb
+++ b/railties/helpers/application.rb
@@ -2,4 +2,5 @@ # Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionControl... | Make it a default assumption that you want all helpers, all the time (yeah, yeah)
git-svn-id: afc9fed30c1a09d8801d1e4fbe6e01c29c67d11f@6222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
diff --git a/railties/lib/commands/runner.rb b/railties/lib/commands/runner.rb
index abc1234..def5678 100644
--- a/railties/lib/commands/runner.rb
+++ b/railties/lib/commands/runner.rb
@@ -20,11 +20,8 @@ opts.parse!
end
-if defined?(RAILS_ENV)
- RAILS_ENV.replace(options[:environment])
-else
- ENV["RAILS_ENV"] =... | Make sure ENV['RAILS_ENV'] and RAILS_ENV are kept in sync
git-svn-id: afc9fed30c1a09d8801d1e4fbe6e01c29c67d11f@2539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.