diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
index abc1234..def5678 100644
--- a/config/initializers/session_store.rb
+++ b/config/initializers/session_store.rb
@@ -3,8 +3,7 @@ # Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be ... | Use session key from config
|
diff --git a/cookbooks/chef/attributes/default.rb b/cookbooks/chef/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/chef/attributes/default.rb
+++ b/cookbooks/chef/attributes/default.rb
@@ -5,4 +5,4 @@ default[:chef][:server][:version] = "12.13.0-1"
# Set the default client version
-default[:chef]... | Update chef client to 12.19.36
|
diff --git a/cookbooks/nelhage/recipes/default.rb b/cookbooks/nelhage/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/nelhage/recipes/default.rb
+++ b/cookbooks/nelhage/recipes/default.rb
@@ -8,9 +8,10 @@ #
include_recipe "nelhage::nginx"
-include_recipe "nelhage::users"
include_recipe "nelhage::pa... | Fix ordering issue with groups.
|
diff --git a/socketry.gemspec b/socketry.gemspec
index abc1234..def5678 100644
--- a/socketry.gemspec
+++ b/socketry.gemspec
@@ -26,5 +26,5 @@
spec.add_runtime_dependency "hitimes", "~> 1.2"
- spec.add_development_dependency "bundler", [">= 1.0", "< 3"]
+ spec.add_development_dependency "bundler"
end
| Drop version specificity in bundler dep in gemspec |
diff --git a/lib/pusher-fake/support/base.rb b/lib/pusher-fake/support/base.rb
index abc1234..def5678 100644
--- a/lib/pusher-fake/support/base.rb
+++ b/lib/pusher-fake/support/base.rb
@@ -1,7 +1,7 @@ %w(app_id key secret).each do |setting|
next unless Pusher.public_send(setting).nil?
- warn("Warning: Pusher.#{se... | Add a missing space to setting warng message.
|
diff --git a/Formula/gpsbabel.rb b/Formula/gpsbabel.rb
index abc1234..def5678 100644
--- a/Formula/gpsbabel.rb
+++ b/Formula/gpsbabel.rb
@@ -4,6 +4,7 @@ url 'http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/gpsbabel-1.4.2.tar.gz'
homepage 'http://www.gpsbabel.org'
md5 '76ea9f7852be2e98aa18976... | Add development version of GPSBabel
Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>
|
diff --git a/lib/mina-circle/helpers.rb b/lib/mina-circle/helpers.rb
index abc1234..def5678 100644
--- a/lib/mina-circle/helpers.rb
+++ b/lib/mina-circle/helpers.rb
@@ -16,7 +16,8 @@
build_artifacts = successful_for_job.last.artifacts
- build_artifacts.find { |artifact| artifact.filename == settings[:cir... | fix: Return artifact url instead of instance
|
diff --git a/lib/tasks/taxonomy_metrics.rake b/lib/tasks/taxonomy_metrics.rake
index abc1234..def5678 100644
--- a/lib/tasks/taxonomy_metrics.rake
+++ b/lib/tasks/taxonomy_metrics.rake
@@ -2,6 +2,8 @@ namespace :taxonomy do
desc "Count all content tagged to each level in the taxonomy"
task count_content_per... | Set Statsd.logger to STDOUT for taxonomy metric rake tasks
|
diff --git a/lib/tracksperanto/block_init.rb b/lib/tracksperanto/block_init.rb
index abc1234..def5678 100644
--- a/lib/tracksperanto/block_init.rb
+++ b/lib/tracksperanto/block_init.rb
@@ -1,7 +1,7 @@ # Implements the conventional constructor with "hash of attributes" and block support
module Tracksperanto::BlockInit
... | Switch back to attributes for BlockInit
as the kwargs version would cause issues with Ruby 3
|
diff --git a/lib/websync/passenger/client.rb b/lib/websync/passenger/client.rb
index abc1234..def5678 100644
--- a/lib/websync/passenger/client.rb
+++ b/lib/websync/passenger/client.rb
@@ -1,5 +1,3 @@-require 'json'
-require 'http'
module WebSync
module Passenger
#
@@ -14,7 +12,9 @@ yield(self) if bloc... | Fix the expected call API
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,9 +4,9 @@ license 'Apache License, Version 2.0'
description 'Set of utility resources which can be used to setup Kerberos'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'... | Update version constraint and version bump to 0.1.2
|
diff --git a/lib/restclient/response.rb b/lib/restclient/response.rb
index abc1234..def5678 100644
--- a/lib/restclient/response.rb
+++ b/lib/restclient/response.rb
@@ -6,7 +6,9 @@
include AbstractResponse
- attr_accessor :args, :body, :net_http_res
+ attr_accessor :args, :net_http_res
+
+ attr_writer ... | Fix to redefine reader method
This commit removes below interpreter warning.
* warning: method redefined
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -4,5 +4,6 @@ license 'All rights reserved'
description 'Installs/Configures GitLab using omnibus-gitlab'
long_description 'Installs/Configures GitLab using omnibus-gitlab'
-version '0.2.1... | Add gitlab-attributes-with-secrets dependency, bump the version of this cookbook.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -7,7 +7,7 @@ version "1.2.0"
depends "apt", "~> 2.9"
-depends "docker", "~> 2.0"
+depends "docker", "2.6.6"
depends "packagecloud", "~> 0.1"
depends "openssl", "~> 4.4"
| Fix the Docker cookbook dependency.
The Docker cookbook loads a specific version of the docker-api gem, which is
incompatible with ChefSpec. This is a continuation of 4f08c93.
See: https://github.com/sethvargo/chefspec/issues/676
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -5,8 +5,8 @@ description 'Provides docker_service, docker_image, and docker_container resources'
version '2.4.9'
-source_url 'https://github.com/someara/chef-docker'
-issues_url 'https://github.com/someara/che... | Fix issues_url and source_url urls
|
diff --git a/config/initializers/restrict_parsers.rb b/config/initializers/restrict_parsers.rb
index abc1234..def5678 100644
--- a/config/initializers/restrict_parsers.rb
+++ b/config/initializers/restrict_parsers.rb
@@ -0,0 +1,4 @@+# Turn off XML parsing:
+# https://groups.google.com/forum/#!topic/rubyonrails-security... | Disable XML and JSON parameter parsers
They're really not necessary for static
|
diff --git a/lib/asciidoctor/doctest/version.rb b/lib/asciidoctor/doctest/version.rb
index abc1234..def5678 100644
--- a/lib/asciidoctor/doctest/version.rb
+++ b/lib/asciidoctor/doctest/version.rb
@@ -1,5 +1,5 @@ module Asciidoctor
module DocTest
- VERSION = '1.5.1'
+ VERSION = '1.5.2.dev'
end
end
| Prepare for next development iteration
|
diff --git a/lib/celluloid/io/common_methods.rb b/lib/celluloid/io/common_methods.rb
index abc1234..def5678 100644
--- a/lib/celluloid/io/common_methods.rb
+++ b/lib/celluloid/io/common_methods.rb
@@ -2,10 +2,29 @@ module IO
# Common implementations of methods originall from the IO class
module CommonMethod... | Support blocking I/O outside Celluloid::IO actors
|
diff --git a/lib/comptroller/claim_error.rb b/lib/comptroller/claim_error.rb
index abc1234..def5678 100644
--- a/lib/comptroller/claim_error.rb
+++ b/lib/comptroller/claim_error.rb
@@ -5,6 +5,8 @@ collection_path '/duxware_errors'
include_root_in_json true
+ attributes :error_message, :created_at, :extern... | Add error_message, created_at, and external_id attrs to ClaimError
|
diff --git a/lib/kosmos/packages/cacteye.rb b/lib/kosmos/packages/cacteye.rb
index abc1234..def5678 100644
--- a/lib/kosmos/packages/cacteye.rb
+++ b/lib/kosmos/packages/cacteye.rb
@@ -8,3 +8,14 @@ merge_directory 'Ships'
end
end
+
+class CacteyeRecompiledLatestHullcam < Kosmos::Package
+ title 'CactEye Recomp... | Add a bugfix for the CactEye package.
|
diff --git a/lib/imap/backup/serializer/mbox.rb b/lib/imap/backup/serializer/mbox.rb
index abc1234..def5678 100644
--- a/lib/imap/backup/serializer/mbox.rb
+++ b/lib/imap/backup/serializer/mbox.rb
@@ -13,6 +13,13 @@ def append(message)
File.open(pathname, "ab") do |file|
file.write message
+ en... | Read messages from MBox by offset
|
diff --git a/tasks/boxes.rake b/tasks/boxes.rake
index abc1234..def5678 100644
--- a/tasks/boxes.rake
+++ b/tasks/boxes.rake
@@ -11,7 +11,7 @@ sh 'cd boxes/quantal64 && sudo ./download-ubuntu'
sh 'rm -f boxes/quantal64/rootfs.tar.gz'
sh 'cd boxes/quantal64 && sudo tar --numeric-owner -czf rootfs.tar... | Update quantal64 package task to exclude files from new rootfs path
|
diff --git a/lib/omniauth/strategies/ufc.rb b/lib/omniauth/strategies/ufc.rb
index abc1234..def5678 100644
--- a/lib/omniauth/strategies/ufc.rb
+++ b/lib/omniauth/strategies/ufc.rb
@@ -16,7 +16,7 @@ param_name: 'access_token'
}
- uid { raw_info['id'].to_s }
+ uid { raw_info['uid'].to_s }
... | Use user uid instead of id.
|
diff --git a/lib/perpetuity/identity_map.rb b/lib/perpetuity/identity_map.rb
index abc1234..def5678 100644
--- a/lib/perpetuity/identity_map.rb
+++ b/lib/perpetuity/identity_map.rb
@@ -6,12 +6,13 @@ .flatten
.group_by(&:klass)
.map { |klass, ref|
- [klass,
- Hash[
... | Clean up indentation in IdentityMap
|
diff --git a/lib/rails_multisite/railtie.rb b/lib/rails_multisite/railtie.rb
index abc1234..def5678 100644
--- a/lib/rails_multisite/railtie.rb
+++ b/lib/rails_multisite/railtie.rb
@@ -20,8 +20,6 @@ if ENV['RAILS_DB'].present?
ConnectionManagement.establish_connection(db: ENV['RAILS_DB'], raise_on_mi... | Fix gem breaking when multisite config is not present.
|
diff --git a/lib/sequel-reporter/helpers.rb b/lib/sequel-reporter/helpers.rb
index abc1234..def5678 100644
--- a/lib/sequel-reporter/helpers.rb
+++ b/lib/sequel-reporter/helpers.rb
@@ -14,6 +14,7 @@ def table(report, options = {})
Table.new(report) do |t|
t.decorate :all => NumberDecorator.new
+ ... | Add some default classes to the table
|
diff --git a/lib/stuff-classifier/tf-idf.rb b/lib/stuff-classifier/tf-idf.rb
index abc1234..def5678 100644
--- a/lib/stuff-classifier/tf-idf.rb
+++ b/lib/stuff-classifier/tf-idf.rb
@@ -7,7 +7,7 @@ total_categories = categories.length
categories_with_word = (@wcount[word] || []).length
- idf = Math.log((to... | Use Math.log10 instead of Math.log for sake of Ruby 1.8 users. |
diff --git a/lib/yard/server/webrick_adapter.rb b/lib/yard/server/webrick_adapter.rb
index abc1234..def5678 100644
--- a/lib/yard/server/webrick_adapter.rb
+++ b/lib/yard/server/webrick_adapter.rb
@@ -3,14 +3,6 @@ module YARD
module Server
class WebrickAdapter < Adapter
- def mount_command(path, command, o... | Remove unnecessary code from WebrickAdapter
|
diff --git a/spec/models/charge_rate_spec.rb b/spec/models/charge_rate_spec.rb
index abc1234..def5678 100644
--- a/spec/models/charge_rate_spec.rb
+++ b/spec/models/charge_rate_spec.rb
@@ -16,7 +16,7 @@ it "should return as string the title" do
@charge_rate = Factory.build(:charge_rate)
- @charge_rate... | Update spec for new charge rate title.
|
diff --git a/lib/data_mapper/property_set.rb b/lib/data_mapper/property_set.rb
index abc1234..def5678 100644
--- a/lib/data_mapper/property_set.rb
+++ b/lib/data_mapper/property_set.rb
@@ -40,27 +40,11 @@ end
def defaults
- @defaults = reject { |property| property.lazy? }
-
- class << sel... | Use safer || initializer vs singleton-class overwrites.
|
diff --git a/lib/discordrb/events/generic.rb b/lib/discordrb/events/generic.rb
index abc1234..def5678 100644
--- a/lib/discordrb/events/generic.rb
+++ b/lib/discordrb/events/generic.rb
@@ -1,7 +1,3 @@-def not!(object)
- Negated.new(object)
-end
-
module Discordrb::Events
class Negated
attr_reader :object
@@ -... | Move not! to the end of the file
|
diff --git a/lib/instana/frameworks/rails.rb b/lib/instana/frameworks/rails.rb
index abc1234..def5678 100644
--- a/lib/instana/frameworks/rails.rb
+++ b/lib/instana/frameworks/rails.rb
@@ -16,6 +16,10 @@ ::Instana.logger.warn "Instrumenting Rack"
app.config.middleware.insert 0, ::Instana::Rack
... | Load ActiveRecord instrumentation _after_ Rails initializes
|
diff --git a/textrazor.gemspec b/textrazor.gemspec
index abc1234..def5678 100644
--- a/textrazor.gemspec
+++ b/textrazor.gemspec
@@ -22,7 +22,7 @@ spec.add_dependency "fast_open_struct"
spec.add_development_dependency "bundler", "~> 2.1.4"
- spec.add_development_dependency "rake", "~> 12.3.3"
+ spec.add_develo... | Update rake requirement from ~> 12.3.3 to ~> 13.0.1
Updates the requirements on [rake](https://github.com/ruby/rake) to permit the latest version.
- [Release notes](https://github.com/ruby/rake/releases)
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rake/compa... |
diff --git a/test/test_app.rb b/test/test_app.rb
index abc1234..def5678 100644
--- a/test/test_app.rb
+++ b/test/test_app.rb
@@ -6,8 +6,6 @@
setup do
@path = cloned_testpath("examples/sample-blog.git")
- config = Jekyll.configuration({'source' => @path})
- @site = Jekyll::Site.new(config)
Shwedag... | Add more tests for deleting |
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index abc1234..def5678 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -2,7 +2,7 @@
ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('../../config/environment', __FILE__)
+require File.expand_path('../dummy/config/environment.rb', __FILE_... | Fix rspec dummy app config path
|
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index abc1234..def5678 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -2,7 +2,6 @@ require 'simplecov'
SimpleCov.minimum_coverage 100
-
SimpleCov.start 'rails'
end
@@ -10,7 +9,6 @@ require 'spec_helper'
require File.expand_path('../... | Remove Paper Trail test helpers
Remove Paper Trail test helpers as they are broken, and manually tested
in spec/support/models/default.rb
|
diff --git a/lib/travis/api/v3/models/log.rb b/lib/travis/api/v3/models/log.rb
index abc1234..def5678 100644
--- a/lib/travis/api/v3/models/log.rb
+++ b/lib/travis/api/v3/models/log.rb
@@ -24,7 +24,7 @@ end
def repository_private?
- job.repository.private?
+ job.repository.private? unless job.nil?
... | Check if there's an existing job
|
diff --git a/spec/factories/profiles.rb b/spec/factories/profiles.rb
index abc1234..def5678 100644
--- a/spec/factories/profiles.rb
+++ b/spec/factories/profiles.rb
@@ -0,0 +1,28 @@+# == Schema Information
+#
+# Table name: profiles
+#
+# id :integer not null, primary key
+# name :s... | Create profile factory and annotate
|
diff --git a/spec/frame_options_spec.rb b/spec/frame_options_spec.rb
index abc1234..def5678 100644
--- a/spec/frame_options_spec.rb
+++ b/spec/frame_options_spec.rb
@@ -3,7 +3,7 @@ describe Rack::Protection::FrameOptions do
it_behaves_like "any rack application"
- it 'should set the X-XSS-Protection' do
+ it 'sh... | Fix typo in FrameOptions example description
|
diff --git a/spec/models/player_spec.rb b/spec/models/player_spec.rb
index abc1234..def5678 100644
--- a/spec/models/player_spec.rb
+++ b/spec/models/player_spec.rb
@@ -41,8 +41,4 @@ it "should have default plus minus of zero" do
@new_player.plus_minus.should == 0
end
-
- it "test failure" do
- fail "make... | Revert "Make sure CI fails when it's supposed to"
CI does fail when it should (i.e. when a test fails).
This reverts commit 3c0712fb2465e14f91d16eaeae0ba6b4e76dfa93.
|
diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users/registrations_controller.rb
+++ b/app/controllers/users/registrations_controller.rb
@@ -8,6 +8,6 @@ protected
def configure_permitted_parame... | Allow password and password confirmation parameters
|
diff --git a/test/models/category_test.rb b/test/models/category_test.rb
index abc1234..def5678 100644
--- a/test/models/category_test.rb
+++ b/test/models/category_test.rb
@@ -17,4 +17,21 @@ test "Category's children should not be empty" do
assert_not @category.children.empty?
end
+
+ test "Category tree no... | Add test for Category get_tree method
|
diff --git a/lib/cortex/snippets/client/helper.rb b/lib/cortex/snippets/client/helper.rb
index abc1234..def5678 100644
--- a/lib/cortex/snippets/client/helper.rb
+++ b/lib/cortex/snippets/client/helper.rb
@@ -23,6 +23,10 @@
def seo_keywords
webpage[:seo_keyword_list]
+ end
+
+ def seo... | Add Seo Robots to deliver indexing info
|
diff --git a/test/test_active_model_lint.rb b/test/test_active_model_lint.rb
index abc1234..def5678 100644
--- a/test/test_active_model_lint.rb
+++ b/test/test_active_model_lint.rb
@@ -10,4 +10,9 @@ def setup
@model = Post.new
end
+
+ def test_naming
+ Post.model_name.plural.should == 'posts'
+ Post.ne... | Test case for proper use of ActiveModel::Naming
|
diff --git a/spec/lib/stateoscope/adapter_registry_spec.rb b/spec/lib/stateoscope/adapter_registry_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/stateoscope/adapter_registry_spec.rb
+++ b/spec/lib/stateoscope/adapter_registry_spec.rb
@@ -0,0 +1,100 @@+require 'spec_helper'
+require 'pry'
+
+RSpec.describe Stateo... | Add spec for adapter registry
|
diff --git a/config/initializers/requires.rb b/config/initializers/requires.rb
index abc1234..def5678 100644
--- a/config/initializers/requires.rb
+++ b/config/initializers/requires.rb
@@ -1,6 +1,6 @@ require 'rubygems/format'
require 'rubygems/indexer'
-require 'rdoc/markup/simple_markup'
-require 'rdoc/markup/simple... | Bring initializers up-to-date with the latest version of rdoc
|
diff --git a/lib/authorize/authorize.rb b/lib/authorize/authorize.rb
index abc1234..def5678 100644
--- a/lib/authorize/authorize.rb
+++ b/lib/authorize/authorize.rb
@@ -15,7 +15,7 @@ def permit(authorization_expression, options = {})
auth_options = options.slice!(:only, :except)
append_before_fi... | Fix bug in passing authorization options from class-level permission check
|
diff --git a/lib/bombshell/completor.rb b/lib/bombshell/completor.rb
index abc1234..def5678 100644
--- a/lib/bombshell/completor.rb
+++ b/lib/bombshell/completor.rb
@@ -11,7 +11,9 @@ end
def self.filter(m)
- m - Bombshell::Environment.instance_methods - Bombshell::Shell::Commands::HIDE
+ (m - B... | Hide _initial_underscore methods from tab completion
|
diff --git a/db/migrate/20170116103602_add_tokens_to_course_lesson_plan_items.rb b/db/migrate/20170116103602_add_tokens_to_course_lesson_plan_items.rb
index abc1234..def5678 100644
--- a/db/migrate/20170116103602_add_tokens_to_course_lesson_plan_items.rb
+++ b/db/migrate/20170116103602_add_tokens_to_course_lesson_plan_... | Remove milliseconds part of the time and create new jobs for assessments
|
diff --git a/lib/cradlepointr/router.rb b/lib/cradlepointr/router.rb
index abc1234..def5678 100644
--- a/lib/cradlepointr/router.rb
+++ b/lib/cradlepointr/router.rb
@@ -1,7 +1,7 @@ module Cradlepointr
class Router < CradlepointObject
- attr_accessor :id, :data, :ecm_firmware_id
+ attr_accessor :id, :data, :e... | Store uri rather than id for config blobs.
|
diff --git a/lib/debot/recipes/nginx.rb b/lib/debot/recipes/nginx.rb
index abc1234..def5678 100644
--- a/lib/debot/recipes/nginx.rb
+++ b/lib/debot/recipes/nginx.rb
@@ -11,6 +11,7 @@
desc "Setup nginx configuration for this application"
task :setup, roles: :web do
+ domains = Setup.parse_domain(do... | Use parse_domain methods to obtain domains variable |
diff --git a/lib/relish/options_file.rb b/lib/relish/options_file.rb
index abc1234..def5678 100644
--- a/lib/relish/options_file.rb
+++ b/lib/relish/options_file.rb
@@ -14,6 +14,7 @@ # will be overwritten.
def store(options)
new_options = self.options.merge(options)
+ FileUtils.touch(@path)
... | Add touch after failing cuke
|
diff --git a/lib/resque-retry/server.rb b/lib/resque-retry/server.rb
index abc1234..def5678 100644
--- a/lib/resque-retry/server.rb
+++ b/lib/resque-retry/server.rb
@@ -7,10 +7,14 @@ helpers do
# builds a retry key for the specified job.
def retry_key_for_job(job)
- klass = Resq... | Return nil in retry_key_for_job if the application code is not loaded.
|
diff --git a/lib/ry_safe/shell/shell.rb b/lib/ry_safe/shell/shell.rb
index abc1234..def5678 100644
--- a/lib/ry_safe/shell/shell.rb
+++ b/lib/ry_safe/shell/shell.rb
@@ -1,7 +1,12 @@ module RySafe
class Shell
def initialize
- init_readline
+ Readline.completion_append_character = Autocompletion::APPEND... | Move readline initialization to initialize
|
diff --git a/lib/liftoff/project_configuration.rb b/lib/liftoff/project_configuration.rb
index abc1234..def5678 100644
--- a/lib/liftoff/project_configuration.rb
+++ b/lib/liftoff/project_configuration.rb
@@ -2,8 +2,22 @@ class ProjectConfiguration
LATEST_IOS = 7.0
- attr_accessor :project_name, :company, :... | Break configuration attributes into multiple lines
|
diff --git a/lib/spikor_forge/module.rb b/lib/spikor_forge/module.rb
index abc1234..def5678 100644
--- a/lib/spikor_forge/module.rb
+++ b/lib/spikor_forge/module.rb
@@ -1,8 +1,4 @@ require 'spikor_forge'
-require 'puppet'
-require 'puppet/module_tool/metadata'
-require 'puppet/module_tool/modulefile'
-require 'tempfile... | Switch to using metadata.json instead of Modulefile
This should be faster and more compatible with custom code in the
Modulefile.
|
diff --git a/lib/neighborparrot/index_template.rb b/lib/neighborparrot/index_template.rb
index abc1234..def5678 100644
--- a/lib/neighborparrot/index_template.rb
+++ b/lib/neighborparrot/index_template.rb
@@ -37,7 +37,7 @@ :-)
<script>
broker = new Broker("<%= server_url %>");
- broker.open();
+ setTimeout(functi... | Add timeout avoiding long time loading in webkit
|
diff --git a/db/migrate/20100826150615_remove_ext_memberships.rb b/db/migrate/20100826150615_remove_ext_memberships.rb
index abc1234..def5678 100644
--- a/db/migrate/20100826150615_remove_ext_memberships.rb
+++ b/db/migrate/20100826150615_remove_ext_memberships.rb
@@ -1,6 +1,6 @@ class RemoveExtMemberships < ActiveReco... | Refactor migration for destroying useless roles.
Same behaviour, better performance.
|
diff --git a/core/numeric/ceil_spec.rb b/core/numeric/ceil_spec.rb
index abc1234..def5678 100644
--- a/core/numeric/ceil_spec.rb
+++ b/core/numeric/ceil_spec.rb
@@ -2,13 +2,14 @@ require File.dirname(__FILE__) + '/fixtures/classes'
describe "Numeric#ceil" do
- before(:each) do
- @obj = NumericSub.new
- end
-
... | Use mock_numeric rather than NumericSub
|
diff --git a/engines/synergy/app/helpers/synergy/pages_helper.rb b/engines/synergy/app/helpers/synergy/pages_helper.rb
index abc1234..def5678 100644
--- a/engines/synergy/app/helpers/synergy/pages_helper.rb
+++ b/engines/synergy/app/helpers/synergy/pages_helper.rb
@@ -9,27 +9,11 @@ if node.content
if nod... | Add content extra to node display
|
diff --git a/db/migrate/20191218011609_update_audits_slowly.rb b/db/migrate/20191218011609_update_audits_slowly.rb
index abc1234..def5678 100644
--- a/db/migrate/20191218011609_update_audits_slowly.rb
+++ b/db/migrate/20191218011609_update_audits_slowly.rb
@@ -1,16 +1,8 @@ class UpdateAuditsSlowly < ActiveRecord::Migra... | Fix YAML load which doesn't seem to be working
|
diff --git a/lib/gitlab/background_migration/migrate_build_stage_id_reference.rb b/lib/gitlab/background_migration/migrate_build_stage_id_reference.rb
index abc1234..def5678 100644
--- a/lib/gitlab/background_migration/migrate_build_stage_id_reference.rb
+++ b/lib/gitlab/background_migration/migrate_build_stage_id_refe... | Simplify stage_id migration as we now use relations
|
diff --git a/tribune-svgo_wrapper.gemspec b/tribune-svgo_wrapper.gemspec
index abc1234..def5678 100644
--- a/tribune-svgo_wrapper.gemspec
+++ b/tribune-svgo_wrapper.gemspec
@@ -8,8 +8,8 @@ spec.version = SvgoWrapper::VERSION
spec.authors = ["gdeoliveira"]
spec.email = ["gdeoliveira@tribune.c... | Add small description to gemspec.
|
diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb
index abc1234..def5678 100644
--- a/test/dummy/config/environments/development.rb
+++ b/test/dummy/config/environments/development.rb
@@ -23,5 +23,5 @@ config.action_dispatch.best_standards_support = :builtin
... | Remove Rails 3.1 config setting |
diff --git a/league_api.gemspec b/league_api.gemspec
index abc1234..def5678 100644
--- a/league_api.gemspec
+++ b/league_api.gemspec
@@ -18,4 +18,5 @@ spec.require_paths = ["lib"]
spec.add_development_dependency "rspec"
+ spec.add_development_dependency "rake"
end
| Add back rake development_dependency for Travis
|
diff --git a/lib/puppet-lint/plugins/yumrepo_gpgcheck_enabled.rb b/lib/puppet-lint/plugins/yumrepo_gpgcheck_enabled.rb
index abc1234..def5678 100644
--- a/lib/puppet-lint/plugins/yumrepo_gpgcheck_enabled.rb
+++ b/lib/puppet-lint/plugins/yumrepo_gpgcheck_enabled.rb
@@ -20,7 +20,7 @@ setting = content_token.nex... | Allow true and yes to match the correct settings
https://puppet.com/docs/puppet/5.5/types/yumrepo.html#yumrepo-attribute-gpgcheck states:
gpgcheck
(Property: This attribute represents concrete state on the target system.)
Whether to check the GPG signature on packages installed from this repository. Valid values ar... |
diff --git a/features/support/rebuild_conf.rb b/features/support/rebuild_conf.rb
index abc1234..def5678 100644
--- a/features/support/rebuild_conf.rb
+++ b/features/support/rebuild_conf.rb
@@ -3,12 +3,14 @@ require 'ptools'
require 'pathname'
- @path_name = File.join( Dir.home, '.rbld', 'rebuild.conf' )
+... | tests: Create ~/.rbld dir if it does not exist
Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
|
diff --git a/lib/css_inliner.rb b/lib/css_inliner.rb
index abc1234..def5678 100644
--- a/lib/css_inliner.rb
+++ b/lib/css_inliner.rb
@@ -2,7 +2,6 @@ require 'rubygems'
require 'nokogiri'
require 'css_inliner/version'
-require 'css_inliner/integrator'
require 'css_inliner/inliner'
module CSSInliner
| Fix a bug, loaded non-existing file: integrator.rb
|
diff --git a/lib/name_finder.rb b/lib/name_finder.rb
index abc1234..def5678 100644
--- a/lib/name_finder.rb
+++ b/lib/name_finder.rb
@@ -14,25 +14,16 @@ end
def find_in(haystack)
- each_set_of_words(haystack) do |words|
- found = root.find(words + delimiter)
- return found if found
+ find(haystac... | Use same code for find_in and find_all_in
|
diff --git a/lib/nod/helpers.rb b/lib/nod/helpers.rb
index abc1234..def5678 100644
--- a/lib/nod/helpers.rb
+++ b/lib/nod/helpers.rb
@@ -1,6 +1,11 @@ module Nod
# lib/nod/helpers.rb
module Helpers
+
+ # make helper methods, class methods
+ def Helpers.included(mod)
+ mod.extend Helpers
+ end
... | Make helper methods both class and instance methods
|
diff --git a/lib/owners/path.rb b/lib/owners/path.rb
index abc1234..def5678 100644
--- a/lib/owners/path.rb
+++ b/lib/owners/path.rb
@@ -17,7 +17,7 @@ configs = []
file = @file
- until file.dirname == file
+ until file == file.dirname
file = file.dirname
config = file.join(CON... | Swap conditional args for consistency
|
diff --git a/lib/display_for/builder/collection_base.rb b/lib/display_for/builder/collection_base.rb
index abc1234..def5678 100644
--- a/lib/display_for/builder/collection_base.rb
+++ b/lib/display_for/builder/collection_base.rb
@@ -18,8 +18,8 @@ end
def default_actions
- action :show, :link... | Use polymorphic urls for default actions so they work properly when nested
|
diff --git a/lib/spec_helper.rb b/lib/spec_helper.rb
index abc1234..def5678 100644
--- a/lib/spec_helper.rb
+++ b/lib/spec_helper.rb
@@ -1,3 +1,4 @@ RSpec.configure do |config|
- config.backtrace_exclusion_patterns = [/lib/, /spec/]
+ config.backtrace_exclusion_patterns = [/lib/, /spec/, /rorr/]
+ config.color = tru... | Add rspec color & remove backtrace with /rorr/
|
diff --git a/lib/taxjar/rate.rb b/lib/taxjar/rate.rb
index abc1234..def5678 100644
--- a/lib/taxjar/rate.rb
+++ b/lib/taxjar/rate.rb
@@ -16,12 +16,7 @@
# International
attribute :country, :string
-
- # Canada
- attribute :hst, :float
- attribute :pst, ... | Add `name` param for countries and remove unused Canadian params
|
diff --git a/lib/analytics-js-rails.rb b/lib/analytics-js-rails.rb
index abc1234..def5678 100644
--- a/lib/analytics-js-rails.rb
+++ b/lib/analytics-js-rails.rb
@@ -2,12 +2,12 @@ require "analytics-js/engine"
module AnalyticsJs
- # Unfortunately Rails doesn't provide a helper for this. So this is it.
- # http://st... | Clarify notes for helper method.
|
diff --git a/lib/conceptql/database.rb b/lib/conceptql/database.rb
index abc1234..def5678 100644
--- a/lib/conceptql/database.rb
+++ b/lib/conceptql/database.rb
@@ -27,7 +27,10 @@ def db_opts
db_opts = {}
if opts[:database_type] == :impala
- db_opts.merge!(runtime_filter_mode: "OFF")
+ p... | Set RUNTIME_FILTER_MODE only if asked
|
diff --git a/lib/harvest/time_entry.rb b/lib/harvest/time_entry.rb
index abc1234..def5678 100644
--- a/lib/harvest/time_entry.rb
+++ b/lib/harvest/time_entry.rb
@@ -19,6 +19,7 @@ element :user_id, Integer
element :closed, Boolean, :tag => 'is-closed'
element :billed, Boolean, :tag => 'is-billed'
+ elem... | Add of_user support to Time Entry
|
diff --git a/lib/lita/handlers/talk.rb b/lib/lita/handlers/talk.rb
index abc1234..def5678 100644
--- a/lib/lita/handlers/talk.rb
+++ b/lib/lita/handlers/talk.rb
@@ -10,6 +10,8 @@
def talk(payload)
response = payload[:message]
+ return unless response.command?
+
message = payload[:messag... | Fix to react only when the message was a command
|
diff --git a/lib/media_magick/model.rb b/lib/media_magick/model.rb
index abc1234..def5678 100644
--- a/lib/media_magick/model.rb
+++ b/lib/media_magick/model.rb
@@ -2,28 +2,6 @@ require 'carrierwave/mongoid'
require 'media_magick/attachment_uploader'
require 'mongoid'
-
-module CarrierWave
- module Uploader
- mod... | Rollback to CarrierWave 0.5.8 problem.
|
diff --git a/lib/mountain_berry_fields/test/rspec_formatter.rb b/lib/mountain_berry_fields/test/rspec_formatter.rb
index abc1234..def5678 100644
--- a/lib/mountain_berry_fields/test/rspec_formatter.rb
+++ b/lib/mountain_berry_fields/test/rspec_formatter.rb
@@ -1,11 +1,11 @@ require 'rspec/core/formatters/base_formatter... | Move require statement to top of file
|
diff --git a/spec/common/shellshock_spec.rb b/spec/common/shellshock_spec.rb
index abc1234..def5678 100644
--- a/spec/common/shellshock_spec.rb
+++ b/spec/common/shellshock_spec.rb
@@ -3,12 +3,12 @@ # Test to ensure bash isn't susceptible to Shellshock (CVE-2014-6271)
# CVE-2014-6271
-describe command('env x='() { :... | Use double quotes and add missing escapes
|
diff --git a/spec/graphql/enum_type_spec.rb b/spec/graphql/enum_type_spec.rb
index abc1234..def5678 100644
--- a/spec/graphql/enum_type_spec.rb
+++ b/spec/graphql/enum_type_spec.rb
@@ -8,8 +8,7 @@ assert_equal(1, enum.coerce_input("COW"))
end
- # TODO: should probably read: ... to value's value, e.g. COW's na... | Make test description more accurate
|
diff --git a/spec/lib/looples_array_spec.rb b/spec/lib/looples_array_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/looples_array_spec.rb
+++ b/spec/lib/looples_array_spec.rb
@@ -29,7 +29,7 @@ la.recurse_each_with_index do |_, i|
list2 << i
end
- expect(list2).to eql(0...la.size).to_a
+... | Fix broken spec on loopless array
|
diff --git a/spec/support/shared_context.rb b/spec/support/shared_context.rb
index abc1234..def5678 100644
--- a/spec/support/shared_context.rb
+++ b/spec/support/shared_context.rb
@@ -14,7 +14,8 @@ end
def dnsimple_client
- Fog::DNS.new(provider: "DNSimple", dnsimple_email: "user@email.com", dnsimple_passwor... | Add in dnsimple_token to the shared Fog call
This simulates passing in the token as a credential, but mind you all of
this is Mocked so it's not quite a real-world test, just a unit. :)
|
diff --git a/test/integration/default/minitest/test_default.rb b/test/integration/default/minitest/test_default.rb
index abc1234..def5678 100644
--- a/test/integration/default/minitest/test_default.rb
+++ b/test/integration/default/minitest/test_default.rb
@@ -7,6 +7,6 @@ it "check R version" do
system('echo "q(... | Update R version for default
|
diff --git a/misc/test_clients/send1.rb b/misc/test_clients/send1.rb
index abc1234..def5678 100644
--- a/misc/test_clients/send1.rb
+++ b/misc/test_clients/send1.rb
@@ -2,19 +2,20 @@ require 'json'
require 'bunny'
-conn = Bunny.new 'amqp://guest:guest@172.23.25.65:5672'
+conn = Bunny.new 'amqp://orc-agent:ownme@mq.y... | Make send testscript more relevant.
|
diff --git a/youtube-dl-gui.rb b/youtube-dl-gui.rb
index abc1234..def5678 100644
--- a/youtube-dl-gui.rb
+++ b/youtube-dl-gui.rb
@@ -10,6 +10,7 @@
depends_on :python if MacOS.version <= :snow_leopard
depends_on "wxpython"
+ depends_on "wxmac"
depends_on "ffmpeg"
depends_on "py2app"
| Add dependency for py2app to work.
|
diff --git a/lib/tasks/activities.rake b/lib/tasks/activities.rake
index abc1234..def5678 100644
--- a/lib/tasks/activities.rake
+++ b/lib/tasks/activities.rake
@@ -0,0 +1,18 @@+namespace :activities do
+ desc 'Strip name prefixes like Sentence Writing: and Passage Proofreading: '
+ task :strip_name_prefixes => :envi... | Add rake task to strip prefixes from activity names
|
diff --git a/lib/tasks/joegattnet.rake b/lib/tasks/joegattnet.rake
index abc1234..def5678 100644
--- a/lib/tasks/joegattnet.rake
+++ b/lib/tasks/joegattnet.rake
@@ -5,17 +5,17 @@ task one_minute: :environment do |t, args|
EvernoteNote.sync_all
sync_associated
- Pantograph.update_saved_timeline
end
... | Make Pantography calls to Twitter API less frequent
Avoid exceeding rate limit.
|
diff --git a/stack_master.gemspec b/stack_master.gemspec
index abc1234..def5678 100644
--- a/stack_master.gemspec
+++ b/stack_master.gemspec
@@ -20,4 +20,6 @@
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec"
+ spec.add_dependen... | Add rspec and GLI gems |
diff --git a/lib/travis/build/script/perl6.rb b/lib/travis/build/script/perl6.rb
index abc1234..def5678 100644
--- a/lib/travis/build/script/perl6.rb
+++ b/lib/travis/build/script/perl6.rb
@@ -29,9 +29,9 @@ def setup
super
if version == "latest"
- sh.cmd 'rakudobrew build moar',... | Put the rakudobrew steps into a fold
|
diff --git a/util/migrate-interface-type-ethernet-to-bridge.rb b/util/migrate-interface-type-ethernet-to-bridge.rb
index abc1234..def5678 100644
--- a/util/migrate-interface-type-ethernet-to-bridge.rb
+++ b/util/migrate-interface-type-ethernet-to-bridge.rb
@@ -27,9 +27,7 @@ vlan = tap.sub(/^tap\d+-(\d+)(-\d+)?$/, '... | Add source bridge to interface
|
diff --git a/pummel.rb b/pummel.rb
index abc1234..def5678 100644
--- a/pummel.rb
+++ b/pummel.rb
@@ -0,0 +1,14 @@+require 'iconv'
+require 'sinatra'
+require 'rss/1.0'
+require 'rss/2.0'
+require 'open-uri'
+
+@@rss_url = "http://feeds.pinboard.in/rss/u:evaryont/"
+ic = Iconv.new('UTF-8//IGNORE', 'UTF-8')
+valid_string... | Correct start: Use the built-in RSS library & Iconv
|
diff --git a/app/models/sms/adapters/intelli_sms_adapter.rb b/app/models/sms/adapters/intelli_sms_adapter.rb
index abc1234..def5678 100644
--- a/app/models/sms/adapters/intelli_sms_adapter.rb
+++ b/app/models/sms/adapters/intelli_sms_adapter.rb
@@ -34,7 +34,7 @@ # builds uri based on given action and query string p... | Revert "fixed intellisms bug again"
This reverts commit 6a7829dcab147602c3f2b439f8962e623afccffe.
|
diff --git a/tandem.gemspec b/tandem.gemspec
index abc1234..def5678 100644
--- a/tandem.gemspec
+++ b/tandem.gemspec
@@ -15,7 +15,7 @@
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
- s.add_dependency "rails", "~> 3.1.3"
+ s.add_dependency "rails", ">= 3.1.0"
s.add_dep... | Update rails dependency to include rails > 3.1 |
diff --git a/Casks/waterfox.rb b/Casks/waterfox.rb
index abc1234..def5678 100644
--- a/Casks/waterfox.rb
+++ b/Casks/waterfox.rb
@@ -1,6 +1,6 @@ cask :v1 => 'waterfox' do
- version '36.0.1'
- sha256 '5fa1c8c402aab32e0cfc98b1c46e81265055cda51956f29ddd03c8fb7f1e33ae'
+ version '38.1.0'
+ sha256 '612c324154107c23063a7... | Upgrade Waterfox App to version 38.1.0
|
diff --git a/app/overrides/spree/shared/_order_details/add_digital_downloads_to_invoice.rb b/app/overrides/spree/shared/_order_details/add_digital_downloads_to_invoice.rb
index abc1234..def5678 100644
--- a/app/overrides/spree/shared/_order_details/add_digital_downloads_to_invoice.rb
+++ b/app/overrides/spree/shared/_o... | Fix for Spree 4.1+ plus this should be only available for paid orders
|
diff --git a/experiments/yajl-vs-oj.rb b/experiments/yajl-vs-oj.rb
index abc1234..def5678 100644
--- a/experiments/yajl-vs-oj.rb
+++ b/experiments/yajl-vs-oj.rb
@@ -0,0 +1,34 @@+#!/usr/bin/env ruby
+# frozen_string_literals: true
+
+require 'benchmark'
+require 'yajl'
+require 'oj'
+
+DEFAULT_ITERATIONS = 10_000
+
+jso... | Add experimental json library benchmarks
|
diff --git a/spec/controllers/authenticated_controller_spec.rb b/spec/controllers/authenticated_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/authenticated_controller_spec.rb
+++ b/spec/controllers/authenticated_controller_spec.rb
@@ -0,0 +1,49 @@+require 'spec_helper'
+
+RSpec.describe Authen... | Add specs for unauthenticated responses |
diff --git a/recipes/install.rb b/recipes/install.rb
index abc1234..def5678 100644
--- a/recipes/install.rb
+++ b/recipes/install.rb
@@ -6,6 +6,8 @@ case node['platform_version'].to_i
when 6
dep_pkgs = %w[python-cairo python-django python-django-tagging python-flup python-memcache python-pysqlite2 python-rrdt... | Add packages for Debian Wheezy
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.