diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/project.rb b/app/models/project.rb
index abc1234..def5678 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -31,4 +31,8 @@ percent_complete.round(0)
end
+ def full_errors_string
+ self.errors.full_messages.join(". ")
+ end
+
end
| Add full errors string message
|
diff --git a/agharta.gemspec b/agharta.gemspec
index abc1234..def5678 100644
--- a/agharta.gemspec
+++ b/agharta.gemspec
@@ -13,6 +13,7 @@ gem.homepage = ""
gem.add_runtime_dependency 'thor', '~> 0.16'
+ gem.add_runtime_dependency 'userstream', '~> 1.2'
gem.files = `git ls-files`.split($/)
... | Add userstream gem to dependency.
|
diff --git a/app/forms/options_form.rb b/app/forms/options_form.rb
index abc1234..def5678 100644
--- a/app/forms/options_form.rb
+++ b/app/forms/options_form.rb
@@ -3,12 +3,5 @@ class OptionsForm < Reform::Form
feature Coercion
property :toc, type: Types::Form::Int,
- validates: {
- numeri... | Use inclusion rather than numericality validators
|
diff --git a/spec/blueprints.rb b/spec/blueprints.rb
index abc1234..def5678 100644
--- a/spec/blueprints.rb
+++ b/spec/blueprints.rb
@@ -8,7 +8,7 @@
Member.blueprint do
email "foo@example.com"
- name Sham.name
+ name {Sham.name}
created_at Time.now - 1.day
pw = Sham.password
password pw
@@ -23,17 +23,17... | Fix some machinist errors by deferring shamming.
|
diff --git a/app/jobs/resolrize_job.rb b/app/jobs/resolrize_job.rb
index abc1234..def5678 100644
--- a/app/jobs/resolrize_job.rb
+++ b/app/jobs/resolrize_job.rb
@@ -1,6 +1,4 @@ class ResolrizeJob < ActiveJob::Base
- queue_as :resolrize
-
def perform
ActiveFedora::Base.reindex_everything
end
| Put the ResolrizeJob on the default queue
|
diff --git a/app/models/lit/base.rb b/app/models/lit/base.rb
index abc1234..def5678 100644
--- a/app/models/lit/base.rb
+++ b/app/models/lit/base.rb
@@ -41,6 +41,9 @@ self.class.create! attributes.merge(retried_created: true)
end
elsif !retried_updated
+ # Why elsif and not just if? Because if ... | Add comment about retry mechanism
|
diff --git a/app/models/location.rb b/app/models/location.rb
index abc1234..def5678 100644
--- a/app/models/location.rb
+++ b/app/models/location.rb
@@ -24,12 +24,12 @@ private :set_is_active
def full_address
- base_address << ", #{city_and_country}"
+ base_address << ", #{city_and_country}" unless base_address.... | Add validation to avoid errors when there are nil values for Location.
|
diff --git a/app/models/pano/filter.rb b/app/models/pano/filter.rb
index abc1234..def5678 100644
--- a/app/models/pano/filter.rb
+++ b/app/models/pano/filter.rb
@@ -0,0 +1,23 @@+module Pano
+ class Filter
+
+ attr_accessor :dimension, :selected, :url
+
+ def initialize(dimension, selected, url)
+ self.dimen... | Add Filter - used by searches
|
diff --git a/bosh-stemcell/spec/support/stemcell_shared_examples.rb b/bosh-stemcell/spec/support/stemcell_shared_examples.rb
index abc1234..def5678 100644
--- a/bosh-stemcell/spec/support/stemcell_shared_examples.rb
+++ b/bosh-stemcell/spec/support/stemcell_shared_examples.rb
@@ -21,4 +21,14 @@ its (:stdout) { sh... | Verify that /etc/hosts.equiv and ~/.rhosts don't exist
Stig: V-38491
[Finishes #98327690](https://www.pivotaltracker.com/story/show/98327690)
Signed-off-by: Maria Shaldibina <dc03896a0185453e5852a5e0f0fab6cbd2e026ff@pivotal.io>
|
diff --git a/rails-i18nterface.gemspec b/rails-i18nterface.gemspec
index abc1234..def5678 100644
--- a/rails-i18nterface.gemspec
+++ b/rails-i18nterface.gemspec
@@ -10,8 +10,8 @@ s.authors = ["Larry Sprock", "Artin Boghosain"]
s.email = ["lardawge@gmail.com"]
s.homepage = "https://github.com/lardaw... | Add summary to gem file
|
diff --git a/week-6/bingo_solution.rb b/week-6/bingo_solution.rb
index abc1234..def5678 100644
--- a/week-6/bingo_solution.rb
+++ b/week-6/bingo_solution.rb
@@ -0,0 +1,99 @@+# A Nested Array to Model a Bingo Board SOLO CHALLENGE
+
+# I spent [2] hours on this challenge.
+
+
+# Release 0: Pseudocode
+
+=begin
+Outline: ... | Add progress on 6.6 Bingo Solo Challenge Assignment
|
diff --git a/backend/app/controllers/spree/admin/stock_locations_controller.rb b/backend/app/controllers/spree/admin/stock_locations_controller.rb
index abc1234..def5678 100644
--- a/backend/app/controllers/spree/admin/stock_locations_controller.rb
+++ b/backend/app/controllers/spree/admin/stock_locations_controller.rb... | Use new_action.before callback to cleanup controller.
|
diff --git a/rusen.gemspec b/rusen.gemspec
index abc1234..def5678 100644
--- a/rusen.gemspec
+++ b/rusen.gemspec
@@ -1,7 +1,9 @@+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/rusen/version', __FILE__)
+
Gem::Specification.new do |s|
s.name = 'rusen'
- s.version = '0.0.2'
- s.date ... | Load the new VERSION;
Add LICENSE;
Fix 'files';
|
diff --git a/bin/tracker_custom_points.rb b/bin/tracker_custom_points.rb
index abc1234..def5678 100644
--- a/bin/tracker_custom_points.rb
+++ b/bin/tracker_custom_points.rb
@@ -2,8 +2,19 @@ require 'pivotal-tracker'
require 'yaml'
-config = YAML.load(open(File.join(File.dirname(__FILE__), 'config.yml')))
-mappings =... | Allow custom config and mappings
|
diff --git a/app/models/forecast.rb b/app/models/forecast.rb
index abc1234..def5678 100644
--- a/app/models/forecast.rb
+++ b/app/models/forecast.rb
@@ -8,7 +8,7 @@
class << self
def current
- where('timestamp > ?', Time.now.utc)
+ where(timestamp: Time.now.utc..(Time.now.utc + 1.month))
end
... | Refactor current scope to play nice with joins
|
diff --git a/lib/ci_in_a_can/build.rb b/lib/ci_in_a_can/build.rb
index abc1234..def5678 100644
--- a/lib/ci_in_a_can/build.rb
+++ b/lib/ci_in_a_can/build.rb
@@ -3,8 +3,8 @@ class Build
params_constructor
- attr_accessor :git_ssh, :local_location, :repo, :sha
- attr_accessor :id
+ attr_accessor :id, :g... | Use one list of attr_accessors.
|
diff --git a/spec/lib/blogit/parsers/markdown_parser_spec.rb b/spec/lib/blogit/parsers/markdown_parser_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/blogit/parsers/markdown_parser_spec.rb
+++ b/spec/lib/blogit/parsers/markdown_parser_spec.rb
@@ -11,13 +11,17 @@
describe "code highlighting" do
- let(:par... | Add a test to make sure that pygmentize is there
|
diff --git a/lib/mars_photos/rover.rb b/lib/mars_photos/rover.rb
index abc1234..def5678 100644
--- a/lib/mars_photos/rover.rb
+++ b/lib/mars_photos/rover.rb
@@ -6,16 +6,9 @@ end
def get(parameter = {})
- response = HTTParty.get(build_url(parameter))
+ url = MarsPhotos::Calculations.build_url(name, ... | Refactor Rover class after adding module calculations
|
diff --git a/lib/noam_lemma/player.rb b/lib/noam_lemma/player.rb
index abc1234..def5678 100644
--- a/lib/noam_lemma/player.rb
+++ b/lib/noam_lemma/player.rb
@@ -1,9 +1,15 @@ require 'thread'
module Noam
+ class NoamPlayerException < Exception; end
class Player
def initialize(con_host,con_port)
- @sock... | Throw a named exception when the socket fails to connect.
|
diff --git a/lib/sw_indexer_engine.rb b/lib/sw_indexer_engine.rb
index abc1234..def5678 100644
--- a/lib/sw_indexer_engine.rb
+++ b/lib/sw_indexer_engine.rb
@@ -1,4 +1,37 @@ class SwIndexerEngine < BaseIndexer::MainIndexerEngine
+ # It is the main indexing function
+ #
+ # @param druid [String] is the druid for an o... | Check for catkey prior to building solr doc
|
diff --git a/lib/tasks/snapshots.rake b/lib/tasks/snapshots.rake
index abc1234..def5678 100644
--- a/lib/tasks/snapshots.rake
+++ b/lib/tasks/snapshots.rake
@@ -1,23 +1,28 @@ namespace :actions do
task :create_snapshots => :environment do
success_count = failure_count = skip_count = 0
- Artefact.all.each do ... | Disable single registration for snapshotting task.
This makes the process much faster and less fragile.
|
diff --git a/spec/controllers/api/devices/devices_controller_dump_spec.rb b/spec/controllers/api/devices/devices_controller_dump_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/api/devices/devices_controller_dump_spec.rb
+++ b/spec/controllers/api/devices/devices_controller_dump_spec.rb
@@ -0,0 +1,30 @@+re... | Fix tests for device controller
|
diff --git a/benchmark-perf.gemspec b/benchmark-perf.gemspec
index abc1234..def5678 100644
--- a/benchmark-perf.gemspec
+++ b/benchmark-perf.gemspec
@@ -1,4 +1,3 @@-# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'benchmark/perf/version'
@@ -... | Add rspec as dev dependency
|
diff --git a/test/unit/test_helper.rb b/test/unit/test_helper.rb
index abc1234..def5678 100644
--- a/test/unit/test_helper.rb
+++ b/test/unit/test_helper.rb
@@ -37,3 +37,18 @@ end
end
+
+# Minitest uses Tempfiles for figuring out more complicated diffs
+# This causes FakeFS to explode, so make sure this is run wit... | Work around Minitest and FakeFS collision issues
See https://github.com/defunkt/fakefs/issues/143
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -16,5 +16,8 @@ # Configure cookie session store.
config.session_store :cookie_store, key: '_mas_session'
+ # Configure additional assets to precompile
+ co... | Configure additional assets to precompile
Fixes #4 |
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -26,8 +26,6 @@
config.middleware.use Rack::Attack
- config.assets << Rails.root.join('app', 'services')
-
initializer :regenerate_require_cache, before: :lo... | Remove adding services to assets as this is not needed
|
diff --git a/lib/rubocop/cop/generator/configuration_injector.rb b/lib/rubocop/cop/generator/configuration_injector.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/generator/configuration_injector.rb
+++ b/lib/rubocop/cop/generator/configuration_injector.rb
@@ -47,7 +47,7 @@ configuration_entries.find.... | Update based on PR review |
diff --git a/lib/grunt/responses/messages.rb b/lib/grunt/responses/messages.rb
index abc1234..def5678 100644
--- a/lib/grunt/responses/messages.rb
+++ b/lib/grunt/responses/messages.rb
@@ -2,15 +2,15 @@ module Responses
module Messages
include Concerns::Matching
-
+
def on_privmsg
- Gr... | Append message to history after handling command
|
diff --git a/db/data_migration/20130305132612_add_nio_categories.rb b/db/data_migration/20130305132612_add_nio_categories.rb
index abc1234..def5678 100644
--- a/db/data_migration/20130305132612_add_nio_categories.rb
+++ b/db/data_migration/20130305132612_add_nio_categories.rb
@@ -15,8 +15,12 @@
categories.each do |ca... | Make NIO categories migration idempotent
|
diff --git a/Library/Formula/berkeley-db4.rb b/Library/Formula/berkeley-db4.rb
index abc1234..def5678 100644
--- a/Library/Formula/berkeley-db4.rb
+++ b/Library/Formula/berkeley-db4.rb
@@ -0,0 +1,29 @@+require 'formula'
+
+class BerkeleyDb4 < Formula
+ homepage 'http://www.oracle.com/technology/products/berkeley-db/in... | Add BDB 4.8.30 to core
Some software still requires this version and will not build against
BDB 5.x.
Closes #15725.
|
diff --git a/activeresource.gemspec b/activeresource.gemspec
index abc1234..def5678 100644
--- a/activeresource.gemspec
+++ b/activeresource.gemspec
@@ -13,7 +13,7 @@ s.email = 'david@loudthinking.com'
s.homepage = 'http://www.rubyonrails.org'
- s.files = Dir['CHANGELOG', 'MIT-LICENS... | Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.md
|
diff --git a/bin/prebuild.rb b/bin/prebuild.rb
index abc1234..def5678 100644
--- a/bin/prebuild.rb
+++ b/bin/prebuild.rb
@@ -21,7 +21,7 @@ end
platformFiles << filename
if formats.include? ext
- json['resources']['media'] << {
+ json[:resources][:media] << {
type: ext[1..-1],
... | Put symbol instead of string
|
diff --git a/lib/heroku/http_instrumentor.rb b/lib/heroku/http_instrumentor.rb
index abc1234..def5678 100644
--- a/lib/heroku/http_instrumentor.rb
+++ b/lib/heroku/http_instrumentor.rb
@@ -17,6 +17,7 @@ $stderr.puts filter(params[:query])
when "excon.response"
$stderr.puts "#{params[:status]} #{... | Print Request-Id when HEROKU_DEBUG is on.
|
diff --git a/config/initializers/application.rb b/config/initializers/application.rb
index abc1234..def5678 100644
--- a/config/initializers/application.rb
+++ b/config/initializers/application.rb
@@ -1,3 +1,6 @@+require 'active_record'
+require "#{Rails.root}/lib/extensions/active_record"
+
require 'periscope'
requi... | Add initializer, missing from last commit
|
diff --git a/lib/dolphy/template_engines.rb b/lib/dolphy/template_engines.rb
index abc1234..def5678 100644
--- a/lib/dolphy/template_engines.rb
+++ b/lib/dolphy/template_engines.rb
@@ -17,7 +17,7 @@ engine.render(Object.new, locals)
end
- def erb(template_name, locals)
+ def erb(template_name, locals... | Set locals to nil on default.
|
diff --git a/lib/gitlab/patch/draw_route.rb b/lib/gitlab/patch/draw_route.rb
index abc1234..def5678 100644
--- a/lib/gitlab/patch/draw_route.rb
+++ b/lib/gitlab/patch/draw_route.rb
@@ -8,8 +8,9 @@ RoutesNotFound = Class.new(StandardError)
def draw(routes_name)
- draw_ce(routes_name) | draw_ee(rout... | Make it clear that we intent to use | over ||
|
diff --git a/lib/tasks/marriage_abroad.rake b/lib/tasks/marriage_abroad.rake
index abc1234..def5678 100644
--- a/lib/tasks/marriage_abroad.rake
+++ b/lib/tasks/marriage_abroad.rake
@@ -0,0 +1,6 @@+namespace :marriage_abroad do
+ desc "Flatten a set of outcomes for a given country"
+ task :flatten_outcomes, [:country]... | Add a rake task to wrap flattening utility
|
diff --git a/Casks/bathyscaphe.rb b/Casks/bathyscaphe.rb
index abc1234..def5678 100644
--- a/Casks/bathyscaphe.rb
+++ b/Casks/bathyscaphe.rb
@@ -1,10 +1,10 @@ cask :v1 => 'bathyscaphe' do
- version '2.5.0'
- sha256 '16c9c7c2ade802f735e3e10f8330f548bd8ea2192e65f5c187618603af1a7422'
+ version '251-v816'
+ sha256 '3a2... | Upgrade batchyscaphe to v2.5.1 and homepage
|
diff --git a/build/recipe.rb b/build/recipe.rb
index abc1234..def5678 100644
--- a/build/recipe.rb
+++ b/build/recipe.rb
@@ -2,12 +2,12 @@ name 'sifter'
version '0.7'
- revision '4'
+ revision '5'
description 'sifter'
homepage 'https://github.com/darron/sifter'
source "https://github.com/darron/sift... | Rebuild package with properly built release.
|
diff --git a/spec/controllers/tree_display_controller_spec.rb b/spec/controllers/tree_display_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/tree_display_controller_spec.rb
+++ b/spec/controllers/tree_display_controller_spec.rb
@@ -0,0 +1,48 @@+require 'rails_helper'
+
+describe TreeDisplayCont... | Add part of test done by E1570.
|
diff --git a/lib/generators/rets_data/templates/create_addresses.rb b/lib/generators/rets_data/templates/create_addresses.rb
index abc1234..def5678 100644
--- a/lib/generators/rets_data/templates/create_addresses.rb
+++ b/lib/generators/rets_data/templates/create_addresses.rb
@@ -8,7 +8,7 @@ t.string :city
... | Allow country to be null.
|
diff --git a/spec/file_storage_spec.rb b/spec/file_storage_spec.rb
index abc1234..def5678 100644
--- a/spec/file_storage_spec.rb
+++ b/spec/file_storage_spec.rb
@@ -24,7 +24,7 @@
before do
@default_internal = Encoding.default_internal
- @tempfilename = Tempfile.create("text") { |f| f.path }
+ @tempfilena... | Use .new that is compatible with 2.0
|
diff --git a/spec/models/owner_spec.rb b/spec/models/owner_spec.rb
index abc1234..def5678 100644
--- a/spec/models/owner_spec.rb
+++ b/spec/models/owner_spec.rb
@@ -0,0 +1,20 @@+require 'spec_helper'
+
+describe Owner do
+ describe "#buildpacks" do
+ context "new owner" do
+ let(:owner) { Owner.new }
+ it... | Test current support for buildpack setting
|
diff --git a/spec/models/right_spec.rb b/spec/models/right_spec.rb
index abc1234..def5678 100644
--- a/spec/models/right_spec.rb
+++ b/spec/models/right_spec.rb
@@ -35,6 +35,7 @@
describe "with multiple entries" do
before { @right.save }
+ after(:all) { @right.destroy }
describe "with duplicate resou... | Remove right after test block is run
|
diff --git a/lib/slatan.rb b/lib/slatan.rb
index abc1234..def5678 100644
--- a/lib/slatan.rb
+++ b/lib/slatan.rb
@@ -1,17 +1,21 @@ require "slatan/version"
require "slatan/spirit"
require "slatan/heart"
-require "slatan/mouth"
require "slatan/ear"
+require "slatan/buttocks"
require "utils/string_ex"
module Slata... | Add logger of exception to Slatan
|
diff --git a/aphrodite/test/controllers/projects_controller_test.rb b/aphrodite/test/controllers/projects_controller_test.rb
index abc1234..def5678 100644
--- a/aphrodite/test/controllers/projects_controller_test.rb
+++ b/aphrodite/test/controllers/projects_controller_test.rb
@@ -1,77 +1,4 @@ require 'test_helper'
d... | [aphrodite] Remove project related unused tests
|
diff --git a/app/models/spree/home_page_feature.rb b/app/models/spree/home_page_feature.rb
index abc1234..def5678 100644
--- a/app/models/spree/home_page_feature.rb
+++ b/app/models/spree/home_page_feature.rb
@@ -15,6 +15,8 @@ :path => ':rails_root/public/spree/home_page_features/:id/:style/:basen... | Add required Paperclip 4 validations
|
diff --git a/acceptance/setup/post_suite/10_collect_artifacts.rb b/acceptance/setup/post_suite/10_collect_artifacts.rb
index abc1234..def5678 100644
--- a/acceptance/setup/post_suite/10_collect_artifacts.rb
+++ b/acceptance/setup/post_suite/10_collect_artifacts.rb
@@ -10,7 +10,8 @@ # that goes *out* to the hosts, no ... | Acceptance: Fix ssh hostname for in-house runs
|
diff --git a/db/migrate/20160804150737_add_timestamps_to_members_again.rb b/db/migrate/20160804150737_add_timestamps_to_members_again.rb
index abc1234..def5678 100644
--- a/db/migrate/20160804150737_add_timestamps_to_members_again.rb
+++ b/db/migrate/20160804150737_add_timestamps_to_members_again.rb
@@ -7,6 +7,7 @@ # W... | Add missing DOWNTIME constant to the AddTimestampsToMembersAgain migration
|
diff --git a/app/consumers/trace_consumer.rb b/app/consumers/trace_consumer.rb
index abc1234..def5678 100644
--- a/app/consumers/trace_consumer.rb
+++ b/app/consumers/trace_consumer.rb
@@ -12,8 +12,6 @@ end
def process(message)
- return if message.body.fetch(:platform, 'default') == 'default'
-
try = 0
... | Remove hotfix not storing default platform
|
diff --git a/app/helpers/checklist_helper.rb b/app/helpers/checklist_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/checklist_helper.rb
+++ b/app/helpers/checklist_helper.rb
@@ -32,6 +32,6 @@
def format_question_option(option, criteria_keys)
checked = criteria_keys.include?(option["value"])
- { l... | Allow radio buttons to display hint text
|
diff --git a/lib/generators/calagator/install_generator.rb b/lib/generators/calagator/install_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/calagator/install_generator.rb
+++ b/lib/generators/calagator/install_generator.rb
@@ -1,6 +1,8 @@ module Calagator
class InstallGenerator < Rails::Generators:... | Add a --dummy option to calagator:install generator
The dummy app in spec/dummy shouldn't copy migrations from db/migrate,
since this will cause migration name exceptions when using the rake
tasks provided by the engine-level Rakefile.
|
diff --git a/lib/woocommerce_api/resources/v2/line_item.rb b/lib/woocommerce_api/resources/v2/line_item.rb
index abc1234..def5678 100644
--- a/lib/woocommerce_api/resources/v2/line_item.rb
+++ b/lib/woocommerce_api/resources/v2/line_item.rb
@@ -17,6 +17,7 @@ attribute :price , Decimal , writer: :priva... | [ENHANCEMENT] Add taxes to line item model
|
diff --git a/app/models/georgia/meta_page.rb b/app/models/georgia/meta_page.rb
index abc1234..def5678 100644
--- a/app/models/georgia/meta_page.rb
+++ b/app/models/georgia/meta_page.rb
@@ -9,8 +9,8 @@
class << self
- def find(id)
- @publisher = Georgia::Publisher.new(id)
+ def find(uuid)
+ ... | Rename id to uuid to avoid confusion
|
diff --git a/app/policies/ci/build_policy.rb b/app/policies/ci/build_policy.rb
index abc1234..def5678 100644
--- a/app/policies/ci/build_policy.rb
+++ b/app/policies/ci/build_policy.rb
@@ -23,7 +23,7 @@
!::Gitlab::UserAccess
.new(user, project: build.project)
- .can_push_to_branch?(build.ref)
+ ... | Check only a merge ability for protected actions
|
diff --git a/app/policies/exercise_policy.rb b/app/policies/exercise_policy.rb
index abc1234..def5678 100644
--- a/app/policies/exercise_policy.rb
+++ b/app/policies/exercise_policy.rb
@@ -38,7 +38,13 @@ if @user.admin?
@scope.all
elsif @user.teacher?
- @scope.where('user_id = ? OR public =... | Include hidden exercises for other teachers of the same study group
|
diff --git a/lib/mr_keychain/keychain_exception.rb b/lib/mr_keychain/keychain_exception.rb
index abc1234..def5678 100644
--- a/lib/mr_keychain/keychain_exception.rb
+++ b/lib/mr_keychain/keychain_exception.rb
@@ -9,7 +9,7 @@ # @param [Fixnum] error_code result code from calling a Sec function
def initialize messag... | Include the error code in exception messages |
diff --git a/lib/raven/integrations/delayed_job.rb b/lib/raven/integrations/delayed_job.rb
index abc1234..def5678 100644
--- a/lib/raven/integrations/delayed_job.rb
+++ b/lib/raven/integrations/delayed_job.rb
@@ -14,23 +14,23 @@ rescue Exception => exception
# Log error to Sentry
... | Support for Ruby 1.8.7 failing due new Hash syntax
|
diff --git a/lib/strumbar/instrumentation/redis.rb b/lib/strumbar/instrumentation/redis.rb
index abc1234..def5678 100644
--- a/lib/strumbar/instrumentation/redis.rb
+++ b/lib/strumbar/instrumentation/redis.rb
@@ -4,18 +4,31 @@ def self.load
Strumbar.subscribe 'query.redis' do |client, event|
c... | Switch from process to call for failure state
|
diff --git a/codeclimate_ci.gemspec b/codeclimate_ci.gemspec
index abc1234..def5678 100644
--- a/codeclimate_ci.gemspec
+++ b/codeclimate_ci.gemspec
@@ -8,6 +8,7 @@ spec.summary = %q{Simple gem for checking your code with CodeClimate}
spec.description = %q{ Gem that allows You to check your code quality wi... | Add homepage link to gemspec
|
diff --git a/test/class_test.rb b/test/class_test.rb
index abc1234..def5678 100644
--- a/test/class_test.rb
+++ b/test/class_test.rb
@@ -0,0 +1,11 @@+require "test_helper"
+
+class ClassTest < Test::Unit::TestCase
+
+ @@html = %{<a href="http://google.com" class="testing">Testing</a>}
+
+ test "pass through classes" ... | Test that classes pass through
|
diff --git a/trousseau.rb b/trousseau.rb
index abc1234..def5678 100644
--- a/trousseau.rb
+++ b/trousseau.rb
@@ -2,7 +2,7 @@
class Trousseau < Formula
homepage 'https://github.com/oleiade/trousseau'
- url 'https://github.com/oleiade/trousseau/releases/download/0.3.0/trousseau_0.3.0_darwin_amd64.zip'
+ url 'https... | Update homebrew recipe to fetch 0.3.1 release
|
diff --git a/db/migrate/20161206051008_src_sets_search_document_indices.rb b/db/migrate/20161206051008_src_sets_search_document_indices.rb
index abc1234..def5678 100644
--- a/db/migrate/20161206051008_src_sets_search_document_indices.rb
+++ b/db/migrate/20161206051008_src_sets_search_document_indices.rb
@@ -1,7 +1,7 @@... | Add if exists to src_sets_to_tsvector_idx creation
|
diff --git a/app/controllers/discussion_boards_controller.rb b/app/controllers/discussion_boards_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/discussion_boards_controller.rb
+++ b/app/controllers/discussion_boards_controller.rb
@@ -1,6 +1,12 @@ class DiscussionBoardsController < ApplicationControll... | Add show Action to DiscussionBoard Controller
Update the DiscussionBoard controller to include the show action.
|
diff --git a/app/models/setup/notification_flow_execution.rb b/app/models/setup/notification_flow_execution.rb
index abc1234..def5678 100644
--- a/app/models/setup/notification_flow_execution.rb
+++ b/app/models/setup/notification_flow_execution.rb
@@ -1,14 +1,18 @@ module Setup
class NotificationFlowExecution < Set... | Add | Custom notification flow execution description
|
diff --git a/db/migrate/20120117225649_add_booking_template_id_to_line_items.rb b/db/migrate/20120117225649_add_booking_template_id_to_line_items.rb
index abc1234..def5678 100644
--- a/db/migrate/20120117225649_add_booking_template_id_to_line_items.rb
+++ b/db/migrate/20120117225649_add_booking_template_id_to_line_item... | Add booking template id to line items.
|
diff --git a/lib/lims-laboratory-app/laboratory/tube_rack/tube_rack_resource.rb b/lib/lims-laboratory-app/laboratory/tube_rack/tube_rack_resource.rb
index abc1234..def5678 100644
--- a/lib/lims-laboratory-app/laboratory/tube_rack/tube_rack_resource.rb
+++ b/lib/lims-laboratory-app/laboratory/tube_rack/tube_rack_resourc... | Refactor TubeRackResource to define children_to_stream
|
diff --git a/mongo-activerecord-ruby.gemspec b/mongo-activerecord-ruby.gemspec
index abc1234..def5678 100644
--- a/mongo-activerecord-ruby.gemspec
+++ b/mongo-activerecord-ruby.gemspec
@@ -9,10 +9,21 @@
s.require_paths = ['lib']
- s.files = Dir['examples/*.rb'] + Dir['lib/mongo_record/*.rb']
- ['lib/mongo_r... | Stop using Dir[] in an attempt to get rid of a Github gemspec build error.
|
diff --git a/stylesheet_flipper.gemspec b/stylesheet_flipper.gemspec
index abc1234..def5678 100644
--- a/stylesheet_flipper.gemspec
+++ b/stylesheet_flipper.gemspec
@@ -6,7 +6,7 @@ gem.email = ["jeppe@liisberg.net"]
gem.description = %q{Makes your LTR stylesheet work for RTL locales and vice versa}
ge... | Add correct homepage link in gemspec
|
diff --git a/spec/models/metrics/richness_of_information_spec.rb b/spec/models/metrics/richness_of_information_spec.rb
index abc1234..def5678 100644
--- a/spec/models/metrics/richness_of_information_spec.rb
+++ b/spec/models/metrics/richness_of_information_spec.rb
@@ -0,0 +1,35 @@+require 'spec_helper'
+
+describe Metr... | Add specifications for the richness of information
Since the implementation of the richness of information detail view
raised my suspicion about its proper implementation I have started to
add tests.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
|
diff --git a/active_utils.gemspec b/active_utils.gemspec
index abc1234..def5678 100644
--- a/active_utils.gemspec
+++ b/active_utils.gemspec
@@ -10,6 +10,7 @@ s.email = ["developers@jadedpixel.com"]
s.homepage = "http://github.com/shopify/active_utils"
s.summary = %q{Common utils used by active_mer... | Add license to gemspec, is MIT |
diff --git a/app/models/line_search.rb b/app/models/line_search.rb
index abc1234..def5678 100644
--- a/app/models/line_search.rb
+++ b/app/models/line_search.rb
@@ -3,7 +3,7 @@ if !@term.empty?
query = Line.search(@term)
if @character
- query = query.includes(:character).where(characters: { nam... | Use joins instead of includes when searching on term and character name
|
diff --git a/app/models/pano/filter.rb b/app/models/pano/filter.rb
index abc1234..def5678 100644
--- a/app/models/pano/filter.rb
+++ b/app/models/pano/filter.rb
@@ -0,0 +1,23 @@+module Pano
+ class Filter
+
+ attr_accessor :dimension, :selected, :url
+
+ def initialize(dimension, selected, url)
+ self.dimen... | Add Filter - used by searches
|
diff --git a/lib/rack/insight/panels/redis_panel/redis_extension.rb b/lib/rack/insight/panels/redis_panel/redis_extension.rb
index abc1234..def5678 100644
--- a/lib/rack/insight/panels/redis_panel/redis_extension.rb
+++ b/lib/rack/insight/panels/redis_panel/redis_extension.rb
@@ -16,8 +16,7 @@ end
end
... | Fix Redis extension for Redis 3.x.
|
diff --git a/adequate_exposure.gemspec b/adequate_exposure.gemspec
index abc1234..def5678 100644
--- a/adequate_exposure.gemspec
+++ b/adequate_exposure.gemspec
@@ -14,6 +14,6 @@
spec.required_ruby_version = "~> 2.0"
- spec.add_dependency "railties", ">= 4.0"
- spec.add_dependency "activesupport", ">= 4.0"... | Add upper deps version constraints
|
diff --git a/spec/helpers/application_helper/buttons/vm_retire_now_spec.rb b/spec/helpers/application_helper/buttons/vm_retire_now_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/application_helper/buttons/vm_retire_now_spec.rb
+++ b/spec/helpers/application_helper/buttons/vm_retire_now_spec.rb
@@ -0,0 +1,52 @... | Use previous spec for the new button vm_retire_now
|
diff --git a/spec/requests/customer_nudge_appointment_landing_page_spec.rb b/spec/requests/customer_nudge_appointment_landing_page_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/customer_nudge_appointment_landing_page_spec.rb
+++ b/spec/requests/customer_nudge_appointment_landing_page_spec.rb
@@ -1,18 +1,41 ... | Rework this spec into the GWT style
I'm adding other scenarios with shared contexts.
|
diff --git a/lib/amakanize/filters/brackets_normalization_filter.rb b/lib/amakanize/filters/brackets_normalization_filter.rb
index abc1234..def5678 100644
--- a/lib/amakanize/filters/brackets_normalization_filter.rb
+++ b/lib/amakanize/filters/brackets_normalization_filter.rb
@@ -5,6 +5,7 @@ ‹ ›
‾ ‾
... | Support a new bracket type
|
diff --git a/app/models/domain.rb b/app/models/domain.rb
index abc1234..def5678 100644
--- a/app/models/domain.rb
+++ b/app/models/domain.rb
@@ -1,10 +1,18 @@+# For the benefit of NewDomainWorker
+require "nokogiri"
+
class Domain < ActiveRecord::Base
# Lookup and cache meta information for a domain
def self.loo... | Handle internal server error and require nokogiri for background job
|
diff --git a/actionpack/lib/action_controller/metal/url_for.rb b/actionpack/lib/action_controller/metal/url_for.rb
index abc1234..def5678 100644
--- a/actionpack/lib/action_controller/metal/url_for.rb
+++ b/actionpack/lib/action_controller/metal/url_for.rb
@@ -6,6 +6,7 @@
def url_options
options = {}
+ ... | Initialize @_routes if not defined yet, avoiding more warnings.
|
diff --git a/week-6/gps.rb b/week-6/gps.rb
index abc1234..def5678 100644
--- a/week-6/gps.rb
+++ b/week-6/gps.rb
@@ -0,0 +1,41 @@+# Your Names
+# 1) Jason Milfred
+
+# We spent [#] hours on this challenge.
+
+# Bakery Serving Size portion calculator.
+
+def serving_size_calc(item_to_make, num_of_ingredients)
+ library... | Add initial file for GPS 2.3
|
diff --git a/uppercrust.gemspec b/uppercrust.gemspec
index abc1234..def5678 100644
--- a/uppercrust.gemspec
+++ b/uppercrust.gemspec
@@ -21,7 +21,7 @@ spec.add_dependency "thor"
spec.add_dependency "mustache"
- spec.add_development_dependency "bundler", "~> 1.6"
+ spec.add_development_dependency "bundler", "~>... | Update bundler requirement from ~> 1.6 to ~> 2.0
Updates the requirements on [bundler](https://github.com/bundler/bundler) to permit the latest version.
- [Release notes](https://github.com/bundler/bundler/releases)
- [Changelog](https://github.com/bundler/bundler/blob/master/CHANGELOG.md)
- [Commits](https://github.c... |
diff --git a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
+++ b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_am... | Set pre_tax_amount for shipments so that migration works
On existing installations, the migrations `IncreaseScaleOnPreTaxAmounts`
will fail because of existing shipments not having a `pre_tax_amount` set.
Fixes #6525
Fixes #6527
|
diff --git a/app/controllers/technical_feedbacks_controller.rb b/app/controllers/technical_feedbacks_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/technical_feedbacks_controller.rb
+++ b/app/controllers/technical_feedbacks_controller.rb
@@ -26,7 +26,7 @@ def feedback_params
if params[:feedbac... | Add return_to url to the technical feedback
|
diff --git a/app/controllers/voting_app/requests_controller.rb b/app/controllers/voting_app/requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/voting_app/requests_controller.rb
+++ b/app/controllers/voting_app/requests_controller.rb
@@ -24,10 +24,10 @@ end
private
-
+
def fil... | Add 'all' filter to categories
|
diff --git a/tasks/helper_testing.rake b/tasks/helper_testing.rake
index abc1234..def5678 100644
--- a/tasks/helper_testing.rake
+++ b/tasks/helper_testing.rake
@@ -0,0 +1,21 @@+desc 'Run all unit, functional, helper and integration tests'
+task :test do
+ errors = %w(test:units test:functionals test:helpers test:inte... | Add rake tasks for helper tests, and modify Rails "rake test" to include helper tests.
|
diff --git a/recipes/mod_pagespeed.rb b/recipes/mod_pagespeed.rb
index abc1234..def5678 100644
--- a/recipes/mod_pagespeed.rb
+++ b/recipes/mod_pagespeed.rb
@@ -31,11 +31,6 @@
apache_module 'pagespeed' do
conf true
- if node['apache']['version'] == '2.2'
- filename 'mod_pagespeed.so'
- elsif node['a... | Revert "add support for 2.2/2.4 module loading"
This reverts commit b86ff4f597508d5a38c358afcb26c756c009f50f.
|
diff --git a/templates/model_sqlite.rb b/templates/model_sqlite.rb
index abc1234..def5678 100644
--- a/templates/model_sqlite.rb
+++ b/templates/model_sqlite.rb
@@ -0,0 +1,74 @@+begin
+ require "bundler/inline"
+rescue LoadError => e
+ $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundle... | Create simple one file template for hanami model with sqlite adapter
|
diff --git a/test/app/controllers/admin/resources/format_test.rb b/test/app/controllers/admin/resources/format_test.rb
index abc1234..def5678 100644
--- a/test/app/controllers/admin/resources/format_test.rb
+++ b/test/app/controllers/admin/resources/format_test.rb
@@ -11,7 +11,7 @@ class Admin::EntriesControllerTest < ... | Use admin_sign_in helper on FormatTest.
|
diff --git a/marso.gemspec b/marso.gemspec
index abc1234..def5678 100644
--- a/marso.gemspec
+++ b/marso.gemspec
@@ -8,10 +8,9 @@ spec.version = Marso::VERSION
spec.authors = ["Nicolas Dao"]
spec.email = ["nicolas@quivers.com"]
- spec.homepage = ["https://github.com/nicolasdao/marso"]
... | Fix the gemspec so there are no more warnings during the gem build
|
diff --git a/spec/patron_spec_helper.rb b/spec/patron_spec_helper.rb
index abc1234..def5678 100644
--- a/spec/patron_spec_helper.rb
+++ b/spec/patron_spec_helper.rb
@@ -10,6 +10,7 @@
sess.connect_timeout = 10
sess.timeout = 10
+ sess.max_redirects = 0
response = sess.request(method, "#{uri.path}... | Disable redirect handling when running Patron specs
Patron's default settings allow it to automatically follow up to 5
redirects. Since example.com has started issuing a 302 Found response,
patron's behavior deviates from other backends.
|
diff --git a/db/migrate/20121001085315_change_attachment_dir_name.rb b/db/migrate/20121001085315_change_attachment_dir_name.rb
index abc1234..def5678 100644
--- a/db/migrate/20121001085315_change_attachment_dir_name.rb
+++ b/db/migrate/20121001085315_change_attachment_dir_name.rb
@@ -1,9 +1,9 @@ class ChangeAttachmentD... | Add correct migration to update routes in db
|
diff --git a/app/controllers/observer_controller/info_controller.rb b/app/controllers/observer_controller/info_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/observer_controller/info_controller.rb
+++ b/app/controllers/observer_controller/info_controller.rb
@@ -1,17 +1,18 @@ # TODO: move this into a ... | Delete :nologin: magic comment stuff in InfoController
It offends RuboCop and we can get rid of it. See https://www.pivotaltracker.com/story/show/165520354
|
diff --git a/Cachyr.podspec b/Cachyr.podspec
index abc1234..def5678 100644
--- a/Cachyr.podspec
+++ b/Cachyr.podspec
@@ -14,7 +14,7 @@ DESC
s.homepage = "https://github.com/YR/Cachyr"
s.license = { :type => "MIT", :file => "LICENSE" }
- s.author = { "Yr" => "yr-test@nrk.no" }
+ s.author ... | Use mobil-tilbakemelding@nrk.no for author email
|
diff --git a/Aardvark.podspec b/Aardvark.podspec
index abc1234..def5678 100644
--- a/Aardvark.podspec
+++ b/Aardvark.podspec
@@ -2,7 +2,7 @@ s.name = 'Aardvark'
s.version = '1.0.0'
s.license = 'Apache'
- s.summary = 'Aardvark is a threadsafe library that makes it dead simple to create actionable bug rep... | Update podspec to be in line with README summary
|
diff --git a/config/initializers/slack_notifier.rb b/config/initializers/slack_notifier.rb
index abc1234..def5678 100644
--- a/config/initializers/slack_notifier.rb
+++ b/config/initializers/slack_notifier.rb
@@ -1,5 +1,4 @@ Rails.application.config.slack_notifier = Slack::Notifier.new ENV["SLACK_WEBHOOK_URL"] do
- de... | Remove unused default channel config
|
diff --git a/spec/jasmine_selenium_runner/configure_jasmine_spec.rb b/spec/jasmine_selenium_runner/configure_jasmine_spec.rb
index abc1234..def5678 100644
--- a/spec/jasmine_selenium_runner/configure_jasmine_spec.rb
+++ b/spec/jasmine_selenium_runner/configure_jasmine_spec.rb
@@ -4,49 +4,25 @@ require 'jasmine_selenium... | Update configurer specs for new structure
|
diff --git a/spec/views/miq_policy/_alert_details.html.haml_spec.rb b/spec/views/miq_policy/_alert_details.html.haml_spec.rb
index abc1234..def5678 100644
--- a/spec/views/miq_policy/_alert_details.html.haml_spec.rb
+++ b/spec/views/miq_policy/_alert_details.html.haml_spec.rb
@@ -0,0 +1,15 @@+describe "miq_policy/_aler... | Test for displaying Trap Number
https://bugzilla.redhat.com/show_bug.cgi?id=1381969
|
diff --git a/Formula/sdl.rb b/Formula/sdl.rb
index abc1234..def5678 100644
--- a/Formula/sdl.rb
+++ b/Formula/sdl.rb
@@ -13,8 +13,6 @@ inreplace files, '@prefix@', HOMEBREW_PREFIX
end
- fails_with_llvm :build => 2335 # 2335.15.0 to be exact
-
def install
Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config... | SDL: Disable assembly when compiling with Clang
Should have been rolled into the last commit. Troll needs coffee badly.
|
diff --git a/app/helpers/admin/resources/data_types/string_helper.rb b/app/helpers/admin/resources/data_types/string_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin/resources/data_types/string_helper.rb
+++ b/app/helpers/admin/resources/data_types/string_helper.rb
@@ -1,7 +1,7 @@ module Admin::Resources... | Call 'mdash' if string to display is nil.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.