diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/shared/git_monkey_patches.rb b/shared/git_monkey_patches.rb
index abc1234..def5678 100644
--- a/shared/git_monkey_patches.rb
+++ b/shared/git_monkey_patches.rb
@@ -14,16 +14,20 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language gov... | Fix code style to make rubocop happy for git monkey patch |
diff --git a/merb-parts/lib/merb-parts/part_controller.rb b/merb-parts/lib/merb-parts/part_controller.rb
index abc1234..def5678 100644
--- a/merb-parts/lib/merb-parts/part_controller.rb
+++ b/merb-parts/lib/merb-parts/part_controller.rb
@@ -17,7 +17,7 @@ self._subclasses = Set.new
def self.subclasses_list() _s... | Use a better path for template root. |
diff --git a/test/models/cat3_filter_task_test.rb b/test/models/cat3_filter_task_test.rb
index abc1234..def5678 100644
--- a/test/models/cat3_filter_task_test.rb
+++ b/test/models/cat3_filter_task_test.rb
@@ -13,11 +13,12 @@ end
def test_task_good_results_should_pass
+ user = User.create(email: 'vendor@test.c... | Add user to task execution
|
diff --git a/app/loaders/twitter_loader.rb b/app/loaders/twitter_loader.rb
index abc1234..def5678 100644
--- a/app/loaders/twitter_loader.rb
+++ b/app/loaders/twitter_loader.rb
@@ -24,10 +24,13 @@ private
def validate_options!
- options_or_defaults.each do |option_name|
- next if options_or_defau... | Improve options validation for TwitterLoader
|
diff --git a/app/models/article_edition.rb b/app/models/article_edition.rb
index abc1234..def5678 100644
--- a/app/models/article_edition.rb
+++ b/app/models/article_edition.rb
@@ -19,7 +19,7 @@ end
def rendering_app
- "news"
+ "www"
end
end
| Change article rendering app to www
|
diff --git a/rb/lib/selenium/webdriver/common/zipper.rb b/rb/lib/selenium/webdriver/common/zipper.rb
index abc1234..def5678 100644
--- a/rb/lib/selenium/webdriver/common/zipper.rb
+++ b/rb/lib/selenium/webdriver/common/zipper.rb
@@ -36,7 +36,10 @@ entry = file.sub("#{path}/", '')
zos.put_next... | JariBakken: Fix last commit (at least for OS X/Ubuntu)
git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@11359 07704840-8298-11de-bf8c-fd130f914ac9
|
diff --git a/test/unit/locales_validation_test.rb b/test/unit/locales_validation_test.rb
index abc1234..def5678 100644
--- a/test/unit/locales_validation_test.rb
+++ b/test/unit/locales_validation_test.rb
@@ -2,7 +2,7 @@
class LocalesValidationTest < ActiveSupport::TestCase
test "should validate all locale files" ... | Remove 'homepage' override in 'LocaleChecker'
Previously, we ignored all locale properties beginning with the
'homepage' prefix, for several reasons:
1) The locale files lost the traditional key/value structure in
51a5b885a21fa1e6da9c7d8092da9a814227058e, meaning Rails
Translation Manager is unable to staticall... |
diff --git a/model/Cargo/itinerary.rb b/model/Cargo/itinerary.rb
index abc1234..def5678 100644
--- a/model/Cargo/itinerary.rb
+++ b/model/Cargo/itinerary.rb
@@ -33,15 +33,20 @@ # Checks whether provided event is expected according to this itinerary specification.
def is_expected(handling_event)
if (handling_e... | Isolate nasty search for leg unload location.
|
diff --git a/hippo_xml_parser.gemspec b/hippo_xml_parser.gemspec
index abc1234..def5678 100644
--- a/hippo_xml_parser.gemspec
+++ b/hippo_xml_parser.gemspec
@@ -4,22 +4,23 @@ require 'hippo_xml_parser/version'
Gem::Specification.new do |spec|
- spec.name = "hippo_xml_parser"
+ spec.name = 'hippo_... | Add rspec to development dependencies |
diff --git a/lib/active_set/processors/paginate_processor.rb b/lib/active_set/processors/paginate_processor.rb
index abc1234..def5678 100644
--- a/lib/active_set/processors/paginate_processor.rb
+++ b/lib/active_set/processors/paginate_processor.rb
@@ -18,14 +18,14 @@ end
def instruction
- Instructions:... | Change method name in PaginateProcessor to page_size to match adapter semantics
|
diff --git a/swftly.gemspec b/swftly.gemspec
index abc1234..def5678 100644
--- a/swftly.gemspec
+++ b/swftly.gemspec
@@ -2,8 +2,8 @@ spec.name = 'swftly'
spec.version = '0.1.1'
spec.summary = "swftly abstracts and automates interactions with Swiffy, Google's hosted swf converter."
- spe... | Add a simple description for rubygems and change platform to RUBY.
|
diff --git a/interactor-rails.gemspec b/interactor-rails.gemspec
index abc1234..def5678 100644
--- a/interactor-rails.gemspec
+++ b/interactor-rails.gemspec
@@ -17,6 +17,6 @@ spec.add_dependency "interactor", "~> 3.0"
spec.add_dependency "rails", ">= 3", "< 5.1"
- spec.add_development_dependency "bundler", "~> ... | Update to the latest versions of bundler and rake
|
diff --git a/app/workers/publisher_poll.rb b/app/workers/publisher_poll.rb
index abc1234..def5678 100644
--- a/app/workers/publisher_poll.rb
+++ b/app/workers/publisher_poll.rb
@@ -9,13 +9,12 @@ MAX_PAGE_NUMBER = 10
NEXT_PAGE_HEADER = 'Next-Page'.freeze
- def perform(publisher_id, endpoint, page_number = ... | Rename variable and update comments
|
diff --git a/scripts/update-user-origin.rb b/scripts/update-user-origin.rb
index abc1234..def5678 100644
--- a/scripts/update-user-origin.rb
+++ b/scripts/update-user-origin.rb
@@ -0,0 +1,59 @@+#!/usr/bin/env ruby
+require 'json'
+
+def usage
+ <<~USAGE
+ Usage: #{$0} user-guid desired-origin
+
+ e.g. #{$0} 0000... | Add script for updating user origin
Signed-off-by: Toby Lorne <527052641d65eef236eeef9545b2acac74c35d57@digital.cabinet-office.gov.uk>
|
diff --git a/search/organization_search.rb b/search/organization_search.rb
index abc1234..def5678 100644
--- a/search/organization_search.rb
+++ b/search/organization_search.rb
@@ -4,18 +4,6 @@ class OrganizationSearch
attr_accessor :start, :limit, :sort, :order,
:calc_found_rows, :fields, :filters
... | Remove a few useless methods from search class
|
diff --git a/jsonapi-matchers.gemspec b/jsonapi-matchers.gemspec
index abc1234..def5678 100644
--- a/jsonapi-matchers.gemspec
+++ b/jsonapi-matchers.gemspec
@@ -18,7 +18,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_dependency "activesuppor... | Update gemspec to allow for ActiveSupport versions below 7.
|
diff --git a/knockoutjs-rails.gemspec b/knockoutjs-rails.gemspec
index abc1234..def5678 100644
--- a/knockoutjs-rails.gemspec
+++ b/knockoutjs-rails.gemspec
@@ -13,5 +13,5 @@
s.files = Dir["{lib,vendor}/**/*"] + ["MIT-LICENSE", "README.md"]
- s.add_runtime_dependency "railties", "~> 3.1"
+ s.add_runtime_depende... | Declare support for Rails 4
|
diff --git a/lib/autodoc/documents.rb b/lib/autodoc/documents.rb
index abc1234..def5678 100644
--- a/lib/autodoc/documents.rb
+++ b/lib/autodoc/documents.rb
@@ -26,6 +26,7 @@ end
def write_toc
+ toc_path.parent.mkpath
toc_path.open("w") {|file| file << render_toc }
end
| Create directory if not exist
|
diff --git a/lib/merb-simple-forms.rb b/lib/merb-simple-forms.rb
index abc1234..def5678 100644
--- a/lib/merb-simple-forms.rb
+++ b/lib/merb-simple-forms.rb
@@ -10,6 +10,4 @@ Merb::BootLoader.after_app_loads do
# code that can be required after the application loads
end
-
- Merb::Plugins.add_rakefiles "mer... | Remove the rake tasks require
|
diff --git a/lib/tasks/add_admin.rake b/lib/tasks/add_admin.rake
index abc1234..def5678 100644
--- a/lib/tasks/add_admin.rake
+++ b/lib/tasks/add_admin.rake
@@ -7,6 +7,23 @@ user = User.where("email = ?", email).first
user.update_attribute!(:admin, true)
- logger.info "#{user.name} has be grunted as admin... | Add generate administrator rake task. :smiley:
|
diff --git a/app/models/homepage_header.rb b/app/models/homepage_header.rb
index abc1234..def5678 100644
--- a/app/models/homepage_header.rb
+++ b/app/models/homepage_header.rb
@@ -6,7 +6,7 @@ mount_uploader :background_image, BackgroundImageUploader
def self.active
- where(active: true).first
+ find_by(ac... | rubocop: Use find_by instead of where.first.
|
diff --git a/app/models/study_validator.rb b/app/models/study_validator.rb
index abc1234..def5678 100644
--- a/app/models/study_validator.rb
+++ b/app/models/study_validator.rb
@@ -5,14 +5,16 @@ nct_id: 'NCT00734539',
columns_or_associated_objects: {
outcomes: { count: 24 },
- brief... | Add better error message when validation fails.
|
diff --git a/qa/qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb b/qa/qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb
index abc1234..def5678 100644
--- a/qa/qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb
+++ b/qa/qa... | Remove blocks from Runtime::Browser.visit calls within Mattermost tests
Use .perform instead of .act in Mattermost test
Signed-off-by: ddavison <2d8af30be2746a8359c9d49236dee9d2380c4fc1@gitlab.com>
|
diff --git a/lib/aggro/saga_status.rb b/lib/aggro/saga_status.rb
index abc1234..def5678 100644
--- a/lib/aggro/saga_status.rb
+++ b/lib/aggro/saga_status.rb
@@ -2,58 +2,28 @@ # Public: Tracks the state of a saga as it processes.
class SagaStatus
include Projection
+ include Concurrent::Obligation
- at... | Use Concurrent::Obligation to manage SagaStatus state.
|
diff --git a/lib/appsignal/railtie.rb b/lib/appsignal/railtie.rb
index abc1234..def5678 100644
--- a/lib/appsignal/railtie.rb
+++ b/lib/appsignal/railtie.rb
@@ -8,7 +8,12 @@ # Some apps when run from the console do not have Rails.root set, there's
# currently no way to spec this.
if Rails.root
- ... | Check if log dir is writable
|
diff --git a/lib/codewars_api/user.rb b/lib/codewars_api/user.rb
index abc1234..def5678 100644
--- a/lib/codewars_api/user.rb
+++ b/lib/codewars_api/user.rb
@@ -1,8 +1,8 @@ module CodewarsApi
class User
- def initialize(username)
- fail 'Username is not set' unless username
- @response = RequestHelper.g... | Change name of constructor's argument in User
|
diff --git a/app/decorators/configured_system_decorator.rb b/app/decorators/configured_system_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/configured_system_decorator.rb
+++ b/app/decorators/configured_system_decorator.rb
@@ -2,4 +2,10 @@ def self.fonticon
'ff ff-configured-system'
end
+
+ ... | Add missing single_quad definition for ConfiguredSystemDecorator
|
diff --git a/spec/adapter/faraday_spec.rb b/spec/adapter/faraday_spec.rb
index abc1234..def5678 100644
--- a/spec/adapter/faraday_spec.rb
+++ b/spec/adapter/faraday_spec.rb
@@ -7,6 +7,9 @@
let(:conn) do
Faraday.new(:url => url) do |faraday|
+ faraday.request :multipart
+ faraday.request :url_encoded
... | Add a weird pending test.
|
diff --git a/spec/features/config_spec.rb b/spec/features/config_spec.rb
index abc1234..def5678 100644
--- a/spec/features/config_spec.rb
+++ b/spec/features/config_spec.rb
@@ -40,6 +40,11 @@ expect(User.all.count).to equal 1
expect(page).to have_content "Logged in as"
end
+
+ it 'can navig... | Test that navigating to admin/pages/new works
This test reproduces #43
Conflicts:
spec/features/config_spec.rb
|
diff --git a/lib/domgen/ruby/model.rb b/lib/domgen/ruby/model.rb
index abc1234..def5678 100644
--- a/lib/domgen/ruby/model.rb
+++ b/lib/domgen/ruby/model.rb
@@ -13,7 +13,7 @@ #
module Domgen
- FacetManager.facet(:ruby) do |facet|
+ FacetManager.facet(:ruby => [:application]) do |facet|
facet.enhance(DataModul... | Make sure ruby facet depends on application facet
|
diff --git a/week-4/count-between/my_solution.rb b/week-4/count-between/my_solution.rb
index abc1234..def5678 100644
--- a/week-4/count-between/my_solution.rb
+++ b/week-4/count-between/my_solution.rb
@@ -16,9 +16,10 @@
def count_between(list_of_integers, lower_bound, upper_bound)
btwn = 0
- if list_of_integers.e... | Add count between challenge.
:q
wq
x
q
subl .
|
diff --git a/lib/discordrb.rb b/lib/discordrb.rb
index abc1234..def5678 100644
--- a/lib/discordrb.rb
+++ b/lib/discordrb.rb
@@ -1,4 +1,11 @@ # frozen_string_literal: true
+
+unless ENV['DISCORDRB_V2_MESSAGE']
+ puts "You're using version 2 of discordrb which has some breaking changes!"
+ puts "Don't worry if your bo... | Add a message that version 2 is being used to the standard output (don't want to break people's stuff without them knowing)
|
diff --git a/classes/cocoadocs_settings.rb b/classes/cocoadocs_settings.rb
index abc1234..def5678 100644
--- a/classes/cocoadocs_settings.rb
+++ b/classes/cocoadocs_settings.rb
@@ -2,8 +2,9 @@
def self.settings_at_location download_location
cocoadocs_settings = download_location + "/.cocoadocs.yml"
+ cocoad... | Add support for .cocoapods.yml files as well as cocoadocs.yml settings
|
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -1,7 +1,7 @@ class SearchController < ApplicationController
def index
if params[:q]
- redirect_to s... | Fix another, almost identical, search bug
|
diff --git a/lib/pilfer/middleware.rb b/lib/pilfer/middleware.rb
index abc1234..def5678 100644
--- a/lib/pilfer/middleware.rb
+++ b/lib/pilfer/middleware.rb
@@ -30,7 +30,7 @@ end
def default_profiler
- reporter = Pilfer::Logger.new($stdout, :app_root => ENV['PWD'])
+ reporter = Pilfer::Logger.new($... | Remove default value for app_root
If PWD is going to be used as the default app root, it should be defined in
the reporters. This implementation only worked when using the middleware and
its default logger.
|
diff --git a/lib/projectionist/cli.rb b/lib/projectionist/cli.rb
index abc1234..def5678 100644
--- a/lib/projectionist/cli.rb
+++ b/lib/projectionist/cli.rb
@@ -16,7 +16,7 @@ desc 'edit <type> <file>', 'Edit the file for <type> named <file>'
option :editor
def edit(type, file)
- editor = options[:edi... | Check for $VISUAL before $EDITOR
|
diff --git a/app/models/concerns/tasting_enums.rb b/app/models/concerns/tasting_enums.rb
index abc1234..def5678 100644
--- a/app/models/concerns/tasting_enums.rb
+++ b/app/models/concerns/tasting_enums.rb
@@ -0,0 +1,40 @@+module TastingEnums
+ extend ActiveSupport::Concern
+
+ RED_FRUIT_ENUMS = { red: 1,
+ ... | Make module for enum constants
|
diff --git a/lib/radbeacon/scanner.rb b/lib/radbeacon/scanner.rb
index abc1234..def5678 100644
--- a/lib/radbeacon/scanner.rb
+++ b/lib/radbeacon/scanner.rb
@@ -16,6 +16,15 @@ radbeacons
end
+ def fetch(mac_address)
+ radbeacon = nil
+ dev = BluetoothLeDevice.new(mac_address, nil)
+ if de... | Add fetch method to return a radbeacon with a given mac
|
diff --git a/app/services/file_storage_service.rb b/app/services/file_storage_service.rb
index abc1234..def5678 100644
--- a/app/services/file_storage_service.rb
+++ b/app/services/file_storage_service.rb
@@ -16,4 +16,29 @@ S3_BUCKET
end
+ def self.create_and_upload_public_object(filename, body)
+ key = ob... | Add methods for public and private adding
|
diff --git a/lib/tasks/downloads.rake b/lib/tasks/downloads.rake
index abc1234..def5678 100644
--- a/lib/tasks/downloads.rake
+++ b/lib/tasks/downloads.rake
@@ -11,8 +11,9 @@ sheet.update_row 0, *package_attributes.map(&:to_s).map(&:titleize), 'Category'
package_list = Package
+ .exclude_unregistered_pa... | Sort packages in spreadsheet by name |
diff --git a/lib/fog/google/examples/create.rb b/lib/fog/google/examples/create.rb
index abc1234..def5678 100644
--- a/lib/fog/google/examples/create.rb
+++ b/lib/fog/google/examples/create.rb
@@ -9,6 +9,7 @@ :private_key_path => File.expand_path("~/.ssh/id_rsa"),
:public_key_path => File.expand_path("~/.ssh/i... | [google] Add support for instance tags
|
diff --git a/test/schema.rb b/test/schema.rb
index abc1234..def5678 100644
--- a/test/schema.rb
+++ b/test/schema.rb
@@ -1,31 +1,30 @@ ActiveRecord::Schema.define(:version => 1) do
+ create_table "articles", :force => true do |t|
+ t.column "headline", "string", null: false
+ t.column "section", "string"
+ t.... | Test with not-null constraint and index
|
diff --git a/lib/http_client/jruby/response.rb b/lib/http_client/jruby/response.rb
index abc1234..def5678 100644
--- a/lib/http_client/jruby/response.rb
+++ b/lib/http_client/jruby/response.rb
@@ -30,7 +30,11 @@ end
def to_hash
- Hash[ @native_response.get_all_headers.map{ |h| [h.get_name, h.get_val... | Support multiple values for one header
|
diff --git a/activestorage/db/update_migrate/20191206030411_create_active_storage_variant_records.rb b/activestorage/db/update_migrate/20191206030411_create_active_storage_variant_records.rb
index abc1234..def5678 100644
--- a/activestorage/db/update_migrate/20191206030411_create_active_storage_variant_records.rb
+++ b... | Make ActiveStorage update migration compatible with install migration
If you install active_storage in rails 6.1, then use rails app:update,
the service name migration handles that case but not the variant records
one, which fails trying to re-create the table.
Co-authored-by: Adrianna Chang <56e0e0ecf2f5a1ed63a33619... |
diff --git a/app/views/DELETE.xml.builder b/app/views/DELETE.xml.builder
index abc1234..def5678 100644
--- a/app/views/DELETE.xml.builder
+++ b/app/views/DELETE.xml.builder
@@ -0,0 +1,24 @@+################################################################################
+#This file is part of Dedomenon.
+#
+#Dedomenon ... | DELETE view is complete for now. We only return ok
|
diff --git a/lib/metric_fu.rb b/lib/metric_fu.rb
index abc1234..def5678 100644
--- a/lib/metric_fu.rb
+++ b/lib/metric_fu.rb
@@ -3,7 +3,7 @@ RAILS = File.exist?("config/environment.rb")
if RAILS
- MetricFu::CODE_DIRS = ['app']
+ MetricFu::CODE_DIRS = ['app', 'lib']
else
MetricFu::CODE_DIRS = ['li... | Include both app and lib in rails apps
|
diff --git a/lib/linkage/comparators/within.rb b/lib/linkage/comparators/within.rb
index abc1234..def5678 100644
--- a/lib/linkage/comparators/within.rb
+++ b/lib/linkage/comparators/within.rb
@@ -1,5 +1,20 @@ module Linkage
module Comparators
+ # Within is a integer comparator. It checks if two values are within... | Add documentation for Within comparator
|
diff --git a/lib/processors/route_processor.rb b/lib/processors/route_processor.rb
index abc1234..def5678 100644
--- a/lib/processors/route_processor.rb
+++ b/lib/processors/route_processor.rb
@@ -0,0 +1,11 @@+require 'processors/base_processor'
+require 'processors/alias_processor'
+require 'lib/processors/lib/route_h... | Switch route processor based on Rails version
|
diff --git a/Casks/blu-ray-player.rb b/Casks/blu-ray-player.rb
index abc1234..def5678 100644
--- a/Casks/blu-ray-player.rb
+++ b/Casks/blu-ray-player.rb
@@ -1,6 +1,6 @@ class BluRayPlayer < Cask
- version '2.10.2'
- sha256 '23105d6b8703b9ded387ba13b09d7e1b50d5bbb563fd91a7492a7ee7fd0de2bf'
+ version '2.10.4'
+ sha25... | Upgrade Blu-ray Player.app to v2.10.4
|
diff --git a/Casks/radiant-player.rb b/Casks/radiant-player.rb
index abc1234..def5678 100644
--- a/Casks/radiant-player.rb
+++ b/Casks/radiant-player.rb
@@ -1,7 +1,7 @@ class RadiantPlayer < Cask
- url 'https://github.com/kbhomes/google-music-mac/releases/download/v1.2.0/Radiant.Player.zip'
+ url 'https://github.com/... | Upgrade radiant player to v1.2.1
|
diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb
index abc1234..def5678 100644
--- a/config/initializers/sentry.rb
+++ b/config/initializers/sentry.rb
@@ -7,5 +7,33 @@ # Set tracesSampleRate to 1.0 to capture 100%
# of transactions for performance monitoring.
# We recommend adjusting t... | Update Sentry to ignore health check transactions
|
diff --git a/lib/taverna_player/model_proxy.rb b/lib/taverna_player/model_proxy.rb
index abc1234..def5678 100644
--- a/lib/taverna_player/model_proxy.rb
+++ b/lib/taverna_player/model_proxy.rb
@@ -3,7 +3,7 @@ class ModelProxy
attr_reader :class_name
- def initialize(class_name, method_names)
+ def initia... | Allow a model proxy to not proxy any methods.
Initializer now defaults to an empty list for the method proxy list.
|
diff --git a/lib/grat/system.rb b/lib/grat/system.rb
index abc1234..def5678 100644
--- a/lib/grat/system.rb
+++ b/lib/grat/system.rb
@@ -26,6 +26,7 @@ if params[:template]
template = model.find_by_url params[:template]
if template
+ content.template_url = template.url
content.suggested... | Correct default template on new content.
|
diff --git a/lib/twitter/api/spam_reporting.rb b/lib/twitter/api/spam_reporting.rb
index abc1234..def5678 100644
--- a/lib/twitter/api/spam_reporting.rb
+++ b/lib/twitter/api/spam_reporting.rb
@@ -8,7 +8,7 @@
# The users specified are blocked by the authenticated user and reported as spammers
#
- # ... | Update documentation URL for POST users/report_spam
https://dev.twitter.com/issues/698
|
diff --git a/process_shared.gemspec b/process_shared.gemspec
index abc1234..def5678 100644
--- a/process_shared.gemspec
+++ b/process_shared.gemspec
@@ -14,7 +14,7 @@
s.add_dependency('ffi', '~> 1.0')
- s.add_development_dependency('ci_reporter_minitest')
+ s.add_development_dependency('ci_reporter_minitest', '... | Add version range for ci_reporter_minitest.
|
diff --git a/lib/kindle/note.rb b/lib/kindle/note.rb
index abc1234..def5678 100644
--- a/lib/kindle/note.rb
+++ b/lib/kindle/note.rb
@@ -15,7 +15,8 @@ title_author, highlight, *notes = *raw_note.split("\r\n")
note = Note.new
- location = highlight.match(/loc. (\d*)/i)
+ location = highlig... | Support the 4th gen kindle location format
|
diff --git a/lib/spreewald.rb b/lib/spreewald.rb
index abc1234..def5678 100644
--- a/lib/spreewald.rb
+++ b/lib/spreewald.rb
@@ -1,7 +1,6 @@ # coding: UTF-8
require 'cucumber_priority'
-require "spreewald_support/field_errors"
require "spreewald_support/version"
require "spreewald_support/github"
require "spreewa... | Fix "undefined method `build_rb_world_factory` for nil:NilClass" error when running tests on a real project
|
diff --git a/lib/poke/camera.rb b/lib/poke/camera.rb
index abc1234..def5678 100644
--- a/lib/poke/camera.rb
+++ b/lib/poke/camera.rb
@@ -14,6 +14,8 @@ #
# Returns a Camera object.
def initialize(params = {})
+ @player = params[:player]
+ @x, @y = 0
end
end
| Add player, x, and y ivars
|
diff --git a/lib/tasks/git.rake b/lib/tasks/git.rake
index abc1234..def5678 100644
--- a/lib/tasks/git.rake
+++ b/lib/tasks/git.rake
@@ -0,0 +1,61 @@+namespace :git do
+ require 'fileutils'
+
+ IGNORE_REPOS = [
+ "origin",
+ "upstream",
+ ]
+
+ TEAM_REPOS = {
+ 'donthorp' => 'git@github.com:donthorp/kandan.git',
+ ... | Add add_team_repos and prune_team_repos tasks to assist in PR handling
|
diff --git a/lib/wptemplates.rb b/lib/wptemplates.rb
index abc1234..def5678 100644
--- a/lib/wptemplates.rb
+++ b/lib/wptemplates.rb
@@ -1,14 +1,20 @@ require "wptemplates/version"
require "wptemplates/parser"
+require "wptemplates/preprocessor"
module Wptemplates
def self.parse text
parser.parse(text)
... | Use the preprocessor for default parse
|
diff --git a/liquid-c.gemspec b/liquid-c.gemspec
index abc1234..def5678 100644
--- a/liquid-c.gemspec
+++ b/liquid-c.gemspec
@@ -23,5 +23,6 @@ spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
spec.add_development_dependency 'rake-compiler'
+ spec.add_development_depend... | Add direct dependency on minitest
|
diff --git a/libraries/sensu.rb b/libraries/sensu.rb
index abc1234..def5678 100644
--- a/libraries/sensu.rb
+++ b/libraries/sensu.rb
@@ -18,22 +18,27 @@ %w(id chef_type data_bag).include?(key)
}
)
- config = hash_sorter(
+ config = Chef::Mixin::DeepMerge.merge(
Chef::Mixin::DeepMerge.me... | Rename sorting method. Force Mash instances into Hash.
|
diff --git a/spec/dummy_4/config/routes.rb b/spec/dummy_4/config/routes.rb
index abc1234..def5678 100644
--- a/spec/dummy_4/config/routes.rb
+++ b/spec/dummy_4/config/routes.rb
@@ -2,6 +2,7 @@ get "/users/:user_id/render_elsewhere(.:format)", :to => "likes#render_elsewhere"
get "/users/:user_id/send_instructions",... | Add missing route to Rails 4 test dummy
|
diff --git a/spec/features/tickets_spec.rb b/spec/features/tickets_spec.rb
index abc1234..def5678 100644
--- a/spec/features/tickets_spec.rb
+++ b/spec/features/tickets_spec.rb
@@ -0,0 +1,33 @@+# frozen_string_literal: true
+
+require 'rails_helper'
+
+describe 'ticket system', type: :feature, js: true do
+ let(:cours... | Add basic browser test for Get Help request and ticket system
|
diff --git a/bump_dependencies_for_repo.rb b/bump_dependencies_for_repo.rb
index abc1234..def5678 100644
--- a/bump_dependencies_for_repo.rb
+++ b/bump_dependencies_for_repo.rb
@@ -1,12 +1,32 @@ #!/usr/bin/env ruby
require "./app/workers/dependency_file_fetcher"
+require "./lib/github"
require "highline/import"
re... | Make user entry script foolproof
|
diff --git a/config/environments/production.rb b/config/environments/production.rb
index abc1234..def5678 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -17,8 +17,10 @@
config.log_level = :warn
- config.cache_store = :dalli_store, {
- metastore: "memcached://#{ENV[... | Switch to Memcachier for memcache
|
diff --git a/app/cells/post_player_cell.rb b/app/cells/post_player_cell.rb
index abc1234..def5678 100644
--- a/app/cells/post_player_cell.rb
+++ b/app/cells/post_player_cell.rb
@@ -11,6 +11,6 @@ bgcol = 'ffffff'
linkcol = 'e99708'
- "http://bandcamp.com/EmbeddedPlayer/album=#{album_id}/size=#{size}/bg... | Move bandcamp player iframe to https
|
diff --git a/app/mailers/contact_mailer.rb b/app/mailers/contact_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/contact_mailer.rb
+++ b/app/mailers/contact_mailer.rb
@@ -1,5 +1,8 @@ class ContactMailer < ActionMailer::Base
default from: "Website Submission Form <webmail@tortugas-llc.com>"
+ ActionMailer:... | Fix OpenSSL hostname mismatch issue with mailer
|
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index abc1234..def5678 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -21,6 +21,9 @@ edit_sample.js
edit_study_subject.js
enrolls.js
+ jquery.2.0.0.min.js
+ jquery-ui.1.10.3.min.js
+ jquery-ui.1.10.1.css
... | Include jquery files in precompile list.
|
diff --git a/config/software/berkshelf2.rb b/config/software/berkshelf2.rb
index abc1234..def5678 100644
--- a/config/software/berkshelf2.rb
+++ b/config/software/berkshelf2.rb
@@ -15,7 +15,7 @@ # limitations under the License.
#
-log.deprecated('berkshelf2') { 'Please upgrade to Berkshelf 3. Continued use of Berksh... | Use the correct logger object
|
diff --git a/spec/api/header_spec.rb b/spec/api/header_spec.rb
index abc1234..def5678 100644
--- a/spec/api/header_spec.rb
+++ b/spec/api/header_spec.rb
@@ -0,0 +1,32 @@+# -*- coding: utf-8 -*-
+#
+# Author:: Douglas Triggs (<doug@getchef.com>)
+# Copyright:: Copyright (c) 2014 Chef, Inc.
+
+describe "Headers" do
+ le... | Add header tests to check for min/max (or lack of max) client version
|
diff --git a/lib/bugsnag/middleware/rack_request.rb b/lib/bugsnag/middleware/rack_request.rb
index abc1234..def5678 100644
--- a/lib/bugsnag/middleware/rack_request.rb
+++ b/lib/bugsnag/middleware/rack_request.rb
@@ -29,6 +29,7 @@ :httpMethod => request.request_method,
:params => params.to_hash,
... | Add HTTP referer to the request tab
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -4,6 +4,7 @@ description "DataStax Repo for Apache Cassandra"
url "http://rpm.datastax.com/community"
gpgcheck false
+ metadata_expire "1"
sslverify false
action :create... | Set metdata_expire to 1 second so yum updates quickly
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -21,9 +21,7 @@ when 'windows'
include_recipe 'perl::_windows'
else
- node['perl']['packages'].each do |perl_pkg|
- package perl_pkg
- end
+ package perl_pkg node['perl']['pac... | Use multi-package to speed up installs
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -29,6 +29,7 @@
chef_gem 'fog' do
version node['dnsimple']['fog_version']
+ compile_time false if Chef::Resource::ChefGem.method_defined?(:compile_time)
action :install
end
| Resolve the compile_time warnings for Chef 12.1+
|
diff --git a/recipes/package.rb b/recipes/package.rb
index abc1234..def5678 100644
--- a/recipes/package.rb
+++ b/recipes/package.rb
@@ -3,7 +3,7 @@ # Cookbook:: transmission
# Recipe:: package
#
-# Copyright:: 2011-2016, Chef Software, Inc.
+# Copyright:: 2011-2017, Chef Software, Inc.
#
# Licensed under the Apach... | Remove a case statement for no reason
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/quantity-queries.gemspec b/quantity-queries.gemspec
index abc1234..def5678 100644
--- a/quantity-queries.gemspec
+++ b/quantity-queries.gemspec
@@ -35,5 +35,5 @@
# Gems Dependencies
s.add_dependency("sass", ["~> 3.4"])
- s.add_dependency("compass", ["~> 1.0.0"])
+ s.add_dependency("compass"... | Fix pessimistic dependency on Compass
|
diff --git a/lib/activerecord-refresh_connection/active_record/connection_adapters/refresh_connection_management.rb b/lib/activerecord-refresh_connection/active_record/connection_adapters/refresh_connection_management.rb
index abc1234..def5678 100644
--- a/lib/activerecord-refresh_connection/active_record/connection_ad... | Call clear_active_connections! or clear_all_connections! always!
|
diff --git a/core/spec/support/refinery.rb b/core/spec/support/refinery.rb
index abc1234..def5678 100644
--- a/core/spec/support/refinery.rb
+++ b/core/spec/support/refinery.rb
@@ -8,8 +8,8 @@
# set some config values so that image and resource factories don't fail to create
config.before do
- Refinery::Image... | Fix for when we don't have constants defined.
|
diff --git a/webapp/add_user.rb b/webapp/add_user.rb
index abc1234..def5678 100644
--- a/webapp/add_user.rb
+++ b/webapp/add_user.rb
@@ -0,0 +1,31 @@+#!/usr/bin/env ruby
+
+require "highline"
+require "bcrypt"
+require "yaml"
+
+cli = HighLine.new
+
+user = cli.ask("Username?")
+pass = cli.ask("Password?") { |c| c.echo... | Add script to add users.
|
diff --git a/lib/devise_security_extension/rails.rb b/lib/devise_security_extension/rails.rb
index abc1234..def5678 100644
--- a/lib/devise_security_extension/rails.rb
+++ b/lib/devise_security_extension/rails.rb
@@ -1,3 +1,5 @@+require "active_support"
+
module DeviseSecurityExtension
class Engine < ::Rails::Engin... | Fix an issue with CI run where 'active_support' isn't loaded.
|
diff --git a/feed_duck.gemspec b/feed_duck.gemspec
index abc1234..def5678 100644
--- a/feed_duck.gemspec
+++ b/feed_duck.gemspec
@@ -11,7 +11,7 @@ spec.summary = %q{This gem parses RSS and Atom feeds into Ruby objects.}
spec.description = %q{This gem parses RSS and Atom feeds and provides an uniform ruby-o... | Add gem homepage to gemspec
|
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index abc1234..def5678 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -8,4 +8,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added... | Fix for server-side rendering in production
|
diff --git a/ITWLoadingPanel.podspec b/ITWLoadingPanel.podspec
index abc1234..def5678 100644
--- a/ITWLoadingPanel.podspec
+++ b/ITWLoadingPanel.podspec
@@ -1,11 +1,11 @@ Pod::Spec.new do |s|
s.name = 'ITWLoadingPanel'
- s.version = '1.0.0'
+ s.version = '1.0.1'
s.license = 'Apache 2'
s.summary = 'Dr... | Update podspec with version 1.0.1
|
diff --git a/brightbytes-sendgrid.gemspec b/brightbytes-sendgrid.gemspec
index abc1234..def5678 100644
--- a/brightbytes-sendgrid.gemspec
+++ b/brightbytes-sendgrid.gemspec
@@ -21,7 +21,7 @@ spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake", "~> 10.1"
spec.add_developmen... | Update dev deps to support Rails 4.x
|
diff --git a/lib/event_store/messaging/stream_name.rb b/lib/event_store/messaging/stream_name.rb
index abc1234..def5678 100644
--- a/lib/event_store/messaging/stream_name.rb
+++ b/lib/event_store/messaging/stream_name.rb
@@ -10,7 +10,7 @@
module Macro
def category_macro(category_name)
- catego... | Order of precedence is enforced by parentheses
|
diff --git a/yoga_pants.gemspec b/yoga_pants.gemspec
index abc1234..def5678 100644
--- a/yoga_pants.gemspec
+++ b/yoga_pants.gemspec
@@ -14,4 +14,10 @@ gem.name = "yoga_pants"
gem.require_paths = ["lib"]
gem.version = YogaPants::VERSION
+
+ gem.add_runtime_dependency 'httpclient', '2.2.5'
+ gem... | Add HTTPClient and MultiJson as deps
|
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
@@ -2,7 +2,7 @@ default[:apt][:sources] = node[:apt][:sources] | [ "opscode" ]
# Set the default client version
... | Update chef client to 11.6.0-1
|
diff --git a/spec/controllers/moderation/reports_controller_spec.rb b/spec/controllers/moderation/reports_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/moderation/reports_controller_spec.rb
+++ b/spec/controllers/moderation/reports_controller_spec.rb
@@ -12,7 +12,7 @@ sign_in user
e... | Apply review suggestions from @nilsding
Co-authored-by: Georg Gadinger <9e8f1a26fbf401b045347f083556ffd7c0b25a58@nilsding.org> |
diff --git a/metaweblog.gemspec b/metaweblog.gemspec
index abc1234..def5678 100644
--- a/metaweblog.gemspec
+++ b/metaweblog.gemspec
@@ -24,6 +24,6 @@ spec.require_paths = ["lib"]
spec.add_development_dependency "bundler"
- spec.add_development_dependency "rspec", "~> 2.14.0"
+ spec.add_development_dependency ... | Update 2.99.0 to check compatibility
|
diff --git a/lib/json_parser/class_methods/builder.rb b/lib/json_parser/class_methods/builder.rb
index abc1234..def5678 100644
--- a/lib/json_parser/class_methods/builder.rb
+++ b/lib/json_parser/class_methods/builder.rb
@@ -71,4 +71,4 @@ @#{attribute} ||= #{attr_fetcher(attribute)}
CODE
end
-end+end
| Add end of line to file
|
diff --git a/lib/treetop/compiler/grammar_compiler.rb b/lib/treetop/compiler/grammar_compiler.rb
index abc1234..def5678 100644
--- a/lib/treetop/compiler/grammar_compiler.rb
+++ b/lib/treetop/compiler/grammar_compiler.rb
@@ -6,23 +6,30 @@ target_file.write(ruby_source(source_path))
end
end
- ... | Add Treetop.load_string which loads a grammar description stored in string.
Refactor Treetop.load and replace ruby_source with ruby_source_string which compiles
a source stored in string.
|
diff --git a/rspec-wait.gemspec b/rspec-wait.gemspec
index abc1234..def5678 100644
--- a/rspec-wait.gemspec
+++ b/rspec-wait.gemspec
@@ -14,6 +14,8 @@ spec.files = `git ls-files -z`.split("\x0")
spec.test_files = spec.files.grep(/^spec/)
+ spec.add_dependency "rspec", "~> 2.0"
+
spec.add_development_dep... | Add the RSpec runtime gem dependency
|
diff --git a/Casks/appfresh.rb b/Casks/appfresh.rb
index abc1234..def5678 100644
--- a/Casks/appfresh.rb
+++ b/Casks/appfresh.rb
@@ -6,7 +6,16 @@ name 'AppFresh'
appcast 'http://backend.metaquark.de/appcast/appfresh.xml'
homepage 'http://metaquark.de/appfresh/mac'
- license :unknown # todo: change license a... | Add license, vendor and zap for AppFresh.app
|
diff --git a/rack_jax.gemspec b/rack_jax.gemspec
index abc1234..def5678 100644
--- a/rack_jax.gemspec
+++ b/rack_jax.gemspec
@@ -20,4 +20,6 @@
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec", "3.2.0"
+
end
| Add rspec as a dependency
|
diff --git a/interactive-tests/interactives_sam_intermolecular-attractions_2-comparing-dipole-dipole-to-london-dispersion.rb b/interactive-tests/interactives_sam_intermolecular-attractions_2-comparing-dipole-dipole-to-london-dispersion.rb
index abc1234..def5678 100644
--- a/interactive-tests/interactives_sam_intermolec... | Fix "Comparing Dipole-Dipole to London Dispersion" test
[#69191506]
|
diff --git a/spec/agnet_spec.rb b/spec/agnet_spec.rb
index abc1234..def5678 100644
--- a/spec/agnet_spec.rb
+++ b/spec/agnet_spec.rb
@@ -1,11 +1,62 @@ require 'spec_helper'
+
describe Agnet do
it 'has a version number' do
expect(Agnet::VERSION).not_to be nil
end
- it 'does something useful' do
- exp... | Add instance methods tests for Agnet
|
diff --git a/spec/graph_spec.rb b/spec/graph_spec.rb
index abc1234..def5678 100644
--- a/spec/graph_spec.rb
+++ b/spec/graph_spec.rb
@@ -2,4 +2,14 @@
describe Graph do
+ describe 'new' do
+
+ it "should create a new graph with a name and no nodes" do
+ graph1 = Graph::Graph.new('graph1')
+ graph1.name... | Add a spec for the graph instantiation (new method).
|
diff --git a/app/controllers/donate_controller.rb b/app/controllers/donate_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/donate_controller.rb
+++ b/app/controllers/donate_controller.rb
@@ -30,7 +30,10 @@ amount: @amount,
currency: 'usd',
source: params[:stripe_... | Tag donations in Stripe metadata field
|
diff --git a/app/controllers/twitch_controller.rb b/app/controllers/twitch_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/twitch_controller.rb
+++ b/app/controllers/twitch_controller.rb
@@ -22,7 +22,7 @@ user.load_from_twitch(response)
user.save
- sign_in(:user, user)
+ sign_in(:user... | Make sign in sessions last (way, way) longer
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.