diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/config/mapping.rb b/config/mapping.rb index abc1234..def5678 100644 --- a/config/mapping.rb +++ b/config/mapping.rb @@ -19,7 +19,9 @@ 1 => "gmontard", 5 => "petrachi", 20 => "jennyfer", - 19 => "Oliv75" + 19 => "Oliv75", + 45 => "djtal", + 46 => "freiden" } e...
Update Mapping for Charles && GuillaumeG
diff --git a/config/unicorn.rb b/config/unicorn.rb index abc1234..def5678 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -1,3 +1,3 @@ worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3) -timeout 15 +timeout 60 preload_app true
Increase Unicorn timeout -- many requests are able to complete in the original time
diff --git a/lib/uwdc/mets.rb b/lib/uwdc/mets.rb index abc1234..def5678 100644 --- a/lib/uwdc/mets.rb +++ b/lib/uwdc/mets.rb @@ -17,37 +17,35 @@ end end - def xml - get - end + alias :nodes :get def to_json - Hash.from_xml(xml.to_xml).to_json + Hash.from_xml(nodes.to_...
Improve variable name, nodes shall be nodes not xml
diff --git a/lingohub.gemspec b/lingohub.gemspec index abc1234..def5678 100644 --- a/lingohub.gemspec +++ b/lingohub.gemspec @@ -1,23 +1,23 @@ # -*- encoding: utf-8 -*- -require File.expand_path("../lib/lingohub/version", __FILE__) +require File.expand_path('../lib/lingohub/version', __FILE__) Gem::Specification.n...
Update gem dependencies to newest version.
diff --git a/test/git/duo/repo_test.rb b/test/git/duo/repo_test.rb index abc1234..def5678 100644 --- a/test/git/duo/repo_test.rb +++ b/test/git/duo/repo_test.rb @@ -3,28 +3,25 @@ module Git::Duo class RepoTest < MiniTest::Test def setup - @repo = Repo.new '~/code/mynewsdesk' + @repo = Repo.new '~/code...
Move mock logic to method to DRY up test
diff --git a/spec/buildr/bnd/project_extension_spec.rb b/spec/buildr/bnd/project_extension_spec.rb index abc1234..def5678 100644 --- a/spec/buildr/bnd/project_extension_spec.rb +++ b/spec/buildr/bnd/project_extension_spec.rb @@ -0,0 +1,11 @@+require File.expand_path('../../../spec_helper', __FILE__) + +describe "projec...
Add start of specs for extension
diff --git a/homebrew/chgems.rb b/homebrew/chgems.rb index abc1234..def5678 100644 --- a/homebrew/chgems.rb +++ b/homebrew/chgems.rb @@ -4,7 +4,7 @@ url 'https://github.com/downloads/postmodern/chgems/chgems-0.2.4.tar.gz' homepage 'https://github.com/postmodern/chgems#readme' - md5 '51fd2c6021d95495d41f3a2c4594...
Use sha1 instead of md5 (deprecated).
diff --git a/test/zohoprojects_test.rb b/test/zohoprojects_test.rb index abc1234..def5678 100644 --- a/test/zohoprojects_test.rb +++ b/test/zohoprojects_test.rb @@ -0,0 +1,32 @@+require File.expand_path('../helper', __FILE__) + +class ZohoProjectsTest < Service::TestCase + + def setup + @stubs = Faraday::Adapter:...
Test script for integration with ZohoProjects
diff --git a/spec/unit/converters/convert_hash_spec.rb b/spec/unit/converters/convert_hash_spec.rb index abc1234..def5678 100644 --- a/spec/unit/converters/convert_hash_spec.rb +++ b/spec/unit/converters/convert_hash_spec.rb @@ -0,0 +1,12 @@+# frozen_string_literal: true + +RSpec.describe TTY::Prompt::Question, "conver...
Add check to ensure ask prompt converts answer to hash type
diff --git a/features/step_definitions/invoicer_steps.rb b/features/step_definitions/invoicer_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/invoicer_steps.rb +++ b/features/step_definitions/invoicer_steps.rb @@ -1,9 +1,10 @@ # Invoice queue When /^the attendee invoicer runs$/ do + # Set som...
Fix default setting of base price and description
diff --git a/make-sponsors.rb b/make-sponsors.rb index abc1234..def5678 100644 --- a/make-sponsors.rb +++ b/make-sponsors.rb @@ -0,0 +1,19 @@+require "yaml" +print "Enter the event in YYYY-city format: " +cityname = gets.chomp +config = YAML.load_file("data/events/#{cityname}.yml") +sponsors = config['sponsors'] +spons...
Create script for generating sponsor files This ruby script basically reads in a city config file and creates the sponsor file associated with it. It will NOT create the images, naturally, but this will make it somewhat easier.
diff --git a/rusic.gemspec b/rusic.gemspec index abc1234..def5678 100644 --- a/rusic.gemspec +++ b/rusic.gemspec @@ -20,6 +20,7 @@ spec.add_runtime_dependency 'thor', '~> 0.14.6' spec.add_runtime_dependency 'rest-client', '~> 1.6' + spec.add_runtime_dependency 'filewatcher', '~> 0.3' spec.add_development_d...
Add file watcher as dependency
diff --git a/ember-dev.gemspec b/ember-dev.gemspec index abc1234..def5678 100644 --- a/ember-dev.gemspec +++ b/ember-dev.gemspec @@ -6,7 +6,7 @@ gem.email = ["peter.wagenet@gmail.com"] gem.description = "Ember Package Development Tooling" gem.summary = "Tooling for developing Ember packages." - ...
Add homepage to avoid warning on `gem build` On `gem build ember-dev.gemspec` the following warning is shown: ``` WARNING: no homepage specified ```
diff --git a/ext/balance_tags_c/extconf.rb b/ext/balance_tags_c/extconf.rb index abc1234..def5678 100644 --- a/ext/balance_tags_c/extconf.rb +++ b/ext/balance_tags_c/extconf.rb @@ -1,5 +1,4 @@ require 'mkmf' dir_config("balance_tags_c") -puts "here we are" create_makefile("balance_tags_c")
Remove random debug message. Oops.
diff --git a/lib/active_record/connection_adapters/sqlserver/type/char.rb b/lib/active_record/connection_adapters/sqlserver/type/char.rb index abc1234..def5678 100644 --- a/lib/active_record/connection_adapters/sqlserver/type/char.rb +++ b/lib/active_record/connection_adapters/sqlserver/type/char.rb @@ -24,6 +24,10 @@ ...
Add to_s method to SQLServer::Type::Char::Data object
diff --git a/lib/overriaktion/vcr.rb b/lib/overriaktion/vcr.rb index abc1234..def5678 100644 --- a/lib/overriaktion/vcr.rb +++ b/lib/overriaktion/vcr.rb @@ -2,8 +2,12 @@ require 'vcr' -VCR.config do |c| - c.stub_with :webmock - c.cassette_library_dir = 'fixtures/vcr_cassettes' - c.default_cassette_options = { :r...
Load VCR if running in the test environment.
diff --git a/spec/features/musics_spec.rb b/spec/features/musics_spec.rb index abc1234..def5678 100644 --- a/spec/features/musics_spec.rb +++ b/spec/features/musics_spec.rb @@ -35,6 +35,10 @@ it 'redirects musics_path' do expect(current_path).to eq musics_path end + + it 'have a search box' d...
Add spec for search box
diff --git a/app/models/kalibro_range.rb b/app/models/kalibro_range.rb index abc1234..def5678 100644 --- a/app/models/kalibro_range.rb +++ b/app/models/kalibro_range.rb @@ -8,8 +8,8 @@ validates :beginning, :end, :reading, :metric_configuration, presence: true validates :beginning, uniqueness: {scope: :metric_conf...
Add constraints for running custom range validators In spite of having the numericality validator the IntervalValidator and RangeOverlappingValidtor would always run, due to rails conventions. When the beginning or end of the range were not numerical, an exception was risen. We now prevent our custom validators to ru...
diff --git a/app/services/weather_man.rb b/app/services/weather_man.rb index abc1234..def5678 100644 --- a/app/services/weather_man.rb +++ b/app/services/weather_man.rb @@ -2,17 +2,21 @@ @w_api = Wunderground.new(ENV["WUNDERGROUND_API_KEY"]) def self.current_outdoor_temp(zip_code) - Rails.cache.fetch("current...
Implement caching to minimize weather underground API calls
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -1,4 +1,8 @@ class HelloWorldApp < Sinatra::Base + configure do + set :protection, :except => :frame_options + end + get '/' do "Hello, world!" end
Allow iframes to use the button -This removes restrictions that set X-Frame-Options to ‘SAMEORIGIN’.
diff --git a/ffi-proj4.gemspec b/ffi-proj4.gemspec index abc1234..def5678 100644 --- a/ffi-proj4.gemspec +++ b/ffi-proj4.gemspec @@ -11,6 +11,7 @@ s.description = "An ffi wrapper for the PROJ.4 Cartographic Projections library." s.summary = s.description s.email = "dark.panda@gmail.com" + s.license = "MIT" ...
Add license details to gemspec.
diff --git a/spec/overcommit/hook/pre_commit/berksfile_check_spec.rb b/spec/overcommit/hook/pre_commit/berksfile_check_spec.rb index abc1234..def5678 100644 --- a/spec/overcommit/hook/pre_commit/berksfile_check_spec.rb +++ b/spec/overcommit/hook/pre_commit/berksfile_check_spec.rb @@ -13,45 +13,51 @@ it { should war...
Fix BerksfileCheck spec to stub in_path? This spec would pass locally but fail on Travis because it didn't stub the `in_path?` call. Fix it. Change-Id: I359f69518eae2f108761c6e48f2273a9b8cc146e Reviewed-on: http://gerrit.causes.com/37940 Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com> Reviewe...
diff --git a/CareerCup/convertstring_to_perm.rb b/CareerCup/convertstring_to_perm.rb index abc1234..def5678 100644 --- a/CareerCup/convertstring_to_perm.rb +++ b/CareerCup/convertstring_to_perm.rb @@ -0,0 +1,29 @@+# Convert string to permutations using only adjacent swaps +# +# Example: CAT TAC +# +# CAT CTA TCA TAC +#...
Convert a string to its permutation using only neighbor swaps
diff --git a/web/app/admin/endpoint.rb b/web/app/admin/endpoint.rb index abc1234..def5678 100644 --- a/web/app/admin/endpoint.rb +++ b/web/app/admin/endpoint.rb @@ -17,6 +17,23 @@ permitted = [:name, :url] end + show do + panel "Endpoint Details" do + attributes_table_for endpoint do + row :id ...
Add link to prefixes page
diff --git a/test/models/optional_modules/mailings/mailing_setting_test.rb b/test/models/optional_modules/mailings/mailing_setting_test.rb index abc1234..def5678 100644 --- a/test/models/optional_modules/mailings/mailing_setting_test.rb +++ b/test/models/optional_modules/mailings/mailing_setting_test.rb @@ -4,7 +4,27 @...
Add tests for email validator
diff --git a/RedditKit.podspec b/RedditKit.podspec index abc1234..def5678 100644 --- a/RedditKit.podspec +++ b/RedditKit.podspec @@ -14,6 +14,6 @@ s.source_files = 'Classes/*.{h,m}', 'Classes/**/*.{h,m}' s.header_mappings_dir = 'Classes' - s.dependency 'AFNetworking/NSURLSession', '~> 2.0' + s.dependency 'AF...
Switch back to having AFNetworking as a dependency instead of just the subspec AFNetworking/NSURLSession There are bugs in AFNetworking/NSURLSession which requires it to use other files not included in the subspec.
diff --git a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb index abc1234..def5678 100644 --- a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb +++ b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb @@ -0,0 +1,24 @@+mo...
JariBakken: Add missing file from last commit. git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@12313 07704840-8298-11de-bf8c-fd130f914ac9
diff --git a/test/controllers/users_controller_test.rb b/test/controllers/users_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/users_controller_test.rb +++ b/test/controllers/users_controller_test.rb @@ -5,7 +5,6 @@ include Devise::Test::ControllerHelpers setup do - @ad = create(:ad) ...
Remove unused variable from test
diff --git a/app/views/renalware/api/ukrdc/patients/diagnoses/_cause_of_death.xml.builder b/app/views/renalware/api/ukrdc/patients/diagnoses/_cause_of_death.xml.builder index abc1234..def5678 100644 --- a/app/views/renalware/api/ukrdc/patients/diagnoses/_cause_of_death.xml.builder +++ b/app/views/renalware/api/ukrdc/pa...
Change CauseOfDeath CodingStandard to EDTA_COD
diff --git a/core/db/migrate/20150731201146_add_spree_user_addresses.rb b/core/db/migrate/20150731201146_add_spree_user_addresses.rb index abc1234..def5678 100644 --- a/core/db/migrate/20150731201146_add_spree_user_addresses.rb +++ b/core/db/migrate/20150731201146_add_spree_user_addresses.rb @@ -5,7 +5,7 @@ t.int...
Add missing null: false on user addresses
diff --git a/dashboard/db/migrate/20150804174622_change_phase_to_int.rb b/dashboard/db/migrate/20150804174622_change_phase_to_int.rb index abc1234..def5678 100644 --- a/dashboard/db/migrate/20150804174622_change_phase_to_int.rb +++ b/dashboard/db/migrate/20150804174622_change_phase_to_int.rb @@ -1,25 +1,25 @@ class Cha...
Fix indentation. Workshops to Workshop.
diff --git a/lib/acts_as_tenant/controller_extensions.rb b/lib/acts_as_tenant/controller_extensions.rb index abc1234..def5678 100644 --- a/lib/acts_as_tenant/controller_extensions.rb +++ b/lib/acts_as_tenant/controller_extensions.rb @@ -1,46 +1,52 @@ module ActsAsTenant module ControllerExtensions - - # this me...
Fix to get current_tenant working
diff --git a/lib/asciidoctor-diagram/svgbob/converter.rb b/lib/asciidoctor-diagram/svgbob/converter.rb index abc1234..def5678 100644 --- a/lib/asciidoctor-diagram/svgbob/converter.rb +++ b/lib/asciidoctor-diagram/svgbob/converter.rb @@ -12,6 +12,10 @@ def supported_formats [:svg] + end + + de...
Enable native scaling for svgbob
diff --git a/lib/resume_generator/cli/argument_parser.rb b/lib/resume_generator/cli/argument_parser.rb index abc1234..def5678 100644 --- a/lib/resume_generator/cli/argument_parser.rb +++ b/lib/resume_generator/cli/argument_parser.rb @@ -1,24 +1,24 @@ require_relative '../../resume_generator' require_relative 'colours'...
Refactor default locale assignment on argument parser
diff --git a/lib/the_community_farm/organic_boxes/box.rb b/lib/the_community_farm/organic_boxes/box.rb index abc1234..def5678 100644 --- a/lib/the_community_farm/organic_boxes/box.rb +++ b/lib/the_community_farm/organic_boxes/box.rb @@ -19,7 +19,10 @@ end def box_size - @box_size ||= noko.at_css('...
Make code compatible with Ruby 2.1
diff --git a/field_types/core/tag/tag_cell.rb b/field_types/core/tag/tag_cell.rb index abc1234..def5678 100644 --- a/field_types/core/tag/tag_cell.rb +++ b/field_types/core/tag/tag_cell.rb @@ -8,6 +8,16 @@ render end + private + + def value + if data + ...
Create Core Cells for new Field Types
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -0,0 +1,88 @@+require 'rails_helper' + +RSpec.describe ApplicationCo...
Test ApplicationController methods with dedicated spec.
diff --git a/spec/premailer-rails3/hook_registration_spec.rb b/spec/premailer-rails3/hook_registration_spec.rb index abc1234..def5678 100644 --- a/spec/premailer-rails3/hook_registration_spec.rb +++ b/spec/premailer-rails3/hook_registration_spec.rb @@ -2,8 +2,8 @@ describe 'ActionMailer::Base.register_interceptor' do...
Make spec ruby 1.8 compatible
diff --git a/spec/integration/display_adapters_spec.rb b/spec/integration/display_adapters_spec.rb index abc1234..def5678 100644 --- a/spec/integration/display_adapters_spec.rb +++ b/spec/integration/display_adapters_spec.rb @@ -12,6 +12,7 @@ "string", "select", nil, + [], [], ...
Update display adapters spec to match AST output
diff --git a/app/controllers/resources_controller.rb b/app/controllers/resources_controller.rb index abc1234..def5678 100644 --- a/app/controllers/resources_controller.rb +++ b/app/controllers/resources_controller.rb @@ -21,6 +21,7 @@ end def show + @comment = @resource.comments.build end def edit @@ ...
Change topic params to tag params.
diff --git a/lib/after_commit_action.rb b/lib/after_commit_action.rb index abc1234..def5678 100644 --- a/lib/after_commit_action.rb +++ b/lib/after_commit_action.rb @@ -17,10 +17,10 @@ end def execute_after_commit(&block) - if ActiveRecord::Base.connection.open_transactions == 0 + if self.class.connection....
Use `self.class.connection` instead of `ActiveRecord::Base.connection`
diff --git a/test/integration/shareable_preview_generate_new_link_test.rb b/test/integration/shareable_preview_generate_new_link_test.rb index abc1234..def5678 100644 --- a/test/integration/shareable_preview_generate_new_link_test.rb +++ b/test/integration/shareable_preview_generate_new_link_test.rb @@ -0,0 +1,63 @@+re...
Add integration test for generating new sharable link
diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb index abc1234..def5678 100644 --- a/config/initializers/gds-sso.rb +++ b/config/initializers/gds-sso.rb @@ -2,5 +2,5 @@ config.user_model = 'User' config.oauth_id = ENV['OAUTH_ID'] config.oauth_secret = ENV['OAUTH_SECRET'] - con...
Use an external URL for Signon
diff --git a/app/workers/feed_refresher_scheduler.rb b/app/workers/feed_refresher_scheduler.rb index abc1234..def5678 100644 --- a/app/workers/feed_refresher_scheduler.rb +++ b/app/workers/feed_refresher_scheduler.rb @@ -6,55 +6,46 @@ include BatchJobs sidekiq_options queue: :critical - STRATEGY_KEY = "last_ref...
Add counter for number of feed refreshes
diff --git a/app/helpers/application_helper/button/container_timeline.rb b/app/helpers/application_helper/button/container_timeline.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper/button/container_timeline.rb +++ b/app/helpers/application_helper/button/container_timeline.rb @@ -0,0 +1,15 @@+class ...
Create button a class for container timeline buttons
diff --git a/app/views/api/visualizations/network_analysis.json.jbuilder b/app/views/api/visualizations/network_analysis.json.jbuilder index abc1234..def5678 100644 --- a/app/views/api/visualizations/network_analysis.json.jbuilder +++ b/app/views/api/visualizations/network_analysis.json.jbuilder @@ -4,4 +4,4 @@ json....
Fix nodes order after performing a network analysis
diff --git a/spec/controllers/alexa_interface_controller_spec.rb b/spec/controllers/alexa_interface_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/alexa_interface_controller_spec.rb +++ b/spec/controllers/alexa_interface_controller_spec.rb @@ -7,8 +7,21 @@ 'request' => { 'intent'...
Add currently empty tests to test the responses to different intents
diff --git a/spec/presenters/tree_node/custom_button_set_spec.rb b/spec/presenters/tree_node/custom_button_set_spec.rb index abc1234..def5678 100644 --- a/spec/presenters/tree_node/custom_button_set_spec.rb +++ b/spec/presenters/tree_node/custom_button_set_spec.rb @@ -2,9 +2,14 @@ describe TreeNode::CustomButtonSet d...
Fix custom button set tooltip spec This spec uses a shared example assuming that it behaves like all other tree nodes, however: * this attribute is based on the description of the object, not the name as it is in others * it just so happens that the name will equal the description if run in isolation, because of ...
diff --git a/knife-ec2.gemspec b/knife-ec2.gemspec index abc1234..def5678 100644 --- a/knife-ec2.gemspec +++ b/knife-ec2.gemspec @@ -13,8 +13,7 @@ s.license = "Apache-2.0" s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables =...
Remove executables from gemspec and cleanup test files We only have specs in this repo and knife plugins never have binaries so this whole thing was unnecessary. Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
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 '139.1226' - sha256 '7f9e55d3f5070fb5869eb7053566f21067600d11f93435074fad9cf399ea1626' + version '141.176' + sha256...
Update PhpStorm-EAP.app to version 141.176.
diff --git a/lib/ridgepole/ext/abstract_mysql_adapter/use_alter_index.rb b/lib/ridgepole/ext/abstract_mysql_adapter/use_alter_index.rb index abc1234..def5678 100644 --- a/lib/ridgepole/ext/abstract_mysql_adapter/use_alter_index.rb +++ b/lib/ridgepole/ext/abstract_mysql_adapter/use_alter_index.rb @@ -7,7 +7,7 @@ mod...
Fix pass hash to last argument as keyword
diff --git a/gir_ffi-pretty_printer.gemspec b/gir_ffi-pretty_printer.gemspec index abc1234..def5678 100644 --- a/gir_ffi-pretty_printer.gemspec +++ b/gir_ffi-pretty_printer.gemspec @@ -20,7 +20,7 @@ s.add_runtime_dependency('mvz-live_ast', ['~> 1.1.3']) s.add_runtime_dependency('binding_of_caller', ['~> 0.7.2']) ...
Update development dependency on rake
diff --git a/DelaunaySwift.podspec b/DelaunaySwift.podspec index abc1234..def5678 100644 --- a/DelaunaySwift.podspec +++ b/DelaunaySwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "DelaunaySwift" - spec.version = "0.1.2" + spec.version = "1.0.0" spec.summary ...
Bump pod version to 1.0.0
diff --git a/app/presenters/api/v2/commodities/commodity_presenter.rb b/app/presenters/api/v2/commodities/commodity_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/api/v2/commodities/commodity_presenter.rb +++ b/app/presenters/api/v2/commodities/commodity_presenter.rb @@ -34,7 +34,14 @@ export...
Add proper heading_id and chapter_id to commodity jsonapi presenter
diff --git a/app/serializers/gobierto_data/dataset_meta_serializer.rb b/app/serializers/gobierto_data/dataset_meta_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/gobierto_data/dataset_meta_serializer.rb +++ b/app/serializers/gobierto_data/dataset_meta_serializer.rb @@ -12,7 +12,11 @@ end a...
Update datasets columns attribute in meta to include data types
diff --git a/Casks/bittorrent-sync.rb b/Casks/bittorrent-sync.rb index abc1234..def5678 100644 --- a/Casks/bittorrent-sync.rb +++ b/Casks/bittorrent-sync.rb @@ -7,7 +7,7 @@ name 'BitTorrent Sync' # todo: response was not XML # appcast 'http://www.usyncapp.com/cfu.php' - homepage 'http://www.bittorrent.com/sync...
Fix homepage to use SSL in BitTorrent Sync Cask The HTTP 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/lib/koi/engine.rb b/lib/koi/engine.rb index abc1234..def5678 100644 --- a/lib/koi/engine.rb +++ b/lib/koi/engine.rb @@ -9,6 +9,10 @@ app.middleware.use ::ActionDispatch::Static, "#{root}/public" app.middleware.use Koi::UrlRedirect app.config.assets.precompile += %w( + koi.js + ...
Revert earlier change to assets precompile list
diff --git a/app/controllers/atmosphere/admin/virtual_machines_controller.rb b/app/controllers/atmosphere/admin/virtual_machines_controller.rb index abc1234..def5678 100644 --- a/app/controllers/atmosphere/admin/virtual_machines_controller.rb +++ b/app/controllers/atmosphere/admin/virtual_machines_controller.rb @@ -10,...
Fix save action on admin VM view
diff --git a/test/unit/client_interface_sections/history_test.rb b/test/unit/client_interface_sections/history_test.rb index abc1234..def5678 100644 --- a/test/unit/client_interface_sections/history_test.rb +++ b/test/unit/client_interface_sections/history_test.rb @@ -0,0 +1,19 @@+require_relative '../../test_helper' +...
Add test for history using default json dstu2
diff --git a/app/controllers/api/v1/inputs_controller.rb b/app/controllers/api/v1/inputs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/inputs_controller.rb +++ b/app/controllers/api/v1/inputs_controller.rb @@ -1,5 +1,4 @@ class Api::V1::InputsController < ApplicationController - protect_from...
Remove exception for protect_from_forgery for API
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -25,6 +25,7 @@ def permitted_params params.require(resource_name).permit( +...
Allow user name on confirmation controller
diff --git a/app/controllers/restaurateurs_controller.rb b/app/controllers/restaurateurs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/restaurateurs_controller.rb +++ b/app/controllers/restaurateurs_controller.rb @@ -7,7 +7,7 @@ create! do |success, failure| success.html { - if p...
FIX : update restaurateur restaurant check
diff --git a/app/documents/renalware/patient_document.rb b/app/documents/renalware/patient_document.rb index abc1234..def5678 100644 --- a/app/documents/renalware/patient_document.rb +++ b/app/documents/renalware/patient_document.rb @@ -16,6 +16,8 @@ attribute :county, String attribute :postcode, String ...
Add fields to patient Document
diff --git a/app/services/publisher_domain_normalizer.rb b/app/services/publisher_domain_normalizer.rb index abc1234..def5678 100644 --- a/app/services/publisher_domain_normalizer.rb +++ b/app/services/publisher_domain_normalizer.rb @@ -30,11 +30,11 @@ # Development Gemfile group. If you run in prod move the gem to...
Improve offline mode of PublisherDomainNormalizer
diff --git a/app/controllers/gobierto_admin/gobierto_common/api/vocabularies_controller.rb b/app/controllers/gobierto_admin/gobierto_common/api/vocabularies_controller.rb index abc1234..def5678 100644 --- a/app/controllers/gobierto_admin/gobierto_common/api/vocabularies_controller.rb +++ b/app/controllers/gobierto_admi...
Fix json render syntax with ActiveModelSerializer
diff --git a/config/initializers/slim.rb b/config/initializers/slim.rb index abc1234..def5678 100644 --- a/config/initializers/slim.rb +++ b/config/initializers/slim.rb @@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file. # Prettify html source for development only -# Slim::Engine.set_options ...
Revert "prettify html in dev" This reverts commit ed6a1f30053e182091fa65d1d665dc96f1cc1dde.
diff --git a/db/migrate/103_really_update_existing_articles_with_nil_or_empty_post_type.rb b/db/migrate/103_really_update_existing_articles_with_nil_or_empty_post_type.rb index abc1234..def5678 100644 --- a/db/migrate/103_really_update_existing_articles_with_nil_or_empty_post_type.rb +++ b/db/migrate/103_really_update_...
Make sure that migration 103 does not destroy tag association.
diff --git a/app/controllers/api/internal/tracked_resources_controller.rb b/app/controllers/api/internal/tracked_resources_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/internal/tracked_resources_controller.rb +++ b/app/controllers/api/internal/tracked_resources_controller.rb @@ -3,9 +3,9 @@ mod...
Fix spoiler guard when visitors do not sign in
diff --git a/Casks/charles-beta.rb b/Casks/charles-beta.rb index abc1234..def5678 100644 --- a/Casks/charles-beta.rb +++ b/Casks/charles-beta.rb @@ -1,6 +1,6 @@ cask :v1 => 'charles-beta' do - version '3.10b9' - sha256 '35955b18774e9b278d0db7c9cd996dee9beb3990c391ae1556f3ff5ad8aa8dbc' + version '3.11b1' + sha256 '0...
Update Charles.app to version 3.11b1
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.7' - sha256 '825517a2078bda2477be58cf36a6293d157b8e1057a4f615bcc6ce8d08aafcd4' + version '4.0.8' + sha256 '77881b437e...
Update Smart Scroll.prefPane to v4.0.8
diff --git a/isms-ruby.gemspec b/isms-ruby.gemspec index abc1234..def5678 100644 --- a/isms-ruby.gemspec +++ b/isms-ruby.gemspec @@ -22,4 +22,5 @@ spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "rspec", "~> 3.2.0" end
Add rspec as development dependency
diff --git a/lib/active_force/active_query.rb b/lib/active_force/active_query.rb index abc1234..def5678 100644 --- a/lib/active_force/active_query.rb +++ b/lib/active_force/active_query.rb @@ -22,13 +22,11 @@ end end + alias_method :all, :to_a + def count super sfdc_client.query(to_s)...
Implement a alias method for "all".
diff --git a/test/coverage_loader.rb b/test/coverage_loader.rb index abc1234..def5678 100644 --- a/test/coverage_loader.rb +++ b/test/coverage_loader.rb @@ -1,5 +1,5 @@ unless ENV['COVERAGE'] == 'off' - COVERAGE_THRESHOLD = 95 + COVERAGE_THRESHOLD = 96 require 'simplecov' require 'simplecov-rcov' require 'co...
Boost coverage to current level
diff --git a/lib/faststep/collection.rb b/lib/faststep/collection.rb index abc1234..def5678 100644 --- a/lib/faststep/collection.rb +++ b/lib/faststep/collection.rb @@ -9,7 +9,10 @@ end def rename(new_name) - connection["admin"].command(:renameCollection => ns, :to => "#{db.name}.#{new_name}") + co...
Fix rename to use ordered hash to run on non-1.9 Rubies
diff --git a/cookbooks/firefox/attributes/tarball.rb b/cookbooks/firefox/attributes/tarball.rb index abc1234..def5678 100644 --- a/cookbooks/firefox/attributes/tarball.rb +++ b/cookbooks/firefox/attributes/tarball.rb @@ -1,5 +1,5 @@-default['firefox']['tarball']['version'] = '31.6.0esr' -default['firefox']...
Update Firefox ESR version and download over https
diff --git a/db/migrate/20190524144913_add_global_offsets_to_annotations.rb b/db/migrate/20190524144913_add_global_offsets_to_annotations.rb index abc1234..def5678 100644 --- a/db/migrate/20190524144913_add_global_offsets_to_annotations.rb +++ b/db/migrate/20190524144913_add_global_offsets_to_annotations.rb @@ -6,10 +6...
Update migration to calc annotation offsets relative to date created
diff --git a/spec/controllers/profiles/notifications_controller_spec.rb b/spec/controllers/profiles/notifications_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/profiles/notifications_controller_spec.rb +++ b/spec/controllers/profiles/notifications_controller_spec.rb @@ -0,0 +1,46 @@+require 's...
Add controller spec for Profiles::NotificationsController
diff --git a/lib/eshealth/clusterconfig.rb b/lib/eshealth/clusterconfig.rb index abc1234..def5678 100644 --- a/lib/eshealth/clusterconfig.rb +++ b/lib/eshealth/clusterconfig.rb @@ -24,8 +24,8 @@ rescue => e $stderr.puts "Unable to retrieve config: #{e}" end - response.split(/\s+/).each do |li...
Fix to last commit, split in the wrong place
diff --git a/lib/github/nippou/user_events.rb b/lib/github/nippou/user_events.rb index abc1234..def5678 100644 --- a/lib/github/nippou/user_events.rb +++ b/lib/github/nippou/user_events.rb @@ -11,7 +11,7 @@ end def retrieve - user_events = @client.user_events(@user) + user_events = @client....
Change pagination parameter for performance
diff --git a/lib/jiraSOAP/macruby_stuff.rb b/lib/jiraSOAP/macruby_stuff.rb index abc1234..def5678 100644 --- a/lib/jiraSOAP/macruby_stuff.rb +++ b/lib/jiraSOAP/macruby_stuff.rb @@ -7,6 +7,8 @@ def initialize(url_string) @url = NSURL.URLWithString url_string end + + alias_method absoluteString to_s end mo...
Add another MacRuby extension to the URL class
diff --git a/lib/benchtool/app-config.rb b/lib/benchtool/app-config.rb index abc1234..def5678 100644 --- a/lib/benchtool/app-config.rb +++ b/lib/benchtool/app-config.rb @@ -1,50 +1,46 @@ module BenchTool # A structureless datastore; loads and persists to a YML file in a configured location - module AppConfig + cla...
Refactor as class, add setup, and remove cruft
diff --git a/lib/quickbooks/service/cdc.rb b/lib/quickbooks/service/cdc.rb index abc1234..def5678 100644 --- a/lib/quickbooks/service/cdc.rb +++ b/lib/quickbooks/service/cdc.rb @@ -11,7 +11,7 @@ def fetch_changes(models, start_time) response = {} - get_response = do_http_get(url_for_cdc(model...
Format date-time into ISO 8601
diff --git a/lib/tasks/publishing_api.rake b/lib/tasks/publishing_api.rake index abc1234..def5678 100644 --- a/lib/tasks/publishing_api.rake +++ b/lib/tasks/publishing_api.rake @@ -0,0 +1,23 @@+namespace :publishing_api do + desc "Send all related items to the publishing-api again" + task republish_related_links: [:e...
Add rake task to republish all related links Since https://github.com/alphagov/panopticon/pull/396 we're sending the related artefacts in the links hash to the publishing-api. This commit adds a rake task that republishes all the related links, so that the publishing-api is up to date.
diff --git a/lib/yarrow/html/asset_tags.rb b/lib/yarrow/html/asset_tags.rb index abc1234..def5678 100644 --- a/lib/yarrow/html/asset_tags.rb +++ b/lib/yarrow/html/asset_tags.rb @@ -1,6 +1,6 @@ module Yarrow module HTML - module AssetTags + module AssetTags include Yarrow::Configurable # TO...
Refactor asset tags builder to remove duplicate mess
diff --git a/lib/cocoa_pods/resolver.rb b/lib/cocoa_pods/resolver.rb index abc1234..def5678 100644 --- a/lib/cocoa_pods/resolver.rb +++ b/lib/cocoa_pods/resolver.rb @@ -12,7 +12,11 @@ def find_dependency_sets(specification) specification.read(:dependencies).each do |dependency| - Source.search(depen...
Raise when a pod can't be found by name.
diff --git a/lib/css_splitter/engine.rb b/lib/css_splitter/engine.rb index abc1234..def5678 100644 --- a/lib/css_splitter/engine.rb +++ b/lib/css_splitter/engine.rb @@ -1,7 +1,5 @@ module CssSplitter class Engine < ::Rails::Engine - isolate_namespace CssSplitter - initializer 'css_splitter.sprockets_engine',...
Remove isolate_namespace to fix unresolved split_stylesheet_link_tag
diff --git a/lib/tasks/knapsack_minitest.rake b/lib/tasks/knapsack_minitest.rake index abc1234..def5678 100644 --- a/lib/tasks/knapsack_minitest.rake +++ b/lib/tasks/knapsack_minitest.rake @@ -4,7 +4,7 @@ namespace :knapsack do Rake::TestTask.new(:minitest_run) do |t| t.libs << 'test' - t.test_files = Knapsa...
Fix build - pass test files via ENV to avoid cached report path
diff --git a/lib/travis/hub/error_reporter.rb b/lib/travis/hub/error_reporter.rb index abc1234..def5678 100644 --- a/lib/travis/hub/error_reporter.rb +++ b/lib/travis/hub/error_reporter.rb @@ -19,12 +19,15 @@ def pop begin - error = queue.pop - Hubble.report(error) - Travis.l...
Move handling the error into separate method.
diff --git a/soulless.gemspec b/soulless.gemspec index abc1234..def5678 100644 --- a/soulless.gemspec +++ b/soulless.gemspec @@ -22,7 +22,7 @@ spec.add_dependency 'activemodel', '>= 4.2.0', '< 5.2' spec.add_dependency 'virtus' , '~> 1.0' - spec.add_development_dependency 'bundler', '~> 0' - spec.add_developmen...
Fix issues with dependency definitions
diff --git a/delayed-plugins-mutex.gemspec b/delayed-plugins-mutex.gemspec index abc1234..def5678 100644 --- a/delayed-plugins-mutex.gemspec +++ b/delayed-plugins-mutex.gemspec @@ -19,6 +19,7 @@ gem.require_paths = ["lib"] # Dependencies are not using versions so that there are few version conflicts for users. +...
Add dependency to active record
diff --git a/lib/ipsummer/lengthable.rb b/lib/ipsummer/lengthable.rb index abc1234..def5678 100644 --- a/lib/ipsummer/lengthable.rb +++ b/lib/ipsummer/lengthable.rb @@ -6,18 +6,10 @@ def length_min if min_no_max? min - elsif max_no_min? - if max < default_min - low_limit - else - ...
Refactor Lengthable length_min and length_max
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -2,7 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' -class Test::Unit::TestCase +class ActiveSupport::TestCase # Tran...
Fix test case declaration - Rails upgrade
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ gem "minitest" require "minitest/autorun" +require "minitest/pride" require "minitest/mock" require "minitest/stub_any_instance" require 'coveralls'
Add minitest/pride because PRETTY COLOURS
diff --git a/digest-cksum.gemspec b/digest-cksum.gemspec index abc1234..def5678 100644 --- a/digest-cksum.gemspec +++ b/digest-cksum.gemspec @@ -5,6 +5,7 @@ s.summary = "Unix cksum implementation" s.author = "Mal Clrambault" s.email = "mael@clerambault.fr" + s.homepage = "http://github.com/hanklords/digest-...
Add a homepage to the gemspec
diff --git a/lib/figs/tasks/install.rake b/lib/figs/tasks/install.rake index abc1234..def5678 100644 --- a/lib/figs/tasks/install.rake +++ b/lib/figs/tasks/install.rake @@ -1,34 +1,34 @@ require 'erb' require 'pathname' +require 'figs/figfile' desc 'Install Fig' task :install do |task, args| base_dir = Pathname.n...
Implement figfile object in rake
diff --git a/lib/govuk_content_models.rb b/lib/govuk_content_models.rb index abc1234..def5678 100644 --- a/lib/govuk_content_models.rb +++ b/lib/govuk_content_models.rb @@ -1,4 +1,5 @@ require "govuk_content_models/version" +require "mongoid" module GovukContentModels class Engine < Rails::Engine
Load Mongoid when being an Engine.
diff --git a/lib/harbor/test/response.rb b/lib/harbor/test/response.rb index abc1234..def5678 100644 --- a/lib/harbor/test/response.rb +++ b/lib/harbor/test/response.rb @@ -2,14 +2,30 @@ module Test class Response < Harbor::Response - attr_accessor :request + attr_accessor :request, :context ...
Allow Test::Response access to the context.
diff --git a/db/migrate/20190801143910_remove_legacy_columns_from_page.rb b/db/migrate/20190801143910_remove_legacy_columns_from_page.rb index abc1234..def5678 100644 --- a/db/migrate/20190801143910_remove_legacy_columns_from_page.rb +++ b/db/migrate/20190801143910_remove_legacy_columns_from_page.rb @@ -0,0 +1,7 @@+# r...
Remove unused legacy columns from pages table
diff --git a/lib/knife-solo/berkshelf.rb b/lib/knife-solo/berkshelf.rb index abc1234..def5678 100644 --- a/lib/knife-solo/berkshelf.rb +++ b/lib/knife-solo/berkshelf.rb @@ -40,7 +40,11 @@ end def initial_config - 'site :opscode' + if Gem::Version.new(::Berkshelf::VERSION) >= Gem::Version.new("3.0.0...
Update source location for Berkshelf 3.0
diff --git a/lib/interrogate.rb b/lib/interrogate.rb index abc1234..def5678 100644 --- a/lib/interrogate.rb +++ b/lib/interrogate.rb @@ -1,6 +1,6 @@ require "interrogate/version" -# String?(\"Hello\") +# String?("Hello") # Interrogate attempts to bring Scheme-like class predication to Ruby. # It provides an alterna...
Fix escaping of quotations in comment