diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/db/data_migration/20160913172039_add_related_mainstream_record_for_detailed_guides.rb b/db/data_migration/20160913172039_add_related_mainstream_record_for_detailed_guides.rb
index abc1234..def5678 100644
--- a/db/data_migration/20160913172039_add_related_mainstream_record_for_detailed_guides.rb
+++ b/db/da... | Create RelatedMainstream record for existing guides
Published detailed guides with related mainstream urls need to
find the content_id of the content item and persist it.
|
diff --git a/test/test_default_commands/test_find_method.rb b/test/test_default_commands/test_find_method.rb
index abc1234..def5678 100644
--- a/test/test_default_commands/test_find_method.rb
+++ b/test/test_default_commands/test_find_method.rb
@@ -1,35 +1,42 @@ require 'helper'
-MyKlass = Class.new do
- def hello
-... | Revert "Revert "prevent find_method test running on MRI 1.8""
This reverts commit c2f06f3da27e30fa2ebdb68ba4f9e384df64607f.
Should not have been reverted...
|
diff --git a/app/controllers/announce_controller.rb b/app/controllers/announce_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/announce_controller.rb
+++ b/app/controllers/announce_controller.rb
@@ -31,9 +31,9 @@ faye.update
end
- channel '/announce' do
- monitor :publish do
- Applic... | Disable /announce logging monitor so production env works
This bug in faye-rails is preventing us from starting in production mode:
https://github.com/jamesotron/faye-rails/issues/27
|
diff --git a/app/controllers/feedback_controller.rb b/app/controllers/feedback_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/feedback_controller.rb
+++ b/app/controllers/feedback_controller.rb
@@ -6,7 +6,7 @@ # 3 or later. See the LICENSE file.
class FeedbackController < ApplicationController
- ... | Add authentication to Feedback form
refs #1554
|
diff --git a/app/controllers/patients_controller.rb b/app/controllers/patients_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/patients_controller.rb
+++ b/app/controllers/patients_controller.rb
@@ -35,6 +35,8 @@ end
end
+ private
+
def patients_params
params.require(:patient).permi... | Add private declaration to patients controller
|
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -1,7 +1,7 @@ class ProjectsController < ApplicationController
def new
- if true #is_professo... | Integrate the helper methods back into the projects controller and remove the p params
|
diff --git a/app/controllers/students_controller.rb b/app/controllers/students_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/students_controller.rb
+++ b/app/controllers/students_controller.rb
@@ -6,7 +6,8 @@ end
def make_teacher
- if current_user.update(role: 'teacher', email: params[:ema... | Allow make_teachers to make students
|
diff --git a/app/models/ontology/import_mappings.rb b/app/models/ontology/import_mappings.rb
index abc1234..def5678 100644
--- a/app/models/ontology/import_mappings.rb
+++ b/app/models/ontology/import_mappings.rb
@@ -1,4 +1,7 @@ class Ontology
+ # An ontology being imported into is in this context not only a Mapping w... | Remove mapping kind 'import' restriction.
|
diff --git a/lib/graphql/tracing/skylight_tracing.rb b/lib/graphql/tracing/skylight_tracing.rb
index abc1234..def5678 100644
--- a/lib/graphql/tracing/skylight_tracing.rb
+++ b/lib/graphql/tracing/skylight_tracing.rb
@@ -18,6 +18,12 @@ if (query = data[:query])
title = query.selected_operation_name |... | Support grouping by "endpoint" with skylight instrumentation
This will cause queries with the same name to be grouped together |
diff --git a/lib/serverspec/type/x509_private_key.rb b/lib/serverspec/type/x509_private_key.rb
index abc1234..def5678 100644
--- a/lib/serverspec/type/x509_private_key.rb
+++ b/lib/serverspec/type/x509_private_key.rb
@@ -3,8 +3,8 @@ module Serverspec::Type
class X509PrivateKey < Base
def valid?
- runner_re... | Add support for X.509 encrypted private key
X509PrivateKey#valid?
- uses the @options[:passin] as the argument for "openssl rsa -passin" option
- if the @options[:passin] is set, it requires that the private key be encrypted
- if the @options[:passin] is not set, "echo | openssl rsa -passin stdin" is used so the check... |
diff --git a/lib/trogdir_api_client/configuration.rb b/lib/trogdir_api_client/configuration.rb
index abc1234..def5678 100644
--- a/lib/trogdir_api_client/configuration.rb
+++ b/lib/trogdir_api_client/configuration.rb
@@ -7,18 +7,20 @@
attr_accessor :scheme
attr_accessor :host
+ attr_accessor :port
at... | Support specifying port in Trogdir URL
|
diff --git a/lib/hyperflow-amqp-executor.rb b/lib/hyperflow-amqp-executor.rb
index abc1234..def5678 100644
--- a/lib/hyperflow-amqp-executor.rb
+++ b/lib/hyperflow-amqp-executor.rb
@@ -36,7 +36,7 @@ data = payload
data['timestamp'] = Time.now.utc.to_f
data['type'] = type
- data['worker'] ... | Change worker id to executor id key name
|
diff --git a/lib/rehearsal/configuration.rb b/lib/rehearsal/configuration.rb
index abc1234..def5678 100644
--- a/lib/rehearsal/configuration.rb
+++ b/lib/rehearsal/configuration.rb
@@ -3,9 +3,31 @@ attr_accessor :auth_envs, :banner_envs, :enabled
def initialize
+ initialize_from_hidden_file!
+
@a... | Allow config to read from hidden .rehearsal user config
|
diff --git a/lib/rspec/request_describer.rb b/lib/rspec/request_describer.rb
index abc1234..def5678 100644
--- a/lib/rspec/request_describer.rb
+++ b/lib/rspec/request_describer.rb
@@ -48,7 +48,7 @@
let(:endpoint_segments) do
current_example = RSpec.respond_to?(:current_example) ? RSpec.current_exa... | Allow any non-space characters in URL path
|
diff --git a/spec/ico_validator_spec.rb b/spec/ico_validator_spec.rb
index abc1234..def5678 100644
--- a/spec/ico_validator_spec.rb
+++ b/spec/ico_validator_spec.rb
@@ -9,10 +9,12 @@ describe IcoValidator do
subject { Validatable.new }
- it 'ICO is valid with string value in right format' do
- subject.ico = '6... | Add test for full test coverage
|
diff --git a/spec/models/course_spec.rb b/spec/models/course_spec.rb
index abc1234..def5678 100644
--- a/spec/models/course_spec.rb
+++ b/spec/models/course_spec.rb
@@ -6,5 +6,11 @@ expect(factory).to be_valid, lambda { factory.errors.full_messages.join("\n") }
end
+ it "saves department as uppercase" do
+ ... | Add model test for uppercase callback
|
diff --git a/db/migrate/20150615080039_delete_policies_and_supporting_pages.rb b/db/migrate/20150615080039_delete_policies_and_supporting_pages.rb
index abc1234..def5678 100644
--- a/db/migrate/20150615080039_delete_policies_and_supporting_pages.rb
+++ b/db/migrate/20150615080039_delete_policies_and_supporting_pages.rb... | Delete all supporting page and policy data.
This needs to execute before the code is loaded
in order to prevent STI issues when the editions
try to be loaded via associations such as featuring.
Keeps documents, editions, and edition translations
as per usual deletion mechanism. |
diff --git a/db/migrate/20210120205850_move_default_settings_to_root_config.rb b/db/migrate/20210120205850_move_default_settings_to_root_config.rb
index abc1234..def5678 100644
--- a/db/migrate/20210120205850_move_default_settings_to_root_config.rb
+++ b/db/migrate/20210120205850_move_default_settings_to_root_config.rb... | 10398: Add migration to move configatron default settings to root config
|
diff --git a/spec/protocop/wire_spec.rb b/spec/protocop/wire_spec.rb
index abc1234..def5678 100644
--- a/spec/protocop/wire_spec.rb
+++ b/spec/protocop/wire_spec.rb
@@ -0,0 +1,32 @@+require "spec_helper"
+
+describe Protocop::Wire do
+
+ describe "::VARINT" do
+
+ it "returns 0" do
+ expect(Protocop::Wire::VAR... | Add specs for wire to guard constant change
|
diff --git a/lib/graphql/railtie.rb b/lib/graphql/railtie.rb
index abc1234..def5678 100644
--- a/lib/graphql/railtie.rb
+++ b/lib/graphql/railtie.rb
@@ -15,12 +15,22 @@ Dir[dir].each do |file|
# Members (types, interfaces, etc.)
if file =~ /.*_(type|interface|enum|union|)\.rb$/
- ... | Move member logic into seperate task
|
diff --git a/lib/optical/library.rb b/lib/optical/library.rb
index abc1234..def5678 100644
--- a/lib/optical/library.rb
+++ b/lib/optical/library.rb
@@ -20,4 +20,26 @@ def add_fastqc_path(path)
@fastqc_paths << path
end
+
+ def load_stats()
+ IO.foreach(@qc_path) do |line|
+ next if 0 == $.
+ (n... | Add method to read in the _alignment_qc.txt data
Let the library know how to read in its own data file & put them in a
handy hash for use down the road in the report
|
diff --git a/lib/peaberry/dot_js.rb b/lib/peaberry/dot_js.rb
index abc1234..def5678 100644
--- a/lib/peaberry/dot_js.rb
+++ b/lib/peaberry/dot_js.rb
@@ -33,8 +33,9 @@ end
[ Rack::Utils.status_code(:ok), headers, body.lines ]
- rescue => e
- [ Rack::Utils.status_code(:internal_server_error), heade... | Handle errors during compilation of CoffeeScript.
|
diff --git a/lib/spicerack_usage.rb b/lib/spicerack_usage.rb
index abc1234..def5678 100644
--- a/lib/spicerack_usage.rb
+++ b/lib/spicerack_usage.rb
@@ -8,11 +8,19 @@ end
def display_message
- puts ("\n" + usage_file) unless ENV['GEM_TESTING']
+ puts ("\n" + usage_file) if usage_file? unless ENV['G... | Print usage message only when there is a file
|
diff --git a/omnibus/config/software/opscode-pushy-server.rb b/omnibus/config/software/opscode-pushy-server.rb
index abc1234..def5678 100644
--- a/omnibus/config/software/opscode-pushy-server.rb
+++ b/omnibus/config/software/opscode-pushy-server.rb
@@ -17,7 +17,7 @@ name "opscode-pushy-server"
default_version "1.1.0"
... | Use public github url format.
|
diff --git a/todo.gemspec b/todo.gemspec
index abc1234..def5678 100644
--- a/todo.gemspec
+++ b/todo.gemspec
@@ -20,6 +20,7 @@
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec", "~> 2.6"
spec.add_runtime_dependency "main", "... | Add rspec dependency for testing
Signed-off-by: Aniket Pant <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@aniketpant.com>
|
diff --git a/spec/integration/chief_transformer/operations/tame_update_spec.rb b/spec/integration/chief_transformer/operations/tame_update_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/chief_transformer/operations/tame_update_spec.rb
+++ b/spec/integration/chief_transformer/operations/tame_update_spec.rb... | Add ChiefTransformer tame update spec
|
diff --git a/lib/arbre/html/text_node.rb b/lib/arbre/html/text_node.rb
index abc1234..def5678 100644
--- a/lib/arbre/html/text_node.rb
+++ b/lib/arbre/html/text_node.rb
@@ -22,6 +22,10 @@ @content = string
end
+ def class_list
+ []
+ end
+
def tag_name
nil
end
| Fix searching elements by class name from a tree including a text node by implementing the missing class_list method
|
diff --git a/lib/bundle/brew_services.rb b/lib/bundle/brew_services.rb
index abc1234..def5678 100644
--- a/lib/bundle/brew_services.rb
+++ b/lib/bundle/brew_services.rb
@@ -11,18 +11,16 @@ end
def self.started?(name)
- if @started_services.nil?
- @started_services ||= []
- @started_names |... | Remove leading "if" decreased coverage
|
diff --git a/lib/combustion/generator.rb b/lib/combustion/generator.rb
index abc1234..def5678 100644
--- a/lib/combustion/generator.rb
+++ b/lib/combustion/generator.rb
@@ -23,8 +23,10 @@ template "templates/database.yml", "spec/internal/config/database.yml"
template "templates/schema.rb", "spec/interna... | Create placeholder JS manifest file.
As discussed in #102.
|
diff --git a/Casks/python33.rb b/Casks/python33.rb
index abc1234..def5678 100644
--- a/Casks/python33.rb
+++ b/Casks/python33.rb
@@ -1,8 +1,8 @@ cask :v1 => 'python33' do
- version '3.4.3'
+ version '3.3.5'
sha256 '7e59f823f82da5ec7e2af4449a5e33c09f5b755a8acd9cec98371da8c2b2b52b'
- url "https://www.python.org/f... | Revert incorrect changes to Python3 Cask
Leave updated homepage URL in place |
diff --git a/spec/acceptance/orchestrator/organizer_action_combination_spec.rb b/spec/acceptance/orchestrator/organizer_action_combination_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/orchestrator/organizer_action_combination_spec.rb
+++ b/spec/acceptance/orchestrator/organizer_action_combination_spec.rb... | Fix Rubocop warnings - indentation
|
diff --git a/app/controllers/devise/two_step_verification_session_controller.rb b/app/controllers/devise/two_step_verification_session_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/devise/two_step_verification_session_controller.rb
+++ b/app/controllers/devise/two_step_verification_session_controlle... | Remove unnecessary conditional in cookie setting for 2SV
This conditional is always true, since `expires_seconds` is a constant
that is set in the User model, and never overridden.
I'm unsure why this conditional ever existed - ideas welcome.
|
diff --git a/db/migrate/20160329121128_add_permission_id_fk_to_visualization.rb b/db/migrate/20160329121128_add_permission_id_fk_to_visualization.rb
index abc1234..def5678 100644
--- a/db/migrate/20160329121128_add_permission_id_fk_to_visualization.rb
+++ b/db/migrate/20160329121128_add_permission_id_fk_to_visualizatio... | Call permissions rake from migration
|
diff --git a/app/workers/commit_monitor_handlers/batch/github_pr_commenter/migration_date_checker.rb b/app/workers/commit_monitor_handlers/batch/github_pr_commenter/migration_date_checker.rb
index abc1234..def5678 100644
--- a/app/workers/commit_monitor_handlers/batch/github_pr_commenter/migration_date_checker.rb
+++ b... | Fix inverse logic in MigrationDateChecker
|
diff --git a/lib/syoboemon/query_generator/todays_programs.rb b/lib/syoboemon/query_generator/todays_programs.rb
index abc1234..def5678 100644
--- a/lib/syoboemon/query_generator/todays_programs.rb
+++ b/lib/syoboemon/query_generator/todays_programs.rb
@@ -23,7 +23,7 @@ filer: "0",
count: "3000",
days:... | Change titlefmt of API parameter
|
diff --git a/test/fixtures/cookbooks/selenium_test/recipes/package.rb b/test/fixtures/cookbooks/selenium_test/recipes/package.rb
index abc1234..def5678 100644
--- a/test/fixtures/cookbooks/selenium_test/recipes/package.rb
+++ b/test/fixtures/cookbooks/selenium_test/recipes/package.rb
@@ -1,6 +1,6 @@ case node[:platform... | Fix firefox undefined symbol: g_type_check_instance_is_fundamentally_a
|
diff --git a/app/workers/clever_student_importer_worker.rb b/app/workers/clever_student_importer_worker.rb
index abc1234..def5678 100644
--- a/app/workers/clever_student_importer_worker.rb
+++ b/app/workers/clever_student_importer_worker.rb
@@ -1,7 +1,7 @@ class CleverStudentImporterWorker
include Sidekiq::Worker
... | Remove requesters argument from the perform function in CleverStudentImportWorker |
diff --git a/lib/resque/geocoder_jobs.rb b/lib/resque/geocoder_jobs.rb
index abc1234..def5678 100644
--- a/lib/resque/geocoder_jobs.rb
+++ b/lib/resque/geocoder_jobs.rb
@@ -3,7 +3,7 @@ @queue = :geocodings
def self.perform(options = {})
- geocoding = Geocodings[options.symbolize_keys[:job_id]].run!
+ ... | Fix error on Geocoding job
|
diff --git a/lib/rom/support/registry.rb b/lib/rom/support/registry.rb
index abc1234..def5678 100644
--- a/lib/rom/support/registry.rb
+++ b/lib/rom/support/registry.rb
@@ -19,7 +19,7 @@
def each(&block)
return to_enum unless block
- elements.each(&block)
+ elements.each { |element| yield(element... | Use nested block when iterating (turns out it is faster)
|
diff --git a/texas.gemspec b/texas.gemspec
index abc1234..def5678 100644
--- a/texas.gemspec
+++ b/texas.gemspec
@@ -1,6 +1,3 @@-#$:.unshift('lib')
-#require 'texas'
-
Gem::Specification.new do |s|
s.author = "René Föhring"
s.email = 'rf@bamaru.de'
| Remove comment at beginning of gemspec
|
diff --git a/Casks/epic.rb b/Casks/epic.rb
index abc1234..def5678 100644
--- a/Casks/epic.rb
+++ b/Casks/epic.rb
@@ -1,9 +1,9 @@ cask :v1 => 'epic' do
- version '37_4'
- sha256 'b3dcd0d0e101629342d13c8683f3801412517274c75a70645d38813c07030a48'
+ version :latest
+ sha256 :no_check
- # rackcdn.com is the official ... | Update Epic Browser to latest version
|
diff --git a/test/factories/patient.rb b/test/factories/patient.rb
index abc1234..def5678 100644
--- a/test/factories/patient.rb
+++ b/test/factories/patient.rb
@@ -1,7 +1,7 @@ FactoryGirl.define do
factory :patient do
name 'New Patient'
- primary_phone '123-123-1234'
+ sequence(:primary_phone, 100) { |n|... | Update Patient factory to sequence phone numbers - necessary with uniqueness constraint on primary_phone
|
diff --git a/test/perfecta_test.rb b/test/perfecta_test.rb
index abc1234..def5678 100644
--- a/test/perfecta_test.rb
+++ b/test/perfecta_test.rb
@@ -3,13 +3,22 @@ class PerfectaTest < MiniTest::Unit::TestCase
describe 'Perfecta client' do
- it 'is initialized with an email and password' do
- client = Perfe... | Test email and password is set
|
diff --git a/app/models/course/assessment/question/text_response_comprehension_solution.rb b/app/models/course/assessment/question/text_response_comprehension_solution.rb
index abc1234..def5678 100644
--- a/app/models/course/assessment/question/text_response_comprehension_solution.rb
+++ b/app/models/course/assessment/... | Set dummy `solution_lemma` value for TextResponseComprehensionSolution
TODO: To revert this commit when lemmatiser is implemented.
|
diff --git a/app/models/manageiq/providers/amazon/inventory/persister/target_collection.rb b/app/models/manageiq/providers/amazon/inventory/persister/target_collection.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/amazon/inventory/persister/target_collection.rb
+++ b/app/models/manageiq/providers... | Use the persister strategy from core
|
diff --git a/wasabi.gemspec b/wasabi.gemspec
index abc1234..def5678 100644
--- a/wasabi.gemspec
+++ b/wasabi.gemspec
@@ -19,6 +19,7 @@ s.add_dependency "mime-types", "< 2.0.0"
s.add_development_dependency "rake", "~> 0.9"
+ s.add_development_dependency "transpec"
s.add_development_dependency "rspec", "~> 2.... | Add transpec as a dev dependency
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -20,7 +20,7 @@ post '/webhook' do
content_type :json
- restart_travis_build(@request_payload['repository'])
+ restart_travis_build(@request_payload['repository'], @request_payload['default_branch'])
status 200
... | Use the branch from the webhook payload |
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -1,6 +1,6 @@ require 'rubygems'
require 'sinatra'
-require 'sinatra/reloader'
+#require 'sinatra/reloader'
get '/' do
erb "Hello! <a href=\"https://github.com/bootstrap-ruby/sinatra-bootstrap\">Original</a> pattern has been mo... | Disable sinatra-reloader, because it does not working.
|
diff --git a/app.rb b/app.rb
index abc1234..def5678 100644
--- a/app.rb
+++ b/app.rb
@@ -25,7 +25,11 @@
get '/' do
- redirect '/index'
+ redirect '/_index'
+end
+
+get '/:page.md' do
+ File.read(File.join(PAGE_ROOT, params[:page] + ".md"))
end
get '/:page' do
| Switch to _index, add a markdown route
|
diff --git a/bot.rb b/bot.rb
index abc1234..def5678 100644
--- a/bot.rb
+++ b/bot.rb
@@ -5,32 +5,34 @@ # Using the tinyURL API
bot = Cinch::Bot.new do
- configure do |c|
- c.server = "irc.freenode.org"
- c.channels = ["#hardorange"]
- c.nick = "Stumpy"
- end
+ configure do |c|
+ raise "Environ... | Update the server and channel config to be an environment variable
|
diff --git a/tests/spec/requests/caching_spec.rb b/tests/spec/requests/caching_spec.rb
index abc1234..def5678 100644
--- a/tests/spec/requests/caching_spec.rb
+++ b/tests/spec/requests/caching_spec.rb
@@ -0,0 +1,37 @@+require 'net/http'
+require 'spec_helper'
+
+RSpec.feature "Caching headers are provided for assets ",... | Test that the assets are cached
|
diff --git a/app/controllers/admin/base_controller.rb b/app/controllers/admin/base_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/base_controller.rb
+++ b/app/controllers/admin/base_controller.rb
@@ -8,7 +8,7 @@
def limit_edition_access!
unless @edition.accessible_by?(current_user)
- ... | Add helper method for limiting edition access
|
diff --git a/environment.rb b/environment.rb
index abc1234..def5678 100644
--- a/environment.rb
+++ b/environment.rb
@@ -25,5 +25,6 @@ # Set up the controllers and helpers
Dir[APP_ROOT.join('app', 'models', '*.rb')].each { |file| require file }
Dir[APP_ROOT.join('app', 'controllers', '*.rb')].each { |file| require fi... | Add Helpers stuff to environement
|
diff --git a/core/db/migrate/20151220072838_remove_shipping_method_id_from_spree_orders.rb b/core/db/migrate/20151220072838_remove_shipping_method_id_from_spree_orders.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20151220072838_remove_shipping_method_id_from_spree_orders.rb
+++ b/core/db/migrate/2015122007283... | Remove shipping_method_id from order since shipping_method is not related to order
|
diff --git a/app/models/cloud_model/workers/components/ruby_component_worker.rb b/app/models/cloud_model/workers/components/ruby_component_worker.rb
index abc1234..def5678 100644
--- a/app/models/cloud_model/workers/components/ruby_component_worker.rb
+++ b/app/models/cloud_model/workers/components/ruby_component_worke... | Install ruby-dev and bundler v1 on ruby component for backward compatibility and being able to compile gems again
|
diff --git a/tests/header_tests.rb b/tests/header_tests.rb
index abc1234..def5678 100644
--- a/tests/header_tests.rb
+++ b/tests/header_tests.rb
@@ -3,7 +3,7 @@ with_rackup('response_header.ru') do
tests('Response#get_header') do
- connection = Excon.new('http://foo.com:8080', :proxy => 'http://localhost:... | Remove another instance of 'localhost' in tests.
|
diff --git a/run.rb b/run.rb
index abc1234..def5678 100644
--- a/run.rb
+++ b/run.rb
@@ -29,10 +29,10 @@ css_file.write("/* #{e} */\n")
# Change programming language name
css_name = to_css_name(e);
+ # Adding css color class
+ css_file.write(".ghc-#{css_name} { color: #{i['color']}; }\n")
# Add... | Change order of lines to be more redeable
|
diff --git a/spec/classes/munin_master_spec.rb b/spec/classes/munin_master_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/munin_master_spec.rb
+++ b/spec/classes/munin_master_spec.rb
@@ -6,7 +6,7 @@ it { should compile }
it {
should contain_package('munin')
- should contain_file('/etc/mun... | Remove newline escape before method - (ruby1.8)
|
diff --git a/akephalos.gemspec b/akephalos.gemspec
index abc1234..def5678 100644
--- a/akephalos.gemspec
+++ b/akephalos.gemspec
@@ -10,7 +10,7 @@ s.platform = ENV["PLATFORM"] || "ruby"
s.authors = ["Bernerd Schaefer"]
s.email = "bj.schaefer@gmail.com"
- s.homepage = "ht... | Correct the home page at gemspec
|
diff --git a/spec/factories/share_facebooks.rb b/spec/factories/share_facebooks.rb
index abc1234..def5678 100644
--- a/spec/factories/share_facebooks.rb
+++ b/spec/factories/share_facebooks.rb
@@ -2,6 +2,7 @@ factory :share_facebook, :class => 'Share::Facebook' do
title "MyString"
description "MyText"
+ ... | Update factory with page association
|
diff --git a/spec/lib/sufia/id_service_spec.rb b/spec/lib/sufia/id_service_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/sufia/id_service_spec.rb
+++ b/spec/lib/sufia/id_service_spec.rb
@@ -11,44 +11,6 @@ it "should not mint the same id twice in a row" do
other_id = Sufia::IdService.mint
other_... | Remove expensive specs that make sure noids can be minted in a multi-threaded environment. The noid library already has tests around multi-threading, and these specs take nearly a minute to finish on Travis.
|
diff --git a/extra/update_watch.rb b/extra/update_watch.rb
index abc1234..def5678 100644
--- a/extra/update_watch.rb
+++ b/extra/update_watch.rb
@@ -1,7 +1,7 @@ require 'rubygems'
require 'sinatra'
require 'json'
-set :port, 3123
+set :port, 3124
set :environment, :production
enable :lock
Dir.chdir(File.dirname(__... | Watch for updates on port 3124.
|
diff --git a/SVGgh.podspec b/SVGgh.podspec
index abc1234..def5678 100644
--- a/SVGgh.podspec
+++ b/SVGgh.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = 'SVGgh'
-s.version = '1.4.0'
+s.version = '1.5'
s.license = 'MIT'
s.tvos.deployment_target = '9.0'
s.ios.deployment_target = '7.0'
@@ -9... | Update Cocoapods Spec to be 1.5
|
diff --git a/app/models/app.rb b/app/models/app.rb
index abc1234..def5678 100644
--- a/app/models/app.rb
+++ b/app/models/app.rb
@@ -1,5 +1,5 @@ class App < ActiveRecord::Base
- validates :name, :format => {:with => /\A[a-z0-9_]+\z/, :message => "Needs to be one word that can be lower case letters, numbers or undersco... | Make name a required field
|
diff --git a/app/controllers/accounts/sign_out_controller.rb b/app/controllers/accounts/sign_out_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/accounts/sign_out_controller.rb
+++ b/app/controllers/accounts/sign_out_controller.rb
@@ -2,6 +2,7 @@ around_filter :render_trigger_event_on_social_account... | Destroy remeber me cookie on signout
|
diff --git a/app/controllers/admin/leaderboard_controller.rb b/app/controllers/admin/leaderboard_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/admin/leaderboard_controller.rb
+++ b/app/controllers/admin/leaderboard_controller.rb
@@ -1,19 +1,29 @@ class Admin::LeaderboardController < AdminController
... | Swap out the raw SQL for ActiveRecord stuff
|
diff --git a/sidekiq-pool.gemspec b/sidekiq-pool.gemspec
index abc1234..def5678 100644
--- a/sidekiq-pool.gemspec
+++ b/sidekiq-pool.gemspec
@@ -18,7 +18,7 @@ spec.executables = ['sidekiq-pool']
spec.require_paths = ['lib']
- spec.add_dependency 'sidekiq', '~> 4.0'
+ spec.add_dependency 'sidekiq', '>= 4.0', ... | Add support for Sidekiq 5.0
|
diff --git a/app/helpers/storytime/dashboard/media_helper.rb b/app/helpers/storytime/dashboard/media_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/storytime/dashboard/media_helper.rb
+++ b/app/helpers/storytime/dashboard/media_helper.rb
@@ -2,13 +2,15 @@ module Dashboard
module MediaHelper
def... | Improve logic for show_large_gallery helper
|
diff --git a/vmdb/app/models/dialog_field_check_box.rb b/vmdb/app/models/dialog_field_check_box.rb
index abc1234..def5678 100644
--- a/vmdb/app/models/dialog_field_check_box.rb
+++ b/vmdb/app/models/dialog_field_check_box.rb
@@ -42,7 +42,7 @@ end
def required_value_error?
- @value != "t"
+ value != "t"
... | Fix mistake of using @value instead of value
|
diff --git a/restful_clicktocall.rb b/restful_clicktocall.rb
index abc1234..def5678 100644
--- a/restful_clicktocall.rb
+++ b/restful_clicktocall.rb
@@ -1,6 +1,6 @@ methods_for :rpc do
# Helps the GUI determine whether the call is still active.
- def call_with_destination(destination)
+ def restful_call_with_desti... | Rename some RPC methods to restful |
diff --git a/Popsicle.podspec b/Popsicle.podspec
index abc1234..def5678 100644
--- a/Popsicle.podspec
+++ b/Popsicle.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Popsicle"
- s.version = "1.0.0"
+ s.version = "1.1.0"
s.summary = "Simple, extens... | Update CocoaPods spec for 1.1.0 release
|
diff --git a/vagrant-openstack-plugin.gemspec b/vagrant-openstack-plugin.gemspec
index abc1234..def5678 100644
--- a/vagrant-openstack-plugin.gemspec
+++ b/vagrant-openstack-plugin.gemspec
@@ -15,7 +15,7 @@ gem.add_runtime_dependency "fog", ">= 1.16.0"
gem.add_development_dependency "rake"
- gem.add_development... | Upgrade rspec to 2.14 first
|
diff --git a/config/initializers/enable_words_to_avoid_highlighting.rb b/config/initializers/enable_words_to_avoid_highlighting.rb
index abc1234..def5678 100644
--- a/config/initializers/enable_words_to_avoid_highlighting.rb
+++ b/config/initializers/enable_words_to_avoid_highlighting.rb
@@ -1,2 +1,9 @@-# this feature ... | Configure admin UI using HIGHLIGHT_WORDS_TO_AVOID env var
|
diff --git a/QTPaySDK.podspec b/QTPaySDK.podspec
index abc1234..def5678 100644
--- a/QTPaySDK.podspec
+++ b/QTPaySDK.podspec
@@ -1,23 +1,23 @@ Pod::Spec.new do |s|
-s.name = "QTPaySDK"
-s.version = "0.0.4"
-s.summary = "A Pay SDK of QFPay Inc. Include WeChat Pay, AliPay etc."
-s.description = <<-DESC... | Update podspec file's author from zhoucheng@qfpay.com to zcheng.1988@163.com
|
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
@@ -1,14 +1,20 @@ class ActivitiesController < ApplicationController
+ before_action :find_activit... | Fix exception when permalink is number
|
diff --git a/lib/modules/download/generators/pdf.rb b/lib/modules/download/generators/pdf.rb
index abc1234..def5678 100644
--- a/lib/modules/download/generators/pdf.rb
+++ b/lib/modules/download/generators/pdf.rb
@@ -1,4 +1,6 @@ class Download::Generators::Pdf < Download::Generators::Base
+ include ActionController::U... | Fix syntax error and url generator method
|
diff --git a/db/migrate/20151001182928_update_users_full_text_index.rb b/db/migrate/20151001182928_update_users_full_text_index.rb
index abc1234..def5678 100644
--- a/db/migrate/20151001182928_update_users_full_text_index.rb
+++ b/db/migrate/20151001182928_update_users_full_text_index.rb
@@ -0,0 +1,36 @@+class UpdateUs... | Add triggers to update users_full_text_index
|
diff --git a/db/migrate/20170704094757_add_render_timeouts_to_users.rb b/db/migrate/20170704094757_add_render_timeouts_to_users.rb
index abc1234..def5678 100644
--- a/db/migrate/20170704094757_add_render_timeouts_to_users.rb
+++ b/db/migrate/20170704094757_add_render_timeouts_to_users.rb
@@ -4,8 +4,9 @@
migration(
... | Change default value of render timeout columns
|
diff --git a/Swinject.podspec b/Swinject.podspec
index abc1234..def5678 100644
--- a/Swinject.podspec
+++ b/Swinject.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "Swinject"
- s.version = "2.0.0-beta.1"
+ s.version = "2.0.0-beta.2"
s.summary = "Dependency injection... | Set the version number to 2.0.0 (beta.2). [skip ci]
|
diff --git a/ci_environment/phpbuild/attributes/default.rb b/ci_environment/phpbuild/attributes/default.rb
index abc1234..def5678 100644
--- a/ci_environment/phpbuild/attributes/default.rb
+++ b/ci_environment/phpbuild/attributes/default.rb
@@ -1,5 +1,5 @@ default[:phpbuild][:git][:repository] = "git:/... | Update php-build to fix permissions issue.
|
diff --git a/lib/ghee/api/gists.rb b/lib/ghee/api/gists.rb
index abc1234..def5678 100644
--- a/lib/ghee/api/gists.rb
+++ b/lib/ghee/api/gists.rb
@@ -5,7 +5,7 @@ #
module API
- # The Gists class handles all of the Github Gist
+ # The Gists module handles all of the Github Gist
# API endpoints
#
... | Revert "Fix incorrect comment on Gists"
This reverts commit 34bf218a9d42fc5467cd4de2f62f2bcc519de3e5.
|
diff --git a/lib/json_reference.rb b/lib/json_reference.rb
index abc1234..def5678 100644
--- a/lib/json_reference.rb
+++ b/lib/json_reference.rb
@@ -1,5 +1,5 @@-require "json_pointer"
require "uri"
+require_relative "json_pointer"
module JsonReference
class Reference
@@ -14,6 +14,7 @@ if uri && !uri.empt... | Fix small gotcha in JSON reference for when there is a URL but no pointer
|
diff --git a/lib/redmine_charts.rb b/lib/redmine_charts.rb
index abc1234..def5678 100644
--- a/lib/redmine_charts.rb
+++ b/lib/redmine_charts.rb
@@ -11,7 +11,7 @@ module RedmineCharts
def self.has_sub_issues_functionality_active
- (Redmine::VERSION.to_a <=> [0,9,4,'devel']) >= 0
+ ((Redmine::VERSION.to_a <=>... | Check if current version of Redmine supports subissues
|
diff --git a/lib/sinatra/sequel.rb b/lib/sinatra/sequel.rb
index abc1234..def5678 100644
--- a/lib/sinatra/sequel.rb
+++ b/lib/sinatra/sequel.rb
@@ -40,7 +40,7 @@ def create_migrations_table
database.create_table? :migrations do
primary_key :id
- text :name, :null => false, :index => true
+ ... | Fix for "BLOB/TEXT column 'name' used in key specification without a key length" error when using MySQL (migrations table)
|
diff --git a/config/initializers/exception_notification.rb b/config/initializers/exception_notification.rb
index abc1234..def5678 100644
--- a/config/initializers/exception_notification.rb
+++ b/config/initializers/exception_notification.rb
@@ -1,6 +1,6 @@ if Rails.env.to_s != 'development'
EmopDashboard::Applicatio... | Add keyword 'scan' to excluded crawlers for exception notifications
|
diff --git a/omnibus/config/software/chef-dk-complete.rb b/omnibus/config/software/chef-dk-complete.rb
index abc1234..def5678 100644
--- a/omnibus/config/software/chef-dk-complete.rb
+++ b/omnibus/config/software/chef-dk-complete.rb
@@ -22,9 +22,6 @@ if windows?
dependency "chef-dk-env-customization"
dependency "... | Move devkit to the very end
Signed-off-by: Scott Hain <54f99c3933fb11a028e0e31efcf2f4c9707ec4bf@chef.io>
|
diff --git a/lib/generators/ruby_rabbitmq_janus/migration_generator.rb b/lib/generators/ruby_rabbitmq_janus/migration_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/ruby_rabbitmq_janus/migration_generator.rb
+++ b/lib/generators/ruby_rabbitmq_janus/migration_generator.rb
@@ -1,21 +1,24 @@ # frozen_stri... | Configure generator for create migration with Active Record [skip ci]
|
diff --git a/axiom.gemspec b/axiom.gemspec
index abc1234..def5678 100644
--- a/axiom.gemspec
+++ b/axiom.gemspec
@@ -10,7 +10,7 @@ gem.description = 'Simplifies querying of structured data using relational algebra'
gem.summary = 'Ruby Relational Algebra'
gem.homepage = 'https://github.com/dkubb/axiom'
- ... | Change gemspec to use a singular license
|
diff --git a/black_list.rb b/black_list.rb
index abc1234..def5678 100644
--- a/black_list.rb
+++ b/black_list.rb
@@ -5,5 +5,5 @@ BlackList = [
["coq-compcert.3.1.0", "Error: Corrupted compiled interface"],
["coq-compcert.3.3.0", "Error: Corrupted compiled interface"],
- ["coq-ltac2.0.3", "coq-ltac2 -> coq >= 8.1... | Update the black-list for ltac2 due to truncated logs
|
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index abc1234..def5678 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -1,6 +1,6 @@ require 'beaker-rspec'
-install_puppet_agent_on hosts, {}
+install_puppet_on hosts, {}
RSpec.configure do |c|
# Pro... | Use Puppet 3 in acceptance tests
|
diff --git a/spec/arborist/event/node_spec.rb b/spec/arborist/event/node_spec.rb
index abc1234..def5678 100644
--- a/spec/arborist/event/node_spec.rb
+++ b/spec/arborist/event/node_spec.rb
@@ -0,0 +1,59 @@+#!/usr/bin/env rspec -cfd
+
+require_relative '../../spec_helper'
+
+require 'arborist/node'
+require 'arborist/su... | Add specs for the node event base class
|
diff --git a/spec/chef/recipes/gitaly_spec.rb b/spec/chef/recipes/gitaly_spec.rb
index abc1234..def5678 100644
--- a/spec/chef/recipes/gitaly_spec.rb
+++ b/spec/chef/recipes/gitaly_spec.rb
@@ -13,6 +13,13 @@ end
it_behaves_like "enabled runit service", "gitaly", "root", "root"
+
+ it 'creates expected dir... | Add gitaly tests for the directory creation
|
diff --git a/json_spec.gemspec b/json_spec.gemspec
index abc1234..def5678 100644
--- a/json_spec.gemspec
+++ b/json_spec.gemspec
@@ -17,4 +17,7 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f) }
s.require_pat... | Add json and rspec dependencies
|
diff --git a/wkhtmltopdf-heroku.gemspec b/wkhtmltopdf-heroku.gemspec
index abc1234..def5678 100644
--- a/wkhtmltopdf-heroku.gemspec
+++ b/wkhtmltopdf-heroku.gemspec
@@ -6,7 +6,7 @@ s.required_ruby_version = '>= 1.8.7'
s.authors = ["Brad Phelan"]
- s.date = "2015-03-19"
+ s.date = "2015-07-15"
s.description ... | Update gemspec with current date
|
diff --git a/spec/endpoints_spec.rb b/spec/endpoints_spec.rb
index abc1234..def5678 100644
--- a/spec/endpoints_spec.rb
+++ b/spec/endpoints_spec.rb
@@ -11,12 +11,12 @@ describe '#configure payload' do
it 'should add an extra variable to the base_uri' do
client = MakePrintable::Client.new
- expect(cl... | Fix specs for new base_uri method |
diff --git a/services/dataservices-metrics/lib/geocoder_usage_metrics.rb b/services/dataservices-metrics/lib/geocoder_usage_metrics.rb
index abc1234..def5678 100644
--- a/services/dataservices-metrics/lib/geocoder_usage_metrics.rb
+++ b/services/dataservices-metrics/lib/geocoder_usage_metrics.rb
@@ -32,7 +32,7 @@ d... | Fix bug in GeocoderUsageMetrics amount checks
|
diff --git a/spec/acceptance/parameter_spec.rb b/spec/acceptance/parameter_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/parameter_spec.rb
+++ b/spec/acceptance/parameter_spec.rb
@@ -0,0 +1,48 @@+require 'spec_helper_acceptance'
+
+describe 'rabbitmq parameter on a vhost:' do
+
+ context "create paramete... | [MODULES-2281] Add acceptance tests for rabbitmq_parameter
This is an addition to PR 390
|
diff --git a/dcpu16/instructions/set.rb b/dcpu16/instructions/set.rb
index abc1234..def5678 100644
--- a/dcpu16/instructions/set.rb
+++ b/dcpu16/instructions/set.rb
@@ -10,20 +10,49 @@
def execute(emulator)
value = case @b
+ when 0x00..0x07
+ emulator.registers[@b]
+ when 0x... | Complete most of SET instruction. Does not implement stack cases
|
diff --git a/Casks/omnioutliner-beta.rb b/Casks/omnioutliner-beta.rb
index abc1234..def5678 100644
--- a/Casks/omnioutliner-beta.rb
+++ b/Casks/omnioutliner-beta.rb
@@ -1,8 +1,8 @@ cask :v1 => 'omnioutliner-beta' do
- version '4.3.x-r235551'
- sha256 '8584a222621871aa178d27ab5ebba3da042f1ef8b269390148c5e26fe0b8bc50'
... | Update URL for Omnioutliner Betas
The URL pattern used for Omnioutliner was updated. This commit
updates the url stanza format, and takes the opportunity to
update the version and sha256 stanzas at the same time.
|
diff --git a/Library/Homebrew/test/lib/config.rb b/Library/Homebrew/test/lib/config.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/test/lib/config.rb
+++ b/Library/Homebrew/test/lib/config.rb
@@ -1,6 +1,6 @@ require "tmpdir"
-HOMEBREW_TEMP = Pathname.new(ENV["HOMEBREW_TEMP"] || "/tmp")
+HOMEBREW_TEMP = Pathn... | Use Dir.tmpdir rather than /tmp in test environment
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.