diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/checkin-service/spec/apis/redemptions_api_spec.rb b/checkin-service/spec/apis/redemptions_api_spec.rb
index abc1234..def5678 100644
--- a/checkin-service/spec/apis/redemptions_api_spec.rb
+++ b/checkin-service/spec/apis/redemptions_api_spec.rb
@@ -7,10 +7,19 @@ describe RedemptionsApi do
include Rack::T... | Add first test for redemption api
|
diff --git a/Casks/firefox-aurora.rb b/Casks/firefox-aurora.rb
index abc1234..def5678 100644
--- a/Casks/firefox-aurora.rb
+++ b/Casks/firefox-aurora.rb
@@ -1,8 +1,8 @@ class FirefoxAurora < Cask
- version '35.0a2'
- sha256 'c27899ebdb9d3b44ccac8ad904a03b421b65208e66937c62d795aab1d0014999'
+ version :latest
+ sha25... | Remove sha check and version from FirefoxAurora
Sha is likely to change without notice even for the same dmg filename (was currently broken because of this) |
diff --git a/test/bank-account-statement/outputs/OFX/base_test.rb b/test/bank-account-statement/outputs/OFX/base_test.rb
index abc1234..def5678 100644
--- a/test/bank-account-statement/outputs/OFX/base_test.rb
+++ b/test/bank-account-statement/outputs/OFX/base_test.rb
@@ -1,4 +1,5 @@ require 'bigdecimal'
+require 'yaml... | Fix test Outputs::OFX missing require.
|
diff --git a/Library/Formula/exult.rb b/Library/Formula/exult.rb
index abc1234..def5678 100644
--- a/Library/Formula/exult.rb
+++ b/Library/Formula/exult.rb
@@ -1,32 +1,31 @@ require 'formula'
-# TODO we shouldn't be installing .apps if there is an option
+class Exult <Formula
+ head 'http://exult.svn.sourceforge.ne... | Update Exult and use vorbis.
|
diff --git a/Casks/lastpass-universal.rb b/Casks/lastpass-universal.rb
index abc1234..def5678 100644
--- a/Casks/lastpass-universal.rb
+++ b/Casks/lastpass-universal.rb
@@ -0,0 +1,8 @@+class LastpassUniversal < Cask
+ url 'https://lastpass.com/lpmacosx.dmg'
+ homepage 'https://lastpass.com/'
+ version '2.5.0'
+ sha... | Add Cask for LastPass Universal Mac OS X
This patch adds support for the LastPass Universal
Installer for Mac, which is a .dmg containing
all of the LastPass browser extensions.
|
diff --git a/core/db/migrate/20130319082943_change_adjustments_amount_precision.rb b/core/db/migrate/20130319082943_change_adjustments_amount_precision.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20130319082943_change_adjustments_amount_precision.rb
+++ b/core/db/migrate/20130319082943_change_adjustments_amo... | Change in amount precision for spree adjustments
Fixes #2715
Fixes #2716
|
diff --git a/db/data_migration/20161206120331_remove_stats_dataset_relationship.rb b/db/data_migration/20161206120331_remove_stats_dataset_relationship.rb
index abc1234..def5678 100644
--- a/db/data_migration/20161206120331_remove_stats_dataset_relationship.rb
+++ b/db/data_migration/20161206120331_remove_stats_dataset... | Remove relationship to stats data set
This DfT publication has an association to a statistical data set
from DCLG on a completely irrelevant subject. We're assuming this
is not intended. The data set is also superseded so remove the
relationship.
|
diff --git a/big_decimal_helper.gemspec b/big_decimal_helper.gemspec
index abc1234..def5678 100644
--- a/big_decimal_helper.gemspec
+++ b/big_decimal_helper.gemspec
@@ -15,6 +15,7 @@ gem.require_paths = ["lib"]
gem.version = BigDecimalHelper::VERSION
+ gem.add_development_dependency 'rake', '~> 0.9.2.2'
... | Add Rake to development dependencies so Bundler doesn't freak out
|
diff --git a/Casks/eclipse-jee-kepler.rb b/Casks/eclipse-jee-kepler.rb
index abc1234..def5678 100644
--- a/Casks/eclipse-jee-kepler.rb
+++ b/Casks/eclipse-jee-kepler.rb
@@ -3,8 +3,12 @@ sha256 'd18c5b4249a782a36c2d7bb377871393acd5dd552a195fc49b5b944f04874fbf'
url 'http://www.eclipse.org/downloads/download.php?fi... | Add depends_on & name stanzas to EclipseJEE Kepler |
diff --git a/fcc_reboot.gemspec b/fcc_reboot.gemspec
index abc1234..def5678 100644
--- a/fcc_reboot.gemspec
+++ b/fcc_reboot.gemspec
@@ -3,7 +3,7 @@
Gem::Specification.new do |gem|
gem.add_dependency 'faraday', '~> 0.7'
- gem.add_dependency 'faraday_middleware', '~> 0.7'
+ gem.add_dependency 'faraday_middleware'... | Update faraday_middleware dependnacy to 0.8
|
diff --git a/test/test_wepay_rails_initialize.rb b/test/test_wepay_rails_initialize.rb
index abc1234..def5678 100644
--- a/test/test_wepay_rails_initialize.rb
+++ b/test/test_wepay_rails_initialize.rb
@@ -1,6 +1,6 @@ require File.expand_path(File.dirname(__FILE__) + '/helper')
-class TestWepayRails < ActiveSupport::T... | Change name of test class and change local variables into object variables for clarity.
|
diff --git a/spec/controllers/dashboard_spec.rb b/spec/controllers/dashboard_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/dashboard_spec.rb
+++ b/spec/controllers/dashboard_spec.rb
@@ -3,7 +3,7 @@ describe DashboardController do
include Devise::Test::ControllerHelpers
- render_views
+ # render_vi... | Comment out part of test that breaks in test ENV (for now)
|
diff --git a/test/unit/vagrant/util/numeric_test.rb b/test/unit/vagrant/util/numeric_test.rb
index abc1234..def5678 100644
--- a/test/unit/vagrant/util/numeric_test.rb
+++ b/test/unit/vagrant/util/numeric_test.rb
@@ -0,0 +1,21 @@+require File.expand_path("../../../base", __FILE__)
+
+require "vagrant/util/numeric"
+
+d... | Include unit test for numeric class
|
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api_controller.rb
+++ b/app/controllers/api_controller.rb
@@ -6,7 +6,7 @@ json = request.body.read
begin
ProjectImporter.import json
- render :text => "ok"
+ r... | Add newline, so shell doesn't get confused when calling via curl.
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,2 +1,11 @@ module ApplicationHelper
+
+ def start_day_time(timeslot)
+ Time.zone.at(timeslot.start).strftime("%A at %... | Refactor Timeslot date format methods to helper
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -11,6 +11,6 @@
def content_for_title(title)
provide(:title, title)
- content_for(:screen_title) { content_tag(:h... | Add center tag so titles are centered
|
diff --git a/app/mailers/new_request_mailer.rb b/app/mailers/new_request_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/new_request_mailer.rb
+++ b/app/mailers/new_request_mailer.rb
@@ -2,7 +2,9 @@ def notify(request, user)
subject = "#{request.requester.first_name} needs a neighbor!"
merge_vars ... | Include vars to be sent over to mail template
|
diff --git a/spec/server/models/address_spec.rb b/spec/server/models/address_spec.rb
index abc1234..def5678 100644
--- a/spec/server/models/address_spec.rb
+++ b/spec/server/models/address_spec.rb
@@ -2,9 +2,10 @@
class AddressSpec < Skr::TestCase
- it "can be instantiated" do
- model = Address.new
- ... | Test to_s method on address
|
diff --git a/spec/tic_tac_toe/core/game_spec.rb b/spec/tic_tac_toe/core/game_spec.rb
index abc1234..def5678 100644
--- a/spec/tic_tac_toe/core/game_spec.rb
+++ b/spec/tic_tac_toe/core/game_spec.rb
@@ -14,7 +14,8 @@ end
def test_game
- TicTacToe::Core::Game.new_game(board).tap do |game|
+ TicTacToe::Core::G... | Make the game test use new instead of new_game
This way the new_game constructor can not take an injected board.
Currently it's sort of confusing that new game takes a board since it
also calls reset. If only new takes an injected board though, then this
confustion will go away because new_game won't allow you to set ... |
diff --git a/ReactiveReSwift.podspec b/ReactiveReSwift.podspec
index abc1234..def5678 100644
--- a/ReactiveReSwift.podspec
+++ b/ReactiveReSwift.podspec
@@ -10,7 +10,7 @@ "Charlotte Tortorella" => "charlotte@monadic.consulting"
}
s.source = {
- :git => "https://github.com/ReSwift/ReactiveReSwift... | Fix issue in podspec github url.
Fixed lint warning "WARN | github_sources: Github repositories should end in `.git`.", added `.git`.
|
diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/root_controller.rb
+++ b/app/controllers/root_controller.rb
@@ -1,5 +1,5 @@ class RootController < ApplicationController
def index
- redirect_to Journey::SiteOptions.site_root(l... | Use temporary redirect in root/index, since destination may change soon
|
diff --git a/app/presenters/manual_presenter.rb b/app/presenters/manual_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/manual_presenter.rb
+++ b/app/presenters/manual_presenter.rb
@@ -3,27 +3,12 @@ @manual = manual
end
- def title
- manual.title
- end
-
- def summary
- manual.summary
... | Use `delegate` instead of explicit delegation
This commit makes ManualPresenter consistent with SectionPresenter by
using the same delegation style introduced in 20cd0833.
|
diff --git a/app/serializers/item_serializer.rb b/app/serializers/item_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/item_serializer.rb
+++ b/app/serializers/item_serializer.rb
@@ -1,5 +1,5 @@ class ItemSerializer < ActiveModel::Serializer
- attributes :id, :title, :ward, :number
+ attributes :id,... | Add Recommendations & Sections To Item Serializer
|
diff --git a/app/controllers/day_controller.rb b/app/controllers/day_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/day_controller.rb
+++ b/app/controllers/day_controller.rb
@@ -2,6 +2,8 @@ get '/:date?', authentication: true do |date_string|
@date_string = date_string || Date.today.to_s
... | Refactor routes by adding after filter
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -4,13 +4,13 @@ content_tag(:i, '', :class => "icon-#{icon} #{size > 1 ? "icon-#{size}x" : nil} #{classes}".strip)
end... | Update badge helper to customize CSS class
|
diff --git a/app/models/gobierto_plans/node.rb b/app/models/gobierto_plans/node.rb
index abc1234..def5678 100644
--- a/app/models/gobierto_plans/node.rb
+++ b/app/models/gobierto_plans/node.rb
@@ -4,6 +4,8 @@
module GobiertoPlans
class Node < ApplicationRecord
+ include GobiertoCommon::Moderable
+
has_and_... | Add moderable concern to GobiertoPlans::Node
|
diff --git a/app/models/survey_response_map.rb b/app/models/survey_response_map.rb
index abc1234..def5678 100644
--- a/app/models/survey_response_map.rb
+++ b/app/models/survey_response_map.rb
@@ -2,6 +2,7 @@ # The reviewed_object id is either assignment or course id;
# The reviewer_id is either assignment participant... | Add a comment to explain how global survey works.
|
diff --git a/lib/lokalebasen_settings_client/settings_cache.rb b/lib/lokalebasen_settings_client/settings_cache.rb
index abc1234..def5678 100644
--- a/lib/lokalebasen_settings_client/settings_cache.rb
+++ b/lib/lokalebasen_settings_client/settings_cache.rb
@@ -27,6 +27,8 @@ @cache[:value]
end
+ private
... | Make cache validity check private
|
diff --git a/lib/mongoid/collections/operations.rb b/lib/mongoid/collections/operations.rb
index abc1234..def5678 100644
--- a/lib/mongoid/collections/operations.rb
+++ b/lib/mongoid/collections/operations.rb
@@ -15,6 +15,7 @@ :index_information,
:map_reduce,
:mapreduce,
+ :stats,
... | Return stats on the collection
|
diff --git a/lib/tasks/fix_missing_wiki_repos.rake b/lib/tasks/fix_missing_wiki_repos.rake
index abc1234..def5678 100644
--- a/lib/tasks/fix_missing_wiki_repos.rake
+++ b/lib/tasks/fix_missing_wiki_repos.rake
@@ -0,0 +1,14 @@+desc "Creates missing wiki repositories"
+task :fix_missing_wiki_repos => :environment do
+ r... | Add task to fix missing wiki repos
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -19,6 +19,10 @@ require "support/replica_set_simulator"
require "support/stats"
+# Log to a StringIO instance to make sure no exceptions are rasied by our
+# logging code.
+Mope... | Enable (silent) logging in test suite.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -22,6 +22,7 @@ # Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f... | Load Kaminari gem's spec/support files
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,7 @@ require 'simplecov'
+if ENV.fetch('CIRCLE_ARTIFACTS', nil)
+ SimpleCov.coverage_dir File.join(ENV['CIRCLE_ARTIFACTS'], 'coverage')
+end
SimpleCov.start if ENV.fetch(... | :nail_care: Set coverage directory for CircleCI
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,6 +11,6 @@ I18n.load_path = Dir['spec/i18n/*.yml']
RSpec.configure do |config|
- config.filter_run_including focus: true
+ config.filter_run :focus
config.run_all_when_... | Update RSpec's 'filter_run' config syntax |
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -24,6 +24,7 @@ SimpleCov.start do
add_filter "/lib/textris.rb"
add_filter "/spec/"
+ add_filter "vendor"
end
end
| Add vendor filter for proper CI coverage
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,4 @@ require_relative '../lib/story_branch'
-require 'pry'
RSpec.configure do |config|
# some (optional) config here
| Remove require on undeclared dependency, pry.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,6 +4,9 @@ require 'vcr'
require "factory_girl_rails"
require 'blacklight'
+require 'dotenv'
+Dotenv.load
+
FactoryGirl.find_definitions
ENV['RAILS_ENV'] ||= 'test'
| Update rspec helper to load dotenv variables (thanks, Alan)
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,10 +1,9 @@ require 'bundler'
Bundler.setup(:default, :test)
+require 'howrah_renderer'
require 'rspec'
require 'rspec/autorun'
-require 'howrah_renderer'
-
# gems
require... | Revert "initial commit - very few specs"
This reverts commit 36d046967608439307f862cdfc3d525d17903e6b.
|
diff --git a/lib/kakasi/platform.rb b/lib/kakasi/platform.rb
index abc1234..def5678 100644
--- a/lib/kakasi/platform.rb
+++ b/lib/kakasi/platform.rb
@@ -27,7 +27,7 @@
DEFLIBPATH =
begin
- [RbConfig::CONFIG['libir']] |
+ [RbConfig::CONFIG['libdir']] |
case RbConfig::CONFIG['host_os'... | Fix a typo and narrow the begin block that hid the typo.
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -18,7 +18,7 @@
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my'... | Change default locale to english
|
diff --git a/lib/mellon/keychain.rb b/lib/mellon/keychain.rb
index abc1234..def5678 100644
--- a/lib/mellon/keychain.rb
+++ b/lib/mellon/keychain.rb
@@ -30,13 +30,12 @@
def initialize(path)
@path = path
+ @name = File.basename(path, ".keychain")
end
attr_reader :path
+ attr_reader :name... | Make name a precomputed attribute for nicer inspects |
diff --git a/lib/plugins/soundk.rb b/lib/plugins/soundk.rb
index abc1234..def5678 100644
--- a/lib/plugins/soundk.rb
+++ b/lib/plugins/soundk.rb
@@ -10,14 +10,14 @@ match /(help soundk)$/, method: :help
def execute(m)
- page = Nokogiri::HTML(open('http://www.arirang.co.kr/Radio/Radio_MessageBoard.... | Update SoundK plugin (new source url)
|
diff --git a/lib/puffery/client.rb b/lib/puffery/client.rb
index abc1234..def5678 100644
--- a/lib/puffery/client.rb
+++ b/lib/puffery/client.rb
@@ -5,9 +5,9 @@
attr_accessor :url, :key
- def initialize(url, key)
- self.url = url
- self.key = key
+ def initialize(url = nil, key = nil)
+ sel... | Raise error if config vars are missing
|
diff --git a/lib/tunit/runnable.rb b/lib/tunit/runnable.rb
index abc1234..def5678 100644
--- a/lib/tunit/runnable.rb
+++ b/lib/tunit/runnable.rb
@@ -17,13 +17,13 @@ super
end
- class << self
- attr_accessor :order
- end
-
# Randomize tests by default
def self.order
@order ||= :r... | Remove accessor to quell ruby warnings
|
diff --git a/test/govuk_component/component_smoke_test.rb b/test/govuk_component/component_smoke_test.rb
index abc1234..def5678 100644
--- a/test/govuk_component/component_smoke_test.rb
+++ b/test/govuk_component/component_smoke_test.rb
@@ -0,0 +1,16 @@+require 'test_helper'
+
+class ComponentsTest < ActionView::TestCa... | Add component smoke testing, using fixtures
https://en.wikipedia.org/wiki/Smoke_testing_(software)
Each component has a set of fixture data that is used to generate
examples within govuk-component-guide, and show example usage.
Use this example data to run smoke test on each component, which
should give us increas... |
diff --git a/lib/sufeed/checksum.rb b/lib/sufeed/checksum.rb
index abc1234..def5678 100644
--- a/lib/sufeed/checksum.rb
+++ b/lib/sufeed/checksum.rb
@@ -5,10 +5,9 @@ module Sufeed
def self.checksum(url)
file = Tempfile.new('sufeed')
- redirected = location(url)
- puts "Redirected to #{redirected}" if url ... | Fix a bug that doesn't follow a redirect chain
|
diff --git a/docs/user_role_scripts/change_wikipedia_expert.rb b/docs/user_role_scripts/change_wikipedia_expert.rb
index abc1234..def5678 100644
--- a/docs/user_role_scripts/change_wikipedia_expert.rb
+++ b/docs/user_role_scripts/change_wikipedia_expert.rb
@@ -11,3 +11,10 @@ ce.user_id = new_id
ce.save
end
+
+# A... | Add script to add a Wikipedia expert to all courses for a campaign
|
diff --git a/roles/tilecache.rb b/roles/tilecache.rb
index abc1234..def5678 100644
--- a/roles/tilecache.rb
+++ b/roles/tilecache.rb
@@ -25,7 +25,7 @@ :network_conntrack_max => {
:comment => "Increase max number of connections tracked",
:parameters => {
- "net.netfilter.nf_conntrack_max" => "13... | Increase nf_conntrack_max for tile caches
|
diff --git a/spec/dummy/db/seeds.rb b/spec/dummy/db/seeds.rb
index abc1234..def5678 100644
--- a/spec/dummy/db/seeds.rb
+++ b/spec/dummy/db/seeds.rb
@@ -20,8 +20,8 @@ end
partner_user.partner.withdrawals.take(2).each { |withdrawal| withdrawal.update(created_at: 34.days.ago) }
# differentiate some statuses
- pa... | Update seed to use new service
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -24,6 +24,6 @@ protected
def deny_access(msg)
logger.warn "[#{Time.now.rfc2822}] U... | Improve redirection for access denied messages |
diff --git a/app/presenters/govspeak_body_presenter.rb b/app/presenters/govspeak_body_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/govspeak_body_presenter.rb
+++ b/app/presenters/govspeak_body_presenter.rb
@@ -35,8 +35,12 @@ end
def matching_attachment(filename)
- document.attachments.detec... | Improve Govspeak presenting with cached sanitising
This changes how we lookup atttachments from a big loop to instead a
cached hash. This improves performance on documents with large numbers
of attachments.
|
diff --git a/lib/cryptoexchange/exchanges/aex/services/pairs.rb b/lib/cryptoexchange/exchanges/aex/services/pairs.rb
index abc1234..def5678 100644
--- a/lib/cryptoexchange/exchanges/aex/services/pairs.rb
+++ b/lib/cryptoexchange/exchanges/aex/services/pairs.rb
@@ -4,8 +4,7 @@ class Pairs < Cryptoexchange::Service... | Remove deprecated base coin from aex
|
diff --git a/lib/dry/system/provider_sources/settings/loader.rb b/lib/dry/system/provider_sources/settings/loader.rb
index abc1234..def5678 100644
--- a/lib/dry/system/provider_sources/settings/loader.rb
+++ b/lib/dry/system/provider_sources/settings/loader.rb
@@ -1,6 +1,7 @@ # frozen_string_literal: true
require "d... | Add deprecation notice if dotenv is unavailable
|
diff --git a/simple_aws.gemspec b/simple_aws.gemspec
index abc1234..def5678 100644
--- a/simple_aws.gemspec
+++ b/simple_aws.gemspec
@@ -10,8 +10,8 @@ s.summary = "The simplest and easiest to use and maintain AWS communication library"
s.description = "The simplest and easiest to use and maintain AWS communica... | Swap out Ox for Nokogiri, specify versions
|
diff --git a/db/migrate/20150731225331_migrate_old_moved_posts.rb b/db/migrate/20150731225331_migrate_old_moved_posts.rb
index abc1234..def5678 100644
--- a/db/migrate/20150731225331_migrate_old_moved_posts.rb
+++ b/db/migrate/20150731225331_migrate_old_moved_posts.rb
@@ -0,0 +1,6 @@+class MigrateOldMovedPosts < Active... | Migrate old moved posts messages in English
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -12,5 +12,5 @@ end
chef_version '>= 12.0' if respond_to?(:chef_version)
supports 'debian'
-version '1.47.0'
-y
+
+version '1.49.0'
| Revert "Seems to be redundant, anyway"
This reverts commit 6410eb26a838b3abced105c1a8692ffae08026d7.
|
diff --git a/lib/activeadmin_addons/support/input_base.rb b/lib/activeadmin_addons/support/input_base.rb
index abc1234..def5678 100644
--- a/lib/activeadmin_addons/support/input_base.rb
+++ b/lib/activeadmin_addons/support/input_base.rb
@@ -16,7 +16,10 @@ end
def input_html_options
- super.merge(control... | Remove invalid html attributes for inputs
|
diff --git a/lib/aasm_with_fixes.rb b/lib/aasm_with_fixes.rb
index abc1234..def5678 100644
--- a/lib/aasm_with_fixes.rb
+++ b/lib/aasm_with_fixes.rb
@@ -1,14 +1,16 @@+module AASM
+ class StateMachine
+ def clone
+ klone = super
+ klone.states = states.clone
+ klone.events = events.clone
+ klone
... | Update monkey patch to work with AASM 2.0.5
|
diff --git a/carrierwave-aws.gemspec b/carrierwave-aws.gemspec
index abc1234..def5678 100644
--- a/carrierwave-aws.gemspec
+++ b/carrierwave-aws.gemspec
@@ -17,7 +17,7 @@ gem.require_paths = ['lib']
gem.add_dependency 'carrierwave', '>= 0.7', '< 2.0'
- gem.add_dependency 'aws-sdk', '~> 2.0'
+ gem.add_depen... | Update aws-sdk to ~> 2.1
Aws.eager_autoload! was introduced in 2.1.0 (#113) |
diff --git a/spec/chef/recipes/sidekiq_spec.rb b/spec/chef/recipes/sidekiq_spec.rb
index abc1234..def5678 100644
--- a/spec/chef/recipes/sidekiq_spec.rb
+++ b/spec/chef/recipes/sidekiq_spec.rb
@@ -10,6 +10,18 @@ context 'with default values' do
it 'correctly renders out the sidekiq service file' do
expe... | Add sidekiq specs - User specified values
|
diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/recipes/default_spec.rb
+++ b/spec/unit/recipes/default_spec.rb
@@ -2,7 +2,7 @@ # Cookbook:: winrm
# Spec:: default
#
-# Copyright:: 2017, The Authors, All Rights Reserved.
+# Copyright:: 2... | Fix the copyright in the spec
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/pay.rb b/lib/pay.rb
index abc1234..def5678 100644
--- a/lib/pay.rb
+++ b/lib/pay.rb
@@ -9,10 +9,14 @@ require_relative 'pay/subscription/braintree'
# Webhook processors
+require_relative 'pay/stripe/charge_refunded'
require_relative 'pay/stripe/charge_succeeded'
-require_relative 'pay/stripe/charge... | Load all stripe event webhooks
|
diff --git a/spec/factories/locations.rb b/spec/factories/locations.rb
index abc1234..def5678 100644
--- a/spec/factories/locations.rb
+++ b/spec/factories/locations.rb
@@ -1,7 +1,7 @@ FactoryGirl.define do
factory :location, aliases: [:location_country] do
- iso_code3 { (0...3).map { (65 + rand(26)).chr }.join }... | Replace factory rand with sequences
|
diff --git a/spec/features/users_spec.rb b/spec/features/users_spec.rb
index abc1234..def5678 100644
--- a/spec/features/users_spec.rb
+++ b/spec/features/users_spec.rb
@@ -0,0 +1,18 @@+require 'rails_helper'
+
+feature 'User Management' do
+
+ scenario 'register a new user' do
+ visit root_path
+ expect {
+ ... | Add regiester user feature test.
|
diff --git a/spec/reserved_words_spec.rb b/spec/reserved_words_spec.rb
index abc1234..def5678 100644
--- a/spec/reserved_words_spec.rb
+++ b/spec/reserved_words_spec.rb
@@ -8,6 +8,12 @@ describe '.list' do
it 'returns initial reserved words' do
expect(ReservedWords.list).to eq default_words
+ end
+
+ ... | Add spec to check duplicated reserved words
|
diff --git a/release/spec/postgres_upgrade.sh_spec.rb b/release/spec/postgres_upgrade.sh_spec.rb
index abc1234..def5678 100644
--- a/release/spec/postgres_upgrade.sh_spec.rb
+++ b/release/spec/postgres_upgrade.sh_spec.rb
@@ -9,8 +9,7 @@ FileUtils.touch 'tmp/store/postgres/postgresql.conf'
FileUtils.mkdir_p... | Set less permissive permissions to fix the build on Travis
[#114012649](https://www.pivotaltracker.com/story/show/114012649)
|
diff --git a/lib/hanami/cli_base.rb b/lib/hanami/cli_base.rb
index abc1234..def5678 100644
--- a/lib/hanami/cli_base.rb
+++ b/lib/hanami/cli_base.rb
@@ -1,8 +1,11 @@ module Hanami
module CliBase
- # Add new custom CLI command to special CLI class
+ # Add new custom CLI command to special CLI class.
+ # Plea... | Update documentation. Add private status for method.
|
diff --git a/lib/wotd.rb b/lib/wotd.rb
index abc1234..def5678 100644
--- a/lib/wotd.rb
+++ b/lib/wotd.rb
@@ -5,7 +5,6 @@ module Wotd
class Wotd
DAY_IN_SECONDS = 86_4000
- MONTH_IN_SECONDS = 2_688_000
attr_accessor :subreddit
@@ -14,12 +13,12 @@ end
def update
- top = reddit.top
+ ... | Set backoff timer after update
|
diff --git a/lib/liquid/document.rb b/lib/liquid/document.rb
index abc1234..def5678 100644
--- a/lib/liquid/document.rb
+++ b/lib/liquid/document.rb
@@ -1,15 +1,26 @@ # frozen_string_literal: true
module Liquid
- class Document < BlockBody
+ class Document
def self.parse(tokens, parse_context)
- doc = ne... | Use BlockBody from Document using composition rather than inheritence
This way liquid-c can more cleanly use a Liquid::C::BlockBody object
for the block body by overriding Liquid::Document#new_body.
|
diff --git a/lob.gemspec b/lob.gemspec
index abc1234..def5678 100644
--- a/lob.gemspec
+++ b/lob.gemspec
@@ -10,7 +10,7 @@ spec.email = ["akash@akash.im", "leore@lob.com"]
spec.description = %q{Lob API Ruby wrapper}
spec.summary = %q{Ruby wrapper for Lob.com API with ActiveRecord-style syntax}
-... | Update repo url in gemspec
|
diff --git a/log.gemspec b/log.gemspec
index abc1234..def5678 100644
--- a/log.gemspec
+++ b/log.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'log'
- s.version = '0.4.2.1'
+ s.version = '0.4.2.2'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
s... | Package version is increased from 0.4.2.1 to 0.4.2.2
|
diff --git a/lib/rafters/railtie.rb b/lib/rafters/railtie.rb
index abc1234..def5678 100644
--- a/lib/rafters/railtie.rb
+++ b/lib/rafters/railtie.rb
@@ -18,7 +18,7 @@ app.config.autoload_paths += Dir[app.root.join("app", "components", "*/")]
end
- config.after_initialize do |app|
+ initializer "register.prep... | Move preprocessor registration into an initializer
|
diff --git a/lib/legal_markdown/legal_to_markdown/writer.rb b/lib/legal_markdown/legal_to_markdown/writer.rb
index abc1234..def5678 100644
--- a/lib/legal_markdown/legal_to_markdown/writer.rb
+++ b/lib/legal_markdown/legal_to_markdown/writer.rb
@@ -6,7 +6,7 @@ require 'json' if writer == :jason
if @output_file... | Fix write issue with 1.9.2
|
diff --git a/lib/modules/trade/rebuild_compliance_mviews.rb b/lib/modules/trade/rebuild_compliance_mviews.rb
index abc1234..def5678 100644
--- a/lib/modules/trade/rebuild_compliance_mviews.rb
+++ b/lib/modules/trade/rebuild_compliance_mviews.rb
@@ -0,0 +1,44 @@+module Trade::RebuildComplianceMviews
+ def self.run
+ ... | Create module to rebuild compliance mviews
|
diff --git a/lib/paperclip_processors/metadata_extractor.rb b/lib/paperclip_processors/metadata_extractor.rb
index abc1234..def5678 100644
--- a/lib/paperclip_processors/metadata_extractor.rb
+++ b/lib/paperclip_processors/metadata_extractor.rb
@@ -7,7 +7,15 @@ # add values to the attachment instance (for db pers... | Add documentation for paperclip post processor and ensuring the attachment instance is saved when using background paperclip processing. |
diff --git a/app/helpers/app_frame/pagination_helper.rb b/app/helpers/app_frame/pagination_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/app_frame/pagination_helper.rb
+++ b/app/helpers/app_frame/pagination_helper.rb
@@ -7,6 +7,6 @@ range_end = (page) * per_page
range_end = count if range_end > cou... | Use divs instead of paragraphs for pagination results
|
diff --git a/app/controllers/oauth2/users_controller.rb b/app/controllers/oauth2/users_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/oauth2/users_controller.rb
+++ b/app/controllers/oauth2/users_controller.rb
@@ -20,7 +20,11 @@ end
def ensure_token!
- unless token = params[:access_token] |... | Support bearer token in header |
diff --git a/app/overrides/add_ads_to_admin_menu_tab.rb b/app/overrides/add_ads_to_admin_menu_tab.rb
index abc1234..def5678 100644
--- a/app/overrides/add_ads_to_admin_menu_tab.rb
+++ b/app/overrides/add_ads_to_admin_menu_tab.rb
@@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/admin/shared/_menu",
... | Change icon on the admin ad menu
|
diff --git a/app/services/diba_authorization_handler.rb b/app/services/diba_authorization_handler.rb
index abc1234..def5678 100644
--- a/app/services/diba_authorization_handler.rb
+++ b/app/services/diba_authorization_handler.rb
@@ -45,6 +45,7 @@ def api_handler
@api_handler ||= DibaCensusApiAuthorizationHandler... | Fix combined AuthorizationHandler for API
API AuthorizationHandler was not working when combined with the
CensusData one. A parameter was not being initialized.
|
diff --git a/webrtc-ios.podspec b/webrtc-ios.podspec
index abc1234..def5678 100644
--- a/webrtc-ios.podspec
+++ b/webrtc-ios.podspec
@@ -10,4 +10,10 @@ s.source_files = "include/**/*.h"
s.vendored_libraries = "lib/*.a"
s.requires_arc = false
+ s.library = 'sqlite3', 'stdc++'
+ s.framework = 'AVFoundation', 'A... | Add library/framework dependancies and and linker flags for GNU C++ standard library and forcing armv7. |
diff --git a/app/tasks/import_contacts/more_info_url.rb b/app/tasks/import_contacts/more_info_url.rb
index abc1234..def5678 100644
--- a/app/tasks/import_contacts/more_info_url.rb
+++ b/app/tasks/import_contacts/more_info_url.rb
@@ -3,7 +3,7 @@ include Virtus.value_object
class MarkdownRenderer
- URL_PA... | Fix for URL formatting from MarkdownRenderer
From https://www.pivotaltracker.com/story/show/66658408.
URL title and URL were the wrong way round on import.
|
diff --git a/app/views/api/v1/taxon_concepts/index.rabl b/app/views/api/v1/taxon_concepts/index.rabl
index abc1234..def5678 100644
--- a/app/views/api/v1/taxon_concepts/index.rabl
+++ b/app/views/api/v1/taxon_concepts/index.rabl
@@ -21,6 +21,7 @@ node(:cites_listings, if: :is_accepted_name?) { |tc|
tc.current_ci... | Add CITES listing id within the cites_listings node
|
diff --git a/app/controllers/api/v1/projects_controller.rb b/app/controllers/api/v1/projects_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/projects_controller.rb
+++ b/app/controllers/api/v1/projects_controller.rb
@@ -1,10 +1,10 @@ class Api::V1::ProjectsController < Api::V1::BaseController
-... | Tweak projects api to show admins all projects, not just 'their 'projects
|
diff --git a/lib/slugger/history.rb b/lib/slugger/history.rb
index abc1234..def5678 100644
--- a/lib/slugger/history.rb
+++ b/lib/slugger/history.rb
@@ -12,7 +12,7 @@
def set_slug_history
if self.slugger[:slug_was] && (self.slugger[:slug_was] != self.slug || self.destroyed?)
- Slugger::Slug.cr... | Use class name instead of to_s.
|
diff --git a/Casks/radiant-player.rb b/Casks/radiant-player.rb
index abc1234..def5678 100644
--- a/Casks/radiant-player.rb
+++ b/Casks/radiant-player.rb
@@ -1,7 +1,7 @@ class RadiantPlayer < Cask
- url 'https://github.com/kbhomes/google-music-mac/releases/download/v1.1.3/Radiant.Player.zip'
+ url 'https://github.com/... | Upgrade Radiant Player app to v1.2 |
diff --git a/lib/tasks/fullapp.rake b/lib/tasks/fullapp.rake
index abc1234..def5678 100644
--- a/lib/tasks/fullapp.rake
+++ b/lib/tasks/fullapp.rake
@@ -1,6 +1,7 @@ # frozen_string_literal: true
require 'rubocop/rake_task'
+
namespace :lca do
desc 'Run full Rspec and Jest test suites'
task test: [:spec, 'lca:... | Rearrange rake tasks a bit
|
diff --git a/lib/tictactoe_board.rb b/lib/tictactoe_board.rb
index abc1234..def5678 100644
--- a/lib/tictactoe_board.rb
+++ b/lib/tictactoe_board.rb
@@ -0,0 +1,34 @@+$: << File.dirname(__FILE__)
+
+class TictactoeBoard
+
+ attr_accessor :board, :turn
+ attr_reader :desc, :valid_slots
+
+
+ def initialize (board = Ar... | Add new file for tictactoeboard
|
diff --git a/lib/controllers/print.rb b/lib/controllers/print.rb
index abc1234..def5678 100644
--- a/lib/controllers/print.rb
+++ b/lib/controllers/print.rb
@@ -6,7 +6,8 @@
save_and_generate_pdf html
- send_file "#{full_path_name}.pdf", filename: "#{name}.pdf"
+ # send_file
+ send_data File.rea... | Use send_data instead of send_file
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,4 +1,4 @@-name "cookbook-omnibus-openstack"
+name "omnibus-openstack"
maintainer "Craig Tracey <craigtracey@gmail.com>"
license "Apache 2.0"
description "Coo... | Rename the cookbook so that berks is happy
Seems that with berks 3 you need parity between the cookbook name and
the Berksfile. So, rename it here.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -3,9 +3,14 @@ maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
description 'Installs/Configures yum-repoforge'
+long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.5.3'... | Add OS support and long_description
|
diff --git a/opendns-dnsdb.gemspec b/opendns-dnsdb.gemspec
index abc1234..def5678 100644
--- a/opendns-dnsdb.gemspec
+++ b/opendns-dnsdb.gemspec
@@ -7,6 +7,7 @@ gem.description = "Client library for the OpenDNS Security Graph"
gem.summary = gem.description
gem.homepage = "https://github.com/jedisct... | Add license to the gemspec file
|
diff --git a/cookbooks/cicd_infrastructure/metadata.rb b/cookbooks/cicd_infrastructure/metadata.rb
index abc1234..def5678 100644
--- a/cookbooks/cicd_infrastructure/metadata.rb
+++ b/cookbooks/cicd_infrastructure/metadata.rb
@@ -7,7 +7,5 @@ # long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
ver... | Remove dependences for other modules
|
diff --git a/cookbooks/zookeeper/attributes/default.rb b/cookbooks/zookeeper/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/zookeeper/attributes/default.rb
+++ b/cookbooks/zookeeper/attributes/default.rb
@@ -1,9 +1,9 @@ default[:zookeeper][:version] = "3.3.4"
-default[:zookeeper][:installDir] = "... | Move installdir to /opt/zookeeper and make snapshotdir inside of whatever datadir is
|
diff --git a/core/spec/acceptance/approve_user_spec.rb b/core/spec/acceptance/approve_user_spec.rb
index abc1234..def5678 100644
--- a/core/spec/acceptance/approve_user_spec.rb
+++ b/core/spec/acceptance/approve_user_spec.rb
@@ -30,4 +30,12 @@
current_url.should_not equal old_url
end
+
+ it 'shows "account al... | Check if notice appears on login page
After being redirected from the initial account setup (password reset with message) a message should appear informing the user about the already set up account.
|
diff --git a/app/services/slack_message_services/remind_members_who_forget_ordering.rb b/app/services/slack_message_services/remind_members_who_forget_ordering.rb
index abc1234..def5678 100644
--- a/app/services/slack_message_services/remind_members_who_forget_ordering.rb
+++ b/app/services/slack_message_services/remin... | Remove useless private access modifier at service
|
diff --git a/spec/models/establishment_spec.rb b/spec/models/establishment_spec.rb
index abc1234..def5678 100644
--- a/spec/models/establishment_spec.rb
+++ b/spec/models/establishment_spec.rb
@@ -1,6 +1,71 @@ require 'rails_helper'
-
+#All Validation And Association Test Complete
describe Establishment do
-
+ let(:e... | Add Establishme Model Validation And Association Tests
|
diff --git a/spec/freddy/sync_response_container_spec.rb b/spec/freddy/sync_response_container_spec.rb
index abc1234..def5678 100644
--- a/spec/freddy/sync_response_container_spec.rb
+++ b/spec/freddy/sync_response_container_spec.rb
@@ -39,6 +39,7 @@ end
describe '#wait_for_response' do
+ let(:timeout) { 2 }
... | Use timeout variable instead of arbitrary integer
|
diff --git a/db/migrate/20080808192921_update_sites.rb b/db/migrate/20080808192921_update_sites.rb
index abc1234..def5678 100644
--- a/db/migrate/20080808192921_update_sites.rb
+++ b/db/migrate/20080808192921_update_sites.rb
@@ -0,0 +1,19 @@+class UpdateSites < ActiveRecord::Migration
+ def self.up
+ change_table :... | Add features to sites table.
|
diff --git a/spec/factories/kalibro_configurations.rb b/spec/factories/kalibro_configurations.rb
index abc1234..def5678 100644
--- a/spec/factories/kalibro_configurations.rb
+++ b/spec/factories/kalibro_configurations.rb
@@ -15,5 +15,10 @@ name "Perl"
description "Code metrics for Perl."
end
+
+ fa... | Revert "Remove unused factory for KalibroConfiguration"
This reverts commit 391258e0397d492831cc76cf481f12e90bdbb634.
Signed off by: Heitor Reis <marcheing@gmail.com>
|
diff --git a/spec/github_cli/commands/merging_spec.rb b/spec/github_cli/commands/merging_spec.rb
index abc1234..def5678 100644
--- a/spec/github_cli/commands/merging_spec.rb
+++ b/spec/github_cli/commands/merging_spec.rb
@@ -0,0 +1,17 @@+# encoding: utf-8
+
+require 'spec_helper'
+
+describe GithubCLI::Commands::Mergin... | Add specs for merge command.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.