diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/rumember.gemspec b/rumember.gemspec index abc1234..def5678 100644 --- a/rumember.gemspec +++ b/rumember.gemspec @@ -12,7 +12,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - s.add_runtime_dependency("json", ["~> 1.8.0"]) + s.add_run...
Bump to json version compatible with Ruby 3.0 References https://github.com/tpope/vim-fugitive/issues/1666
diff --git a/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb b/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb index abc1234..def5678 100644 --- a/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_coordinateResolution.rb +++ b/lib/adiwg/mdtranslator/writer...
Add mdJson readers for 'coordinateResolution' include minitest
diff --git a/INAppStoreWindow.podspec b/INAppStoreWindow.podspec index abc1234..def5678 100644 --- a/INAppStoreWindow.podspec +++ b/INAppStoreWindow.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| - s.name = 'INAppStoreWindow' - s.version = '1.3' - s.summary = 'Mac App Store style NSWindow subclass.' - s.homepage =...
Update pod spec for v1.4
diff --git a/scissors.gemspec b/scissors.gemspec index abc1234..def5678 100644 --- a/scissors.gemspec +++ b/scissors.gemspec @@ -20,6 +20,7 @@ gem.add_development_dependency 'rspec' gem.add_development_dependency 'simplecov' gem.add_development_dependency 'cane' + gem.add_development_dependency 'debugger' g...
Make debugger available for development
diff --git a/features/support/start_app.rb b/features/support/start_app.rb index abc1234..def5678 100644 --- a/features/support/start_app.rb +++ b/features/support/start_app.rb @@ -2,15 +2,22 @@ require 'timeout' require 'httparty' +# get the address and port if present (e.g. when running on c9.io) +host = ENV['IP']...
Update cucumber setup to allow running on c9.io
diff --git a/spec/unit/search/presenters/highlighted_description_spec.rb b/spec/unit/search/presenters/highlighted_description_spec.rb index abc1234..def5678 100644 --- a/spec/unit/search/presenters/highlighted_description_spec.rb +++ b/spec/unit/search/presenters/highlighted_description_spec.rb @@ -1,28 +1,28 @@ requi...
Fix test names and typos in description highlighting spec
diff --git a/Casks/pandoc.rb b/Casks/pandoc.rb index abc1234..def5678 100644 --- a/Casks/pandoc.rb +++ b/Casks/pandoc.rb @@ -1,7 +1,7 @@ class Pandoc < Cask + url 'https://pandoc.googlecode.com/files/pandoc-1.12.3.pkg.zip' homepage 'http://johnmacfarlane.net/pandoc' - url 'https://pandoc.googlecode.com/files/pando...
Correct field order in Pandoc Cask Update to use SHA256
diff --git a/test/controllers/search_controller_test.rb b/test/controllers/search_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/search_controller_test.rb +++ b/test/controllers/search_controller_test.rb @@ -1,14 +1,4 @@ require 'test_helper' class SearchControllerTest < ActionController::Te...
Remove SearchControllerTest, it depends on elasticsearch
diff --git a/config/deploy.rb b/config/deploy.rb index abc1234..def5678 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,14 +1,12 @@ set :application, "sanctionwatch" set :domain, "sanctionwatch.net" -set :repository, "http://svn.jsboulanger.com/sanction-watch/trunk/" +set :repository, "git@github.com:jsboul...
Deploy from public github repo
diff --git a/db/migrate/20160406101826_change_unique_index_on_taxon_concept_references.rb b/db/migrate/20160406101826_change_unique_index_on_taxon_concept_references.rb index abc1234..def5678 100644 --- a/db/migrate/20160406101826_change_unique_index_on_taxon_concept_references.rb +++ b/db/migrate/20160406101826_change...
Add uniqueness to already existing index on taxon_concept_references and remove the obsolete one
diff --git a/db/migrate/20170729084620_remove_person_id_from_gobierto_calendars_events.rb b/db/migrate/20170729084620_remove_person_id_from_gobierto_calendars_events.rb index abc1234..def5678 100644 --- a/db/migrate/20170729084620_remove_person_id_from_gobierto_calendars_events.rb +++ b/db/migrate/20170729084620_remove...
Append events to collection items
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,5 @@+require 'trackable_items' +# Routes needs more thought since some default routes in ArchivesCentral are taking precedence. ActionController::Routing::Routes.draw do |map| map....
Add require to fix missing route Signed-off-by: Chris Toynbee <9bf3774ab19e71b4502fac9bd506468044cb6bd6@gmail.com>
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -22,6 +22,11 @@ GovukHealthcheck::ActiveRecord, ) + get "/healthcheck/live", to: proc { [200, {}, %w[OK]] } + get "/healthcheck/ready", to: GovukHealthcheck.rack_response( + Govu...
Add RFC 141 healthcheck endpoints Once govuk-puppet has been updated, the old endpoint can be removed. See the RFC for more details.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -23,6 +23,4 @@ delete '/:run', to: 'runs#delete', as: :delete post '/:run/disown', to: 'runs#disown', as: :disown - - get '/games/:game', to: 'games#show' end
Remove unused (for now) game path
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,7 +12,9 @@ get :sell get :reclaim end - resources :ideas + resources :ideas do + get :toggle_used + end resources :games, except: [:index] do re...
Add route 'toggle_used' to Ideas
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,7 +7,7 @@ end def matches?(request) - request.format == mime_type + request.format == mime_type || request.format == '*/*' end end
Allow curl to get HTML
diff --git a/MOAspects.podspec b/MOAspects.podspec index abc1234..def5678 100644 --- a/MOAspects.podspec +++ b/MOAspects.podspec @@ -7,7 +7,7 @@ s.author = { "Hiromi Motodera" => "moai.motodera@gmail.com" } s.source = { :git => "https://github.com/MO-AI/MOAspects.git", :tag => "#{s.version}", :submod...
Update pod spec for deployment target iOS 8.0
diff --git a/run.rb b/run.rb index abc1234..def5678 100644 --- a/run.rb +++ b/run.rb @@ -4,21 +4,25 @@ matches = MatchImporter.new("bl1", 2012).matches -predictor = PredictionFactory::PreviousMatch.new evaluator = Evaluation::Kicktipp +predictors = [ PredictionFactory::PreviousMatch.new ] -predictions = matches....
Prepare for using and comparing multiple prediction factories.
diff --git a/BlockTypeDescription.podspec b/BlockTypeDescription.podspec index abc1234..def5678 100644 --- a/BlockTypeDescription.podspec +++ b/BlockTypeDescription.podspec @@ -9,4 +9,6 @@ :tag => '0.1.0' } s.source_files = 'BlockTypeDescription' s.requires_arc = true + s.ios.deployment_target =...
Add deployment targets for iOS and OS X
diff --git a/Casks/intellij-idea-ultimate-eap.rb b/Casks/intellij-idea-ultimate-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-ultimate-eap.rb +++ b/Casks/intellij-idea-ultimate-eap.rb @@ -1,10 +1,10 @@ class IntellijIdeaUltimateEap < Cask - version '139.144.2' - sha256 '49ef8ac753287031ae3ed604bbfd7a...
Update IntelliJ IDEA Ultimate EAP to 139.222.5
diff --git a/spec/application_spec.rb b/spec/application_spec.rb index abc1234..def5678 100644 --- a/spec/application_spec.rb +++ b/spec/application_spec.rb @@ -7,10 +7,19 @@ let(:client_id) { ENV["GITHUB_CLIENT_ID"] } let(:client_secret) { ENV["GITHUB_CLIENT_SECRET"] } + describe "GET /" do + context "when ...
Add simple spec for unauthed / request
diff --git a/api/ruby/team_audit.rb b/api/ruby/team_audit.rb index abc1234..def5678 100644 --- a/api/ruby/team_audit.rb +++ b/api/ruby/team_audit.rb @@ -0,0 +1,72 @@+# GitHub & GitHub Enterprise Team auditor +# ======================================= +# +# Usage: ruby team_audit.rb <orgname> +# +# These environment var...
Create a script for auditing team members and repos This allows an admin to get a CSV output of all members and repositories for all teams within an organization
diff --git a/app/models/document.rb b/app/models/document.rb index abc1234..def5678 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -33,10 +33,18 @@ def breadcrumbs if document['details']['breadcrumbs'].present? document['details']['breadcrumbs'].map do |breadcrumb| - OpenStruct...
Stop using an openstruct for breadcrumbs The details for the breadcrumbs are static by now so we're not getting any benefit to using an openstruct, but we do gain all the downsides.
diff --git a/CSURITemplate.podspec b/CSURITemplate.podspec index abc1234..def5678 100644 --- a/CSURITemplate.podspec +++ b/CSURITemplate.podspec @@ -11,14 +11,4 @@ s.source_files = 'CSURITemplate', 'CSURITemplate/**/*.{h,m}' s.public_header_files = 'CSURITemplate/CSURITemplate.h' s.requires_arc = true - s.docu...
Remove documentation instructions from podspec. CocoaPods has removed appledoc support in favour of CocoaDocs.
diff --git a/Casks/loadmytracks.rb b/Casks/loadmytracks.rb index abc1234..def5678 100644 --- a/Casks/loadmytracks.rb +++ b/Casks/loadmytracks.rb @@ -2,10 +2,11 @@ version :latest sha256 :no_check - url 'http://www.cluetrust.com/Downloads/LoadMyTracks.dmg' - appcast 'http://www.cluetrust.com/AppCasts/LoadMyTrac...
Fix homepage and update url and appcast to use SSL in LoadMyTracks Cask Product has now his own homepage on a new domain. The url and appcast stanza URL is already getting redirected to HTTPS. Using the HTTPS URL directly makes it more secure and saves a HTTP round-trip."
diff --git a/carrierwave-cascade.gemspec b/carrierwave-cascade.gemspec index abc1234..def5678 100644 --- a/carrierwave-cascade.gemspec +++ b/carrierwave-cascade.gemspec @@ -8,8 +8,15 @@ spec.version = Carrierwave::Cascade::VERSION spec.authors = ["Kevin Glowacz"] spec.email = ["kevin@glowacz...
Add gem summary and description
diff --git a/recipes/steam_controller_udev_rules.rb b/recipes/steam_controller_udev_rules.rb index abc1234..def5678 100644 --- a/recipes/steam_controller_udev_rules.rb +++ b/recipes/steam_controller_udev_rules.rb @@ -24,6 +24,7 @@ template '/etc/udev/rules.d/99-steam-controller-uinput.rules' do source 'steam/steam...
Correct permissions for x360 gamepad emulation by steam controllers
diff --git a/ws/ws_server.rb b/ws/ws_server.rb index abc1234..def5678 100644 --- a/ws/ws_server.rb +++ b/ws/ws_server.rb @@ -14,15 +14,15 @@ ws = Faye::WebSocket.new(env) ws.on :open do |event| - p [:open, ws.object_id] + puts "Incoming WS connection - object ID: #{event.object_id}"...
Make some more custom WS debug messages
diff --git a/lib/tilt/prawn.rb b/lib/tilt/prawn.rb index abc1234..def5678 100644 --- a/lib/tilt/prawn.rb +++ b/lib/tilt/prawn.rb @@ -33,7 +33,7 @@ end def evaluate(scope, locals, &block) - scope = scope ? scope.dup : BasicObject.new + scope = scope ? scope.dup : Object.new pdf = engine.new ...
Use Object instead of BasicObject as default scope
diff --git a/db/data_migration/20150730134022_republish_routes_for_all_detailed_guides.rb b/db/data_migration/20150730134022_republish_routes_for_all_detailed_guides.rb index abc1234..def5678 100644 --- a/db/data_migration/20150730134022_republish_routes_for_all_detailed_guides.rb +++ b/db/data_migration/20150730134022...
Check with url-arbiter before adding route Before re-registering the route, check with url-arbiter that whitehall owns the url. If it’s owned by another app, skip it. If url-arbiter doesn’t know about it, reserve it for whitehall. This uses a dummy API adapter for url-arbiter because adding the govuk-client-url_arbit...
diff --git a/Casks/psequel.rb b/Casks/psequel.rb index abc1234..def5678 100644 --- a/Casks/psequel.rb +++ b/Casks/psequel.rb @@ -1,11 +1,11 @@ cask :v1 => 'psequel' do - version :latest - sha256 :no_check + version '1.1.2' + sha256 '19c2721002ed35e899bfdc9fd1a52f1d8cbc42e869b407eaf536ce82a32763f5' - url 'http://...
Fix URL in Psequel.app Cask URL was unversioned and failed to download. Also fixed version to 1.1.2 as 1.2.0 is not stable.
diff --git a/spec/controllers/projects/protected_tags_controller_spec.rb b/spec/controllers/projects/protected_tags_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/projects/protected_tags_controller_spec.rb +++ b/spec/controllers/projects/protected_tags_controller_spec.rb @@ -8,4 +8,21 @@ ...
Add spec for deleting protected tags
diff --git a/kentucky.gemspec b/kentucky.gemspec index abc1234..def5678 100644 --- a/kentucky.gemspec +++ b/kentucky.gemspec @@ -23,8 +23,8 @@ s.require_paths = ["lib"] s.add_dependency('sass', '~> 3.4') - s.add_dependency('thor', '>= 0') + s.add_dependency('thor', '~> 0') - s.add_development_dependency('ar...
Update semantic version calls to dependencies
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 @@ -8,14 +8,14 @@ # Extended Server Syntax # ====================== -server 'zerocred.club', user: 'deploy', roles: %w{web app db} +server '104.236....
Fix IP address & deploy key
diff --git a/schema.gemspec b/schema.gemspec index abc1234..def5678 100644 --- a/schema.gemspec +++ b/schema.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'schema' s.summary = "Primitives for schema and structure" - s.version = '0.4.2.0' + s.version = '0.4.3.0' s.description = ' ' s.aut...
Package version is increased from 0.4.2.0 to 0.4.3.0
diff --git a/app/helpers/static_helper.rb b/app/helpers/static_helper.rb index abc1234..def5678 100644 --- a/app/helpers/static_helper.rb +++ b/app/helpers/static_helper.rb @@ -1,9 +1,12 @@ # typed: false # frozen_string_literal: true +require "sorbet-runtime" + module StaticHelper # For sorbet - include Genera...
Fix for recent type changes
diff --git a/app/mailers/devise_mailer.rb b/app/mailers/devise_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/devise_mailer.rb +++ b/app/mailers/devise_mailer.rb @@ -1,4 +1,4 @@ class DeviseMailer < Devise::Mailer - default from: "GitLab <#{Gitlab.config.gitlab.email_from}>" + default from: "#{Gitlab.confi...
Use the configured display name in e-mails from Devise mailer
diff --git a/app/models/effective/post.rb b/app/models/effective/post.rb index abc1234..def5678 100644 --- a/app/models/effective/post.rb +++ b/app/models/effective/post.rb @@ -8,7 +8,7 @@ belongs_to :user structure do - title :string, :validates => [:presence] + title :stri...
Add maxlength validation to title
diff --git a/spec/bike_test.rb b/spec/bike_test.rb index abc1234..def5678 100644 --- a/spec/bike_test.rb +++ b/spec/bike_test.rb @@ -32,11 +32,7 @@ #actaul value actual_value = bike.is_cool? - if actual_value == expected_value - print '.' - else - raise "Test failed. Expected #{expected_value} to equal #...
Use helper across the board
diff --git a/spec/cats_spec.rb b/spec/cats_spec.rb index abc1234..def5678 100644 --- a/spec/cats_spec.rb +++ b/spec/cats_spec.rb @@ -0,0 +1,22 @@+require 'spec_helper' + +describe Cats do + it 'should have a version number' do + ::Cats::VERSION.wont_be_nil + end + + it 'should generate cat facts' do + Cats.fac...
Add initial tests for Cats
diff --git a/test/integration/mongod-lwrp/serverspec/mongod_lwrp_spec.rb b/test/integration/mongod-lwrp/serverspec/mongod_lwrp_spec.rb index abc1234..def5678 100644 --- a/test/integration/mongod-lwrp/serverspec/mongod_lwrp_spec.rb +++ b/test/integration/mongod-lwrp/serverspec/mongod_lwrp_spec.rb @@ -4,7 +4,7 @@ include...
Fix typo in integration test
diff --git a/db/migrate/20160902122721_drop_gitorious_field_from_application_settings.rb b/db/migrate/20160902122721_drop_gitorious_field_from_application_settings.rb index abc1234..def5678 100644 --- a/db/migrate/20160902122721_drop_gitorious_field_from_application_settings.rb +++ b/db/migrate/20160902122721_drop_gito...
Support MySQL too, when removing gitorious from import_sources
diff --git a/db/data_migration/20210304152459_update_pa_ur_attachments_to_pa_pk.rb b/db/data_migration/20210304152459_update_pa_ur_attachments_to_pa_pk.rb index abc1234..def5678 100644 --- a/db/data_migration/20210304152459_update_pa_ur_attachments_to_pa_pk.rb +++ b/db/data_migration/20210304152459_update_pa_ur_attachm...
Migrate Attachments with pa-ur locale to pa-pk
diff --git a/spec/helper.rb b/spec/helper.rb index abc1234..def5678 100644 --- a/spec/helper.rb +++ b/spec/helper.rb @@ -1,5 +1,9 @@ $:.unshift File.expand_path('..', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__) + +major, minor, patch = RUBY_VERSION.split('.') +$KCODE = 'UTF8' if major.to_i == 1 && min...
Set KCODE in Ruby versions < 1.9 for twitter-text
diff --git a/test/models/site_test.rb b/test/models/site_test.rb index abc1234..def5678 100644 --- a/test/models/site_test.rb +++ b/test/models/site_test.rb @@ -2,12 +2,12 @@ class SiteTest < ActiveSupport::TestCase setup do - @site = Site.create(name: "name", - js_url: "http://example.co...
Use `create!` instead of `create` Because `create!` raises an error when failed to create record.
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -18,7 +18,7 @@ # limitations under the License. if platform?('windows') - if node['platform_version'].to_i >= 6 + if node['platform_version'].to_f >= 6.1 windows_package 'Mic...
Fix the platform version detection Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/test/helpers/auth_helper.rb b/test/helpers/auth_helper.rb index abc1234..def5678 100644 --- a/test/helpers/auth_helper.rb +++ b/test/helpers/auth_helper.rb @@ -7,8 +7,10 @@ # Gets an auth token for the provided user # def auth_token(user = User.first) - user.extend_authentication_token(t...
TEST: Fix auth token generation in test helper
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -1,5 +1,13 @@ app = search(:aws_opsworks_app).first app_path = "/srv/#{app['shortname']}" + +package "git" do + # workaround for: + # WARNING: The following packages cannot be authe...
Install git, with force where needed
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -24,6 +24,6 @@ post_install_action node['chef_client_updater']['post_install_action'] download_url_override node['chef_client_updater']['download_url_override'] if node['chef_clie...
Fix warning '/ST is earlier than current time' Signed-off-by: Yury Levin <641503cf3d0489830b4ee74da6f72799d880a3d9@gmail.com>
diff --git a/test/test_application.rb b/test/test_application.rb index abc1234..def5678 100644 --- a/test/test_application.rb +++ b/test/test_application.rb @@ -1,6 +1,15 @@ require_relative 'test_helper' +class TestController < Rulers::Controller + def index + 'Hello!' + end +end + class TestApp < Rulers::Appl...
Update to mock controller in test
diff --git a/test/test_doctor_command.rb b/test/test_doctor_command.rb index abc1234..def5678 100644 --- a/test/test_doctor_command.rb +++ b/test/test_doctor_command.rb @@ -1,7 +1,7 @@ require 'helper' require 'jekyll/commands/doctor' -class TestDoctorCommand < Test::Unit::TestCase +class TestDoctorCommand < JekyllU...
Change TestDoctorCommand to JekyllUnitTest since Test constant doesn't necessarily exist
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb b/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb index abc1234..def5678 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +++ b/railties/lib/rails/generators/ra...
Check for existence of exactly the called `fixture_path=` method
diff --git a/db/migrate/20200312145819_add_root_account_id_to_wiki_pages.rb b/db/migrate/20200312145819_add_root_account_id_to_wiki_pages.rb index abc1234..def5678 100644 --- a/db/migrate/20200312145819_add_root_account_id_to_wiki_pages.rb +++ b/db/migrate/20200312145819_add_root_account_id_to_wiki_pages.rb @@ -0,0 +1,...
Add root account id to wiki pages Close PLAT-5577 Test Plan: - Verify migrations run - Verify the root_account_id can be set on a WikiPage record Change-Id: I537982140e9ae23a018c07f069dbb7d60454ccd8 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/229755 Tested-by: Service Cloud Jenkins <9144042a601061f88f...
diff --git a/devise-two-factor.gemspec b/devise-two-factor.gemspec index abc1234..def5678 100644 --- a/devise-two-factor.gemspec +++ b/devise-two-factor.gemspec @@ -24,9 +24,9 @@ s.add_runtime_dependency 'devise' s.add_runtime_dependency 'rotp' - s.add_development_dependency 'bundler', '~> 1.0' + s.add_devel...
Change dependency locking for bundler and simplecov
diff --git a/app/calculators/replacement_cost_plus_interest_calculator.rb b/app/calculators/replacement_cost_plus_interest_calculator.rb index abc1234..def5678 100644 --- a/app/calculators/replacement_cost_plus_interest_calculator.rb +++ b/app/calculators/replacement_cost_plus_interest_calculator.rb @@ -16,8 +16,8 @@ ...
Fix bug in replacement cost calculator
diff --git a/app/presenters/renalware/renal/clinical_summary_presenter.rb b/app/presenters/renalware/renal/clinical_summary_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/renalware/renal/clinical_summary_presenter.rb +++ b/app/presenters/renalware/renal/clinical_summary_presenter.rb @@ -37,13 +37,13 @@...
Fix issue in order of scopes
diff --git a/NPAudioStream.podspec b/NPAudioStream.podspec index abc1234..def5678 100644 --- a/NPAudioStream.podspec +++ b/NPAudioStream.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'NPAudioStream' - s.version = '0.1.1' + s.version = '0.1.2' s.license = 'MIT' s.summary = 'NPAudioStream is an...
Update version number to 0.1.2
diff --git a/rocketjob.gemspec b/rocketjob.gemspec index abc1234..def5678 100644 --- a/rocketjob.gemspec +++ b/rocketjob.gemspec @@ -1,5 +1,7 @@+$:.push File.expand_path("../lib", __FILE__) + # Maintain your gem's version: -require_relative 'lib/rocket_job/version' +require 'rocket_job/version' # Describe your gem ...
Make bundler work on JRuby
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -20,4 +20,6 @@ end end -Vote.create!(winner_id: 1, loser_id: 2) +(0..100).each do |num| + Vote.create!(winner_id: rand(0..1000), loser_id: rand(0..1000)) +end
Add votes to seed file for travis purposes
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,7 +1,25 @@-# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rake db:seed (or created alongside the db with db:setu...
Add seed file with partial information for msg and radio city.
diff --git a/telemetry-logger.gemspec b/telemetry-logger.gemspec index abc1234..def5678 100644 --- a/telemetry-logger.gemspec +++ b/telemetry-logger.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'telemetry-logger' - s.version = '0.1.8' + s.version = '0.1.9' s.summary ...
Package version increased from 0.1.8 to 0.1.9
diff --git a/test/hjstemplate_test.rb b/test/hjstemplate_test.rb index abc1234..def5678 100644 --- a/test/hjstemplate_test.rb +++ b/test/hjstemplate_test.rb @@ -7,6 +7,7 @@ assert_response :success assert_select 'head script[src^="/assets/templates/test"]', true, @response.body end + end class HjsTempla...
Fix to update path to template
diff --git a/services/QuillComprehension/app/graphql/types/response_type.rb b/services/QuillComprehension/app/graphql/types/response_type.rb index abc1234..def5678 100644 --- a/services/QuillComprehension/app/graphql/types/response_type.rb +++ b/services/QuillComprehension/app/graphql/types/response_type.rb @@ -6,8 +6,...
Add Graphql endpoint for LatestMetrics
diff --git a/svgeez.gemspec b/svgeez.gemspec index abc1234..def5678 100644 --- a/svgeez.gemspec +++ b/svgeez.gemspec @@ -19,7 +19,7 @@ spec.require_paths = ['lib'] spec.add_runtime_dependency 'listen', '~> 3.0' - spec.add_runtime_dependency 'mercenary' + spec.add_runtime_dependency 'mercenary', '~> 0.3' s...
Update gemspec with versioned Mercenary.
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,3 @@-$:<< File.expand_path('../../lib', __FILE__) - require 'minitest/autorun' require 'minitest/emoji' require 'pry'
Remove redundant addition to $LOAD_PATH
diff --git a/spec/features/linking_spec.rb b/spec/features/linking_spec.rb index abc1234..def5678 100644 --- a/spec/features/linking_spec.rb +++ b/spec/features/linking_spec.rb @@ -26,4 +26,15 @@ page.ui.class }.from(BarPage).to(FooPage) end + + scenario "UI is reloaded independently per session" do + ...
Add a preliminary test for multiple session support This passes for Rack::Test but may fail for Poltergeist.
diff --git a/spec/functions/concat_spec.rb b/spec/functions/concat_spec.rb index abc1234..def5678 100644 --- a/spec/functions/concat_spec.rb +++ b/spec/functions/concat_spec.rb @@ -27,4 +27,9 @@ expect(result).to(eq(['1','2','3',['4','5'],'6'])) end + it "should leave the original array intact" do + array_...
Introduce test for array destruction It was discovered that the concat array modifies the arrays passed to it as an argument as a side effect. This test will ensure that doesn't happen again.
diff --git a/spec/models/responses_spec.rb b/spec/models/responses_spec.rb index abc1234..def5678 100644 --- a/spec/models/responses_spec.rb +++ b/spec/models/responses_spec.rb @@ -2,4 +2,13 @@ describe Response do let!(:response) { Response.new(body: "comments comments") } it { should respond_to :body } + + con...
Add 3 more model exmaples for Response
diff --git a/spec/views/tags_views_spec.rb b/spec/views/tags_views_spec.rb index abc1234..def5678 100644 --- a/spec/views/tags_views_spec.rb +++ b/spec/views/tags_views_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe "TagViews" do - before do + before(:each) do @tag1 = create(:tag, name: "tag1") @...
Remove ambiguity in 'before' block Remove ambiguity by specifying that the 'before' block is being executed before each 'describe' block below it.
diff --git a/app/controllers/coursewareable/api/v1/classrooms_controller.rb b/app/controllers/coursewareable/api/v1/classrooms_controller.rb index abc1234..def5678 100644 --- a/app/controllers/coursewareable/api/v1/classrooms_controller.rb +++ b/app/controllers/coursewareable/api/v1/classrooms_controller.rb @@ -2,33 +2...
Send requests to resource owner instead of querying everyhing globally.
diff --git a/spec/controllers/neighborly/balanced/bankaccount/payments_controller_spec.rb b/spec/controllers/neighborly/balanced/bankaccount/payments_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/neighborly/balanced/bankaccount/payments_controller_spec.rb +++ b/spec/controllers/neighborly/bala...
Add a basic spec for payments controller
diff --git a/spec/event_spec.rb b/spec/event_spec.rb index abc1234..def5678 100644 --- a/spec/event_spec.rb +++ b/spec/event_spec.rb @@ -0,0 +1,23 @@+require_relative 'helper_spec' + +describe Analytics do + + before :each do + Analytics.configure "UA-XYZABCZA-1", "AnalyticsTest" + end + + it 'should be able to...
Add prelim event logging spec
diff --git a/config/deploy.rb b/config/deploy.rb index abc1234..def5678 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -34,3 +34,5 @@ # Default value for keep_releases is 5 set :keep_releases, 3 + +set :rvm_ruby_version, '2.3.3@trinity'
Set rvm gemset in Capfile
diff --git a/core/app/mailers/user_mailer.rb b/core/app/mailers/user_mailer.rb index abc1234..def5678 100644 --- a/core/app/mailers/user_mailer.rb +++ b/core/app/mailers/user_mailer.rb @@ -1,4 +1,6 @@ class UserMailer < ActionMailer::Base + include Resque::Mailer + default from: "no-reply@factlink.com" def welc...
Include Rescue::Mailer in the UserMailer Signed-off-by: tomdev <96835dd8bfa718bd6447ccc87af89ae1675daeca@codigy.nl>
diff --git a/adn-cli.gemspec b/adn-cli.gemspec index abc1234..def5678 100644 --- a/adn-cli.gemspec +++ b/adn-cli.gemspec @@ -1,17 +1,17 @@ # -*- encoding: utf-8 -*- -require File.expand_path('../lib/adn/version', __FILE__) +require File.expand_path('../lib/adn/cli/version', __FILE__) Gem::Specification.new do |gem| ...
Use ADN::CLI::VERSION as the version number, added myself to the list of authors, changed the homepage.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,7 +6,7 @@ devise_scope :user do get "/users/sign_out" => "devise/sessions#destroy" resource :setup do - resources :seeds, only: [:index] if Rails.env.development? || Rails....
Allow seeds controller on dev (not testing)
diff --git a/congress.gemspec b/congress.gemspec index abc1234..def5678 100644 --- a/congress.gemspec +++ b/congress.gemspec @@ -4,7 +4,7 @@ Gem::Specification.new do |gem| gem.add_dependency 'faraday', '~> 0.7' gem.add_dependency 'faraday_middleware', '~> 0.7' - gem.add_dependency 'hashie', '~> 1.1' + gem.add_...
Update hashie dependency to version ~> 2.0
diff --git a/antwrap.gemspec b/antwrap.gemspec index abc1234..def5678 100644 --- a/antwrap.gemspec +++ b/antwrap.gemspec @@ -8,13 +8,13 @@ SPEC = Gem::Specification.new do |s| s.name = 'Antwrap' - s.version = '0.2' + s.version = '0.3' s.author = 'Caleb Powell' s.email = ...
Update the gemspec. Version number is now at 0.3.
diff --git a/db/migrate/20170126160535_add_originally_published_at_to_nppf_manual.rb b/db/migrate/20170126160535_add_originally_published_at_to_nppf_manual.rb index abc1234..def5678 100644 --- a/db/migrate/20170126160535_add_originally_published_at_to_nppf_manual.rb +++ b/db/migrate/20170126160535_add_originally_publis...
Add migration to add original publication date to a manual This is the national planning policy framework manual that we had to set the first_published_at and public_updated_at timestamps of in #788. We set the originally_published_at and use_originally_published_at_for_public_timestamp values that we would have used...
diff --git a/db/migrate/20200312152659_add_root_account_id_to_rubric_associations.rb b/db/migrate/20200312152659_add_root_account_id_to_rubric_associations.rb index abc1234..def5678 100644 --- a/db/migrate/20200312152659_add_root_account_id_to_rubric_associations.rb +++ b/db/migrate/20200312152659_add_root_account_id_t...
Add root account to rubric associations Closes PLAT-5575 flag=none Test Plan: - Verify migrations run - Verify a root_account_id can be set on a RubricAssociation record Change-Id: I5dfe80ccd1cd3f0a2cc42f9411d860ef5f77034a Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/229765 Tested-by: Service Cloud Jen...
diff --git a/lib/ar_transaction_changes.rb b/lib/ar_transaction_changes.rb index abc1234..def5678 100644 --- a/lib/ar_transaction_changes.rb +++ b/lib/ar_transaction_changes.rb @@ -26,7 +26,7 @@ @transaction_changed_attributes = nil end else - def run_callbacks(kind) + def run_callbacks(kind, *args)...
Allow additional arguments to run_callbacks for rails 3.2 ActiveSupport::Callbacks#run_callbacks is defined as def run_callbacks(kind, *args, &block) in rails 3.2, then the `*args` argument was removed in rails 4.0, so ar_transaction_changes should allow these additional arguments to be passed in.
diff --git a/lib/bundler/build_metadata.rb b/lib/bundler/build_metadata.rb index abc1234..def5678 100644 --- a/lib/bundler/build_metadata.rb +++ b/lib/bundler/build_metadata.rb @@ -28,7 +28,9 @@ # If Bundler has been installed without its .git directory and without a # commit instance variable then we can'...
Check for file or folder when checking for git hash in build metadata
diff --git a/lib/digitec_watcher/mailer.rb b/lib/digitec_watcher/mailer.rb index abc1234..def5678 100644 --- a/lib/digitec_watcher/mailer.rb +++ b/lib/digitec_watcher/mailer.rb @@ -14,7 +14,7 @@ @last_delivery = notification.last_delivery article = notification.article_title mail(:to => notification...
Change "From" of notification mails Maybe it would be a good idea to make it configurable, but "meh" for now.
diff --git a/lib/foodcritic/rules/fc042.rb b/lib/foodcritic/rules/fc042.rb index abc1234..def5678 100644 --- a/lib/foodcritic/rules/fc042.rb +++ b/lib/foodcritic/rules/fc042.rb @@ -1,5 +1,5 @@ rule "FC042", "Prefer include_recipe to require_recipe" do - tags %w{correctness deprecated} + tags %w{correctness deprecated...
Add chef15 tag to FC042 We've removed this old method from Chef 15. Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/generators/acts_as_licensed_migration/templates/migration.rb b/generators/acts_as_licensed_migration/templates/migration.rb index abc1234..def5678 100644 --- a/generators/acts_as_licensed_migration/templates/migration.rb +++ b/generators/acts_as_licensed_migration/templates/migration.rb @@ -7,7 +7,7 @@ ...
Refinement: Allow null values in metadata column
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index abc1234..def5678 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -15,13 +15,13 @@ end def app_status - status = begin - Rails::Sequel.connection.select('OK').first.values...
Monitor redis in status url
diff --git a/lib/rp_capistrano/newrelic.rb b/lib/rp_capistrano/newrelic.rb index abc1234..def5678 100644 --- a/lib/rp_capistrano/newrelic.rb +++ b/lib/rp_capistrano/newrelic.rb @@ -5,31 +5,12 @@ def self.load_into(configuration) configuration.load do after 'deploy:update', 'rp:newrelic:enable_monito...
Remove custom new relic deploy task
diff --git a/core/lib/generators/refinery/engine/templates/config/routes.rb b/core/lib/generators/refinery/engine/templates/config/routes.rb index abc1234..def5678 100644 --- a/core/lib/generators/refinery/engine/templates/config/routes.rb +++ b/core/lib/generators/refinery/engine/templates/config/routes.rb @@ -5,15 +5...
Insert the namespace into the admin path if it's different to the plural_name.
diff --git a/lib/travis/shell/generator.rb b/lib/travis/shell/generator.rb index abc1234..def5678 100644 --- a/lib/travis/shell/generator.rb +++ b/lib/travis/shell/generator.rb @@ -12,7 +12,7 @@ def generate(ignore_taint = false) lines = Array(handle(nodes)).flatten - script = lines.join("\n").s...
Print line if it is tainted
diff --git a/lib/web_bouncer/middleware.rb b/lib/web_bouncer/middleware.rb index abc1234..def5678 100644 --- a/lib/web_bouncer/middleware.rb +++ b/lib/web_bouncer/middleware.rb @@ -20,7 +20,7 @@ r.is 'auth/logout' do Matcher.call(OauthContainer['oauth.logout'].call) do |m| m.success do |value|...
Use session instead env variable
diff --git a/app/mailers/course/mailer.rb b/app/mailers/course/mailer.rb index abc1234..def5678 100644 --- a/app/mailers/course/mailer.rb +++ b/app/mailers/course/mailer.rb @@ -31,7 +31,7 @@ def user_registered_email(course, course_user) @course = course @course_user = course_user - @recipient = Struct.n...
Fix wrong recipient name in greetings
diff --git a/features/support/hooks.rb b/features/support/hooks.rb index abc1234..def5678 100644 --- a/features/support/hooks.rb +++ b/features/support/hooks.rb @@ -1,7 +1,10 @@+ +# Before each scenario... Before do - CouchRestRails::Tests.setup +# CouchRestRails::Tests.setup end +# After each scenario... After ...
Disable database refresh between each scenario
diff --git a/app/models/manual_with_sections.rb b/app/models/manual_with_sections.rb index abc1234..def5678 100644 --- a/app/models/manual_with_sections.rb +++ b/app/models/manual_with_sections.rb @@ -1,6 +1,4 @@-require "delegate" - -class ManualWithSections < SimpleDelegator +class ManualWithSections attr_writer :...
Use explicit delegation from ManualWithSections to Manual Instead of the implicit delegation provided by `SimpleDelegator`.
diff --git a/delayed_job_data_mapper.gemspec b/delayed_job_data_mapper.gemspec index abc1234..def5678 100644 --- a/delayed_job_data_mapper.gemspec +++ b/delayed_job_data_mapper.gemspec @@ -19,6 +19,7 @@ s.add_runtime_dependency 'dm-aggregates' s.add_runtime_dependency 'delayed_job', '3.0.0.pre2' s.ad...
Declare TZInfo as a runtime dependency.
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 @@ -7,7 +7,7 @@ tpl = (params[:layout] || 'hero').to_sym tpl = :hero unless [:email, :hero, :simple].include? ...
Use a mock user object in email preview Security issue.
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,7 +1,11 @@ class UsersController < ApplicationController def show - @user = User.find(params[:id]) + ...
Add static link to the "me" user.
diff --git a/cruise_config.rb b/cruise_config.rb index abc1234..def5678 100644 --- a/cruise_config.rb +++ b/cruise_config.rb @@ -1,4 +1,4 @@ Project.configure do |project| - project.email_notifier.emails = ['scott@butlerpress.com'] + project.email_notifier.emails = ['scott@butlerpress.com', "wsbaracing@gmail.com"] ...
Add WSBA admin email to cc.rb CI notifications
diff --git a/app/models/mixins/archived_mixin.rb b/app/models/mixins/archived_mixin.rb index abc1234..def5678 100644 --- a/app/models/mixins/archived_mixin.rb +++ b/app/models/mixins/archived_mixin.rb @@ -2,18 +2,18 @@ extend ActiveSupport::Concern included do - scope :archived, -> { where.not(:deleted_on => ...
Use deleted boolean for active/archived scopes Use deleted boolean for active/archived scopes, since using boolean with a partial index is much faster.
diff --git a/app/controllers/dataset_files_controller.rb b/app/controllers/dataset_files_controller.rb index abc1234..def5678 100644 --- a/app/controllers/dataset_files_controller.rb +++ b/app/controllers/dataset_files_controller.rb @@ -13,6 +13,7 @@ dataset_file_id = params[:dataset_file_id] @dataset_file = Datas...
Add restriction for non owner of dataset collection - 403
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -10,6 +10,7 @@ supports 'centos' supports 'debian' supports 'fedora' +supports 'freebsd' supports 'mac_os_x', '>= 10.6.0' supports 'mac_os_x_server', '>= 10.6.0' supports 'oracle'
Add `freebsd` to supports list