diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/app/controllers/concerns/klasses_displayable.rb b/app/controllers/concerns/klasses_displayable.rb index abc1234..def5678 100644 --- a/app/controllers/concerns/klasses_displayable.rb +++ b/app/controllers/concerns/klasses_displayable.rb @@ -14,6 +14,7 @@ def set_lectures set_klass - @lectures = ...
Apply current_term scope to KlassesDisplayable
diff --git a/app/models/biblio_commons_title_content_item.rb b/app/models/biblio_commons_title_content_item.rb index abc1234..def5678 100644 --- a/app/models/biblio_commons_title_content_item.rb +++ b/app/models/biblio_commons_title_content_item.rb @@ -35,7 +35,7 @@ end def glyphicon - case format + case s...
Fix bug where attribute was mistaken for Kernel method.
diff --git a/app/validators/variable_duplicates_validator.rb b/app/validators/variable_duplicates_validator.rb index abc1234..def5678 100644 --- a/app/validators/variable_duplicates_validator.rb +++ b/app/validators/variable_duplicates_validator.rb @@ -6,7 +6,7 @@ class VariableDuplicatesValidator < ActiveModel::EachVa...
Disable public send cop in variables duplicates validator
diff --git a/spec/functions/cidr_to_range_spec.rb b/spec/functions/cidr_to_range_spec.rb index abc1234..def5678 100644 --- a/spec/functions/cidr_to_range_spec.rb +++ b/spec/functions/cidr_to_range_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe 'cidr_to_range' do - cidr = '192.168.1.0/29' + let (:cidr) { '1...
Add test case for a /32 cidr. This should return an empty set.
diff --git a/spec/informant-rails/railtie_spec.rb b/spec/informant-rails/railtie_spec.rb index abc1234..def5678 100644 --- a/spec/informant-rails/railtie_spec.rb +++ b/spec/informant-rails/railtie_spec.rb @@ -26,12 +26,12 @@ end context '#valid?' do - let(:save_action) { :save } + let(:save_action)...
Fix save actions in railtie spec
diff --git a/spec/lib/udongo/configs/i18n_spec.rb b/spec/lib/udongo/configs/i18n_spec.rb index abc1234..def5678 100644 --- a/spec/lib/udongo/configs/i18n_spec.rb +++ b/spec/lib/udongo/configs/i18n_spec.rb @@ -0,0 +1,21 @@+require 'rails_helper' + +describe Udongo::Configs::I18n do + let(:klass) { described_class } + +...
Add spec for the i18n config.
diff --git a/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb b/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb index abc1234..def5678 100644 --- a/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +++ b/lib/active_merchant/billing/gateways/paypal/paypal...
Access to more PaypalExpressResponse variables git-svn-id: 15afb6ebb5ffcaa0dbaaa80925839866918ea29e@329 6513ea26-6c20-0410-8a68-89cd7235086d
diff --git a/TZImagePickerController.podspec b/TZImagePickerController.podspec index abc1234..def5678 100644 --- a/TZImagePickerController.podspec +++ b/TZImagePickerController.podspec @@ -11,5 +11,5 @@ s.requires_arc = true s.resources = "TZImagePickerController/TZImagePickerController/*.{png,bundle}" s.sou...
Fix warning: MobileCoreServices has been renamed
diff --git a/src/supermarket/spec/api/status_spec.rb b/src/supermarket/spec/api/status_spec.rb index abc1234..def5678 100644 --- a/src/supermarket/spec/api/status_spec.rb +++ b/src/supermarket/spec/api/status_spec.rb @@ -2,13 +2,13 @@ describe 'GET /status' do it 'returns a 200' do - get 'status' + get '/sta...
Include a slash in the request specs for the status endpoint. Signed-off-by: Robb Kidd <11cd4f9ba93acb67080ee4dad8d03929f9e64bf2@chef.io>
diff --git a/coverband.gemspec b/coverband.gemspec index abc1234..def5678 100644 --- a/coverband.gemspec +++ b/coverband.gemspec @@ -20,7 +20,7 @@ spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake" - spec.add_development_dependency "mocha" + spec.add_development_dependen...
Add optimistic Mocha version constraint of 0.14.x.
diff --git a/spec/adminable/presenters/entry_spec.rb b/spec/adminable/presenters/entry_spec.rb index abc1234..def5678 100644 --- a/spec/adminable/presenters/entry_spec.rb +++ b/spec/adminable/presenters/entry_spec.rb @@ -0,0 +1,10 @@+describe Adminable::Presenters::Entry do + let(:user) { FactoryGirl.create(:user) } +...
Add specs for entry presenter
diff --git a/spec/integration/veritas/relation/operation/insertion/optimize_spec.rb b/spec/integration/veritas/relation/operation/insertion/optimize_spec.rb index abc1234..def5678 100644 --- a/spec/integration/veritas/relation/operation/insertion/optimize_spec.rb +++ b/spec/integration/veritas/relation/operation/insert...
Add comment to spec to make sure it's clear what the right rename should be * This example checks to make sure that the UnoptimizedOperands optimizer is running properly and simplified the right branch by factoring out the rename operation (since it is a rename, then an inverted rename, each cancelling the other...
diff --git a/benchmarks/speed_profile.rb b/benchmarks/speed_profile.rb index abc1234..def5678 100644 --- a/benchmarks/speed_profile.rb +++ b/benchmarks/speed_profile.rb @@ -0,0 +1,26 @@+require 'benchmark/ips' +require 'verse' + +text = "Ignorance is the parent of fear." + +Benchmark.ips do |x| + x.report('wrap') do +...
Add benchmarks to profile wrap & truncate speeds.
diff --git a/Library/Mestral/mestral/repository.rb b/Library/Mestral/mestral/repository.rb index abc1234..def5678 100644 --- a/Library/Mestral/mestral/repository.rb +++ b/Library/Mestral/mestral/repository.rb @@ -21,7 +21,7 @@ def initialize(path) @path = File.expand_path path Dir.chdir @path do - @git...
Fix GIT_DIR detection in Repository
diff --git a/cardboard.gemspec b/cardboard.gemspec index abc1234..def5678 100644 --- a/cardboard.gemspec +++ b/cardboard.gemspec @@ -6,6 +6,7 @@ gem.description = "Development tools for Boxen's puppet modules." gem.summary = "Development dependencies for the ecosystem." gem.homepage = "https://gith...
Add license to gemspec, is MIT
diff --git a/test/integration/events_test.rb b/test/integration/events_test.rb index abc1234..def5678 100644 --- a/test/integration/events_test.rb +++ b/test/integration/events_test.rb @@ -3,19 +3,21 @@ # :stopdoc: class EventsTest < ActionController::IntegrationTest def test_index - FactoryGirl.create(:event) -...
Fix year boundary test failure
diff --git a/spec/controllers/cards_controller_spec.rb b/spec/controllers/cards_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/cards_controller_spec.rb +++ b/spec/controllers/cards_controller_spec.rb @@ -2,4 +2,24 @@ RSpec.describe CardsController, type: :controller do + descripe 'POST cre...
Add pending tests for cards controller
diff --git a/spec/controllers/hosts_controller_spec.rb b/spec/controllers/hosts_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/hosts_controller_spec.rb +++ b/spec/controllers/hosts_controller_spec.rb @@ -2,7 +2,7 @@ describe HostsController do describe '#index' do - let(:site) { creat...
Remove last with_default_host trait usage This trait was removed in 200e6db, but this instance was missed.
diff --git a/app/contexts/merge_requests_load_context.rb b/app/contexts/merge_requests_load_context.rb index abc1234..def5678 100644 --- a/app/contexts/merge_requests_load_context.rb +++ b/app/contexts/merge_requests_load_context.rb @@ -9,7 +9,7 @@ merge_requests = case type when 'all' then me...
Fix missing assigned_to renaming in 2e839ce fixes #4360.
diff --git a/app/controllers/email_signups_controller.rb b/app/controllers/email_signups_controller.rb index abc1234..def5678 100644 --- a/app/controllers/email_signups_controller.rb +++ b/app/controllers/email_signups_controller.rb @@ -3,6 +3,15 @@ def new return error_404 unless subtopic.present? + + set_...
Add breadcrumps to the email signup page This uses the dummy artefact pattern to add breadcrumbs to the email subscription page for a sub-topic, linking back to the topic and sub-topic, so that users can find their way back to the sub-topic if they do not wish to subscribe to email alerts.
diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/organizations_controller.rb +++ b/app/controllers/organizations_controller.rb @@ -4,7 +4,12 @@ def create @organization = Organization.new organization_params...
Fix the representer for the new org page
diff --git a/app/inputs/unscoped_has_many_token_input.rb b/app/inputs/unscoped_has_many_token_input.rb index abc1234..def5678 100644 --- a/app/inputs/unscoped_has_many_token_input.rb +++ b/app/inputs/unscoped_has_many_token_input.rb @@ -0,0 +1,15 @@+class UnscopedHasManyTokenInput < Formtastic::Inputs::StringInput + + ...
Allow unscoped has many for custom forms
diff --git a/color-decomposition.gemspec b/color-decomposition.gemspec index abc1234..def5678 100644 --- a/color-decomposition.gemspec +++ b/color-decomposition.gemspec @@ -14,8 +14,10 @@ spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test)/}) end + spec.required_ruby_version ...
Add ruby required ruby version and test dependency
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -31,9 +31,21 @@ has_many :shippers, through: :order + after_create :set_account_number, if: "account_number.blank?" # NOTE: Others available Devise modules: # :confirmab...
Add methods to generate and set account number on signup
diff --git a/config/deploy/production.rb b/config/deploy/production.rb index abc1234..def5678 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,6 +1,7 @@ set :stage, :production -set :user, 'root' +set :user, 'deployer' +set :use_sudo, false role :app, '162.243.221.218' role :web, '...
Deploy with deployer user not root.
diff --git a/13_optimal_seating.rb b/13_optimal_seating.rb index abc1234..def5678 100644 --- a/13_optimal_seating.rb +++ b/13_optimal_seating.rb @@ -0,0 +1,64 @@+class PeopleMatrix + def initialize(pairs) + @matrix = Hash.new { |h, k| h[k] = Hash.new(0) } + + pairs.each { |p1, p2, happiness| + @matrix[p1][p...
Add day 13: Optimal Seating
diff --git a/api/config/initializers/doorkeeper.rb b/api/config/initializers/doorkeeper.rb index abc1234..def5678 100644 --- a/api/config/initializers/doorkeeper.rb +++ b/api/config/initializers/doorkeeper.rb @@ -10,6 +10,10 @@ user if user&.valid_for_authentication? { user.valid_password?(params[:password]) } e...
Allow only users with role admin to access Oauth applications management panel
diff --git a/cask/dropdmg.rb b/cask/dropdmg.rb index abc1234..def5678 100644 --- a/cask/dropdmg.rb +++ b/cask/dropdmg.rb @@ -1,9 +1,9 @@ cask :v1 => 'dropdmg' do - version '3.2.6' + version '3.2.7' app 'DropDMG.app' - sha256 '8e07cdeef08db9f32f150c76e3145ca1b8ed131f9d8132d739ee90126da9a88e' + sha256 '5f27c67364cef656...
Update DropDMG cask for 3.2.7
diff --git a/app/controllers/manuals_controller.rb b/app/controllers/manuals_controller.rb index abc1234..def5678 100644 --- a/app/controllers/manuals_controller.rb +++ b/app/controllers/manuals_controller.rb @@ -1,21 +1,13 @@ class ManualsController < ApplicationController - def index - manual = ManualsRepositor...
Refactor Manual fetching to before_filter
diff --git a/app/controllers/resumes_controller.rb b/app/controllers/resumes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/resumes_controller.rb +++ b/app/controllers/resumes_controller.rb @@ -18,11 +18,10 @@ format.json format.md format.pdf do - render :pdf ...
Use new dict style in WickedPdf arguments Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
diff --git a/app/helpers/bootstrap_form_builder.rb b/app/helpers/bootstrap_form_builder.rb index abc1234..def5678 100644 --- a/app/helpers/bootstrap_form_builder.rb +++ b/app/helpers/bootstrap_form_builder.rb @@ -0,0 +1,30 @@+# Helper para la construccion de formularios conformes +# al estilo de bootstrap +class Bootst...
Add custom form builder for bootstrap
diff --git a/app/models/activity_classification.rb b/app/models/activity_classification.rb index abc1234..def5678 100644 --- a/app/models/activity_classification.rb +++ b/app/models/activity_classification.rb @@ -9,7 +9,7 @@ def self.diagnostic - ActivityClassification.find_by_name "diagnostic" + ActivityCl...
Stop looking for Diagnostic by name
diff --git a/app/models/socializer/notification.rb b/app/models/socializer/notification.rb index abc1234..def5678 100644 --- a/app/models/socializer/notification.rb +++ b/app/models/socializer/notification.rb @@ -10,7 +10,7 @@ belongs_to :activity_object # Person, Group, ... # Validations - validates_pres...
Use the new "sexy" validations (validates ...)
diff --git a/app/serializers/comment_serializer.rb b/app/serializers/comment_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/comment_serializer.rb +++ b/app/serializers/comment_serializer.rb @@ -6,7 +6,7 @@ has_one :author, serializer: UserSerializer, root: 'users' has_one :discussion, serializ...
Remove parent from comment serializer
diff --git a/spec/features/databases_spec.rb b/spec/features/databases_spec.rb index abc1234..def5678 100644 --- a/spec/features/databases_spec.rb +++ b/spec/features/databases_spec.rb @@ -0,0 +1,30 @@+require "spec_helper" + +describe "using the databases api" do + include_context "netrc" + + context "to create" do ...
Set up tests for databases
diff --git a/spec/plugin/capture_erb_spec.rb b/spec/plugin/capture_erb_spec.rb index abc1234..def5678 100644 --- a/spec/plugin/capture_erb_spec.rb +++ b/spec/plugin/capture_erb_spec.rb @@ -22,6 +22,9 @@ r.get 'inject' do render(:inline => "<% some_method do %>foo<% end %>") end + r.ge...
Add spec for using capture_erb outside template
diff --git a/test/functional/quotes_controller_test.rb b/test/functional/quotes_controller_test.rb index abc1234..def5678 100644 --- a/test/functional/quotes_controller_test.rb +++ b/test/functional/quotes_controller_test.rb @@ -3,6 +3,7 @@ class QuotesControllerTest < ActionController::TestCase setup do @quote...
Fix quote controller test for mass-assignment protection
diff --git a/test/unit/country_select_question_test.rb b/test/unit/country_select_question_test.rb index abc1234..def5678 100644 --- a/test/unit/country_select_question_test.rb +++ b/test/unit/country_select_question_test.rb @@ -17,8 +17,8 @@ end test "Can convert key to pretty name" do - assert_equal(@...
Fix country_select unit test to work with updated to_response
diff --git a/cookbooks/ad-auth/attributes/ad_settings.rb b/cookbooks/ad-auth/attributes/ad_settings.rb index abc1234..def5678 100644 --- a/cookbooks/ad-auth/attributes/ad_settings.rb +++ b/cookbooks/ad-auth/attributes/ad_settings.rb @@ -1,3 +1,2 @@-#default[:authorization] = {} -#default[:authorization][:ad_likewise] =...
Add more information to the attributes file and remove old ad-likewise entries Former-commit-id: 73686a66aa4fd9749d0a260ab6851f294bd48d20
diff --git a/core/spec/screenshots/non_signed_in_spec.rb b/core/spec/screenshots/non_signed_in_spec.rb index abc1234..def5678 100644 --- a/core/spec/screenshots/non_signed_in_spec.rb +++ b/core/spec/screenshots/non_signed_in_spec.rb @@ -12,7 +12,7 @@ sign_out_user visit user_profile_path(@user) - + ...
Fix spec initially with a sleep
diff --git a/with_model.gemspec b/with_model.gemspec index abc1234..def5678 100644 --- a/with_model.gemspec +++ b/with_model.gemspec @@ -11,6 +11,7 @@ s.homepage = "https://github.com/Casecommons/with_model" s.summary = %q{Dynamically build a model within an RSpec context} s.description = s.summary + s....
Add MIT license to gemspec
diff --git a/db/seeds/development/fake_students.seeds.rb b/db/seeds/development/fake_students.seeds.rb index abc1234..def5678 100644 --- a/db/seeds/development/fake_students.seeds.rb +++ b/db/seeds/development/fake_students.seeds.rb @@ -0,0 +1,43 @@+Assessment.destroy_all +School.destroy_all +assessment = Assessment.cr...
Add seed task for creating fake student data. + #35.
diff --git a/app/controllers/likes_controller.rb b/app/controllers/likes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/likes_controller.rb +++ b/app/controllers/likes_controller.rb @@ -0,0 +1,13 @@+class LikesController < ApplicationController + before_action :authenticate_user! + + def index + ...
Add likes controller and index for current user
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index abc1234..def5678 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -1,5 +1,5 @@ class PagesController < ApplicationController - before_action :authenticate_user!, except: :index + b...
Allow unlogged in users to view help
diff --git a/app/controllers/wikis_controller.rb b/app/controllers/wikis_controller.rb index abc1234..def5678 100644 --- a/app/controllers/wikis_controller.rb +++ b/app/controllers/wikis_controller.rb @@ -24,14 +24,17 @@ @wiki = Wiki.find(params[:id]) old_name = @wiki.name @wiki.name = params[:wiki][:name...
Add validation to update method
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb index abc1234..def5678 100644 --- a/Casks/phpstorm-eap.rb +++ b/Casks/phpstorm-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'phpstorm-eap' do - version '141.2017' - sha256 'f0ec9828aab591159531cdeb815dcf976d9707bb126a84daa4554809c9fc34b2' + version '141.2325' + sha25...
Update PhpStorm EAP.app to latest version
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb index abc1234..def5678 100644 --- a/Casks/phpstorm-eap.rb +++ b/Casks/phpstorm-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'phpstorm-eap' do - version '141.891' - sha256 '5fca9d16de932905109decc442889f1534b5e77b5226ff15c77bd8259aa88ec0' + version '141.1306' + sha256...
Update PHPStorm EAP to 141.1306
diff --git a/Casks/smart-scroll.rb b/Casks/smart-scroll.rb index abc1234..def5678 100644 --- a/Casks/smart-scroll.rb +++ b/Casks/smart-scroll.rb @@ -1,6 +1,6 @@ cask 'smart-scroll' do - version '4.0.6' - sha256 '18582a39a6cfb08ab9f2ff99852eb245055d506d70b5573bf59be62e4c5c6078' + version '4.0.7' + sha256 '825517a207...
Update Smart Scroll to v4.0.7
diff --git a/app/serializers/clump_serializer.rb b/app/serializers/clump_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/clump_serializer.rb +++ b/app/serializers/clump_serializer.rb @@ -15,7 +15,7 @@ def links object.clump_links.select(&:complete?).map do |link| - ClumpLinkSerializer.ne...
Fix bug in defining ClumpLinkSerializer scope
diff --git a/app/concerns/resources_controller/location_history.rb b/app/concerns/resources_controller/location_history.rb index abc1234..def5678 100644 --- a/app/concerns/resources_controller/location_history.rb +++ b/app/concerns/resources_controller/location_history.rb @@ -17,6 +17,7 @@ def store_location ...
Add log output to location history.
diff --git a/spec/views/scientific_names/show.html.haml_spec.rb b/spec/views/scientific_names/show.html.haml_spec.rb index abc1234..def5678 100644 --- a/spec/views/scientific_names/show.html.haml_spec.rb +++ b/spec/views/scientific_names/show.html.haml_spec.rb @@ -28,6 +28,18 @@ render # Run the generator agai...
Update the expectations: an edit link is visible to crop wranglers (which used to be an expectation about the id appearing in a link)
diff --git a/db/migrate/20161104135655_add_epix_user_fields_to_annual_report_upload.rb b/db/migrate/20161104135655_add_epix_user_fields_to_annual_report_upload.rb index abc1234..def5678 100644 --- a/db/migrate/20161104135655_add_epix_user_fields_to_annual_report_upload.rb +++ b/db/migrate/20161104135655_add_epix_user_f...
Change created_at and updated_at to datetime type
diff --git a/lib/administrate/field/select.rb b/lib/administrate/field/select.rb index abc1234..def5678 100644 --- a/lib/administrate/field/select.rb +++ b/lib/administrate/field/select.rb @@ -3,7 +3,10 @@ module Administrate module Field - class Select < Base + class Select < Base + class Engine < ...
Add an engine to make sure views are installed
diff --git a/test/models/cf0925_test.rb b/test/models/cf0925_test.rb index abc1234..def5678 100644 --- a/test/models/cf0925_test.rb +++ b/test/models/cf0925_test.rb @@ -1,10 +1,10 @@ require 'test_helper' class Cf0925Test < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end test 'generat...
Check environment to exclude PDF generation test.
diff --git a/config/schedule.rb b/config/schedule.rb index abc1234..def5678 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -3,6 +3,6 @@ # We need Rake to use our own environment job_type :rake, "cd :path && /usr/local/bin/govuk_setenv tariff-api bundle exec rake :task --silent :output" -every :day, :at ...
Revert "Only run tariff sync once a day at 01:23" This reverts commit b21cac649e2907a53784fb0f15fdf8ae08441552.
diff --git a/XLTestLog.podspec b/XLTestLog.podspec index abc1234..def5678 100644 --- a/XLTestLog.podspec +++ b/XLTestLog.podspec @@ -12,7 +12,8 @@ s.ios.deployment_target = '6.0' s.osx.deployment_target = '10.8' - s.frameworks = 'Foundation', 'XCTest' + s.frameworks = 'Foundation' + s.weak_framework = 'XCTest...
Update XCTest to weak framework
diff --git a/cookbooks/travis_internal_base/spec/ssh_spec.rb b/cookbooks/travis_internal_base/spec/ssh_spec.rb index abc1234..def5678 100644 --- a/cookbooks/travis_internal_base/spec/ssh_spec.rb +++ b/cookbooks/travis_internal_base/spec/ssh_spec.rb @@ -8,12 +8,7 @@ EXPECTED_SSHD_CONFIG = <<~EOF.split("\n") address...
Remove the rest of the things with '-'
diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index abc1234..def5678 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -5,7 +5,6 @@ # class UserHelperTest < ActionView::TestCase include Devise::TestHelpers - include UserHelper test 'shou...
Remove unnecessary import of helper
diff --git a/composition.gemspec b/composition.gemspec index abc1234..def5678 100644 --- a/composition.gemspec +++ b/composition.gemspec @@ -9,7 +9,6 @@ s.summary = %q{Helper for object composition} s.description = s.summary - # git ls-files s.files = `git ls-files`.split("\n") s.test_files...
Remove unneded comment in gemspec
diff --git a/send_with_us.gemspec b/send_with_us.gemspec index abc1234..def5678 100644 --- a/send_with_us.gemspec +++ b/send_with_us.gemspec @@ -12,6 +12,7 @@ gem.description = %q{SendWithUs.com Ruby Client} gem.summary = %q{SendWithUs.com Ruby Client} gem.homepage = "https://github.com/sendwithus/...
Add license to gemspec, is Apache-2.0 per http://spdx.org/licenses/ Closes #7
diff --git a/app/helpers/statistics_helper.rb b/app/helpers/statistics_helper.rb index abc1234..def5678 100644 --- a/app/helpers/statistics_helper.rb +++ b/app/helpers/statistics_helper.rb @@ -44,6 +44,9 @@ series: { connectNulls: true } + }, + legend: { + enable...
Add the filterable legend back in
diff --git a/transam_accounting.gemspec b/transam_accounting.gemspec index abc1234..def5678 100644 --- a/transam_accounting.gemspec +++ b/transam_accounting.gemspec @@ -18,7 +18,7 @@ s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] - s.add_dependency 'rails', '>=4.0.9' + s.add...
Make the rails version in the gemspec more restrictive
diff --git a/test/unit/asset_remover_test.rb b/test/unit/asset_remover_test.rb index abc1234..def5678 100644 --- a/test/unit/asset_remover_test.rb +++ b/test/unit/asset_remover_test.rb @@ -2,7 +2,7 @@ class AssetRemoverTest < ActiveSupport::TestCase setup do - @logo_dir = File.join(Whitehall.clean_uploads_root,...
Change AssetRemoverTest to use one of the new methods I want to delete some of the tasks that have already been run including `AssetRemover#remove_organisation_logo`. Changing the tests to use one of methods I won't remove will let me do that.
diff --git a/test/unit/attendee_slot_test.rb b/test/unit/attendee_slot_test.rb index abc1234..def5678 100644 --- a/test/unit/attendee_slot_test.rb +++ b/test/unit/attendee_slot_test.rb @@ -1,6 +1,13 @@ require 'test_helper' class AttendeeSlotTest < ActiveSupport::TestCase + def test_fields + slot = AttendeeSlot....
Add a sanity check to make sure the override methods aren't screwing up normal behavior
diff --git a/lib/cultome_player/plugins/keyboard_special_keys.rb b/lib/cultome_player/plugins/keyboard_special_keys.rb index abc1234..def5678 100644 --- a/lib/cultome_player/plugins/keyboard_special_keys.rb +++ b/lib/cultome_player/plugins/keyboard_special_keys.rb @@ -4,15 +4,16 @@ def init_plugin_keyboard_specia...
Change the way the command pipe read the commands
diff --git a/lib/services/chef_project/chef_project_generator.rb b/lib/services/chef_project/chef_project_generator.rb index abc1234..def5678 100644 --- a/lib/services/chef_project/chef_project_generator.rb +++ b/lib/services/chef_project/chef_project_generator.rb @@ -21,7 +21,9 @@ private def create_project_fol...
:panda_face: Create nodes and roles during init chef project..
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index abc1234..def5678 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -17,6 +17,8 @@ config.order = :random config.render_views config.include FactoryGirl::Syntax::Methods + config.filter_run :focus + config.run_all_when_everything_filt...
chore(): Add focus support on rspec
diff --git a/db/dev_seeds/sdg.rb b/db/dev_seeds/sdg.rb index abc1234..def5678 100644 --- a/db/dev_seeds/sdg.rb +++ b/db/dev_seeds/sdg.rb @@ -18,4 +18,15 @@ end end end + + relatables = [Debate, Proposal, Poll, Legislation::Process, Budget::Investment] + relatables.map { |relatable| relatable.sample(5) }...
Add SDG relations to development seeds
diff --git a/lib/fog/aws/requests/storage/get_service.rb b/lib/fog/aws/requests/storage/get_service.rb index abc1234..def5678 100644 --- a/lib/fog/aws/requests/storage/get_service.rb +++ b/lib/fog/aws/requests/storage/get_service.rb @@ -15,13 +15,13 @@ # * DisplayName [String] - Display name of bucket own...
Set correct host for get service operation
diff --git a/lib/omniauth/strategies/wordpress_hosted.rb b/lib/omniauth/strategies/wordpress_hosted.rb index abc1234..def5678 100644 --- a/lib/omniauth/strategies/wordpress_hosted.rb +++ b/lib/omniauth/strategies/wordpress_hosted.rb @@ -8,7 +8,7 @@ # This is where you pass the options you would pass when ...
Update endpoints used by WP OAuth Server 3.1.3
diff --git a/lib/sastrawi/dictionary/array_dictionary.rb b/lib/sastrawi/dictionary/array_dictionary.rb index abc1234..def5678 100644 --- a/lib/sastrawi/dictionary/array_dictionary.rb +++ b/lib/sastrawi/dictionary/array_dictionary.rb @@ -9,13 +9,22 @@ add_words(words) end + ## + # Check whethe...
Add comments to `ArrayDictionary` class
diff --git a/doc/lib/template.rb b/doc/lib/template.rb index abc1234..def5678 100644 --- a/doc/lib/template.rb +++ b/doc/lib/template.rb @@ -14,6 +14,7 @@ end end + # (Map String String) -> Binding MakeBinding = lambda do |ctxt| Namespace.new(ctxt).get_binding end
Add type declaration for MakeBinding
diff --git a/GestureRecognizerClosures.podspec b/GestureRecognizerClosures.podspec index abc1234..def5678 100644 --- a/GestureRecognizerClosures.podspec +++ b/GestureRecognizerClosures.podspec @@ -6,7 +6,7 @@ s.homepage = "https://github.com/marcbaldwin/GestureRecognizerClosures" s.author = { "Marc Baldw...
Update podspec sources to include all swift files
diff --git a/lib/generators/historyjs/install/install_generator.rb b/lib/generators/historyjs/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/historyjs/install/install_generator.rb +++ b/lib/generators/historyjs/install/install_generator.rb @@ -20,4 +20,4 @@ end end end -en...
Allow people to bring their own asset management solutions to the party
diff --git a/app/admin/reps.rb b/app/admin/reps.rb index abc1234..def5678 100644 --- a/app/admin/reps.rb +++ b/app/admin/reps.rb @@ -2,6 +2,8 @@ scope :all scope :unassigned + permit_params :user_id, :party_id + index do column :id column :user_name
Fix issue with admin interface when assigning a rep to a party
diff --git a/Casks/silicon-labs-vcp-driver.rb b/Casks/silicon-labs-vcp-driver.rb index abc1234..def5678 100644 --- a/Casks/silicon-labs-vcp-driver.rb +++ b/Casks/silicon-labs-vcp-driver.rb @@ -2,14 +2,14 @@ version :latest sha256 :no_check - url 'http://www.silabs.com/Support%20Documents/Software/Mac_OSX_VCP_Dr...
Update Silicon Labs VCP Driver
diff --git a/HammingDistance/Ruby/hamming_distance.rb b/HammingDistance/Ruby/hamming_distance.rb index abc1234..def5678 100644 --- a/HammingDistance/Ruby/hamming_distance.rb +++ b/HammingDistance/Ruby/hamming_distance.rb @@ -0,0 +1,14 @@+# take two binary strings and returns the Hamming Distance between them +def hammi...
Add Ruby Hamming Distance algorithm.
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index abc1234..def5678 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -4,4 +4,4 @@ # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at lea...
Make cookie secret token actually a secret
diff --git a/core_gem/lib/deep_cover/auto_run.rb b/core_gem/lib/deep_cover/auto_run.rb index abc1234..def5678 100644 --- a/core_gem/lib/deep_cover/auto_run.rb +++ b/core_gem/lib/deep_cover/auto_run.rb @@ -8,6 +8,7 @@ class Runner include Tools::AfterTests def initialize + @saved = false ...
Make sure AutoRun saves before reporting
diff --git a/Casks/omnioutliner-beta.rb b/Casks/omnioutliner-beta.rb index abc1234..def5678 100644 --- a/Casks/omnioutliner-beta.rb +++ b/Casks/omnioutliner-beta.rb @@ -1,6 +1,6 @@ cask :v1 => 'omnioutliner-beta' do - version '4.3.x-r238997' - sha256 '7abf46e9183ba617edc9d80e7587a32e3e555d5ca5868668f5bb7759f7b472c5' ...
Update OmniOutliner Beta to version 4.4.x-r244801 This commit updates the version and sha256 stanzas.
diff --git a/lib/appsignal/integrations/unicorn.rb b/lib/appsignal/integrations/unicorn.rb index abc1234..def5678 100644 --- a/lib/appsignal/integrations/unicorn.rb +++ b/lib/appsignal/integrations/unicorn.rb @@ -1,4 +1,4 @@-if defined?(::Unicorn) && defined?(::Unicorn::HttpServer) +if defined?(::Unicorn) Appsignal....
Make Unicorn check consistent with other integrations
diff --git a/activerecord-safer_migrations.gemspec b/activerecord-safer_migrations.gemspec index abc1234..def5678 100644 --- a/activerecord-safer_migrations.gemspec +++ b/activerecord-safer_migrations.gemspec @@ -20,5 +20,5 @@ gem.add_development_dependency "pg", "~> 0.21.0" gem.add_development_dependency "rspec...
Update rubocop requirement to ~> 0.51.0 Updates the requirements on [rubocop](https://github.com/bbatsov/rubocop) to permit the latest version. - [Release notes](https://github.com/bbatsov/rubocop/releases) - [Changelog](https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md)
diff --git a/lib/capistrano/git/plugins/hoptoad.rb b/lib/capistrano/git/plugins/hoptoad.rb index abc1234..def5678 100644 --- a/lib/capistrano/git/plugins/hoptoad.rb +++ b/lib/capistrano/git/plugins/hoptoad.rb @@ -9,7 +9,7 @@ local_user = ENV['USER'] || ENV['USERNAME'] executable = fetch(:rake, (RUBY_PLATFO...
Use current environment not production
diff --git a/app/decorators/author_decorator.rb b/app/decorators/author_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/author_decorator.rb +++ b/app/decorators/author_decorator.rb @@ -11,8 +11,7 @@ def image source.avatar.thumb.url or - source.try :image or - "https://secure.gravatar.com...
Remove Code School avatar fallback. It made it harder to see who didn't have a photo.
diff --git a/aus/recipes/fix-raid-mapping.rb b/aus/recipes/fix-raid-mapping.rb index abc1234..def5678 100644 --- a/aus/recipes/fix-raid-mapping.rb +++ b/aus/recipes/fix-raid-mapping.rb @@ -0,0 +1,10 @@+ +# Cookbook Name:: mh-opsworks-recipes +# Recipe:: fix-raid-mapping + +# Fix RAID array boot-time mapping bug: ht...
Fix RAID array boot-time mapping bug
diff --git a/lib/jeweler/templates/rspec/helper.rb b/lib/jeweler/templates/rspec/helper.rb index abc1234..def5678 100644 --- a/lib/jeweler/templates/rspec/helper.rb +++ b/lib/jeweler/templates/rspec/helper.rb @@ -1,4 +1,3 @@-<%= render_template 'bundler_setup.erb' %> $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_P...
Remove bundler setup block, since RSpec2 supports activating Bundler.
diff --git a/lib/puppet/parser/functions/smooth.rb b/lib/puppet/parser/functions/smooth.rb index abc1234..def5678 100644 --- a/lib/puppet/parser/functions/smooth.rb +++ b/lib/puppet/parser/functions/smooth.rb @@ -1,5 +1,3 @@-# vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 - module Puppet::Parser::Functions ne...
Remove Vim modeline from files
diff --git a/lib/rails_riemann_middleware/event.rb b/lib/rails_riemann_middleware/event.rb index abc1234..def5678 100644 --- a/lib/rails_riemann_middleware/event.rb +++ b/lib/rails_riemann_middleware/event.rb @@ -10,11 +10,12 @@ @client = create_riemann_client @reporting_host = options[:reporting...
Add support for passing custom attributes to Riemann The attributes are passed in through options on the middleware and are sent to Riemann on every event.
diff --git a/api/app/mailers/club_application_mailer.rb b/api/app/mailers/club_application_mailer.rb index abc1234..def5678 100644 --- a/api/app/mailers/club_application_mailer.rb +++ b/api/app/mailers/club_application_mailer.rb @@ -17,7 +17,7 @@ to.display_name = 'Hack Club Team' subject = "Hack Club Applic...
Add ID to title of club application
diff --git a/app/serializers/assessment_serializer.rb b/app/serializers/assessment_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/assessment_serializer.rb +++ b/app/serializers/assessment_serializer.rb @@ -1,6 +1,5 @@ class AssessmentSerializer < ActiveModel::Serializer embed :ids, include: true -...
Fix for dashboard not displaying score correctly.
diff --git a/app/components/users/acount_link_cell.rb b/app/components/users/acount_link_cell.rb index abc1234..def5678 100644 --- a/app/components/users/acount_link_cell.rb +++ b/app/components/users/acount_link_cell.rb @@ -5,5 +5,9 @@ property :email property :person + def show + model ? render : "" + end ...
Fix error on nil user model
diff --git a/app/controllers/api/tokens_controller.rb b/app/controllers/api/tokens_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/tokens_controller.rb +++ b/app/controllers/api/tokens_controller.rb @@ -12,7 +12,9 @@ mutate klass .run(auth_params) .tap { |result| mayb...
Fix rollbar bug report 74
diff --git a/library/rubygems/gem/bin_path_spec.rb b/library/rubygems/gem/bin_path_spec.rb index abc1234..def5678 100644 --- a/library/rubygems/gem/bin_path_spec.rb +++ b/library/rubygems/gem/bin_path_spec.rb @@ -2,6 +2,15 @@ require 'rubygems' describe "Gem.bin_path" do + before :each do + @bundle_gemfile = ENV...
Make the Gem.bin_path even if there is a Gemfile.lock in a parent dir
diff --git a/app/models/drug_safety_update.rb b/app/models/drug_safety_update.rb index abc1234..def5678 100644 --- a/app/models/drug_safety_update.rb +++ b/app/models/drug_safety_update.rb @@ -1,7 +1,7 @@ class DrugSafetyUpdate < AbstractDocument def summary - attrs.fetch(:description) + attrs.fetch(:descrip...
Handle Rummager not returning description If a record in Rummager's search index doesn't have a description then it will omit the field completely rather than returning a blank value. That causes the `fetch` to blow up, so default it to `nil`.
diff --git a/app/models/pageflow/used_file.rb b/app/models/pageflow/used_file.rb index abc1234..def5678 100644 --- a/app/models/pageflow/used_file.rb +++ b/app/models/pageflow/used_file.rb @@ -2,6 +2,7 @@ class UsedFile < SimpleDelegator def initialize(file, usage = nil) super(file) + @file = file ...
Allow using UsedFile decorator in Active Record queries Delegate low level methods to make it look like the original record.
diff --git a/em-hiredis.gemspec b/em-hiredis.gemspec index abc1234..def5678 100644 --- a/em-hiredis.gemspec +++ b/em-hiredis.gemspec @@ -12,7 +12,7 @@ s.summary = %q{Eventmachine redis client} s.description = %q{Eventmachine redis client using hiredis native parser} - s.add_dependency 'hiredis', '~> 0.3.0' ...
Update hiredis dependency to 0.4.x
diff --git a/app/models/concerns/curation_concerns/collection.rb b/app/models/concerns/curation_concerns/collection.rb index abc1234..def5678 100644 --- a/app/models/concerns/curation_concerns/collection.rb +++ b/app/models/concerns/curation_concerns/collection.rb @@ -2,7 +2,6 @@ module Collection extend ActiveS...
Remove duplicate include in CurationConcerns::Collection
diff --git a/spec/controllers/webhook_controller_spec.rb b/spec/controllers/webhook_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/webhook_controller_spec.rb +++ b/spec/controllers/webhook_controller_spec.rb @@ -10,7 +10,7 @@ let(:event_id) { 'evt_charge_succeeded' } before do - ...
Remove extra ivar in spec
diff --git a/app/services/campaign_page_builder.rb b/app/services/campaign_page_builder.rb index abc1234..def5678 100644 --- a/app/services/campaign_page_builder.rb +++ b/app/services/campaign_page_builder.rb @@ -54,7 +54,7 @@ end def default - ENV['DEFAULT_PLUGIN_REGISTRATION'] || true + ENV['DEFAULT_PLUG...
Set DEFAULT_PLUGIN_REGISTRATION as false when undefined
diff --git a/src/orders_finder.rb b/src/orders_finder.rb index abc1234..def5678 100644 --- a/src/orders_finder.rb +++ b/src/orders_finder.rb @@ -14,10 +14,14 @@ end def orders - order_numbers.map { |order_number| find_order(order_number) } + all_orders.sort_by { |order| order[:progress] }.reverse end ...
Sort all orders by progress