diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/concerns/pages_core/page_model/dated_page.rb b/app/models/concerns/pages_core/page_model/dated_page.rb
index abc1234..def5678 100644
--- a/app/models/concerns/pages_core/page_model/dated_page.rb
+++ b/app/models/concerns/pages_core/page_model/dated_page.rb
@@ -16,19 +16,12 @@
# Finds the... | Fix siblings by date when page isn't saved
|
diff --git a/app/controllers/api/guides_controller.rb b/app/controllers/api/guides_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/guides_controller.rb
+++ b/app/controllers/api/guides_controller.rb
@@ -1,6 +1,7 @@ class Api::GuidesController < Api::BaseController
def index
@guides = Guide... | Add embedded exercises to guides api
|
diff --git a/spec/system/events/performance/edit_competition_spec.rb b/spec/system/events/performance/edit_competition_spec.rb
index abc1234..def5678 100644
--- a/spec/system/events/performance/edit_competition_spec.rb
+++ b/spec/system/events/performance/edit_competition_spec.rb
@@ -6,6 +6,8 @@
sign_in event.res... | Fix flaky edit performance competition spec
|
diff --git a/cookbooks/bcpc_kafka/recipes/zookeeper_server.rb b/cookbooks/bcpc_kafka/recipes/zookeeper_server.rb
index abc1234..def5678 100644
--- a/cookbooks/bcpc_kafka/recipes/zookeeper_server.rb
+++ b/cookbooks/bcpc_kafka/recipes/zookeeper_server.rb
@@ -8,6 +8,7 @@ # For the time being, this will have to be force_ov... | Move zookeeper config recipe from role to recipe
|
diff --git a/config/locales/plurals.rb b/config/locales/plurals.rb
index abc1234..def5678 100644
--- a/config/locales/plurals.rb
+++ b/config/locales/plurals.rb
@@ -0,0 +1,34 @@+{
+ # Dari - this isn't an iso code. Probably should be 'prs' as per ISO 639-3.
+ dr: { i18n: { plural: { keys: %i[one other], rule: ->(n) {... | Add plural rules missing in i18n
|
diff --git a/spec/models/image_spec.rb b/spec/models/image_spec.rb
index abc1234..def5678 100644
--- a/spec/models/image_spec.rb
+++ b/spec/models/image_spec.rb
@@ -1,8 +1,13 @@ require 'spec_helper'
describe Image do
+ let(:valid_attributes) do
+ extend ActionDispatch::TestProcess
+ { :user_id => 1, :file =>... | Fix typo, add file and user ID
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -0,0 +1,44 @@+# == Schema Information
+#
+# Table name: users
+#
+# id :integer not null, primary key
+# name :string(255)
+# ... | Add specs for User model
|
diff --git a/spec/root_spec_helper.rb b/spec/root_spec_helper.rb
index abc1234..def5678 100644
--- a/spec/root_spec_helper.rb
+++ b/spec/root_spec_helper.rb
@@ -1,8 +1,5 @@-require 'codeclimate-test-reporter'
-## Start CodeClimate TestReporter
-CodeClimate::TestReporter.start
+require 'simplecov'
-require 'simplecov'... | Remove CodeClimate (does not work)
|
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index abc1234..def5678 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -2,4 +2,9 @@ require 'capybara/rspec'
require 'capybara/poltergeist'
+
+Capybara.register_driver :poltergeist do |app|
+ Capybara::Poltergeist::Driver.new(a... | Fix broken JS tests by updating PhantomJS SSL options
phantomjs defaults to using SSLv3, which has now been disabled
everywhere. The protocol used can be changed with an option:
> --ssl-protocol=<val> Sets the SSL protocol
> (supported protocols: 'SSLv3' (default), 'SSLv2', 'TLSv1', 'any')
This PR... |
diff --git a/app/models/assessment.rb b/app/models/assessment.rb
index abc1234..def5678 100644
--- a/app/models/assessment.rb
+++ b/app/models/assessment.rb
@@ -3,7 +3,7 @@ has_many :students, through: :student_assessments
validate :has_valid_subject
- VALID_MCAS_SUBJECTS = [ 'ELA', 'Mathematics', 'Science', 'A... | Remove unused MCAS subjects from validation whitelist
|
diff --git a/app/models/poll/shift.rb b/app/models/poll/shift.rb
index abc1234..def5678 100644
--- a/app/models/poll/shift.rb
+++ b/app/models/poll/shift.rb
@@ -12,6 +12,7 @@
before_create :persist_data
after_create :create_officer_assignments
+ before_destroy :destroy_officer_assignments
def persi... | Destroy all related OfficerAssignments when destroying a Shift
|
diff --git a/Formula/drush.rb b/Formula/drush.rb
index abc1234..def5678 100644
--- a/Formula/drush.rb
+++ b/Formula/drush.rb
@@ -1,13 +1,11 @@-require "formula"
-
class Drush < Formula
+ desc "Drush is a command-line shell and scripting interface for Drupal"
homepage "https://github.com/drush-ops/drush"
- url "ht... | Upgrade Drush to version 7.0.0 (@brummbar)
Fixes and additions to pass `brew audit --strict` (@alanthing)
Closes #1800.
Signed-off-by: Alan Ivey <ee249fd9166eccef852f50ca0cbb6ff8665afe99@gmail.com>
|
diff --git a/spec/events/turn_ended_spec.rb b/spec/events/turn_ended_spec.rb
index abc1234..def5678 100644
--- a/spec/events/turn_ended_spec.rb
+++ b/spec/events/turn_ended_spec.rb
@@ -1,6 +1,59 @@ require 'rails_helper'
RSpec.describe TurnEnded, type: :event do
- pending "Test expecting dice roll and not"
- pendi... | Add spec for validity of turn ended event
|
diff --git a/spec/features/sign_out_spec.rb b/spec/features/sign_out_spec.rb
index abc1234..def5678 100644
--- a/spec/features/sign_out_spec.rb
+++ b/spec/features/sign_out_spec.rb
@@ -0,0 +1,20 @@+require 'rails_helper'
+
+feature 'User sign out', %q{
+ In order to destroy my session
+ As an authenticated user
+ I ... | Add 'User can sign out' feature spec
|
diff --git a/db/migrate/20170220010113_add_leader_to_memberships.rb b/db/migrate/20170220010113_add_leader_to_memberships.rb
index abc1234..def5678 100644
--- a/db/migrate/20170220010113_add_leader_to_memberships.rb
+++ b/db/migrate/20170220010113_add_leader_to_memberships.rb
@@ -6,7 +6,8 @@
Site.each do
G... | Fix migration since leader relationship was removed
|
diff --git a/nokogiri/google_finance/spec/stock_trend_spec.rb b/nokogiri/google_finance/spec/stock_trend_spec.rb
index abc1234..def5678 100644
--- a/nokogiri/google_finance/spec/stock_trend_spec.rb
+++ b/nokogiri/google_finance/spec/stock_trend_spec.rb
@@ -44,4 +44,9 @@ expect(arr.empty?).to be false
end
... | Format data by deleteing and manipulating array using format_text method
|
diff --git a/lib/git_crecord/hunks/hunk_line.rb b/lib/git_crecord/hunks/hunk_line.rb
index abc1234..def5678 100644
--- a/lib/git_crecord/hunks/hunk_line.rb
+++ b/lib/git_crecord/hunks/hunk_line.rb
@@ -30,6 +30,12 @@ def expanded
false
end
+
+ def generate_diff
+ return " #{@line[1..-1]... | Implement generate_diff method for HunkLine
|
diff --git a/lib/invision_bridge/spec_helper.rb b/lib/invision_bridge/spec_helper.rb
index abc1234..def5678 100644
--- a/lib/invision_bridge/spec_helper.rb
+++ b/lib/invision_bridge/spec_helper.rb
@@ -0,0 +1,16 @@+require 'machinist/active_record'
+require 'sham'
+require 'faker'
+
+module InvisionBridge
+ InvisionUse... | Move InvisionUser blueprints into InvisionBridge. |
diff --git a/lib/metric_fu/metrics/reek/init.rb b/lib/metric_fu/metrics/reek/init.rb
index abc1234..def5678 100644
--- a/lib/metric_fu/metrics/reek/init.rb
+++ b/lib/metric_fu/metrics/reek/init.rb
@@ -7,7 +7,7 @@
def default_run_options
{ :dirs_to_reek => MetricFu::Io::FileSystem.directory('code_dirs'),
- ... | [Fix] Set default Reek config to config/*.reek, per Reek docs
Setting to nil would make it use .reek in the project root
|
diff --git a/lib/motel/property/multi_tenant.rb b/lib/motel/property/multi_tenant.rb
index abc1234..def5678 100644
--- a/lib/motel/property/multi_tenant.rb
+++ b/lib/motel/property/multi_tenant.rb
@@ -22,7 +22,7 @@ spec = resolver.spec
unless respond_to?(spec.adapter_method)
- raise Ac... | Fix error on establish_connection method in the Base class.
|
diff --git a/lib/active_scaffold/extensions/unsaved_record.rb b/lib/active_scaffold/extensions/unsaved_record.rb
index abc1234..def5678 100644
--- a/lib/active_scaffold/extensions/unsaved_record.rb
+++ b/lib/active_scaffold/extensions/unsaved_record.rb
@@ -18,8 +18,14 @@ def keeping_errors
old_errors = errors.du... | Adjust keeping_errors to work with rails >6.1 new error objects.
|
diff --git a/app/controllers/gobierto_people/people_controller.rb b/app/controllers/gobierto_people/people_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/gobierto_people/people_controller.rb
+++ b/app/controllers/gobierto_people/people_controller.rb
@@ -11,7 +11,7 @@ @person = PersonDecorator.n... | Sort person activities in descending order |
diff --git a/lib/gds_api/test_helpers/content_item_helpers.rb b/lib/gds_api/test_helpers/content_item_helpers.rb
index abc1234..def5678 100644
--- a/lib/gds_api/test_helpers/content_item_helpers.rb
+++ b/lib/gds_api/test_helpers/content_item_helpers.rb
@@ -8,7 +8,6 @@ "description" => "Description for #{base_... | Remove code related to need_ids
This field has now been replaced with the `meets_user_needs` link
type.
|
diff --git a/Casks/visit.rb b/Casks/visit.rb
index abc1234..def5678 100644
--- a/Casks/visit.rb
+++ b/Casks/visit.rb
@@ -1,6 +1,6 @@ cask 'visit' do
- version '2.10.0'
- sha256 'afc83987a37ab1e330b81f21e123de1f98809057717f25c305331440a940e985'
+ version '2.10.1'
+ sha256 '29304fabd934da5f6445962c3ee32de725d2c0e6ef6... | Upgrade VisIt to version 2.10.1
|
diff --git a/Casks/xmind.rb b/Casks/xmind.rb
index abc1234..def5678 100644
--- a/Casks/xmind.rb
+++ b/Casks/xmind.rb
@@ -3,8 +3,15 @@ sha256 '9b57dcfd1a2c0a80ff9faf296560594cd25e65e50916c0dbb96b165ecc690801'
url "http://dl3.xmind.net/xmind-macosx-#{version}.201411201906.dmg"
+ name 'XMind'
homepage 'http://w... | Add name, license, vendor and zap for XMind.app
|
diff --git a/app/representers/api/parliament_issue_representer.rb b/app/representers/api/parliament_issue_representer.rb
index abc1234..def5678 100644
--- a/app/representers/api/parliament_issue_representer.rb
+++ b/app/representers/api/parliament_issue_representer.rb
@@ -9,5 +9,14 @@ api_parliament_issue_url rep... | Add vote links to /api/parliament-issues/:id
|
diff --git a/spec/default/java_spec.rb b/spec/default/java_spec.rb
index abc1234..def5678 100644
--- a/spec/default/java_spec.rb
+++ b/spec/default/java_spec.rb
@@ -6,6 +6,6 @@ end
describe command('java -version') do
- its(:stderr) { should include('1.8.0_25') }
+ its(:stderr) { should include('1.8.0_45')... | Update Java version in spec
|
diff --git a/xpath.gemspec b/xpath.gemspec
index abc1234..def5678 100644
--- a/xpath.gemspec
+++ b/xpath.gemspec
@@ -12,6 +12,7 @@ s.authors = ["Jonas Nicklas"]
s.email = ["jonas.nicklas@gmail.com"]
s.description = "XPath is a Ruby DSL for generating XPath expressions"
+ s.license = "MIT"
s.files = Dir.gl... | Document project license in gemspec |
diff --git a/Formula/alb2psql.rb b/Formula/alb2psql.rb
index abc1234..def5678 100644
--- a/Formula/alb2psql.rb
+++ b/Formula/alb2psql.rb
@@ -1,8 +1,8 @@ class Alb2psql < Formula
desc "Tool to fetch ALB request logs, and load into a local PostgreSQL instance"
homepage "https://github.com/nrmitchi/alb2psql"
- url ... | Update Formula for new version
|
diff --git a/spec/symbol_count_graph_spec.rb b/spec/symbol_count_graph_spec.rb
index abc1234..def5678 100644
--- a/spec/symbol_count_graph_spec.rb
+++ b/spec/symbol_count_graph_spec.rb
@@ -8,10 +8,10 @@ graph = SymbolCountGraph.new x: 1
expect(graph.render).to eq 'x'
end
- it 'outputs xx when x: 2'... | Comment failing test to see how travis works
|
diff --git a/babel-transpiler.gemspec b/babel-transpiler.gemspec
index abc1234..def5678 100644
--- a/babel-transpiler.gemspec
+++ b/babel-transpiler.gemspec
@@ -18,7 +18,7 @@ 'LICENSE'
]
- s.add_dependency 'babel-source', '>= 4.0', '< 5'
+ s.add_dependency 'babel-source', '>= 4.0', '< 6'
s.add_dependency ... | Update dependent babel-source version to allow 5.x
|
diff --git a/lib/bundle_outdated_formatter/formatter/terminal_formatter.rb b/lib/bundle_outdated_formatter/formatter/terminal_formatter.rb
index abc1234..def5678 100644
--- a/lib/bundle_outdated_formatter/formatter/terminal_formatter.rb
+++ b/lib/bundle_outdated_formatter/formatter/terminal_formatter.rb
@@ -5,12 +5,19 ... | Fix error of terminal format with empty outdated gems
`convert': undefined method `chomp' for nil:NilClass (NoMethodError)
|
diff --git a/db/migrate/20170404144212_create_material_tags.rb b/db/migrate/20170404144212_create_material_tags.rb
index abc1234..def5678 100644
--- a/db/migrate/20170404144212_create_material_tags.rb
+++ b/db/migrate/20170404144212_create_material_tags.rb
@@ -4,7 +4,6 @@ t.string :name, null: false
t.stri... | Remove timestamps from material_tags migration
|
diff --git a/crownroyal.rb b/crownroyal.rb
index abc1234..def5678 100644
--- a/crownroyal.rb
+++ b/crownroyal.rb
@@ -28,8 +28,8 @@ total = result.total
tally = result.sections[0].tally
- webhook_url = "https://hooks.slack.com/services/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"
-
+ webhook_url = ENV["SLACK_W... | Use env variable for webhook.
|
diff --git a/spec/presenters/step_by_step_page_presenter_spec.rb b/spec/presenters/step_by_step_page_presenter_spec.rb
index abc1234..def5678 100644
--- a/spec/presenters/step_by_step_page_presenter_spec.rb
+++ b/spec/presenters/step_by_step_page_presenter_spec.rb
@@ -9,12 +9,13 @@ end
describe "#summary_list" d... | Fix a timestamp error in the tests
This fixes an intermittent error in the tests where Time.zone.now can
return a different time if the test is run near the end of a minute:
```
1) StepByStepPagePresenter#summary_list shows who made the most recent change
Failure/Error: expect(subject["Last saved"]).to eq("#{f... |
diff --git a/dynflow.gemspec b/dynflow.gemspec
index abc1234..def5678 100644
--- a/dynflow.gemspec
+++ b/dynflow.gemspec
@@ -7,10 +7,11 @@ s.version = Dynflow::VERSION
s.authors = ["Ivan Necas"]
s.email = ["inecas@redhat.com"]
- s.homepage = "http://github.com/iNecas/dynflow"
+ s.homepage ... | Fix homepage URL, add licence to gemspec
|
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/app/controllers/chat/rooms/messages_controller.rb b/app/controllers/chat/rooms/messages_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/chat/rooms/messages_controller.rb
+++ b/app/controllers/chat/rooms/messages_controller.rb
@@ -9,7 +9,7 @@ end
def index
- @messages = @room.m... | Revert "Use mongo to sort messages instead of ruby"
This reverts commit b47c0e4469c124258b8a3f3fb5bd9850f6e23950.
|
diff --git a/macosx/scripts/iTunes/it-rename.rb b/macosx/scripts/iTunes/it-rename.rb
index abc1234..def5678 100644
--- a/macosx/scripts/iTunes/it-rename.rb
+++ b/macosx/scripts/iTunes/it-rename.rb
@@ -0,0 +1,62 @@+#!/usr/bin/env ruby
+
+################################################################################
+r... | Add script to help clean up stupid track names in iTunes
|
diff --git a/features/page_objects/fee_scheme_selector_page.rb b/features/page_objects/fee_scheme_selector_page.rb
index abc1234..def5678 100644
--- a/features/page_objects/fee_scheme_selector_page.rb
+++ b/features/page_objects/fee_scheme_selector_page.rb
@@ -1,5 +1,5 @@ class FeeSchemeSelectorPage < BasePage
- set_u... | Correct url path for page object
The path must be correct for the page_object to accurately
respond to `displayed?` in tests.
e.g.
```
expect(@page_object).to be_displayed
```
|
diff --git a/BBBAPI.podspec b/BBBAPI.podspec
index abc1234..def5678 100644
--- a/BBBAPI.podspec
+++ b/BBBAPI.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "BBBAPI"
- s.version = "0.0.5"
+ s.version = "0.0.6"
s.summary = "iOS / OSX Objective-C library for communicating with the B... | Add FastEasyMapping as sub-pod, new tag 0.0.6
|
diff --git a/lib/did_you_mean/spell_checkers/method_name_checker.rb b/lib/did_you_mean/spell_checkers/method_name_checker.rb
index abc1234..def5678 100644
--- a/lib/did_you_mean/spell_checkers/method_name_checker.rb
+++ b/lib/did_you_mean/spell_checkers/method_name_checker.rb
@@ -16,7 +16,6 @@ def method_names
... | Remove code that is no longer necessary
1c52c88 takes cares of this so we don't have to do this any more.
|
diff --git a/dry-configurable.gemspec b/dry-configurable.gemspec
index abc1234..def5678 100644
--- a/dry-configurable.gemspec
+++ b/dry-configurable.gemspec
@@ -1,4 +1,3 @@-# coding: utf-8
require File.expand_path('../lib/dry/configurable/version', __FILE__)
Gem::Specification.new do |spec|
@@ -15,6 +14,7 @@ spec... | Set minimal ruby version to 2.3
|
diff --git a/lib/suspenders/generators/error_reporting_generator.rb b/lib/suspenders/generators/error_reporting_generator.rb
index abc1234..def5678 100644
--- a/lib/suspenders/generators/error_reporting_generator.rb
+++ b/lib/suspenders/generators/error_reporting_generator.rb
@@ -2,6 +2,8 @@
module Suspenders
clas... | Fix bug: forgot to include module with env var json helper
|
diff --git a/lib/metacrunch/ubpb/transformations/mab2snr/toc_link.rb b/lib/metacrunch/ubpb/transformations/mab2snr/toc_link.rb
index abc1234..def5678 100644
--- a/lib/metacrunch/ubpb/transformations/mab2snr/toc_link.rb
+++ b/lib/metacrunch/ubpb/transformations/mab2snr/toc_link.rb
@@ -14,11 +14,12 @@ links =... | Return label for toc links.
|
diff --git a/core/enumerable/shared/collect_concat.rb b/core/enumerable/shared/collect_concat.rb
index abc1234..def5678 100644
--- a/core/enumerable/shared/collect_concat.rb
+++ b/core/enumerable/shared/collect_concat.rb
@@ -19,6 +19,15 @@ numerous.send(@method){ |i| i }.should == [:foo, obj2]
end
+ it "only ... | Add flat_map spec for enumerables that yield multiple values
|
diff --git a/activesupport/lib/active_support/core_ext/load_error.rb b/activesupport/lib/active_support/core_ext/load_error.rb
index abc1234..def5678 100644
--- a/activesupport/lib/active_support/core_ext/load_error.rb
+++ b/activesupport/lib/active_support/core_ext/load_error.rb
@@ -24,15 +24,12 @@ ] unless defined?... | Convert LoadError extension modules to class reopens
|
diff --git a/features/support/hooks.rb b/features/support/hooks.rb
index abc1234..def5678 100644
--- a/features/support/hooks.rb
+++ b/features/support/hooks.rb
@@ -1,7 +1,9 @@ require 'fileutils'
Before do
- @aruba_timeout_seconds = 10
+ @aruba_timeout_seconds = 5
+ @aruba_io_wait_seconds = 0.2
+
@real_home =... | Extend timeout for testing command output.
|
diff --git a/lib/Storm/Storage/cluster.rb b/lib/Storm/Storage/cluster.rb
index abc1234..def5678 100644
--- a/lib/Storm/Storage/cluster.rb
+++ b/lib/Storm/Storage/cluster.rb
@@ -0,0 +1,54 @@+require "Storm/Base/model"
+require "Storm/Base/sodserver"
+
+module Storm
+ module Storage
+ class Zone < Storm::Base::Model
... | Add Cluster class and APIs
|
diff --git a/app/models/manager_refresh/graph/topological_sort.rb b/app/models/manager_refresh/graph/topological_sort.rb
index abc1234..def5678 100644
--- a/app/models/manager_refresh/graph/topological_sort.rb
+++ b/app/models/manager_refresh/graph/topological_sort.rb
@@ -0,0 +1,66 @@+module ManagerRefresh
+ class Gra... | Add alghoritm for Graph Topological Sort
Add alghoritm for Graph Topological Sort
|
diff --git a/app/models/social_networking/concerns/participant.rb b/app/models/social_networking/concerns/participant.rb
index abc1234..def5678 100644
--- a/app/models/social_networking/concerns/participant.rb
+++ b/app/models/social_networking/concerns/participant.rb
@@ -0,0 +1,33 @@+module SocialNetworking
+ module ... | Create Concern with Participant Associations
* Create a concern that has the social specific
associations for the Participant class..
[Finishes: #90191388]
|
diff --git a/lib/hearthstone_api/cards.rb b/lib/hearthstone_api/cards.rb
index abc1234..def5678 100644
--- a/lib/hearthstone_api/cards.rb
+++ b/lib/hearthstone_api/cards.rb
@@ -32,8 +32,8 @@ get "/cards/factions/#{faction.capitalize_all}", options
end
- def self.search(search_term)
- get "/cards/se... | Add options parameter to Card.search
|
diff --git a/lib/i18n_viz/view_helpers.rb b/lib/i18n_viz/view_helpers.rb
index abc1234..def5678 100644
--- a/lib/i18n_viz/view_helpers.rb
+++ b/lib/i18n_viz/view_helpers.rb
@@ -23,7 +23,14 @@ end
def display_i18n_viz?
- params && params[:i18n_viz] rescue false # rescue workaround, because params is weir... | Check cookie value as well as query
|
diff --git a/lib/tasks/icinga_checks.rake b/lib/tasks/icinga_checks.rake
index abc1234..def5678 100644
--- a/lib/tasks/icinga_checks.rake
+++ b/lib/tasks/icinga_checks.rake
@@ -12,4 +12,10 @@ $stderr.puts bad_lines
fail 'ERROR: icinga::passive_check resource titles should be unique per machine. Normally you ca... | Add test for incorrectly added hostname in Icinga check title
Adds a check for the presence of the hostname in Incinga checks that run
on the `monitoring` machine class. These cannot be included as otherwise
Puppet will attempt to install multiple versions of the check on each
`monitoring` machine, which fails due to ... |
diff --git a/lib/puppet-lint/plugins/no_symbolic_file_modes.rb b/lib/puppet-lint/plugins/no_symbolic_file_modes.rb
index abc1234..def5678 100644
--- a/lib/puppet-lint/plugins/no_symbolic_file_modes.rb
+++ b/lib/puppet-lint/plugins/no_symbolic_file_modes.rb
@@ -1,7 +1,7 @@+NO_SYMBOLIC_FILE_MODES_IGNORE_TYPES = Set[:VARI... | Move the constants outside the block to fix rubocop violations
|
diff --git a/app/importers/data_transformers/star_csv_transformer.rb b/app/importers/data_transformers/star_csv_transformer.rb
index abc1234..def5678 100644
--- a/app/importers/data_transformers/star_csv_transformer.rb
+++ b/app/importers/data_transformers/star_csv_transformer.rb
@@ -1,8 +1,12 @@ module StarCsvTransfor... | Implement for STAR data transformer as well
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -20,7 +20,7 @@ resources :sessions, :only => [:new, :create, :destroy]
resource :relationships, :only => [:create, :destroy]
- resources :supervisions, :only => [:new, :create, :show] ... | Add missing route for supervisions list page
|
diff --git a/app/controllers/games_controller.rb b/app/controllers/games_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/games_controller.rb
+++ b/app/controllers/games_controller.rb
@@ -9,8 +9,9 @@ end
def create
- @game = Game.new
- @game.players.new([{ :name => 'Player 1' }, { :name =>... | Clean up creating a game
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,7 +9,7 @@
resources :sound_treks, only: [:show]
-get 'auth/spotify/callback', to: "sessions#create"
+get 'soundtreks.herokuapp.com/callback', to: "sessions#create"
delete 'sign_out', t... | Edit callback for Spotify login
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,6 @@ ActionController::Routing::Routes.draw do |map|
+ map.preview_pages 'pages/preview.:format', :controller => 'pages', :action => 'preview'
map.page_permalink 'pages/:id.:format... | Make preview route more important than permalink
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -27,4 +27,6 @@ resources :votes, only: [:create]
end
+ match "/404" => "errors#error404", via: [:get, :post, :patch, :delete]
+
end
| Add a route via which to reach the custom 404 page.
|
diff --git a/lib/maglev-database-explorer/engine_symlinks.rb b/lib/maglev-database-explorer/engine_symlinks.rb
index abc1234..def5678 100644
--- a/lib/maglev-database-explorer/engine_symlinks.rb
+++ b/lib/maglev-database-explorer/engine_symlinks.rb
@@ -1,3 +1,6 @@+mkdir_public = "mkdir -p \"#{Dir.getwd}/public\""
+syst... | Create public directory if necessary.
|
diff --git a/spec/controllers/installation_controller_spec.rb b/spec/controllers/installation_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/installation_controller_spec.rb
+++ b/spec/controllers/installation_controller_spec.rb
@@ -15,12 +15,18 @@ before do
@current_feature_settings ... | Improve performance swapping keys.each for each_key, plus line lenght comply
|
diff --git a/db/migrate/20120205215836_ident_to_identification.rb b/db/migrate/20120205215836_ident_to_identification.rb
index abc1234..def5678 100644
--- a/db/migrate/20120205215836_ident_to_identification.rb
+++ b/db/migrate/20120205215836_ident_to_identification.rb
@@ -0,0 +1,9 @@+class IdentToIdentification < Activ... | Use full name on columns. ident => identification
|
diff --git a/db/migrate/20190808150052_add_api_token_to_admins.rb b/db/migrate/20190808150052_add_api_token_to_admins.rb
index abc1234..def5678 100644
--- a/db/migrate/20190808150052_add_api_token_to_admins.rb
+++ b/db/migrate/20190808150052_add_api_token_to_admins.rb
@@ -0,0 +1,7 @@+# frozen_string_literal: true
+
+cl... | Add migration to add api_token column to admins table
|
diff --git a/avr-gdb.rb b/avr-gdb.rb
index abc1234..def5678 100644
--- a/avr-gdb.rb
+++ b/avr-gdb.rb
@@ -10,12 +10,22 @@ depends_on 'avr-binutils'
def install
- multios = `gcc --print-multi-os-directory`.chomp
+ args = ["--prefix=#{prefix}",
+ "--infodir=#{info}",
+ "--mandir=#{man}",... | Remove files conflicting with binutils
|
diff --git a/db/migrate/20130821142246_update_french_postal_codes.rb b/db/migrate/20130821142246_update_french_postal_codes.rb
index abc1234..def5678 100644
--- a/db/migrate/20130821142246_update_french_postal_codes.rb
+++ b/db/migrate/20130821142246_update_french_postal_codes.rb
@@ -0,0 +1,21 @@+class UpdateFrenchPost... | Update French postal codes for department from 1 to 9 without a leading 0.
|
diff --git a/db/migrate/20190212174815_change_extra_keys_to_bigint.rb b/db/migrate/20190212174815_change_extra_keys_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190212174815_change_extra_keys_to_bigint.rb
+++ b/db/migrate/20190212174815_change_extra_keys_to_bigint.rb
@@ -0,0 +1,15 @@+class ChangeExtraK... | Update foreign keys to bigint
|
diff --git a/db/migrate/20190221195724_change_project_id_to_bigint.rb b/db/migrate/20190221195724_change_project_id_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190221195724_change_project_id_to_bigint.rb
+++ b/db/migrate/20190221195724_change_project_id_to_bigint.rb
@@ -0,0 +1,13 @@+class ChangeProjec... | Update project_id primary and foreign keys to bigint
|
diff --git a/csvision.gemspec b/csvision.gemspec
index abc1234..def5678 100644
--- a/csvision.gemspec
+++ b/csvision.gemspec
@@ -20,5 +20,6 @@ gem.add_development_dependency 'activesupport'
gem.add_development_dependency 'sqlite3'
gem.add_development_dependency 'mocha'
+ gem.add_development_dependency 'rake'
... | Add rake as development dependency
|
diff --git a/lib/designernews/story.rb b/lib/designernews/story.rb
index abc1234..def5678 100644
--- a/lib/designernews/story.rb
+++ b/lib/designernews/story.rb
@@ -5,7 +5,7 @@ attr_reader :title, :badge
def initialize(hash)
- ['title', 'url', 'badge', 'created_at'].each do |key|
+ %w(title url bad... | Make use of Ruby's quote-word syntax
|
diff --git a/lib/fake_email_service.rb b/lib/fake_email_service.rb
index abc1234..def5678 100644
--- a/lib/fake_email_service.rb
+++ b/lib/fake_email_service.rb
@@ -13,7 +13,9 @@ domain = email_address.domain.strip.downcase
second_level_domain = domain.split('.')[-2..-1].join('.')
- @fake_domains.include?... | Optimize search in fake domains list
|
diff --git a/lib/frecon/models/team.rb b/lib/frecon/models/team.rb
index abc1234..def5678 100644
--- a/lib/frecon/models/team.rb
+++ b/lib/frecon/models/team.rb
@@ -16,9 +16,6 @@ field :location, type: String
field :logo_path, type: String
field :name, type: String
-
- has_many :participations, dependent: :d... | Team: Remove old associations with participations and records.
|
diff --git a/lib/garelic/middleware.rb b/lib/garelic/middleware.rb
index abc1234..def5678 100644
--- a/lib/garelic/middleware.rb
+++ b/lib/garelic/middleware.rb
@@ -8,7 +8,8 @@ status, headers, response = @app.call(env)
if headers["Content-Type"] =~ /text\/html|application\/xhtml\+xml/ \
- and respons... | Fix method missing on omniauth redirects.
|
diff --git a/lib/hubrelease/commits.rb b/lib/hubrelease/commits.rb
index abc1234..def5678 100644
--- a/lib/hubrelease/commits.rb
+++ b/lib/hubrelease/commits.rb
@@ -17,8 +17,6 @@
changed = @compare.commits.map do |c|
commit = HubRelease.client.commit(HubRelease.repo, c.sha)
- require 'pp'
- ... | Remove the left in debugging
|
diff --git a/hephaestus/lib/resque/document_process_bootstrap_task.rb b/hephaestus/lib/resque/document_process_bootstrap_task.rb
index abc1234..def5678 100644
--- a/hephaestus/lib/resque/document_process_bootstrap_task.rb
+++ b/hephaestus/lib/resque/document_process_bootstrap_task.rb
@@ -1,7 +1,7 @@ require 'active_sup... | [hephaestus] Fix typo on task name
|
diff --git a/frontend/app/controllers/comable/products_controller.rb b/frontend/app/controllers/comable/products_controller.rb
index abc1234..def5678 100644
--- a/frontend/app/controllers/comable/products_controller.rb
+++ b/frontend/app/controllers/comable/products_controller.rb
@@ -1,6 +1,18 @@ module Comable
clas... | rubocop: Refactor to split the method
|
diff --git a/config/unicorn/staging.rb b/config/unicorn/staging.rb
index abc1234..def5678 100644
--- a/config/unicorn/staging.rb
+++ b/config/unicorn/staging.rb
@@ -9,7 +9,7 @@ ENV['BUNDLE_GEMFILE'] = "#{app_path}/Gemfile"
end
-worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
+worker_processes Integer(ENV["WE... | Change number of unicorn worder
|
diff --git a/ext/journalist/extconf.rb b/ext/journalist/extconf.rb
index abc1234..def5678 100644
--- a/ext/journalist/extconf.rb
+++ b/ext/journalist/extconf.rb
@@ -1,4 +1,9 @@ require "mkmf"
+
+ruby = RUBY_VERSION.split('.').map{ |s| s.to_i }
+if ruby[0] < 2 || (ruby[0] == 2 && ruby[1] < 1)
+ abort "----\nJournalist ... | Check ruby version before compilation |
diff --git a/ext/rake/mustache_task.rb b/ext/rake/mustache_task.rb
index abc1234..def5678 100644
--- a/ext/rake/mustache_task.rb
+++ b/ext/rake/mustache_task.rb
@@ -3,8 +3,8 @@ require 'mustache'
module Rake
- # Rake task to generate files from Mustache templates using
- # dynamically generated data (as opposed to... | Build system: clarify MustacheTask rationale
|
diff --git a/lib/resume/cli/resume_data_fetcher.rb b/lib/resume/cli/resume_data_fetcher.rb
index abc1234..def5678 100644
--- a/lib/resume/cli/resume_data_fetcher.rb
+++ b/lib/resume/cli/resume_data_fetcher.rb
@@ -17,9 +17,15 @@ def fetch
Output.plain(:gathering_resume_information)
JSON.parse(
- ... | Move knowledge of the name of the resume data JSON file name to the only place it's needed: the resume data fetcher
|
diff --git a/lib/stack_master/template_compiler.rb b/lib/stack_master/template_compiler.rb
index abc1234..def5678 100644
--- a/lib/stack_master/template_compiler.rb
+++ b/lib/stack_master/template_compiler.rb
@@ -31,7 +31,7 @@ compiler_name = config.template_compilers.fetch(:rb)
@compilers.fetch(compiler_n... | Make the right method private
|
diff --git a/lib/schnitzelpress/app.rb b/lib/schnitzelpress/app.rb
index abc1234..def5678 100644
--- a/lib/schnitzelpress/app.rb
+++ b/lib/schnitzelpress/app.rb
@@ -6,7 +6,9 @@ # use SchnitzelPress::Static
use Rack::ShowExceptions
use Rack::Cache
- use Rack::StaticCache, :urls => ["/moo.txt"], :root =>... | Use Rack::StaticCache for our static files. |
diff --git a/lib/airbrush/client.rb b/lib/airbrush/client.rb
index abc1234..def5678 100644
--- a/lib/airbrush/client.rb
+++ b/lib/airbrush/client.rb
@@ -7,7 +7,7 @@ class Client
DEFAULT_INCOMING_QUEUE = 'airbrush_incoming_queue'
DEFAULT_RESPONSE_TIMEOUT = 2.minutes
- DEFAULT_QUEUE_VALIDITY = 10.minut... | Reset queue key validitity for the moment until we sort out expiry with starlings server components
git-svn-id: 6d9b9a8f21f96071dc3ac7ff320f08f2a342ec80@86 daa9635f-4444-0410-9b3d-b8c75a019348
|
diff --git a/lib/shrinker/extractor.rb b/lib/shrinker/extractor.rb
index abc1234..def5678 100644
--- a/lib/shrinker/extractor.rb
+++ b/lib/shrinker/extractor.rb
@@ -1,6 +1,6 @@ module Shrinker
class Extractor < Struct.new(:token, :config)
- UrlNotFound = ArgumentError.new
+ class UrlNotFound < ArgumentError; e... | Make UrlNotFound error more descriptive.
|
diff --git a/coursemology2/db/transforms/lib/content_parser.rb b/coursemology2/db/transforms/lib/content_parser.rb
index abc1234..def5678 100644
--- a/coursemology2/db/transforms/lib/content_parser.rb
+++ b/coursemology2/db/transforms/lib/content_parser.rb
@@ -5,8 +5,8 @@ content.gsub!('[mc]', '<pre lang="python"><... | Change [c] tag to use <span>
|
diff --git a/Library/Formula/akonadi.rb b/Library/Formula/akonadi.rb
index abc1234..def5678 100644
--- a/Library/Formula/akonadi.rb
+++ b/Library/Formula/akonadi.rb
@@ -1,9 +1,9 @@ require 'formula'
class Akonadi <Formula
- url 'http://download.akonadi-project.org/akonadi-1.2.1.tar.bz2'
+ url 'http://download.akon... | Update Akonadi formula to 1.3.0.
|
diff --git a/lib/bundler/cli/add.rb b/lib/bundler/cli/add.rb
index abc1234..def5678 100644
--- a/lib/bundler/cli/add.rb
+++ b/lib/bundler/cli/add.rb
@@ -10,9 +10,8 @@ end
def run
- dependency = Bundler::Dependency.new(@gem_name, nil, @options)
- dependency.instance_variable_set(:@requirement, Gem::... | Add command: Use initializer instead of instance_variable_set
|
diff --git a/lib/event_store/client/http/controls/event_data/read.rb b/lib/event_store/client/http/controls/event_data/read.rb
index abc1234..def5678 100644
--- a/lib/event_store/client/http/controls/event_data/read.rb
+++ b/lib/event_store/client/http/controls/event_data/read.rb
@@ -5,7 +5,7 @@ module EventDat... | Read event data control consistency is improved
|
diff --git a/spec/fake_app/models/active_record.rb b/spec/fake_app/models/active_record.rb
index abc1234..def5678 100644
--- a/spec/fake_app/models/active_record.rb
+++ b/spec/fake_app/models/active_record.rb
@@ -1,11 +1,13 @@+# MODELS
class Product < ActiveRecord::Base
end
-#migrations
+# MIGRATIONS
class CreateA... | Add field description for model Product
|
diff --git a/lib/usaidwat/cmd/where.rb b/lib/usaidwat/cmd/where.rb
index abc1234..def5678 100644
--- a/lib/usaidwat/cmd/where.rb
+++ b/lib/usaidwat/cmd/where.rb
@@ -5,7 +5,7 @@ def where
damn where_usage unless ARGV.length == 1
- reddit_user = USaidWat::RedditUser.new $*.shift
+ reddit_user = USaidWa... | Use ARGV instead of $*
|
diff --git a/spec/features/delivery_update_spec.rb b/spec/features/delivery_update_spec.rb
index abc1234..def5678 100644
--- a/spec/features/delivery_update_spec.rb
+++ b/spec/features/delivery_update_spec.rb
@@ -0,0 +1,37 @@+# encoding: utf-8
+require "rails_helper"
+require "support/helpers/features/user_accounts"
+
... | Add a feature spec for DeliveryUpdates
|
diff --git a/spec/instructions/goto_if_nil_spec.rb b/spec/instructions/goto_if_nil_spec.rb
index abc1234..def5678 100644
--- a/spec/instructions/goto_if_nil_spec.rb
+++ b/spec/instructions/goto_if_nil_spec.rb
@@ -0,0 +1,23 @@+require File.expand_path("../spec_helper", __FILE__)
+
+describe "Instruction goto_if_nil" do
... | Add example branch instruction spec.
|
diff --git a/spec/session/selenium_session_spec.rb b/spec/session/selenium_session_spec.rb
index abc1234..def5678 100644
--- a/spec/session/selenium_session_spec.rb
+++ b/spec/session/selenium_session_spec.rb
@@ -18,8 +18,8 @@ end
end
- # it_should_behave_like "session"
+ it_should_behave_like "sessi... | Put the accidently commented out specs back in.
Thanks alovak! |
diff --git a/app/models/priority_type.rb b/app/models/priority_type.rb
index abc1234..def5678 100644
--- a/app/models/priority_type.rb
+++ b/app/models/priority_type.rb
@@ -6,7 +6,7 @@ default_scope { where(:active => true) }
def self.default
- where(:default => true).first
+ where(:is_default => true).f... | Fix sql issue with reserved column name 'default'
|
diff --git a/db/migrate/20220105085729_split_customers_name.rb b/db/migrate/20220105085729_split_customers_name.rb
index abc1234..def5678 100644
--- a/db/migrate/20220105085729_split_customers_name.rb
+++ b/db/migrate/20220105085729_split_customers_name.rb
@@ -12,10 +12,18 @@ end
def migrate_customer_name_data
-... | Improve first_name and last_name setup
|
diff --git a/app/reports/notas_report.rb b/app/reports/notas_report.rb
index abc1234..def5678 100644
--- a/app/reports/notas_report.rb
+++ b/app/reports/notas_report.rb
@@ -0,0 +1,41 @@+class NotasReport
+
+ attr_accessor :notas
+
+ def initialize notas
+ self.notas = notas
+ end
+
+ def listado_notas
+
+# numer... | Add listado method to notas report, with pases history |
diff --git a/lib/generators/datetimepicker_rails/install_generator.rb b/lib/generators/datetimepicker_rails/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/datetimepicker_rails/install_generator.rb
+++ b/lib/generators/datetimepicker_rails/install_generator.rb
@@ -1,6 +1,6 @@ require 'securerand... | Correct the generator name bug
|
diff --git a/lib/noteworthy/jira.rb b/lib/noteworthy/jira.rb
index abc1234..def5678 100644
--- a/lib/noteworthy/jira.rb
+++ b/lib/noteworthy/jira.rb
@@ -20,7 +20,12 @@ def get_issue(key=nil)
return false if key.nil?
return false unless self.configured?
- return Jiralicious::Issue.find(key)
+ ... | Deal with the case where something like TT-32 returns a 404.
|
diff --git a/lib/opstwerk/config.rb b/lib/opstwerk/config.rb
index abc1234..def5678 100644
--- a/lib/opstwerk/config.rb
+++ b/lib/opstwerk/config.rb
@@ -9,11 +9,13 @@ end
def aws_config
- load_config('~/.fog')
+ return @aws_config if @aws_config
+ fog_confg = load_config(File.expand_path('~/.f... | Fix Fog file loading and yaml keys
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.