diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/vidibus/fileinfo/base.rb b/lib/vidibus/fileinfo/base.rb
index abc1234..def5678 100644
--- a/lib/vidibus/fileinfo/base.rb
+++ b/lib/vidibus/fileinfo/base.rb
@@ -10,7 +10,7 @@ end
def format
- @format ||= Fileinfo.format(@path)
+ @format ||= Fileinfo.format(path)
end
... | Use accessor instead of instance variable |
diff --git a/lib/lita/handlers/time.rb b/lib/lita/handlers/time.rb
index abc1234..def5678 100644
--- a/lib/lita/handlers/time.rb
+++ b/lib/lita/handlers/time.rb
@@ -1,7 +1,7 @@ module Lita
module Handlers
class Time < Handler
- URL = "http://api.worldweatheronline.com/free/v1/tz.ashx"
+ URL = "http://... | Use the (working) v2 API.
|
diff --git a/lib/tasks/deployment.rake b/lib/tasks/deployment.rake
index abc1234..def5678 100644
--- a/lib/tasks/deployment.rake
+++ b/lib/tasks/deployment.rake
@@ -9,7 +9,9 @@ namespace :knight do
desc 'Deploy to Heroku'
task :deploy do
- puts 'Deploying to production...'
+ puts 'Pushing to Github...... | Rake: Deploy task pushed to github, too
|
diff --git a/lib/faker/default/fillmurray.rb b/lib/faker/default/fillmurray.rb
index abc1234..def5678 100644
--- a/lib/faker/default/fillmurray.rb
+++ b/lib/faker/default/fillmurray.rb
@@ -4,8 +4,29 @@ class Fillmurray < Base
class << self
# rubocop:disable Metrics/ParameterLists
+
+ ##
+ # Prod... | Add YARD docs for Faker::Fillmurray.
|
diff --git a/app/models/timeslot.rb b/app/models/timeslot.rb
index abc1234..def5678 100644
--- a/app/models/timeslot.rb
+++ b/app/models/timeslot.rb
@@ -1,6 +1,6 @@ class Timeslot < ActiveRecord::Base
belongs_to :tutor, class_name: 'User'
- has_one :student, class_name: 'User'
+ belongs_to :student, class_name:... | Modify associations in Timeslot model
Correct student_id association to User model (belongs_to)
|
diff --git a/lib/languages/norsk/language.rb b/lib/languages/norsk/language.rb
index abc1234..def5678 100644
--- a/lib/languages/norsk/language.rb
+++ b/lib/languages/norsk/language.rb
@@ -2,7 +2,6 @@
class Norsk < Language
def initialize
- @subjects = ["Jeg", "Du", "Han", "Hun", "Vi", "De", "Den", "Det", "Dere... | Remove old reference to subjects.
|
diff --git a/lib/checkpoint/omniauth_clerk.rb b/lib/checkpoint/omniauth_clerk.rb
index abc1234..def5678 100644
--- a/lib/checkpoint/omniauth_clerk.rb
+++ b/lib/checkpoint/omniauth_clerk.rb
@@ -22,6 +22,7 @@ :image_url => auth_data['info']['image'],
:description => auth_data['info']['description'],
... | Handle phone number from omniauth params.
|
diff --git a/lib/portable_bridge_notation.rb b/lib/portable_bridge_notation.rb
index abc1234..def5678 100644
--- a/lib/portable_bridge_notation.rb
+++ b/lib/portable_bridge_notation.rb
@@ -1,5 +1,4 @@ # TODO: learn about ruby documentation format and add one here, to eliminate rubocop warning
-# as well as how to turn ... | Delete done portion of a todo.
|
diff --git a/lib/simplecov_custom_profile.rb b/lib/simplecov_custom_profile.rb
index abc1234..def5678 100644
--- a/lib/simplecov_custom_profile.rb
+++ b/lib/simplecov_custom_profile.rb
@@ -3,11 +3,8 @@ SimpleCov.profiles.define 'gem' do
add_filter '/test/'
add_filter '/features/'
- add_filter '/spec/'
add_fil... | Remove unused groups from simplecov's profile
|
diff --git a/lib/tasks/migrate_homepage.rake b/lib/tasks/migrate_homepage.rake
index abc1234..def5678 100644
--- a/lib/tasks/migrate_homepage.rake
+++ b/lib/tasks/migrate_homepage.rake
@@ -0,0 +1,38 @@+require 'gds_api/publishing_api'
+require 'highline'
+
+desc "Migrate the homepage"
+task migrate_homepage: :environme... | Add a rake task to migrate the homepage
Because the service manual base path was previously ‘owned’ by a different application, we can’t publish to /service-manual without first explicitly claiming that path reservation using the paths endpoint.
Note that running this rake task will make the old service manual inacce... |
diff --git a/lib/oriented/core/transaction.rb b/lib/oriented/core/transaction.rb
index abc1234..def5678 100644
--- a/lib/oriented/core/transaction.rb
+++ b/lib/oriented/core/transaction.rb
@@ -12,17 +12,15 @@ class Transaction
def self.run connection = Oriented.connection, &block
- begin
- ... | Remove unnecessary begin/end from Transaction.run
|
diff --git a/lib/vcloud/user/catalog_item.rb b/lib/vcloud/user/catalog_item.rb
index abc1234..def5678 100644
--- a/lib/vcloud/user/catalog_item.rb
+++ b/lib/vcloud/user/catalog_item.rb
@@ -12,7 +12,7 @@ end
def initialize(args)
-
+ @href = args[:href]
end
def self.from_reference(ref,... | Store the href when we create a new CatalogItem
|
diff --git a/lib/travis/worker/cli/vagrant.rb b/lib/travis/worker/cli/vagrant.rb
index abc1234..def5678 100644
--- a/lib/travis/worker/cli/vagrant.rb
+++ b/lib/travis/worker/cli/vagrant.rb
@@ -48,7 +48,7 @@ end
def download
- run "get http://files.vagrantup.com/#{from}.box" unless File... | Use wget to download Vagrant base box
|
diff --git a/LLRegex.podspec b/LLRegex.podspec
index abc1234..def5678 100644
--- a/LLRegex.podspec
+++ b/LLRegex.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'LLRegex'
- s.version = '1.2.0'
+ s.version = '1.2.1'
s.summary = 'Regular expression library in Swift, wr... | Update pod version to 1.2.1
|
diff --git a/Formula/ruby.rb b/Formula/ruby.rb
index abc1234..def5678 100644
--- a/Formula/ruby.rb
+++ b/Formula/ruby.rb
@@ -6,6 +6,8 @@ @url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
@homepage='http://www.ruby-lang.org/en/'
@md5='515bfd965814e718c0943abf3dde5494'
+
+ depends_on 'readline'
... | Add readline dependency to Ruby
|
diff --git a/search-engine/spec/foil_queries_spec.rb b/search-engine/spec/foil_queries_spec.rb
index abc1234..def5678 100644
--- a/search-engine/spec/foil_queries_spec.rb
+++ b/search-engine/spec/foil_queries_spec.rb
@@ -0,0 +1,15 @@+describe "Foil queries" do
+ include_context "db"
+ let(:nonfoil) { db.printings.sel... | Add unti test for foil queries
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -1,6 +1,3 @@-# Customize the rake job to source user profile for environment variables
-job_type :rake, ". $HOME/.profile; cd :path && :environment_variable=:environment bundle exec ra... | Revert "customize rake job definition in whenever"
This reverts commit acae3a3b10b52f3734800d2fb239312363d7c6ba.
|
diff --git a/arrow_payments.gemspec b/arrow_payments.gemspec
index abc1234..def5678 100644
--- a/arrow_payments.gemspec
+++ b/arrow_payments.gemspec
@@ -16,7 +16,7 @@ s.add_development_dependency "pry"
s.add_dependency "faraday", "~> 0.9.2"
- s.add_dependency "faraday_middleware", "~> 0.8"
+ s.add_d... | Upgrade faraday_middleware and lock down version
|
diff --git a/test/test_integration.rb b/test/test_integration.rb
index abc1234..def5678 100644
--- a/test/test_integration.rb
+++ b/test/test_integration.rb
@@ -0,0 +1,31 @@+require_relative 'test_helper'
+
+if !INTEGRATION
+ puts "Skipping integration tests..."
+else
+ class TestLDAPInstrumentation < Test::Unit::Tes... | Add basic integration tests for bind
|
diff --git a/Casks/acorn3.rb b/Casks/acorn3.rb
index abc1234..def5678 100644
--- a/Casks/acorn3.rb
+++ b/Casks/acorn3.rb
@@ -3,8 +3,9 @@ sha256 'ffc4cd551b9eb2ebadfe8e59c95e84b1f59538d7915eff63dd6c3efdca7858e6'
url "https://secure.flyingmeat.com/download/Acorn-#{version}.zip"
+ name 'Acorn'
homepage 'https:/... | Add name stanza to Acorn3 |
diff --git a/activesupport/lib/active_support/messages/metadata.rb b/activesupport/lib/active_support/messages/metadata.rb
index abc1234..def5678 100644
--- a/activesupport/lib/active_support/messages/metadata.rb
+++ b/activesupport/lib/active_support/messages/metadata.rb
@@ -32,7 +32,7 @@ if expires_at
... | Remove dependency on `from_now` extension.
[ Assain Jaleel & Kasper Timm Hansen ]
|
diff --git a/activesupport/test/deprecation/proxy_wrappers_test.rb b/activesupport/test/deprecation/proxy_wrappers_test.rb
index abc1234..def5678 100644
--- a/activesupport/test/deprecation/proxy_wrappers_test.rb
+++ b/activesupport/test/deprecation/proxy_wrappers_test.rb
@@ -0,0 +1,22 @@+require 'abstract_unit'
+requi... | Test to ensure that falsy objects aren't wrapped by deprecation proxies
|
diff --git a/bizcalc.gemspec b/bizcalc.gemspec
index abc1234..def5678 100644
--- a/bizcalc.gemspec
+++ b/bizcalc.gemspec
@@ -21,7 +21,10 @@ spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
- spec.add_dependency "pry"
- spec.add_dependency "activesupport"
- sp... | Fix Gemspec warning error on released gem.
|
diff --git a/app/controllers/api/v2/stomping_grounds_controller.rb b/app/controllers/api/v2/stomping_grounds_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v2/stomping_grounds_controller.rb
+++ b/app/controllers/api/v2/stomping_grounds_controller.rb
@@ -31,7 +31,13 @@
def update
... | Return 200 on successful update and 404 when ID is not found for stomping ground
|
diff --git a/app/controllers/groups/avatars_controller.rb b/app/controllers/groups/avatars_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/groups/avatars_controller.rb
+++ b/app/controllers/groups/avatars_controller.rb
@@ -1,4 +1,4 @@-class Groups::AvatarsController < ApplicationController
+class Grou... | Fix removing avatar for group
Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
|
diff --git a/app/interactors/apns/deliver_notification.rb b/app/interactors/apns/deliver_notification.rb
index abc1234..def5678 100644
--- a/app/interactors/apns/deliver_notification.rb
+++ b/app/interactors/apns/deliver_notification.rb
@@ -6,6 +6,7 @@ end
def call
+ Rails.logger.debug "Delivering notificatio... | Add debug logging for deliveries
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -0,0 +1,14 @@+ENV["RAILS_ENV"] = "test"
+require File.expand_path('../../config/environment', __FILE__)
+require 'rails/test_help'
+
+class ActiveSupport::TestCase
+ # Setup all f... | Test suite running with failing tests
|
diff --git a/lib/has_navigation/has_navigation/has_navigation.rb b/lib/has_navigation/has_navigation/has_navigation.rb
index abc1234..def5678 100644
--- a/lib/has_navigation/has_navigation/has_navigation.rb
+++ b/lib/has_navigation/has_navigation/has_navigation.rb
@@ -19,7 +19,7 @@ resource_nav_item = self.resour... | Fix for shonky front-end link resolution in /admin.
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,7 +4,7 @@ require 'simplecov'
require 'coveralls'
-SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new... | Fix deprecation warning on SimpleCov::Formatter::MultiFormatter use.
|
diff --git a/Casks/reaper.rb b/Casks/reaper.rb
index abc1234..def5678 100644
--- a/Casks/reaper.rb
+++ b/Casks/reaper.rb
@@ -3,7 +3,7 @@ sha256 '0b3946b9b200d93aab89343f4523add7ea49cd3e3a6f4d4ed84d8feaee8a4224'
url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.no_dots}_x86_64.dmg"
- appcast 'h... | Use HTTPS for Reaper appcast
New appcast URL is reachable via HTTPS as well as HTTP. Use HTTPS instead of HTTP. |
diff --git a/spec/features/viewing_the_home_page.rb b/spec/features/viewing_the_home_page.rb
index abc1234..def5678 100644
--- a/spec/features/viewing_the_home_page.rb
+++ b/spec/features/viewing_the_home_page.rb
@@ -0,0 +1,27 @@+require 'spec_helper'
+
+describe 'Viewing the home page' do
+ subject(:home_visit) { vis... | Add basic home page feature specs
|
diff --git a/spec/support/factories/file_factory.rb b/spec/support/factories/file_factory.rb
index abc1234..def5678 100644
--- a/spec/support/factories/file_factory.rb
+++ b/spec/support/factories/file_factory.rb
@@ -20,6 +20,7 @@ @@paths_created ||= []
unless File.directory?(path)
@@paths_created... | Delete top-level directories created in specs
|
diff --git a/spec/symbolic_math/ast/builder_spec.rb b/spec/symbolic_math/ast/builder_spec.rb
index abc1234..def5678 100644
--- a/spec/symbolic_math/ast/builder_spec.rb
+++ b/spec/symbolic_math/ast/builder_spec.rb
@@ -4,13 +4,14 @@ context "simple operations" do
it "correctly builds the AST" do
operations ... | Add parentheses test for Builder
|
diff --git a/app/models/donation.rb b/app/models/donation.rb
index abc1234..def5678 100644
--- a/app/models/donation.rb
+++ b/app/models/donation.rb
@@ -1,6 +1,6 @@ class Donation < ActiveRecord::Base
belongs_to :round
- attr_accessible :amount, :email, :name, :stripe_token
+ attr_accessible :amount, :email, :name... | Add :round to attr_accessible in Donation
|
diff --git a/app/models/my_model.rb b/app/models/my_model.rb
index abc1234..def5678 100644
--- a/app/models/my_model.rb
+++ b/app/models/my_model.rb
@@ -1,10 +1,6 @@ class MyModel < ActiveRecord::Base
- if ENV['ALGOLIASEARCH_APPLICATION_ID']
- include AlgoliaSearch
-
- algoliasearch auto_index: false, auto_rem... | Revert "I need to path this helper to not fail if the env variables are missing"
This reverts commit 6b7fe0dcc7be57a0bd9469f518ea82c4201b6baa.
|
diff --git a/spec/mixin_queryable_spec.rb b/spec/mixin_queryable_spec.rb
index abc1234..def5678 100644
--- a/spec/mixin_queryable_spec.rb
+++ b/spec/mixin_queryable_spec.rb
@@ -3,8 +3,8 @@
describe RDF::Queryable do
before :each do
- @file = etc_file("doap.nt")
- @statements = RDF::NTriples::Reader.new... | Update queryable spec to use @filename
|
diff --git a/core/spec/requests/admin/configuration/states_spec.rb b/core/spec/requests/admin/configuration/states_spec.rb
index abc1234..def5678 100644
--- a/core/spec/requests/admin/configuration/states_spec.rb
+++ b/core/spec/requests/admin/configuration/states_spec.rb
@@ -1,26 +1,28 @@ require 'spec_helper'
desc... | Clean up states spec so that a country + state are created for testing purposes
|
diff --git a/YelpAPI.podspec b/YelpAPI.podspec
index abc1234..def5678 100644
--- a/YelpAPI.podspec
+++ b/YelpAPI.podspec
@@ -19,7 +19,7 @@
s.homepage = "https://github.com/Yelp/yelp-ios"
s.license = 'MIT'
- s.author = { "David Chen" => "ywchen@yelp.com" }
+ s.author = 'Yelp... | Change Podspec author to Yelp.
|
diff --git a/app/models/shipment.rb b/app/models/shipment.rb
index abc1234..def5678 100644
--- a/app/models/shipment.rb
+++ b/app/models/shipment.rb
@@ -1,16 +1,23 @@ class Shipment < ActiveRecord::Base
belongs_to :pod
belongs_to :user
+
+ after_save :send_shipment_email
def crops
pod.instructions.map{... | Send shipping email whenever shipped flag is set to true
Resolves #117
|
diff --git a/spec/app/analyser/doctor/database_analyser_spec.rb b/spec/app/analyser/doctor/database_analyser_spec.rb
index abc1234..def5678 100644
--- a/spec/app/analyser/doctor/database_analyser_spec.rb
+++ b/spec/app/analyser/doctor/database_analyser_spec.rb
@@ -0,0 +1,57 @@+require "spec_helper"
+
+class Dog
+end
+... | Add spec to file database_analyser
|
diff --git a/lib/cucover/cli_commands/cucumber.rb b/lib/cucover/cli_commands/cucumber.rb
index abc1234..def5678 100644
--- a/lib/cucover/cli_commands/cucumber.rb
+++ b/lib/cucover/cli_commands/cucumber.rb
@@ -6,9 +6,17 @@ end
def execute
+ require 'rubygems'
+ require 'cucumber'
+
+ ... | WIP: Fix Before hooks. Force into ruby mode for now. Dip a little into Cukes internals to get things running
|
diff --git a/lib/tasks/refresh_elasticsearch.rake b/lib/tasks/refresh_elasticsearch.rake
index abc1234..def5678 100644
--- a/lib/tasks/refresh_elasticsearch.rake
+++ b/lib/tasks/refresh_elasticsearch.rake
@@ -0,0 +1,15 @@+namespace :elasticsearch do
+ desc 'Refresh Elastic Search Index'
+ task :refresh => :environmen... | Add rake task to refresh indexes
|
diff --git a/lib/vmdb/loggers/container_logger.rb b/lib/vmdb/loggers/container_logger.rb
index abc1234..def5678 100644
--- a/lib/vmdb/loggers/container_logger.rb
+++ b/lib/vmdb/loggers/container_logger.rb
@@ -26,17 +26,18 @@ }.freeze
def call(severity, time, progname, msg)
- # From https://github.... | Make the container JSON logs more human readable
- Remove the "service":null bit since it's null 100% of the time right
now. This is done using delete_nils.
- Put the message at the end, since it's the longest variable length.
- Moving level down better shows the top-down scoping.
|
diff --git a/lib/engineyard-cloud-client/version.rb b/lib/engineyard-cloud-client/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard-cloud-client/version.rb
+++ b/lib/engineyard-cloud-client/version.rb
@@ -1,7 +1,7 @@ # This file is maintained by a herd of rabid monkeys with Rakes.
module EY
class CloudC... | Add .pre for next release
|
diff --git a/lib/rubocop/cop/mixin/comments_help.rb b/lib/rubocop/cop/mixin/comments_help.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/mixin/comments_help.rb
+++ b/lib/rubocop/cop/mixin/comments_help.rb
@@ -22,16 +22,7 @@ end
def begin_pos_with_comment(node)
- annotation_line = node.firs... | Improve handling of comments in ClassMethodsDefinition autocorrection
Previously it would take nodes that have inline comment as well,
as long as a blank line to separate the node from the one that would be extracted is missing.
|
diff --git a/lib/stepping_stone/model/doc_string.rb b/lib/stepping_stone/model/doc_string.rb
index abc1234..def5678 100644
--- a/lib/stepping_stone/model/doc_string.rb
+++ b/lib/stepping_stone/model/doc_string.rb
@@ -0,0 +1,80 @@+module SteppingStone
+ module Model
+ # Represents an inline argument in a step. Examp... | Copy DocString from Cucumber 1.x
|
diff --git a/lib/tasks/jmd_resave_performances.rake b/lib/tasks/jmd_resave_performances.rake
index abc1234..def5678 100644
--- a/lib/tasks/jmd_resave_performances.rake
+++ b/lib/tasks/jmd_resave_performances.rake
@@ -3,8 +3,14 @@ desc "Resave all performances, leaving their timestamps untouched"
task resave: :... | Add info about age group having changed to resave task
|
diff --git a/test/integration/default/linux_spec.rb b/test/integration/default/linux_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/linux_spec.rb
+++ b/test/integration/default/linux_spec.rb
@@ -15,9 +15,7 @@ its('content') { should match /allow_unencrypted true/ }
end
-if ( os[:family] == 'c... | Use os helpers for inspec
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/features/support/ui/sections/footer_cookie_message.rb b/features/support/ui/sections/footer_cookie_message.rb
index abc1234..def5678 100644
--- a/features/support/ui/sections/footer_cookie_message.rb
+++ b/features/support/ui/sections/footer_cookie_message.rb
@@ -2,6 +2,6 @@
module UI::Sections
class ... | Update the selector for the button element in the cookie message section.
|
diff --git a/gds-api-adapters.gemspec b/gds-api-adapters.gemspec
index abc1234..def5678 100644
--- a/gds-api-adapters.gemspec
+++ b/gds-api-adapters.gemspec
@@ -12,6 +12,7 @@ s.email = ["jystewart@gmail.com"]
s.summary = "Adapters to work with GDS APIs"
s.homepage = "http://github.com/alphagov/g... | Add homepage and description to gemspec
|
diff --git a/gemnasium-parser.gemspec b/gemnasium-parser.gemspec
index abc1234..def5678 100644
--- a/gemnasium-parser.gemspec
+++ b/gemnasium-parser.gemspec
@@ -13,4 +13,6 @@ gem.name = "gemnasium-parser"
gem.require_paths = ["lib"]
gem.version = Gemnasium::Parser::VERSION
+
+ gem.add_developmen... | Add the rspec gem dependency
|
diff --git a/lib/chef_zero/endpoints/environment_nodes_endpoint.rb b/lib/chef_zero/endpoints/environment_nodes_endpoint.rb
index abc1234..def5678 100644
--- a/lib/chef_zero/endpoints/environment_nodes_endpoint.rb
+++ b/lib/chef_zero/endpoints/environment_nodes_endpoint.rb
@@ -13,7 +13,7 @@ list_data(request, ['... | Fix an issue with an incorrect number of parameters passed to build_uri
|
diff --git a/app/helpers/news_helper.rb b/app/helpers/news_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/news_helper.rb
+++ b/app/helpers/news_helper.rb
@@ -7,19 +7,26 @@ 'content-listing'
end
+
def news_articles(section: nil)
- query_root = if section.present?
- section.new... | Split query root code into new method
|
diff --git a/benchmark-bigo.gemspec b/benchmark-bigo.gemspec
index abc1234..def5678 100644
--- a/benchmark-bigo.gemspec
+++ b/benchmark-bigo.gemspec
@@ -24,5 +24,5 @@
s.add_development_dependency 'minitest', '~> 5.3'
s.add_development_dependency 'rdoc', '~> 4.0'
- s.add_development_dependency 'rake'
+ s.... | Add version dependency to rake
|
diff --git a/test/integration/sqlite/serverspec/sqliste_spec.rb b/test/integration/sqlite/serverspec/sqliste_spec.rb
index abc1234..def5678 100644
--- a/test/integration/sqlite/serverspec/sqliste_spec.rb
+++ b/test/integration/sqlite/serverspec/sqliste_spec.rb
@@ -20,13 +20,27 @@ require_relative 'spec_helper'
require... | Fix SQLite integration tests on CentOS
|
diff --git a/lib/generators/katapult/install/templates/lib/katapult/application_model.rb b/lib/generators/katapult/install/templates/lib/katapult/application_model.rb
index abc1234..def5678 100644
--- a/lib/generators/katapult/install/templates/lib/katapult/application_model.rb
+++ b/lib/generators/katapult/install/tem... | Add navigation to application model template (thereby fix Cucumber scenario)
|
diff --git a/db/migrate/20120806141008_add_note_tables.rb b/db/migrate/20120806141008_add_note_tables.rb
index abc1234..def5678 100644
--- a/db/migrate/20120806141008_add_note_tables.rb
+++ b/db/migrate/20120806141008_add_note_tables.rb
@@ -2,13 +2,13 @@ up do
create_table :section_notes do
primary_key :i... | Use plain indexes, without FK constraints.
FK constraints yield problems if TRUNCATE is used. FK logic should be
handled Rails way (by the application).
|
diff --git a/app/template.rb b/app/template.rb
index abc1234..def5678 100644
--- a/app/template.rb
+++ b/app/template.rb
@@ -1,6 +1,11 @@ apply "app/assets/javascripts/application.js.rb"
copy_file "app/assets/stylesheets/application.css.scss"
remove_file "app/assets/stylesheets/application.css"
+
+insert_into_file "a... | Add ensure_security_headers to app controller
|
diff --git a/alacena.gemspec b/alacena.gemspec
index abc1234..def5678 100644
--- a/alacena.gemspec
+++ b/alacena.gemspec
@@ -20,6 +20,7 @@
spec.add_dependency "eventmachine", "~> 1.0.7"
+ spec.add_development_dependency "minitest", "~> 5.5.1"
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_dev... | Add minitest to the gemspec
|
diff --git a/lib/dm-address.rb b/lib/dm-address.rb
index abc1234..def5678 100644
--- a/lib/dm-address.rb
+++ b/lib/dm-address.rb
@@ -9,7 +9,7 @@
module DataMapper
module Address
- VERSION = '0.3.0'
+ VERSION = '0.4.0'
DEFAULTS = {
:phone_format => PhoneNumber::DEFAULT_FORMAT.dup,
| Update Address::VERSION constant to 0.4.0
Changes since 0.3.0:
- Updates for DM 0.10 compatibility
- Add Address::Preferred module
- Housecleaning updates (nicer requires, etc)
|
diff --git a/app/controllers/activities_controller.rb b/app/controllers/activities_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/activities_controller.rb
+++ b/app/controllers/activities_controller.rb
@@ -8,6 +8,10 @@ end
protected
+ def insecure
+ true
+ end
+
def sorts
... | Allow adding activity without password re-entry
|
diff --git a/lib/ext/hadoop.rb b/lib/ext/hadoop.rb
index abc1234..def5678 100644
--- a/lib/ext/hadoop.rb
+++ b/lib/ext/hadoop.rb
@@ -7,4 +7,11 @@ module Conf
include_package 'org.apache.hadoop.conf'
end
+ module Mapreduce
+ module Lib
+ module Partition
+ include_package 'org.apache.hadoop.map... | Add the partition package to the Hadoop module tree
|
diff --git a/app/models/concerns/taggable_document.rb b/app/models/concerns/taggable_document.rb
index abc1234..def5678 100644
--- a/app/models/concerns/taggable_document.rb
+++ b/app/models/concerns/taggable_document.rb
@@ -3,11 +3,20 @@
included do
belongs_to :document_tag
+ validates :document_tag_id, :p... | [BMCDOT-825] Add table for structure documents sorted by folder. Current tab functionality is not working, but the table works correctly if you force it to become visible (by adding the "active in" classes to the tab-pane).
|
diff --git a/app/views/json/partials/_enterprise.rabl b/app/views/json/partials/_enterprise.rabl
index abc1234..def5678 100644
--- a/app/views/json/partials/_enterprise.rabl
+++ b/app/views/json/partials/_enterprise.rabl
@@ -1,4 +1,4 @@-attributes :name, :id, :description, :latitude, :longitude, :long_description, :web... | Make the rabl capture phone number at enterprise level
|
diff --git a/lib/pay/engine.rb b/lib/pay/engine.rb
index abc1234..def5678 100644
--- a/lib/pay/engine.rb
+++ b/lib/pay/engine.rb
@@ -1,5 +1,7 @@ module Pay
class Engine < ::Rails::Engine
+ isolate_namespace Pay
+
initializer 'pay.processors' do
# Include processor backends
require 'pay/stripe' ... | Revert "Don't need isolating of namespace"
This reverts commit 6e29c77b3c303e3e1285ecfc44a12669ab3c514f.
|
diff --git a/lib/yml_reader.rb b/lib/yml_reader.rb
index abc1234..def5678 100644
--- a/lib/yml_reader.rb
+++ b/lib/yml_reader.rb
@@ -23,7 +23,7 @@ # directory specified by a call to the yml_directory= method.
#
def load(filename)
- @yml = YAML.load_file "#{yml_directory}/#{filename}"
+ @yml = YAML.load(ER... | Add ERB into yml reader
|
diff --git a/roles/ic.rb b/roles/ic.rb
index abc1234..def5678 100644
--- a/roles/ic.rb
+++ b/roles/ic.rb
@@ -8,7 +8,7 @@ }
},
:networking => {
- :nameservers => ["146.179.159.177"],
+ :nameservers => ["8.8.8.8", "146.179.159.177"],
:roles => {
:internal => {
:inet => {
| Add google DNS for IC machines
|
diff --git a/Ruby/extconf.rb b/Ruby/extconf.rb
index abc1234..def5678 100644
--- a/Ruby/extconf.rb
+++ b/Ruby/extconf.rb
@@ -12,9 +12,8 @@ exit
end
-qmake_path = File.readlink(qmake_path) if File.symlink?(qmake_path)
-qt_path = qmake_path.sub('/bin/qmake', '')
-
-pkg_config("#{qt_path}/lib/pkgconfig/QtCore.pc")
+q... | Make it work out of the box on Ubuntu 10.10
|
diff --git a/LVGUtilities.podspec b/LVGUtilities.podspec
index abc1234..def5678 100644
--- a/LVGUtilities.podspec
+++ b/LVGUtilities.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "LVGUtilities"
- s.version = "0.3.0"
+ s.version = "0.3.1"
s.summary = "Basic Swift utility function... | Update podspec to version 0.3.1
|
diff --git a/week-6/credit-card/credit_card_spec.rb b/week-6/credit-card/credit_card_spec.rb
index abc1234..def5678 100644
--- a/week-6/credit-card/credit_card_spec.rb
+++ b/week-6/credit-card/credit_card_spec.rb
@@ -0,0 +1,33 @@+require_relative 'my_solution'
+
+describe CreditCard do
+ describe '#initialize' do
+ ... | Add credit card spec file
|
diff --git a/app/models/build.rb b/app/models/build.rb
index abc1234..def5678 100644
--- a/app/models/build.rb
+++ b/app/models/build.rb
@@ -5,8 +5,6 @@ before_create :generate_uuid
validates :repo, presence: true
-
- serialize :violations_archive, Array
def status
if violations.any?
| Remove serialization of violations_archive on Build
Follow up to https://github.com/thoughtbot/hound/pull/493. We have no need to
serialize this data.
|
diff --git a/app/models/order.rb b/app/models/order.rb
index abc1234..def5678 100644
--- a/app/models/order.rb
+++ b/app/models/order.rb
@@ -1,5 +1,5 @@ class Order < ApplicationRecord
- belongs_to :users
+ belongs_to :user, optional: true
serialize :user_id
serialize :item_id
has_many :items
| Update belongs_to validation by giving it an optional: true
|
diff --git a/lib/active_job/retriable.rb b/lib/active_job/retriable.rb
index abc1234..def5678 100644
--- a/lib/active_job/retriable.rb
+++ b/lib/active_job/retriable.rb
@@ -23,6 +23,7 @@ end
before_perform do
+ @retry_attempt ||= 0
@retry_attempt += 1
end
end
| Make sure @retry_attempt is initialized in the before_perform block
|
diff --git a/babbler.gemspec b/babbler.gemspec
index abc1234..def5678 100644
--- a/babbler.gemspec
+++ b/babbler.gemspec
@@ -23,4 +23,5 @@ gem.add_development_dependency "rake"
gem.add_development_dependency "rspec"
gem.add_development_dependency "rspec-mocks"
+ gem.add_development_dependency "pry"
end
| Add pry for debugging needs
|
diff --git a/lib/banken/policy_finder.rb b/lib/banken/policy_finder.rb
index abc1234..def5678 100644
--- a/lib/banken/policy_finder.rb
+++ b/lib/banken/policy_finder.rb
@@ -32,10 +32,10 @@ policy || raise(NotDefinedError, "unable to find policy `#{find}` for `#{@controller}`")
end
- private
+ private
... | Add indent for private definition
|
diff --git a/messaging.gemspec b/messaging.gemspec
index abc1234..def5678 100644
--- a/messaging.gemspec
+++ b/messaging.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
- s.version = '2.7.0.0'
+ s.version = '2.7.0.1'
s.summary = 'Common primitives for pl... | Package version is increased from 2.7.0.0 to 2.7.0.1
|
diff --git a/lib/bright/sis_apis/base.rb b/lib/bright/sis_apis/base.rb
index abc1234..def5678 100644
--- a/lib/bright/sis_apis/base.rb
+++ b/lib/bright/sis_apis/base.rb
@@ -35,7 +35,7 @@ else
raise
end
- rescue Errno::ECONNREFUSED, Net::ReadTimeout, Net::OpenTimeout, EOFError =>... | Add Errno::ECONNRESET as a rescued exception as well
|
diff --git a/test/integration/jenkins_plugin_install/serverspec/assert_installed_spec.rb b/test/integration/jenkins_plugin_install/serverspec/assert_installed_spec.rb
index abc1234..def5678 100644
--- a/test/integration/jenkins_plugin_install/serverspec/assert_installed_spec.rb
+++ b/test/integration/jenkins_plugin_ins... | Remove `github-oauth` specific version check in integration tests
We don’t install a specific version so this check will fail every time
`github-oauth` releases an updated plugin.
|
diff --git a/Swifter.podspec b/Swifter.podspec
index abc1234..def5678 100644
--- a/Swifter.podspec
+++ b/Swifter.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "Swifter"
- s.version = "2.3.0"
+ s.version = "2.4.0"
s.summary = ":bird: A Twitter framework for iOS & macOS written in... | Update Podspec for version increase
|
diff --git a/lib/em-imap/ssl_verifier.rb b/lib/em-imap/ssl_verifier.rb
index abc1234..def5678 100644
--- a/lib/em-imap/ssl_verifier.rb
+++ b/lib/em-imap/ssl_verifier.rb
@@ -0,0 +1,61 @@+require 'openssl'
+
+module EventMachine
+ # Provides the ssl_verify_peer method to EM::IMAP::Connection to verify certificates
+ # ... | Fix missing SSL hostname validation [MiM Vuln]
fixes ConradIrwin/em-imap#25
Based on:
https://github.com/lostisland/faraday/commit/63cf47c95b573539f047c729bd9ad67560bc83ff
https://github.com/igrigorik/em-http-request/issues/339
** missing file
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -26,6 +26,9 @@ "answer" => "Quick answers",
}
+# disable X-Frame-Options header
+set :protection, :except => :frame_options
+
configure :development do
set :protection, false
use Slimmer::App, prefix: setting... | Disable X-Frame-Options header from being set with Rack::Protection
|
diff --git a/lib/pod/command/spec/doc.rb b/lib/pod/command/spec/doc.rb
index abc1234..def5678 100644
--- a/lib/pod/command/spec/doc.rb
+++ b/lib/pod/command/spec/doc.rb
@@ -8,7 +8,7 @@ Opens the web documentation of the Pod with the given NAME.
DESC
- self.arguments = 'NAME'
+ self.ar... | Fix for newer CLAide version
|
diff --git a/lib/rrj/rabbit/propertie.rb b/lib/rrj/rabbit/propertie.rb
index abc1234..def5678 100644
--- a/lib/rrj/rabbit/propertie.rb
+++ b/lib/rrj/rabbit/propertie.rb
@@ -29,7 +29,7 @@
# Define option sending to rabbitmq for janus admin message
def options_admin(type_request)
- base.merge(routin... | Fix routing_key for admin queue
|
diff --git a/app_test/run.rb b/app_test/run.rb
index abc1234..def5678 100644
--- a/app_test/run.rb
+++ b/app_test/run.rb
@@ -1,6 +1,31 @@ require_relative 'job_test'
+require_relative '../lib/manager.rb'
-20.times do |n|
- JobTestFast.new.perform_async('NON BLOCKING', n)
- JobTestSlow.new.perform_async('BLOCKING', ... | Add enqueueing for the new benchmarking jobs
|
diff --git a/automata/tests/tc_basic.rb b/automata/tests/tc_basic.rb
index abc1234..def5678 100644
--- a/automata/tests/tc_basic.rb
+++ b/automata/tests/tc_basic.rb
@@ -17,4 +17,21 @@
ac_test(words, text)
end
+
+ def test_large
+ words_input = "/usr/share/dict/words"
+ n = 291
+
+ words = []
+ Fil... | automata/test: Add end-to-end test of first 1000 words in dictionary.
|
diff --git a/plugins/aws/check-redshift-events.rb b/plugins/aws/check-redshift-events.rb
index abc1234..def5678 100644
--- a/plugins/aws/check-redshift-events.rb
+++ b/plugins/aws/check-redshift-events.rb
@@ -0,0 +1,73 @@+#!/usr/bin/env ruby
+#
+# ===
+#
+# DESCRIPTION:
+# This plugin checks redshift clusters for mai... | Add new plugin to check all redshift clusters in an AWS region for maintenance events
|
diff --git a/app/controllers/outpost/application_controller.rb b/app/controllers/outpost/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/outpost/application_controller.rb
+++ b/app/controllers/outpost/application_controller.rb
@@ -4,10 +4,8 @@ include Outpost::Controller::Authorization... | Check requests local in render_error
|
diff --git a/app/controllers/users/contributions_controller.rb b/app/controllers/users/contributions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/users/contributions_controller.rb
+++ b/app/controllers/users/contributions_controller.rb
@@ -1,26 +1,22 @@ class Users::ContributionsController < Applic... | Remove inherit_resources from user contributions controller
|
diff --git a/app/helpers/metrics_helper/link_checker_helper.rb b/app/helpers/metrics_helper/link_checker_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/metrics_helper/link_checker_helper.rb
+++ b/app/helpers/metrics_helper/link_checker_helper.rb
@@ -1,7 +1,7 @@ module MetricsHelper::LinkCheckerHelper
de... | Fix success determination for response code
I used the (and) operator which has a lower precedence than the
assignment operator (=), hence I have replaced it with the (&&)
operator.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
|
diff --git a/core/spec/support/unit/pavlov_support.rb b/core/spec/support/unit/pavlov_support.rb
index abc1234..def5678 100644
--- a/core/spec/support/unit/pavlov_support.rb
+++ b/core/spec/support/unit/pavlov_support.rb
@@ -35,8 +35,6 @@ end
def as user, &block
- @execute_as_user ||= {}
- @execute_as_user... | Remove unnecessary optimisation; keep code in sync with MD variant.
|
diff --git a/test/api/breaks_api_test.rb b/test/api/breaks_api_test.rb
index abc1234..def5678 100644
--- a/test/api/breaks_api_test.rb
+++ b/test/api/breaks_api_test.rb
@@ -9,4 +9,33 @@ Rails.application
end
+#POST TEST
+def test_post_breaks
+ teaching_period = FactoryBot.create(:teaching_period)
+ start =... | TEST: Add POST Test for breaks_api
|
diff --git a/lib/clouds_and_dragons.rb b/lib/clouds_and_dragons.rb
index abc1234..def5678 100644
--- a/lib/clouds_and_dragons.rb
+++ b/lib/clouds_and_dragons.rb
@@ -7,7 +7,7 @@
module CloudsAndDragons
def self.start(args)
- sub_cmds = collect_sub_commands(ARGV)
+ sub_cmds = collect_sub_commands(args)
# ... | Use the passed in args instead of ARGV.
|
diff --git a/test/dummy/app/controllers/posts_controller.rb b/test/dummy/app/controllers/posts_controller.rb
index abc1234..def5678 100644
--- a/test/dummy/app/controllers/posts_controller.rb
+++ b/test/dummy/app/controllers/posts_controller.rb
@@ -1,6 +1,4 @@ class PostsController < ApplicationController
- before_act... | Remove useless before_action in the dummy app
|
diff --git a/lib/stevenson/template.rb b/lib/stevenson/template.rb
index abc1234..def5678 100644
--- a/lib/stevenson/template.rb
+++ b/lib/stevenson/template.rb
@@ -17,7 +17,7 @@ end
def place_config(config_file)
- place_files(config_file, 'config.yml')
+ place_files(config_file, '_config.y... | Add missing _ for config file name
|
diff --git a/lib/tasks/api_routes.rake b/lib/tasks/api_routes.rake
index abc1234..def5678 100644
--- a/lib/tasks/api_routes.rake
+++ b/lib/tasks/api_routes.rake
@@ -0,0 +1,10 @@+namespace :api do
+ desc "API Routes"
+ task routes: :environment do
+ API::Root.routes.each do |api|
+ method = api.route_method.lj... | Create rake task to list API routes
|
diff --git a/lib/tasks/rspec_html.rake b/lib/tasks/rspec_html.rake
index abc1234..def5678 100644
--- a/lib/tasks/rspec_html.rake
+++ b/lib/tasks/rspec_html.rake
@@ -0,0 +1,16 @@+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = '--format html --out reports/rspec_results.html'
+... | Add new rspec rake task for generating reports in html
|
diff --git a/lib/vagrant-lxc/plugin.rb b/lib/vagrant-lxc/plugin.rb
index abc1234..def5678 100644
--- a/lib/vagrant-lxc/plugin.rb
+++ b/lib/vagrant-lxc/plugin.rb
@@ -12,7 +12,7 @@ provider(:lxc) do
require File.expand_path("../provider", __FILE__)
- I18n.load_path << File.expand_path(File.dirname... | Fix custom I18n load path
|
diff --git a/tcx.gemspec b/tcx.gemspec
index abc1234..def5678 100644
--- a/tcx.gemspec
+++ b/tcx.gemspec
@@ -8,8 +8,8 @@ spec.version = Tcx::VERSION
spec.authors = ["Gareth Townsend"]
spec.email = ["gareth.townsend@me.com"]
- spec.description = %q{TODO: Write a gem description}
- spec.su... | Add description and summary to gemspec.
|
diff --git a/spec/factories/gamification_goals.rb b/spec/factories/gamification_goals.rb
index abc1234..def5678 100644
--- a/spec/factories/gamification_goals.rb
+++ b/spec/factories/gamification_goals.rb
@@ -4,5 +4,11 @@ factory :gamification_goal, aliases: [:goal], class: 'Gamification::Goal' do
rewarding nil
... | Add with_medal trait to rewards factory
|
diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/admin_mailer.rb
+++ b/app/mailers/admin_mailer.rb
@@ -21,7 +21,7 @@ @instance = Rails.configuration.x.local_domain
locale_for_account(@me) do
- mail to: @me.user_email, subject: I18n.t(... | Add Reply-To header for new pending account emails
When I deny someone's application, I usually send them an email explaining why.
This patch facilitates that.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.