diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/kernel/common/variable_scope.rb b/kernel/common/variable_scope.rb
index abc1234..def5678 100644
--- a/kernel/common/variable_scope.rb
+++ b/kernel/common/variable_scope.rb
@@ -11,10 +11,10 @@ end
def set_eval_local(name, val)
- dynamic_locals[name] = val
+ @parent.dynamic_locals[name] = val
... | Fix where eval introduced locals end up
|
diff --git a/app/models/key.rb b/app/models/key.rb
index abc1234..def5678 100644
--- a/app/models/key.rb
+++ b/app/models/key.rb
@@ -19,7 +19,7 @@ end
# set a flag or flags to true
- def can(*flags)
+ def can!(*flags)
flags.each do |flag|
self.send "can_#{flag.to_s}=", true
end
@@ -27,7 +27,7 ... | Add bang to can and cannot methods
|
diff --git a/mootools-plus.gemspec b/mootools-plus.gemspec
index abc1234..def5678 100644
--- a/mootools-plus.gemspec
+++ b/mootools-plus.gemspec
@@ -9,7 +9,7 @@
s.files = `git ls-files`.split("\n")
- s.add_dependency "railties", '>= 3.2.0', '< 5.0'
+ s.add_dependency 'railties', '>= 3.1.0', '< 5.0'
... | Downgrade railties version to 3.1
|
diff --git a/example_app_template.rb b/example_app_template.rb
index abc1234..def5678 100644
--- a/example_app_template.rb
+++ b/example_app_template.rb
@@ -1,5 +1,5 @@-$LOAD_PATH.unshift(File.expand_path('../../../lib', __FILE__))
+$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__))
require 'rspec/rails/version'... | Use paths relative to rspec-rails directory in template
|
diff --git a/lib/chatrix/bot/plugins/echo.rb b/lib/chatrix/bot/plugins/echo.rb
index abc1234..def5678 100644
--- a/lib/chatrix/bot/plugins/echo.rb
+++ b/lib/chatrix/bot/plugins/echo.rb
@@ -11,8 +11,22 @@ 'Makes the bot echo the specified text to chat',
aliases: ['say']... | Add more commands to Echo and fix wrong method called
The #say method was calling bot.send_message, which doesn't exist.
Fixed #say to call room.messaging.send_message instead.
|
diff --git a/lib/filter_factory/condition.rb b/lib/filter_factory/condition.rb
index abc1234..def5678 100644
--- a/lib/filter_factory/condition.rb
+++ b/lib/filter_factory/condition.rb
@@ -2,8 +2,12 @@ class Condition
attr_reader :field_name, :value
+ # Initializes new instance of Condition class.
+ #
+ ... | Add RDoc/Yard comments to Condition class.
|
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,15 +4,31 @@ #Note: bookmarklet caps at 4096 chars. this is fine for now, but may need to refactor if we wanna get fancy
#TODO: make post... | Change JS to sent highlighted text as an entry
|
diff --git a/app/mailers/alert_mailer.rb b/app/mailers/alert_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/alert_mailer.rb
+++ b/app/mailers/alert_mailer.rb
@@ -1,7 +1,7 @@ class AlertMailer < ActionMailer::Base
include ActionView::Helpers::TextHelper
include ActionView::Helpers::AssetUrlHelper
- def... | Add a name to the from email address
|
diff --git a/interactive-tests/interactives_samples_1-oil-and-water-shake.rb b/interactive-tests/interactives_samples_1-oil-and-water-shake.rb
index abc1234..def5678 100644
--- a/interactive-tests/interactives_samples_1-oil-and-water-shake.rb
+++ b/interactive-tests/interactives_samples_1-oil-and-water-shake.rb
@@ -0,0... | Add custom test script for "Oil and Water Shake" interactive
[#69189676]
|
diff --git a/spec/components/document_list.spec.rb b/spec/components/document_list.spec.rb
index abc1234..def5678 100644
--- a/spec/components/document_list.spec.rb
+++ b/spec/components/document_list.spec.rb
@@ -0,0 +1,98 @@+require "spec_helper"
+
+describe "Document list", type: :view do
+ def component_name
+ "... | Test output of item 'parts'
As the ouput of an item has already been tested upstream,
this test just tets the enhancement
|
diff --git a/spec/features/category_scopes_spec.rb b/spec/features/category_scopes_spec.rb
index abc1234..def5678 100644
--- a/spec/features/category_scopes_spec.rb
+++ b/spec/features/category_scopes_spec.rb
@@ -12,13 +12,9 @@ stub_oauth_edit
end
- it 'show up for ArticleScopedPrograms' do
+ it 'lets a faci... | Remove trivial spec that may have been causing others to fail
I have an unconfirmed hunch that the dangling requests from the first, trivial spec may have caused the second spec to fail intermittently, because of the database getting reset.
|
diff --git a/spec/integration/entry_schema_spec.rb b/spec/integration/entry_schema_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/entry_schema_spec.rb
+++ b/spec/integration/entry_schema_spec.rb
@@ -14,4 +14,85 @@ expect(subject.description).
to eq('schema for an fstab entry')
end
+
+ descr... | Test existing behaviour on entry schema
|
diff --git a/spec/ruby/1.8/language/ensure_spec.rb b/spec/ruby/1.8/language/ensure_spec.rb
index abc1234..def5678 100644
--- a/spec/ruby/1.8/language/ensure_spec.rb
+++ b/spec/ruby/1.8/language/ensure_spec.rb
@@ -21,4 +21,15 @@ t.do_test.should == :did_test
t.values.should == [:start, :in_block, :end]
end
+... | Add spec for exception handling inside ensure block.
Signed-off-by: Michael S. Klishin <17b9e1c64588c7fa6419b4d29dc1f4426279ba01@novemberain.com>
|
diff --git a/app/models/todo_list.rb b/app/models/todo_list.rb
index abc1234..def5678 100644
--- a/app/models/todo_list.rb
+++ b/app/models/todo_list.rb
@@ -8,8 +8,12 @@ index({user_id: 1, date: 1}, {unique: true})
def add(text, hour, minute)
- schedule_date = DateTime.new(date.year, date.mon, date.day, hour,... | Add method for finding the todo list for a given date, which will create it if it is not found. Add method for finding a todo by id
|
diff --git a/config/initializers/01_monkeypatch.rb b/config/initializers/01_monkeypatch.rb
index abc1234..def5678 100644
--- a/config/initializers/01_monkeypatch.rb
+++ b/config/initializers/01_monkeypatch.rb
@@ -62,7 +62,7 @@ def format_error
return {
# TODO: I18n
- message: self.message,
+ ... | Change error message when unauthorized.
|
diff --git a/lib/operawatir/quickwidgets/quick_dropdownitem.rb b/lib/operawatir/quickwidgets/quick_dropdownitem.rb
index abc1234..def5678 100644
--- a/lib/operawatir/quickwidgets/quick_dropdownitem.rb
+++ b/lib/operawatir/quickwidgets/quick_dropdownitem.rb
@@ -28,9 +28,18 @@ # @return true if item is now selected, ... | Add press menu for selecting drop downs
|
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -3,9 +3,15 @@ RSpec.describe UsersController, type: :controller do
describe "GET #show"... | Add users controller basic tests
|
diff --git a/BabyBluetooth.podspec b/BabyBluetooth.podspec
index abc1234..def5678 100644
--- a/BabyBluetooth.podspec
+++ b/BabyBluetooth.podspec
@@ -16,9 +16,10 @@ s.author = { "liuyanwei" => "coolnameismy@hotmail.com" }
s.source = { :git => "https://github.com/coolnameismy/BabyBluetooth.git", :t... | Update podspec to support macOS platform
|
diff --git a/app/overrides/add_original_price_to_product_edit.rb b/app/overrides/add_original_price_to_product_edit.rb
index abc1234..def5678 100644
--- a/app/overrides/add_original_price_to_product_edit.rb
+++ b/app/overrides/add_original_price_to_product_edit.rb
@@ -1,11 +1,12 @@ Deface::Override.new(:virtual_path =>... | Format original price data form in product edit to match other data elements
|
diff --git a/soyuz.gemspec b/soyuz.gemspec
index abc1234..def5678 100644
--- a/soyuz.gemspec
+++ b/soyuz.gemspec
@@ -20,7 +20,7 @@
spec.add_dependency "commander"
spec.add_dependency "safe_yaml"
- spec.add_dependency "psych"
+ spec.add_dependency "psych", ">=2.0.5"
spec.add_development_dependency "bundler... | Add version requirement for psych so it doesn't uses an old heap overflow version of libyaml
|
diff --git a/lib/image_server/installer.rb b/lib/image_server/installer.rb
index abc1234..def5678 100644
--- a/lib/image_server/installer.rb
+++ b/lib/image_server/installer.rb
@@ -37,7 +37,7 @@ end
def current_version
- '1.16.1'
+ '1.17.0'
end
def executable_name
| Update to latest image server version |
diff --git a/helpers/custom_helpers.rb b/helpers/custom_helpers.rb
index abc1234..def5678 100644
--- a/helpers/custom_helpers.rb
+++ b/helpers/custom_helpers.rb
@@ -3,7 +3,7 @@ 'coffee' => 'coffeescript',
'rb' => 'ruby',
'java' => 'java',
- 'py' => 'python3'
+ 'py' => 'python'
}.freeze
def c... | Fix syntax highlighting for Python
|
diff --git a/lib/postal_address/address.rb b/lib/postal_address/address.rb
index abc1234..def5678 100644
--- a/lib/postal_address/address.rb
+++ b/lib/postal_address/address.rb
@@ -2,12 +2,13 @@ class Address
Fields = %i(recipient street zip state city country country_code).freeze
- attr_accessor *Fields
... | Fix for warning: `*' interpreted as argument prefix
|
diff --git a/name_resolution/name_resolver.rb b/name_resolution/name_resolver.rb
index abc1234..def5678 100644
--- a/name_resolution/name_resolver.rb
+++ b/name_resolution/name_resolver.rb
@@ -12,7 +12,7 @@ def build_report
begin
# Only Ruby >= 2.0.0 supports setting a timeout, so use this
- Timeout.... | Fix issue with timeout variable being passed as a string
|
diff --git a/Casks/anytrans-for-android.rb b/Casks/anytrans-for-android.rb
index abc1234..def5678 100644
--- a/Casks/anytrans-for-android.rb
+++ b/Casks/anytrans-for-android.rb
@@ -0,0 +1,10 @@+cask 'anytrans-for-android' do
+ version :latest
+ sha256 :no_check
+
+ url 'http://dl.imobie.com/anytrans-android-mac.dmg'... | Add AnyTrans for Android.app Latest
|
diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb
index abc1234..def5678 100644
--- a/Casks/handbrakecli-nightly.rb
+++ b/Casks/handbrakecli-nightly.rb
@@ -1,6 +1,6 @@ class HandbrakecliNightly < Cask
- version '6452svn'
- sha256 'cce4733a704bab3d0314d8950b98c2cdce4ed47e4e838727f8e996a3f5cfa5... | Update HandBrakeCLI Nightly to v6469svn
HandBrakeCLI Nightly Build 6469svn released 2014-10-26.
|
diff --git a/lib/scrapinghub/api_method.rb b/lib/scrapinghub/api_method.rb
index abc1234..def5678 100644
--- a/lib/scrapinghub/api_method.rb
+++ b/lib/scrapinghub/api_method.rb
@@ -11,7 +11,7 @@ build_params!
build_uri!(base_url)
- [@uri, @parameters]
+ @uri
end
def build_params!
@@... | Add the parameters in ApiMethod
|
diff --git a/app/models/inputs/effective_ckeditor_text_area_input.rb b/app/models/inputs/effective_ckeditor_text_area_input.rb
index abc1234..def5678 100644
--- a/app/models/inputs/effective_ckeditor_text_area_input.rb
+++ b/app/models/inputs/effective_ckeditor_text_area_input.rb
@@ -5,7 +5,7 @@
class EffectiveCked... | Fix module naming bug for effective ckeditor text area input
|
diff --git a/lib/thor-scmversion/errors.rb b/lib/thor-scmversion/errors.rb
index abc1234..def5678 100644
--- a/lib/thor-scmversion/errors.rb
+++ b/lib/thor-scmversion/errors.rb
@@ -26,6 +26,7 @@
class GitError < SCMVersionError; end
class GitTagError < GitError
+ status_code(100)
def initialize(tag)
... | Add status code to git tag error
|
diff --git a/lib/yasuri/yasuri_map_node.rb b/lib/yasuri/yasuri_map_node.rb
index abc1234..def5678 100644
--- a/lib/yasuri/yasuri_map_node.rb
+++ b/lib/yasuri/yasuri_map_node.rb
@@ -21,32 +21,30 @@ end
def to_h
- h = {}
- h["node"] = "map"
- h["name"] = self.name
- h["children"] = self.chi... | Improve rename variable more concrete
|
diff --git a/lib/yira.rb b/lib/yira.rb
index abc1234..def5678 100644
--- a/lib/yira.rb
+++ b/lib/yira.rb
@@ -11,52 +11,34 @@ "jpace:H@ll0w3dB3Thy"
end
- def get_url url
+ def run_curl type, *params
args = Array.new
args << "curl"
args << "-k"
args << "-u"
args << qq(my_credentials)
... | Clean up common Jira/curl code
|
diff --git a/db/migrate/20170109161435_move_lock_version_data.rb b/db/migrate/20170109161435_move_lock_version_data.rb
index abc1234..def5678 100644
--- a/db/migrate/20170109161435_move_lock_version_data.rb
+++ b/db/migrate/20170109161435_move_lock_version_data.rb
@@ -0,0 +1,15 @@+class MoveLockVersionData < ActiveReco... | Add migration to move lock version data
|
diff --git a/cg_role_client.gemspec b/cg_role_client.gemspec
index abc1234..def5678 100644
--- a/cg_role_client.gemspec
+++ b/cg_role_client.gemspec
@@ -11,15 +11,15 @@ s.description = "Client library for the CG Role Service."
s.summary = ""
- s.add_dependency "jruby-openssl", ">= 0.7.4"
- s.add_dependency... | Remove dep on jruby-openssl; move rspec and rake to dev deps.
git-svn-id: fa1a74920b061848e2ced189e7c50f362c0f37df@6865 bc291798-7d79-44a5-a816-fbf4f7d05ffa
|
diff --git a/app/helpers/elements_helper.rb b/app/helpers/elements_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/elements_helper.rb
+++ b/app/helpers/elements_helper.rb
@@ -6,6 +6,32 @@ end
nil
end
+
+ def render_paragraph(element)
+ # TODO: WRITE MORE GOOD
+ # Seriously, what the fuck?... | Write fucking ugly render paragraph method
|
diff --git a/app/lenses/people/user_lens.rb b/app/lenses/people/user_lens.rb
index abc1234..def5678 100644
--- a/app/lenses/people/user_lens.rb
+++ b/app/lenses/people/user_lens.rb
@@ -24,7 +24,7 @@ # Returns the tag that says 'All Users'. Remote select2s only need one actual option tag.
def selected_option_ta... | Fix bug in meal jobs search
|
diff --git a/app/mailers/reporter_mailer.rb b/app/mailers/reporter_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/reporter_mailer.rb
+++ b/app/mailers/reporter_mailer.rb
@@ -11,7 +11,8 @@
def named_maps_near_the_limit(message)
mail_to = Cartodb.get_config(:mailer, 'support_email')
+ mail_from = C... | Add new mail sender for internal notifications
|
diff --git a/app/reports/integrity_check.rb b/app/reports/integrity_check.rb
index abc1234..def5678 100644
--- a/app/reports/integrity_check.rb
+++ b/app/reports/integrity_check.rb
@@ -17,7 +17,7 @@ end
def models_to_check
- [StudentAssessment, Assessment, Educator, Student, StudentSchoolYear]
+ [StudentAs... | Remove StudentSchoolYear from data integrity check
|
diff --git a/kamelopard/lib/kamelopard.rb b/kamelopard/lib/kamelopard.rb
index abc1234..def5678 100644
--- a/kamelopard/lib/kamelopard.rb
+++ b/kamelopard/lib/kamelopard.rb
@@ -3,3 +3,4 @@ require 'kamelopard/geocode'
require 'kamelopard/function'
require 'kamelopard/function_paths'
+require 'kamelopard/multicam'
| Include multicam stuff by default
|
diff --git a/sandwich.rb b/sandwich.rb
index abc1234..def5678 100644
--- a/sandwich.rb
+++ b/sandwich.rb
@@ -18,12 +18,11 @@
def run_chef
rebuild_node
- Chef::Log.level = :debug
run_context = Chef::RunContext.new($client.node, {})
recipe = Chef::Recipe.new(nil, nil, run_context)
input = ARGF.read
reci... | Set standard log level to warn
|
diff --git a/Casks/eclipse-jee.rb b/Casks/eclipse-jee.rb
index abc1234..def5678 100644
--- a/Casks/eclipse-jee.rb
+++ b/Casks/eclipse-jee.rb
@@ -1,12 +1,12 @@ cask :v1 => 'eclipse-jee' do
- version '4.4.1'
+ version '4.4.2'
if Hardware::CPU.is_32_bit?
- sha256 '3e3d6c80fb0a4c4fa12060cd52680df0722ebc45efae27e3... | Update Eclipse IDE for Java EE Developers to v4.4.2 (Luna SR2)
|
diff --git a/Casks/spacemonkey.rb b/Casks/spacemonkey.rb
index abc1234..def5678 100644
--- a/Casks/spacemonkey.rb
+++ b/Casks/spacemonkey.rb
@@ -9,5 +9,7 @@ homepage 'https://www.spacemonkey.com'
license :unknown # TODO: change license and remove this comment; ':unknown' is a machine-generated placeholder
+ aut... | Add auto_updates flag to SpaceMonkey
|
diff --git a/lib/aliyun/common/logging.rb b/lib/aliyun/common/logging.rb
index abc1234..def5678 100644
--- a/lib/aliyun/common/logging.rb
+++ b/lib/aliyun/common/logging.rb
@@ -11,7 +11,6 @@ # logger.info(xxx)
module Logging
- DEFAULT_LOG_FILE = "./aliyun_sdk.log"
MAX_NUM_LOG = 100
ROTAT... | Add variable control log output path
|
diff --git a/lib/codeclimate_ci/report.rb b/lib/codeclimate_ci/report.rb
index abc1234..def5678 100644
--- a/lib/codeclimate_ci/report.rb
+++ b/lib/codeclimate_ci/report.rb
@@ -1,22 +1,24 @@ module CodeclimateCi
- class Report
- def self.result_not_ready(retry_count, branch)
+ module Report
+ module_function
+
... | Replace Report class by module
|
diff --git a/filmbuff.gemspec b/filmbuff.gemspec
index abc1234..def5678 100644
--- a/filmbuff.gemspec
+++ b/filmbuff.gemspec
@@ -15,6 +15,7 @@ s.required_ruby_version = '>= 2.0.0'
s.add_dependency('faraday', '~> 0.8')
+ s.add_dependency('faraday_middleware', '~> 0.8')
s.add_development_dependency('minitest... | Revert "Don't need Faraday middleware at the moment"
This reverts commit fa88be417886218bf19bec15cf0071055e54ca98.
|
diff --git a/lib/password_and_ordinals.rb b/lib/password_and_ordinals.rb
index abc1234..def5678 100644
--- a/lib/password_and_ordinals.rb
+++ b/lib/password_and_ordinals.rb
@@ -5,11 +5,11 @@ def initialize password, character_ordinals
raise(ArgumentError, "#{character_ordinals.uniq.to_sentence} duplicated in #{c... | Move precondition earlier in constructor
|
diff --git a/lib/pieces/tilt_extension.rb b/lib/pieces/tilt_extension.rb
index abc1234..def5678 100644
--- a/lib/pieces/tilt_extension.rb
+++ b/lib/pieces/tilt_extension.rb
@@ -3,12 +3,8 @@ module Tilt
if respond_to?(:register_lazy)
register_lazy 'Pieces::Tilt::MustacheTemplate', 'pieces/tilt/mustache', 'mustac... | Remove unused CssTemplate from tilt extension |
diff --git a/lib/aruba/config/jruby.rb b/lib/aruba/config/jruby.rb
index abc1234..def5678 100644
--- a/lib/aruba/config/jruby.rb
+++ b/lib/aruba/config/jruby.rb
@@ -6,12 +6,12 @@ next unless RUBY_PLATFORM == 'java'
# disable JIT since these processes are so short lived
- ENV['JRUBY_OPTS'] = "-X-C #{ENV['J... | Add those flags only if not already added
|
diff --git a/test/vagrant/downloaders/file_test.rb b/test/vagrant/downloaders/file_test.rb
index abc1234..def5678 100644
--- a/test/vagrant/downloaders/file_test.rb
+++ b/test/vagrant/downloaders/file_test.rb
@@ -17,11 +17,25 @@ end
context "downloading" do
+ setup do
+ clean_paths
+ end
+
should... | Improve the file downloader test to use a real file
|
diff --git a/core/file/path_spec.rb b/core/file/path_spec.rb
index abc1234..def5678 100644
--- a/core/file/path_spec.rb
+++ b/core/file/path_spec.rb
@@ -16,3 +16,15 @@ File.open(@file2, 'w'){|file| file.path.should == tmp("../tmp/xxx")}
end
end
+
+describe "File.path" do
+ before :each do
+ @file1 = tmp("..... | Add spec for Ruby 1.9's File.path.
|
diff --git a/test/controllers/kiitos/admin/administrators_controller_test.rb b/test/controllers/kiitos/admin/administrators_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/kiitos/admin/administrators_controller_test.rb
+++ b/test/controllers/kiitos/admin/administrators_controller_test.rb
@@ -12,... | Change test to test for the user id
|
diff --git a/spec/end_view_spec.rb b/spec/end_view_spec.rb
index abc1234..def5678 100644
--- a/spec/end_view_spec.rb
+++ b/spec/end_view_spec.rb
@@ -1,6 +1,6 @@ require 'end_view'
-Dir["#{__FILE__}/../examples/*.rb"].each { |f| require f }
+Dir[File.join(__FILE__, '..', 'examples', '*.rb')].each { |f| require f }
... | Use File.join to require examples
|
diff --git a/app/controllers/concerns/measurements.rb b/app/controllers/concerns/measurements.rb
index abc1234..def5678 100644
--- a/app/controllers/concerns/measurements.rb
+++ b/app/controllers/concerns/measurements.rb
@@ -4,8 +4,7 @@ MEASUREMENT_OPTIONS = ActiveSupport::HashWithIndifferentAccess.new(
kwh: 'en... | Remove library books as an analytics scaling option
|
diff --git a/lib/fishwife/hijack_io.rb b/lib/fishwife/hijack_io.rb
index abc1234..def5678 100644
--- a/lib/fishwife/hijack_io.rb
+++ b/lib/fishwife/hijack_io.rb
@@ -5,7 +5,7 @@ end
def write(str)
- @async_context.response.output_stream.print(str)
+ @async_context.response.output_stream.write(str.to... | Write raw bytes instead of converting through Java strings |
diff --git a/lib/etl/transform/calculation_transform.rb b/lib/etl/transform/calculation_transform.rb
index abc1234..def5678 100644
--- a/lib/etl/transform/calculation_transform.rb
+++ b/lib/etl/transform/calculation_transform.rb
@@ -15,15 +15,52 @@ return nil if row[@fields[0]].nil?
if (@function.eql... | Add much more operations to calculation step
|
diff --git a/lib/fog/aws/parsers/dns/get_hosted_zone.rb b/lib/fog/aws/parsers/dns/get_hosted_zone.rb
index abc1234..def5678 100644
--- a/lib/fog/aws/parsers/dns/get_hosted_zone.rb
+++ b/lib/fog/aws/parsers/dns/get_hosted_zone.rb
@@ -17,14 +17,14 @@ case name
when 'Id'
@host... | Fix get hosted zone parser to correctly convert ResourceRecordSetCount into integer
|
diff --git a/lib/ghpreview/instant_markdown_d/viewer.rb b/lib/ghpreview/instant_markdown_d/viewer.rb
index abc1234..def5678 100644
--- a/lib/ghpreview/instant_markdown_d/viewer.rb
+++ b/lib/ghpreview/instant_markdown_d/viewer.rb
@@ -1,11 +1,14 @@ module GHPreview
module InstantMarkdownD
class Viewer
-
de... | Add `open` command for OS X
|
diff --git a/humboldt.gemspec b/humboldt.gemspec
index abc1234..def5678 100644
--- a/humboldt.gemspec
+++ b/humboldt.gemspec
@@ -23,7 +23,7 @@ s.add_dependency 'aws-sdk'
s.add_dependency 'jruby-openssl'
- s.files = Dir['lib/**/*.rb'] + Dir['bin/*'] + Dir['config/*']
+ s.files = Dir['lib/**/*.... | Make sure that config/emr-bootstrap is included in the gem |
diff --git a/lib/rollbar/plugins/rails/railtie_mixin.rb b/lib/rollbar/plugins/rails/railtie_mixin.rb
index abc1234..def5678 100644
--- a/lib/rollbar/plugins/rails/railtie_mixin.rb
+++ b/lib/rollbar/plugins/rails/railtie_mixin.rb
@@ -14,7 +14,13 @@ config.environment ||= ::Rails.env
config.root ... | Use `module_parent_name` instead of deprecated `parent_name`
`Module#parent_name is` deprecated in Rails 6.0.
Ref: https://github.com/rails/rails/pull/34051
|
diff --git a/lib/dry/view/exposures.rb b/lib/dry/view/exposures.rb
index abc1234..def5678 100644
--- a/lib/dry/view/exposures.rb
+++ b/lib/dry/view/exposures.rb
@@ -25,9 +25,9 @@ end
def bind(obj)
- bound_exposures = Hash[exposures.map { |name, exposure|
- [name, exposure.bind(obj)]
- ... | Convert another hash map over to use each_with_object |
diff --git a/lib/gitlab/ldap/person.rb b/lib/gitlab/ldap/person.rb
index abc1234..def5678 100644
--- a/lib/gitlab/ldap/person.rb
+++ b/lib/gitlab/ldap/person.rb
@@ -1,12 +1,14 @@ module Gitlab
module LDAP
class Person
- def self.find_by_uid(uid)
- Gitlab::LDAP::Adapter.new.user(config.uid, uid)
+ ... | Allow passing an adapter to Gitlab::LDAP::Person
|
diff --git a/lib/lazily/associating.rb b/lib/lazily/associating.rb
index abc1234..def5678 100644
--- a/lib/lazily/associating.rb
+++ b/lib/lazily/associating.rb
@@ -18,25 +18,27 @@ # { a: [4], b: [4, 4] }
# ]
#
- def associate(enumerable_map, &distinctor)
- labels = enumerable_map.keys
-... | Rename things, and introduce a struct, for clarity.
|
diff --git a/lib/mongoid/selectable.rb b/lib/mongoid/selectable.rb
index abc1234..def5678 100644
--- a/lib/mongoid/selectable.rb
+++ b/lib/mongoid/selectable.rb
@@ -38,7 +38,7 @@ if persisted? && _id_changed?
_parent.atomic_selector
else
- _parent.atomic_selector.merge("#{atomic_path}._id" ... | Make the embedded_atomic_selector less specific
Works around a bug where embeds_one -> embeds_many -> embeds_many
structures generate a selector which silently targets the wrong
document. This may cause fire, we'll see..
|
diff --git a/lib/quartz/validations.rb b/lib/quartz/validations.rb
index abc1234..def5678 100644
--- a/lib/quartz/validations.rb
+++ b/lib/quartz/validations.rb
@@ -11,20 +11,20 @@ end
def self.check_go_quartz_version
- current_pulse = File.read(File.join(File.dirname(__FILE__), '../../go/quartz/quartz.go'))
... | Use Quartz as a name
|
diff --git a/opal/browser/dom/element/form.rb b/opal/browser/dom/element/form.rb
index abc1234..def5678 100644
--- a/opal/browser/dom/element/form.rb
+++ b/opal/browser/dom/element/form.rb
@@ -1,5 +1,3 @@-require 'browser/blob'
-
module Browser; module DOM; class Element < Node
class Form < Element
@@ -26,8 +24,6 @... | Element::Form: Remove name (conflicts with tag name) and remove a require
|
diff --git a/lib/mighty_grid/column.rb b/lib/mighty_grid/column.rb
index abc1234..def5678 100644
--- a/lib/mighty_grid/column.rb
+++ b/lib/mighty_grid/column.rb
@@ -18,7 +18,7 @@ end
@model = @options[:model]
- fail MightyGrid::Exceptions::ArgumentError.new('Model of field for filtering should have ... | Fix case when model inherited from ActiveRecord::Base not directly |
diff --git a/lib/togglv8/workspaces.rb b/lib/togglv8/workspaces.rb
index abc1234..def5678 100644
--- a/lib/togglv8/workspaces.rb
+++ b/lib/togglv8/workspaces.rb
@@ -10,26 +10,34 @@ get "workspaces"
end
- def clients(workspace=nil)
- if workspace.nil?
+ def clients(workspace_id=nil)
+ if wor... | Add dashboard() and leave_workspace(). Update params to workspace_id.
|
diff --git a/lib/watir-classic/link.rb b/lib/watir-classic/link.rb
index abc1234..def5678 100644
--- a/lib/watir-classic/link.rb
+++ b/lib/watir-classic/link.rb
@@ -21,6 +21,13 @@ return ""
end
end
+
+ def to_s
+ assert_exists
+ r = string_creator
+ r = r + link_string_creator
+ ... | Restructure code - move private methods to bottom of class declaration etc.
|
diff --git a/lib/gish/commands/find_command.rb b/lib/gish/commands/find_command.rb
index abc1234..def5678 100644
--- a/lib/gish/commands/find_command.rb
+++ b/lib/gish/commands/find_command.rb
@@ -35,9 +35,7 @@ files = found.flatten.uniq
end
- files.map! { |f| "\"#{f}\"" }
-
- return ... | Change the output of the find command to show one path per line
|
diff --git a/db/migrate/20150306181423_create_electoral_districts.rb b/db/migrate/20150306181423_create_electoral_districts.rb
index abc1234..def5678 100644
--- a/db/migrate/20150306181423_create_electoral_districts.rb
+++ b/db/migrate/20150306181423_create_electoral_districts.rb
@@ -12,6 +12,8 @@ t.string :websit... | Add social parameters to electoral district table
|
diff --git a/lib/spree_fancy/engine.rb b/lib/spree_fancy/engine.rb
index abc1234..def5678 100644
--- a/lib/spree_fancy/engine.rb
+++ b/lib/spree_fancy/engine.rb
@@ -13,6 +13,8 @@
initializer :assets do |config|
Rails.application.config.assets.precompile += %w( spree/fancy/print.css )
+ Rails.applicati... | Add fonts and images into assets.precompile array
Fixes #97
Fixes #98
|
diff --git a/lib/sprig/seed/factory.rb b/lib/sprig/seed/factory.rb
index abc1234..def5678 100644
--- a/lib/sprig/seed/factory.rb
+++ b/lib/sprig/seed/factory.rb
@@ -4,17 +4,17 @@ def self.new_from_directive(directive)
raise ArgumentError, 'Must provide a Directive' unless directive.is_a? Directive
- ... | Reset column info before seeding |
diff --git a/integration-tests/apps/rack/background/something.rb b/integration-tests/apps/rack/background/something.rb
index abc1234..def5678 100644
--- a/integration-tests/apps/rack/background/something.rb
+++ b/integration-tests/apps/rack/background/something.rb
@@ -11,8 +11,8 @@ end
def foo
- puts "JC: in ... | Make sure we get what we expect.
|
diff --git a/texticle.gemspec b/texticle.gemspec
index abc1234..def5678 100644
--- a/texticle.gemspec
+++ b/texticle.gemspec
@@ -9,6 +9,7 @@ spec.authors = ["David Hahn"]
spec.email = ["davidmichaelhahn@gmail.com"]
spec.description = %q{ One stop shop for sending sms via email. }
+ spec.summary... | Add summary back to gemspec
|
diff --git a/config/initializers/datadog.rb b/config/initializers/datadog.rb
index abc1234..def5678 100644
--- a/config/initializers/datadog.rb
+++ b/config/initializers/datadog.rb
@@ -4,5 +4,6 @@ c.use :delayed_job, service_name: 'delayed_job'
c.use :dalli, service_name: 'memcached'
c.analytics_enabled =... | Enable Ruby Runtime Metrics in Datadog
This automatically collects a bunch of Ruby's GC-related metrics that
will come in handy while we tune the Unicorn workers. Some of theres
are:
* runtime.ruby.class_count
* runtime.ruby.gc.malloc_increase_bytes
* runtime.ruby.gc.total_allocated_objects
* runtime.ruby.gc.total_fr... |
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
index abc1234..def5678 100644
--- a/config/initializers/timeout.rb
+++ b/config/initializers/timeout.rb
@@ -7,5 +7,5 @@ # early. To avoid clogging processing ability, Rack::Timeout terminates long
# running requests.
if defined?(Rack::Timeou... | Update Rack::Timeout settings for Heroku
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -26,8 +26,10 @@ c_pkg.run_action(:install)
end
-chef_gem 'unf' do
- compile_time true if Chef::Resource::ChefGem.method_defined? :compile_time
+%w(unf rest-client).each do |gem_p... | Add rest-client to list of chef_gem dependencies
|
diff --git a/lib/capistrano/ec2_tagged.rb b/lib/capistrano/ec2_tagged.rb
index abc1234..def5678 100644
--- a/lib/capistrano/ec2_tagged.rb
+++ b/lib/capistrano/ec2_tagged.rb
@@ -17,9 +17,11 @@ instances = instances.tagged_values(value.to_s) if value != true
end
- instances.map { |instance|
- ... | Reduce API requests by memoizing
|
diff --git a/lib/client/alumni_stories.rb b/lib/client/alumni_stories.rb
index abc1234..def5678 100644
--- a/lib/client/alumni_stories.rb
+++ b/lib/client/alumni_stories.rb
@@ -3,7 +3,7 @@ module AlumniStories
include BaseClient
- # Create a checkpoint
+ # Change the sort order of an alumni story.
#
# @par... | Fix copy paste doc error
|
diff --git a/netsol.gemspec b/netsol.gemspec
index abc1234..def5678 100644
--- a/netsol.gemspec
+++ b/netsol.gemspec
@@ -6,7 +6,7 @@ spec.name = 'netsol'
spec.version = '0.2.0'
spec.authors = ['Michael Malet']
- spec.email = ['michael@tagadab.com']
+ spec.email = ['develop... | Switch author email to one which is valid
|
diff --git a/lib/cucumber/tree/feature.rb b/lib/cucumber/tree/feature.rb
index abc1234..def5678 100644
--- a/lib/cucumber/tree/feature.rb
+++ b/lib/cucumber/tree/feature.rb
@@ -34,7 +34,7 @@ end
def Scenario(name, &proc)
- add_scenario(name, &proc)
+ add_scenario(name, *caller[0].split(':')... | Add a missing method argument.
|
diff --git a/lib/dimples/configuration.rb b/lib/dimples/configuration.rb
index abc1234..def5678 100644
--- a/lib/dimples/configuration.rb
+++ b/lib/dimples/configuration.rb
@@ -4,39 +4,35 @@ module Configuration
def self.defaults
{
- source_path: Dir.pwd,
- destination_path: File.join(Dir.pw... | Move the output path into the paths config, remove archive_feeds
|
diff --git a/core/db/default/spree/zones.rb b/core/db/default/spree/zones.rb
index abc1234..def5678 100644
--- a/core/db/default/spree/zones.rb
+++ b/core/db/default/spree/zones.rb
@@ -5,9 +5,9 @@
%w(PL FI PT RO DE FR SK HU SI IE AT ES IT BE SE LV BG GB LT CY LU MT DK NL EE HR CZ GR).
each do |symbol|
- eu_vat.zone... | Make zone members creation idempotent |
diff --git a/lib/generators/access_lint/install/install_generator.rb b/lib/generators/access_lint/install/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/access_lint/install/install_generator.rb
+++ b/lib/generators/access_lint/install/install_generator.rb
@@ -5,7 +5,7 @@
desc "Add Acces... | Insert route after looser pattern
- Regex will match MyApp::Application.routes.draw do, which is a pattern
in Rails apps.
|
diff --git a/traco.gemspec b/traco.gemspec
index abc1234..def5678 100644
--- a/traco.gemspec
+++ b/traco.gemspec
@@ -11,9 +11,9 @@ s.summary = "Translatable columns for Rails 4.2 or better, stored in the model table itself."
s.license = "MIT"
- s.files = `git ls-files`.split("\n")
- s.test_file... | gemspec: Use Ruby, not git, to pick files
There is a nice rationale written up at https://packaging.rubystyle.guide/#using-git-in-gemspec
Upside: We distribute less files to the user. |
diff --git a/lib/polymorphic_preloader.rb b/lib/polymorphic_preloader.rb
index abc1234..def5678 100644
--- a/lib/polymorphic_preloader.rb
+++ b/lib/polymorphic_preloader.rb
@@ -18,6 +18,8 @@ end
end
+private
+
def preloader
@preloader ||= ActiveRecord::Associations::Preloader.new
end
| Make preloader instance method private
|
diff --git a/SPTDataLoader.podspec b/SPTDataLoader.podspec
index abc1234..def5678 100644
--- a/SPTDataLoader.podspec
+++ b/SPTDataLoader.podspec
@@ -5,7 +5,7 @@ s.summary = "SPTDataLoader is Spotify's HTTP library for Objective-C"
s.description = <<-DESC
- Authentication and back... | Add tvOS and watchOS to podspec
- Also fix wrong type of apostrophe in the description.
|
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb
@@ ... | Add support for calculating appcast checkpoint from URLs.
|
diff --git a/dry-monitor.gemspec b/dry-monitor.gemspec
index abc1234..def5678 100644
--- a/dry-monitor.gemspec
+++ b/dry-monitor.gemspec
@@ -15,6 +15,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
+ spec.add_runtime_dependency 'rouge', '~> 2.0'
spec.add_run... | Add rouge gem as a runtime dep
|
diff --git a/lib/vestal_versions/reset.rb b/lib/vestal_versions/reset.rb
index abc1234..def5678 100644
--- a/lib/vestal_versions/reset.rb
+++ b/lib/vestal_versions/reset.rb
@@ -14,7 +14,7 @@ # documentation for more details.
def reset_to!(value)
if saved = skip_version{ revert_to!(value) }
- ... | Use :delete instead of :delete_records
|
diff --git a/lotus-validations.gemspec b/lotus-validations.gemspec
index abc1234..def5678 100644
--- a/lotus-validations.gemspec
+++ b/lotus-validations.gemspec
@@ -13,14 +13,15 @@ spec.homepage = 'http://lotusrb.org'
spec.license = 'MIT'
- spec.files = `git ls-files -z`.split("\x0")
+ spec.... | Exclude test files from the gem. Requires a version of Ruby 2+
|
diff --git a/exercises/rotational-cipher/.meta/solutions/rotational_cipher.rb b/exercises/rotational-cipher/.meta/solutions/rotational_cipher.rb
index abc1234..def5678 100644
--- a/exercises/rotational-cipher/.meta/solutions/rotational_cipher.rb
+++ b/exercises/rotational-cipher/.meta/solutions/rotational_cipher.rb
@@ ... | Add Example Solution to Rotational Cipher
|
diff --git a/ruby/billing-time-change.rb b/ruby/billing-time-change.rb
index abc1234..def5678 100644
--- a/ruby/billing-time-change.rb
+++ b/ruby/billing-time-change.rb
@@ -13,14 +13,23 @@ c.api_key = ENV['CHARGIFY_API_KEY']
end
-subscriptions = Chargify::Subscription.find(:all, params: { per_page: 5, state: "ac... | Update billing time change to page through results
|
diff --git a/frontend/lib/mno_enterprise/frontend/engine.rb b/frontend/lib/mno_enterprise/frontend/engine.rb
index abc1234..def5678 100644
--- a/frontend/lib/mno_enterprise/frontend/engine.rb
+++ b/frontend/lib/mno_enterprise/frontend/engine.rb
@@ -11,10 +11,10 @@
# I18n management
# Internally rewrite /... | [i18n] Fix frontend routing in dev
|
diff --git a/GitHub_Desktop.rb b/GitHub_Desktop.rb
index abc1234..def5678 100644
--- a/GitHub_Desktop.rb
+++ b/GitHub_Desktop.rb
@@ -0,0 +1,45 @@+cheatsheet do
+ title 'GitHub Desktop'
+ docset_file_name 'GitHub_Desktop'
+ keyword 'GitHub'
+ source_url 'http://cheat.kapeli.com'
+
+ category do
+ i... | Add first version of cheatsheet file
|
diff --git a/hash_selectors.gemspec b/hash_selectors.gemspec
index abc1234..def5678 100644
--- a/hash_selectors.gemspec
+++ b/hash_selectors.gemspec
@@ -2,7 +2,7 @@
spec = Gem::Specification.new do |s|
s.name = "hash_selectors"
- s.version = "0.0.1"
+ s.version = "0.0.2"
s.summary = "Some s... | Increment version 0.0.1 -> 0.0.2: Add reject_by... and partition_by... methods
|
diff --git a/hash_selectors.gemspec b/hash_selectors.gemspec
index abc1234..def5678 100644
--- a/hash_selectors.gemspec
+++ b/hash_selectors.gemspec
@@ -2,7 +2,7 @@
spec = Gem::Specification.new do |s|
s.name = "hash_selectors"
- s.version = "0.0.3"
+ s.version = "0.0.4"
s.summary = "Some s... | Increment version 0.0.3 -> 0.0.4: Add merge_into and filter_by... aliases
|
diff --git a/sidekiq-oj.gemspec b/sidekiq-oj.gemspec
index abc1234..def5678 100644
--- a/sidekiq-oj.gemspec
+++ b/sidekiq-oj.gemspec
@@ -9,9 +9,8 @@ spec.authors = ["Rafal Wojsznis"]
spec.email = ["rafal.wojsznis@gmail.com"]
- spec.summary = %q{TODO: Write a short summary, because Rubygems r... | Add proper summary and description
|
diff --git a/main.rb b/main.rb
index abc1234..def5678 100644
--- a/main.rb
+++ b/main.rb
@@ -1,4 +1,10 @@ class ApiApp < Grape::API
+
+ get do
+ # Redirect to current version
+ redirect 'v0'
+ end
+
version 'v0', using: :path
mount ApiV0
end
| Add a redirect to current active api version.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -3,7 +3,7 @@ license "MIT"
description "Installs/Configures New Relic"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
-version "0.3.1"
+version "0.3.2"
... | Prepare cookbook for upload to community site
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -15,7 +15,7 @@ depends 'osl-nrpe'
depends 'osl-postfix'
depends 'osl-selinux'
-depends 'percona', '~> 2.1.0'
+depends 'percona', '~> 3.1.1'
supports 'cent... | Update percona to Chef 17-compliant version
Signed-off-by: Robert Detjens <80088559520001a14c62b25ed86ca3d2c36785e9@osuosl.org>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.