diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/alter_mvc/constants.rb b/lib/alter_mvc/constants.rb index abc1234..def5678 100644 --- a/lib/alter_mvc/constants.rb +++ b/lib/alter_mvc/constants.rb @@ -2,6 +2,6 @@ VIEWABLE_ACTIONS = %w{new show edit} - RESPONDER_TYPES = %w{html js json} + RESPONDER_TYPES = %w{html js format} end
Change json to format in responder types
diff --git a/Objection.podspec b/Objection.podspec index abc1234..def5678 100644 --- a/Objection.podspec +++ b/Objection.podspec @@ -8,4 +8,7 @@ s.source_files = 'Source' s.license = "https://github.com/atomicobject/objection/blob/master/LICENSE" s.requires_arc = true + + s.ios.deployment_target = '5.0' +...
Set deployment targets for iOS and OS X. Signed-off-by: Justin DeWind <d58224c8587ca4c648fb37249b0d2e6771601768@atomicobject.com>
diff --git a/lib/bitflyer/executions.rb b/lib/bitflyer/executions.rb index abc1234..def5678 100644 --- a/lib/bitflyer/executions.rb +++ b/lib/bitflyer/executions.rb @@ -1,8 +1,8 @@ module Bitflyer module Executions def self.all(options = {}) - result = Bitflyer::Net.get("/v1/executions", options) - JS...
Change name to make more sense
diff --git a/core/app/models/spree/stock/estimator.rb b/core/app/models/spree/stock/estimator.rb index abc1234..def5678 100644 --- a/core/app/models/spree/stock/estimator.rb +++ b/core/app/models/spree/stock/estimator.rb @@ -15,7 +15,7 @@ shipping_methods.each do |shipping_method| cost = calculate_...
Allow shipping calculators to return nil values if no service is matched. With shipping calculators returning 0, we run the risk of choosing and charging a cost of $0 in cases where for example spree_active_shipping has a failed rate query with the carrier API. This could be a very expensive mistake. Current problem ...
diff --git a/lib/serf/message.rb b/lib/serf/message.rb index abc1234..def5678 100644 --- a/lib/serf/message.rb +++ b/lib/serf/message.rb @@ -17,10 +17,6 @@ send 'kind=', self.to_s.tableize.singularize class_attribute :model_name send 'model_name=', self.to_s - end - - def kind - self.clas...
Remove 'kind' instance method because it is shadowed. Details: * Our ActiveSupport class_attribute declaration for:kind creates accessors for both the class and instances. Instances will default to the class value, but may have its own set instance values... this is a bit dangerous if we're creating new Serf M...
diff --git a/week-4/defining-variables.rb b/week-4/defining-variables.rb index abc1234..def5678 100644 --- a/week-4/defining-variables.rb +++ b/week-4/defining-variables.rb @@ -0,0 +1,39 @@+#Solution Below +first_name = "Catie" +last_name = "Stallings" +age = 25 + + + +# RSpec Tests. They are included in this file beca...
Add completed solution for 4.2.1 Defining Variables
diff --git a/Swizzlean.podspec b/Swizzlean.podspec index abc1234..def5678 100644 --- a/Swizzlean.podspec +++ b/Swizzlean.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Swizzlean' - s.version = '0.1.0' + s.version = '0.1.1' s.summary = 'A quick and lean way to swizzle methods for y...
Update podspec from 0.1.0 to 0.1.1
diff --git a/lib/symgate/type.rb b/lib/symgate/type.rb index abc1234..def5678 100644 --- a/lib/symgate/type.rb +++ b/lib/symgate/type.rb @@ -21,11 +21,11 @@ end end - protected - def self.hash_value_with_optional_namespace(namespace, key, hash) hash[key] || hash["#{namespace}:#{key}".to_sym]...
Move static method outside 'protected' section
diff --git a/lib/tasks/lint.rake b/lib/tasks/lint.rake index abc1234..def5678 100644 --- a/lib/tasks/lint.rake +++ b/lib/tasks/lint.rake @@ -1,7 +1,9 @@-require "rubocop/rake_task" +unless Rails.env.production? + require "rubocop/rake_task" -RuboCop::RakeTask.new(:lint) do |t| - t.patterns = %w(app bin config Gemfi...
Fix deployment error due to missing rubocop rubocop-govuk is only a dev dependency, so this task causes an error when run in production mode: 15:32:26 *** [err :: backend-2.backend.staging.publishing.service.gov.uk] rake aborted! 15:32:26 *** [err :: backend-2.backend.staging.publishing.service.gov.uk] Loa...
diff --git a/lib/rspec/sidekiq/matchers/have_enqueued_job.rb b/lib/rspec/sidekiq/matchers/have_enqueued_job.rb index abc1234..def5678 100644 --- a/lib/rspec/sidekiq/matchers/have_enqueued_job.rb +++ b/lib/rspec/sidekiq/matchers/have_enqueued_job.rb @@ -28,7 +28,8 @@ def negative_failure_message "expe...
Fix for RSpec 3 Support
diff --git a/lib/paperclip-optimizer.rb b/lib/paperclip-optimizer.rb index abc1234..def5678 100644 --- a/lib/paperclip-optimizer.rb +++ b/lib/paperclip-optimizer.rb @@ -3,14 +3,21 @@ require 'paperclip-optimizer/processor' module PaperclipOptimizer - DEFAULT_SETTINGS = { + DEFAULT_OPTIONS = { + skip_missing_wor...
Disable all compressors by default, ignore missing binaries image_optim defaults to enabling every supported binary, and therefor requiring its presence. We skip_missing_workers, so that when image_optim starts supporting a new one which we do not yet disable, uploads do not start breaking due to the missing compressi...
diff --git a/event_store-messaging.gemspec b/event_store-messaging.gemspec index abc1234..def5678 100644 --- a/event_store-messaging.gemspec +++ b/event_store-messaging.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'event_store-messaging' s.summary = 'Messaging primitives for EventStore using the...
Package version is increased from 0.2.0.0 to 0.2.0.1
diff --git a/Subtitler.podspec b/Subtitler.podspec index abc1234..def5678 100644 --- a/Subtitler.podspec +++ b/Subtitler.podspec @@ -9,7 +9,7 @@ s.source = { :git => 'https://github.com/mvader/subtitler.git', :tag => '0.1.0' } s.ios.deployment_target = '8.0' - s.osx.deployment_target = '10.9' + s.osx.d...
Make OS X 10.10 the minimum deployment target
diff --git a/ReactNativeExceptionHandler.podspec b/ReactNativeExceptionHandler.podspec index abc1234..def5678 100644 --- a/ReactNativeExceptionHandler.podspec +++ b/ReactNativeExceptionHandler.podspec @@ -8,8 +8,6 @@ # Let the main package.json decide the version number for the pod package_version = pkg_version.call...
Remove automatic `React` version detection due to inability to access external file
diff --git a/week-5/pad-array/my_solution.rb b/week-5/pad-array/my_solution.rb index abc1234..def5678 100644 --- a/week-5/pad-array/my_solution.rb +++ b/week-5/pad-array/my_solution.rb @@ -37,18 +37,15 @@ def pad(array, min_size, value = nil) #non-destructive if array.length >= min_size return array - - en...
Add edit of my peer 5.2 pad
diff --git a/lib/tasks/om.rake b/lib/tasks/om.rake index abc1234..def5678 100644 --- a/lib/tasks/om.rake +++ b/lib/tasks/om.rake @@ -0,0 +1,8 @@+namespace :om do + desc "Fetch data for all cafeterias" + task :fetch => :environment do + Cafeteria.all.each do |cafeteria| + cafeteria.fetch + end + end +end
Add rake tasks for fetch cafetera data
diff --git a/builder/test-integration/spec/hypriotos-image/kernel_modules_spec.rb b/builder/test-integration/spec/hypriotos-image/kernel_modules_spec.rb index abc1234..def5678 100644 --- a/builder/test-integration/spec/hypriotos-image/kernel_modules_spec.rb +++ b/builder/test-integration/spec/hypriotos-image/kernel_mod...
Remove integrations tests for module snd_bcm2835 Signed-off-by: Dieter Reuter <554783fc552b5b2a46dd3d7d7b9b2cce9a82c122@me.com>
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index abc1234..def5678 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -25,16 +25,20 @@ end def destroy - group = Group.find(params[:id]) + @group = Group.find(params[:id...
Destroy tasks when group is deleted
diff --git a/app/controllers/latest_controller.rb b/app/controllers/latest_controller.rb index abc1234..def5678 100644 --- a/app/controllers/latest_controller.rb +++ b/app/controllers/latest_controller.rb @@ -29,16 +29,16 @@ end def page_params - { page: filtered_params.fetch(:page, 0) } + { page: params.f...
Revert "Permit parameters in latest controller"
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index abc1234..def5678 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -4,5 +4,6 @@ @scrapers = Scraper.search @q, fields: [{full_name: :word_middle}, :description, {scraped_domai...
Add a 'show' param for controlling results filters
diff --git a/lib/bank_scrap.rb b/lib/bank_scrap.rb index abc1234..def5678 100644 --- a/lib/bank_scrap.rb +++ b/lib/bank_scrap.rb @@ -2,9 +2,9 @@ require 'bank_scrap/cli' require 'bank_scrap/bank' -# TODO: load banks dynamically -require 'bank_scrap/banks/bankinter' -require 'bank_scrap/banks/bbva' - module BankScra...
Use dynamic loading for banks
diff --git a/app/models/concerns/service_mixin.rb b/app/models/concerns/service_mixin.rb index abc1234..def5678 100644 --- a/app/models/concerns/service_mixin.rb +++ b/app/models/concerns/service_mixin.rb @@ -10,7 +10,6 @@ def call(*args) raise "no block given" unless block_given? synchronize { yield ...
Change ServiceMixin.call to return the yield result for better chaining.
diff --git a/nokogiri_truncate_html.gemspec b/nokogiri_truncate_html.gemspec index abc1234..def5678 100644 --- a/nokogiri_truncate_html.gemspec +++ b/nokogiri_truncate_html.gemspec @@ -4,7 +4,7 @@ Gem::Specification.new do |gem| gem.name = "nokogiri_truncate_html" - gem.version = '0.0.3' + gem.ver...
Update dependencies for Rails 4
diff --git a/db/migrate/20161124020918_add_scores_indexes_to_top_topics.rb b/db/migrate/20161124020918_add_scores_indexes_to_top_topics.rb index abc1234..def5678 100644 --- a/db/migrate/20161124020918_add_scores_indexes_to_top_topics.rb +++ b/db/migrate/20161124020918_add_scores_indexes_to_top_topics.rb @@ -0,0 +1,9 @@...
PERF: Add score indexes for top topics.
diff --git a/Casks/macgdbp.rb b/Casks/macgdbp.rb index abc1234..def5678 100644 --- a/Casks/macgdbp.rb +++ b/Casks/macgdbp.rb @@ -0,0 +1,7 @@+class Macgdbp < Cask + url 'https://www.bluestatic.org/downloads/macgdbp/macgdbp-1.5.zip' + homepage 'https://www.bluestatic.org/software/macgdbp/' + version '1.5' + sha256 '9...
Add cask for MacGDBp app A little client for Xdebug
diff --git a/Casks/vivaldi.rb b/Casks/vivaldi.rb index abc1234..def5678 100644 --- a/Casks/vivaldi.rb +++ b/Casks/vivaldi.rb @@ -1,5 +1,5 @@ cask :v1 => 'vivaldi' do - version '1.0.162.4' + version '1.0.162.9' sha256 :no_check # required as upstream package is updated in-place url "https://vivaldi.com/downloa...
Upgrade Vivaldi.app to v1.0.162.9 (Technical Preview 3)
diff --git a/config/unicorn/production.rb b/config/unicorn/production.rb index abc1234..def5678 100644 --- a/config/unicorn/production.rb +++ b/config/unicorn/production.rb @@ -6,7 +6,7 @@ stderr_path "#{root_dir}/log/unicorn.log" stdout_path "#{root_dir}/log/unicorn.log" -worker_processes Integer(ENV["WEB_CONCURREN...
Add default value for unicorn web concurrency
diff --git a/lib/ninja.rb b/lib/ninja.rb index abc1234..def5678 100644 --- a/lib/ninja.rb +++ b/lib/ninja.rb @@ -11,10 +11,10 @@ # ===----------------------------------------------------------------------=== # module Ninja - require 'ninja/version' - require 'ninja/delegator' - require 'ninja/variable' - require...
Use `require_relative` instead of `require`. Prevent conflicts, and more importantly, not be dependent on search path.
diff --git a/lib/token.rb b/lib/token.rb index abc1234..def5678 100644 --- a/lib/token.rb +++ b/lib/token.rb @@ -1,7 +1,6 @@ class Token def initialize(char) raise 'Only one character is allowed' unless char.size == 1 - @char = char end
Remove blank line from Token initializer
diff --git a/Casks/font-source-code-pro.rb b/Casks/font-source-code-pro.rb index abc1234..def5678 100644 --- a/Casks/font-source-code-pro.rb +++ b/Casks/font-source-code-pro.rb @@ -1,16 +1,16 @@ cask :v1 => 'font-source-code-pro' do - version '1.017' - sha256 '8136b4686309c428ef073356ab178c2f7e8f7b6fadd5a6c61b6a20646...
Switch source-code-pro to GitHub-hosted package
diff --git a/UIColor-HNExtensions.podspec b/UIColor-HNExtensions.podspec index abc1234..def5678 100644 --- a/UIColor-HNExtensions.podspec +++ b/UIColor-HNExtensions.podspec @@ -22,4 +22,5 @@ s.source = { :git => "https://github.com/henrinormak/UIColor-HNExtensions.git", :tag => "0.1" } s.source_files = 'U...
Make sure ARC is required
diff --git a/test/tunefish_test.rb b/test/tunefish_test.rb index abc1234..def5678 100644 --- a/test/tunefish_test.rb +++ b/test/tunefish_test.rb @@ -37,4 +37,18 @@ assert_equal "youtube", activities.first.provider end end + + class UserTest < Minitest::Test + def test_it_exists_and_has_attributes + ...
Add unit tests for User and Activity
diff --git a/CSStickyHeaderFlowLayout.podspec b/CSStickyHeaderFlowLayout.podspec index abc1234..def5678 100644 --- a/CSStickyHeaderFlowLayout.podspec +++ b/CSStickyHeaderFlowLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CSStickyHeaderFlowLayout" - s.version = "0.2.11" + s.version ...
Revert "Change version in podspecs" This reverts commit d8f019517b89c05364b383cfc516044bbc7e785e.
diff --git a/spec/requests/releases/get_releases_spec.rb b/spec/requests/releases/get_releases_spec.rb index abc1234..def5678 100644 --- a/spec/requests/releases/get_releases_spec.rb +++ b/spec/requests/releases/get_releases_spec.rb @@ -16,13 +16,18 @@ group = create(:group, name: "my_group") artist = create...
Check if releases returns alphabetically
diff --git a/spec/serf/middleware/policy_checker_spec.rb b/spec/serf/middleware/policy_checker_spec.rb index abc1234..def5678 100644 --- a/spec/serf/middleware/policy_checker_spec.rb +++ b/spec/serf/middleware/policy_checker_spec.rb @@ -10,10 +10,9 @@ context 'when policy raises error' do it 'should not ca...
Clean up PolicyChecker Spec for complete code coverage. Details: * Used a mock instead of a proc that raises an error. * Remove unneeded parens for 'double'
diff --git a/app/admin/post.rb b/app/admin/post.rb index abc1234..def5678 100644 --- a/app/admin/post.rb +++ b/app/admin/post.rb @@ -6,7 +6,9 @@ f.semantic_errors f.inputs except: [:source_url, :thumbnail_url] f.has_many :images, allow_destroy: true, heading: false, new_record: true do |image_form| - ...
Stop to display empty image
diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index abc1234..def5678 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -9,9 +9,9 @@ def create if authorized? StatsD.increment(params[:key]) - render(nothing: true) + ...
Set content length header to 0 on stats post responses. This is a workaround for what seems like a Varnish bug. Without the content length header, rails generates an empty response with transfer-encoding chunked. This is valid but Varnish removes the transfer encoding header, creating a response without content length...
diff --git a/storext-override.gemspec b/storext-override.gemspec index abc1234..def5678 100644 --- a/storext-override.gemspec +++ b/storext-override.gemspec @@ -17,7 +17,7 @@ s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] s.add_dependency "rails" - s.add_dependency "storext" +...
Set tighter dependency on storext
diff --git a/app/app.rb b/app/app.rb index abc1234..def5678 100644 --- a/app/app.rb +++ b/app/app.rb @@ -1,6 +1,6 @@ module Nilgiri class App < Padrino::Application - register SassInitializer + register SassInitializer unless Padrino.env == :production use ActiveRecord::ConnectionAdapters::ConnectionManag...
Use sass compiler only if the environment is not production.
diff --git a/model/document.rb b/model/document.rb index abc1234..def5678 100644 --- a/model/document.rb +++ b/model/document.rb @@ -1,6 +1,8 @@ require "csv" class Document + BLOCK_SEPARATOR = ".\n" + def lang self.app == :mapa76 ? :es : :en end
Add lost BLOCK_SEPARATOR constant, used by LayoutAnalyzerTask
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/sparkle_formation.gemspec b/sparkle_formation.gemspec index abc1234..def5678 100644 --- a/sparkle_formation.gemspec +++ b/sparkle_formation.gemspec @@ -15,5 +15,5 @@ s.add_dependency 'bogo' s.add_development_dependency 'minitest' s.executables << 'generate_sparkle_docs' - s.files = Dir['lib/**/*']...
Include the docs directory when building gem
diff --git a/config.rb b/config.rb index abc1234..def5678 100644 --- a/config.rb +++ b/config.rb @@ -12,6 +12,7 @@ # You can select your preferred output style here (can be overridden via the command line): # output_style = :expanded or :nested or :compact or :compressed +output_style = :expanded # To enable rela...
Set default output style to be expanded.
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,5 @@ require './app' +use Rack::Deflater run Rack::Cascade.new [ Transitmix::Routes::Status, Transitmix::Routes::Lines,
Enable Rack::Deflater for gzip support.
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -2,8 +2,8 @@ # Ensure your sources (and smoke) are required before smoke-rack require 'examples/smoke-source' -require 'lib/smoke-rack' -use Smoke::Rack +require 'lib/rack/smoke' +use Rack::Smoke run Sinatra::Appli...
Use new namespace and rack-like paths
diff --git a/app/serializers/board_serializer.rb b/app/serializers/board_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/board_serializer.rb +++ b/app/serializers/board_serializer.rb @@ -5,7 +5,7 @@ all_attributes attribute :latest_discussion can_filter_by :subject_default - can_sort_by :posi...
Allow BoardSerializer to sort by id
diff --git a/spec/lib/documentation/person_namespace_spec.rb b/spec/lib/documentation/person_namespace_spec.rb index abc1234..def5678 100644 --- a/spec/lib/documentation/person_namespace_spec.rb +++ b/spec/lib/documentation/person_namespace_spec.rb @@ -0,0 +1,20 @@+require 'spec_helper' + +describe "the 'person' namesp...
Add test for autocompletion within example namespace
diff --git a/app/helpers/filter_helper.rb b/app/helpers/filter_helper.rb index abc1234..def5678 100644 --- a/app/helpers/filter_helper.rb +++ b/app/helpers/filter_helper.rb @@ -11,7 +11,7 @@ end def filter_remove_option_link(site, type, type_sym) - link_to site_mappings_path(site, params.except(type_sym, :pag...
Fix generation of links to remove individual filters The links to remove individual filters from the mappings index pages were being wrongly generated by the site_mappings_path helper using the site_id from the params hash as the format, for example: /sites/aaib/mappings.aaib?type=redirect Visiting those links r...
diff --git a/Swinject.podspec b/Swinject.podspec index abc1234..def5678 100644 --- a/Swinject.podspec +++ b/Swinject.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Swinject" - s.version = "0.1" + s.version = "0.2" s.summary = "Dependency injection framework for Swi...
Update podspec version to 0.2 for Swift 2.
diff --git a/asciimath.gemspec b/asciimath.gemspec index abc1234..def5678 100644 --- a/asciimath.gemspec +++ b/asciimath.gemspec @@ -19,6 +19,6 @@ spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "> 0" - spec.add_development_dependency "rake", ">= 12.3.3" + spec.add_development_dependenc...
Update Rake version spec to ~> 13.0.0
diff --git a/db/data_migration/20130327153531_add_force_publish_anything_to_gds_inside_government_team.rb b/db/data_migration/20130327153531_add_force_publish_anything_to_gds_inside_government_team.rb index abc1234..def5678 100644 --- a/db/data_migration/20130327153531_add_force_publish_anything_to_gds_inside_governmen...
Add force publish anything to the user used by the force publisher
diff --git a/simple_bootstrap_form.gemspec b/simple_bootstrap_form.gemspec index abc1234..def5678 100644 --- a/simple_bootstrap_form.gemspec +++ b/simple_bootstrap_form.gemspec @@ -20,7 +20,7 @@ spec.add_development_dependency "bundler", "~> 1.5" spec.add_development_dependency "rake" - spec.add_development_dep...
Update rspec-rails 3.0.0.beta1 -> 3.0.0.beta2
diff --git a/messaging.gemspec b/messaging.gemspec index abc1234..def5678 100644 --- a/messaging.gemspec +++ b/messaging.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' - s.version = '0.27.0.0' + s.version = '0.27.0.1' s.summary = 'Common primitives for ...
Package version is increased from 0.27.0.0 to 0.27.0.1
diff --git a/messaging.gemspec b/messaging.gemspec index abc1234..def5678 100644 --- a/messaging.gemspec +++ b/messaging.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'messaging' - s.version = '0.7.0.0' + s.version = '0.7.1.0' s.summary = 'Messaging primitives for Eve...
Package version is increased from 0.7.0.0 to 0.7.1.0
diff --git a/app/workers/fetch_travels.rb b/app/workers/fetch_travels.rb index abc1234..def5678 100644 --- a/app/workers/fetch_travels.rb +++ b/app/workers/fetch_travels.rb @@ -18,18 +18,19 @@ @to = to setup_worker_key([@from, @to]) if :must_stop == track_in_redis # End tje worker right now - logger....
Fix reschedule and better logging
diff --git a/spec/models/revision_spec.rb b/spec/models/revision_spec.rb index abc1234..def5678 100644 --- a/spec/models/revision_spec.rb +++ b/spec/models/revision_spec.rb @@ -2,11 +2,47 @@ describe Revision do - describe "revision methods" do - it "should create Revision objects" do - revision = build(:r...
Expand testing of Revision model.
diff --git a/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb b/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb index abc1234..def5678 100644 --- a/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb +++ b/db/migrate/20161014085122_add_builder_enabled_to_organizations.rb...
Change migration, allow users nulls (inherit from org)
diff --git a/lib/web_inspector/inspector.rb b/lib/web_inspector/inspector.rb index abc1234..def5678 100644 --- a/lib/web_inspector/inspector.rb +++ b/lib/web_inspector/inspector.rb @@ -25,19 +25,22 @@ end def links - links = [] + return @links if @links + + @links = [] @page.css("...
Store links and images to speed up secondary calls to the corresponding functions.
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -32,12 +32,12 @@ end chef_gem 'unf' do - action :nothing -end.run_action(:install) + compile_time true +end # TODO: Remove this once the gem_hell cookbook is ready to roll c...
Use compile_time property to make gems install at compile_time
diff --git a/lib/fOOrth.rb b/lib/fOOrth.rb index abc1234..def5678 100644 --- a/lib/fOOrth.rb +++ b/lib/fOOrth.rb @@ -20,7 +20,7 @@ #<br>Returns #* A version string; <major>.<minor>.<step> def self.version - "00.06.00" + "00.00.00" end #The virtual machine is the heart of the fOOrth language...
Reset version number to 00.00.00. This is new code!
diff --git a/lib/fezzik.rb b/lib/fezzik.rb index abc1234..def5678 100644 --- a/lib/fezzik.rb +++ b/lib/fezzik.rb @@ -13,6 +13,9 @@ Rake::Task["fezzik:#{task}"].invoke end puts "[success]".green + rescue SystemExit => e + puts "[fail]".red + exit 1 rescue Exception => e put...
Allow tasks to exit with an error code without dumping a backtrace.
diff --git a/spec/acceptance/login_spec.rb b/spec/acceptance/login_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/login_spec.rb +++ b/spec/acceptance/login_spec.rb @@ -13,5 +13,6 @@ scenario "Con contraseña incorrecta" do login_with(email: usuario.email, password: "incorrecta") page.should have...
Test de la página redirigida.
diff --git a/lib/sastrawi/stemmer/context/visitor/remove_inflectional_particle.rb b/lib/sastrawi/stemmer/context/visitor/remove_inflectional_particle.rb index abc1234..def5678 100644 --- a/lib/sastrawi/stemmer/context/visitor/remove_inflectional_particle.rb +++ b/lib/sastrawi/stemmer/context/visitor/remove_inflectional...
Add comments to "RemoveInflectionalParticle" class
diff --git a/lib/commands/clone_command.rb b/lib/commands/clone_command.rb index abc1234..def5678 100644 --- a/lib/commands/clone_command.rb +++ b/lib/commands/clone_command.rb @@ -8,7 +8,7 @@ action "Cloning" do FileUtils.rm_rf(mod.work_dir) - Cheetah.run "git", "clone", "git://github.com/yast/...
Use SSH URLs for cloning from GitHub This will allow us to push stuff from work and result dirs back to GitHub repos during the final compilation.
diff --git a/lib/dyndnsd/generator/bind.rb b/lib/dyndnsd/generator/bind.rb index abc1234..def5678 100644 --- a/lib/dyndnsd/generator/bind.rb +++ b/lib/dyndnsd/generator/bind.rb @@ -7,6 +7,7 @@ @ttl = config['ttl'] @dns = config['dns'] @email_addr = config['email_addr'] + @additional_zon...
Allow additional raw zone content for Bind generator
diff --git a/lib/facebook_places/client.rb b/lib/facebook_places/client.rb index abc1234..def5678 100644 --- a/lib/facebook_places/client.rb +++ b/lib/facebook_places/client.rb @@ -23,7 +23,7 @@ fields: fields.join(','), center: center, distance: distance, - categories: categories.join(...
Fix 'param categories must be an array'
diff --git a/lib/metacrunch/transformer.rb b/lib/metacrunch/transformer.rb index abc1234..def5678 100644 --- a/lib/metacrunch/transformer.rb +++ b/lib/metacrunch/transformer.rb @@ -4,6 +4,7 @@ require_relative "./transformer/helper" attr_accessor :source, :target, :options + attr_reader :step d...
Allow public access to the step instance. This is useful for tests.
diff --git a/lib/paginate_link_renderer.rb b/lib/paginate_link_renderer.rb index abc1234..def5678 100644 --- a/lib/paginate_link_renderer.rb +++ b/lib/paginate_link_renderer.rb @@ -0,0 +1,8 @@+# +# = The Paginate Table Link Renderer +# +class PaginateLinkRenderer < WillPaginate::LinkRenderer + def page_link(page, t...
Make paginate table skin work
diff --git a/app/helpers/sitemap_helper.rb b/app/helpers/sitemap_helper.rb index abc1234..def5678 100644 --- a/app/helpers/sitemap_helper.rb +++ b/app/helpers/sitemap_helper.rb @@ -9,17 +9,12 @@ add legal_notices_path, priority: 0.7, changefreq: 'monthly' if Category.find_by(name: 'LegalNotice').menu_online end ...
Refactor sitemap helper methods in a cleaner way
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 @@ -16,7 +16,7 @@ tags.find_each do |tag| retries = 0 begin - PublishingAPINotifier.send_to_publishing_api(tag) + ...
Send single tags to content store in rake task The rake task currently publishes all tags, *and* their dependent tags, doing a lot of duplicate work. This commit restricts the rake task to only publish a single tag.
diff --git a/sansa-and-xor/sansa-and-xor.rb b/sansa-and-xor/sansa-and-xor.rb index abc1234..def5678 100644 --- a/sansa-and-xor/sansa-and-xor.rb +++ b/sansa-and-xor/sansa-and-xor.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -DEBUG=true +DEBUG=false gets.to_i.times do n = gets.to_i
Set Sansa and XOR to debug false Passing in hackerrank, so move on.
diff --git a/libraries/language_install.rb b/libraries/language_install.rb index abc1234..def5678 100644 --- a/libraries/language_install.rb +++ b/libraries/language_install.rb @@ -0,0 +1,105 @@+# +# Copyright 2015, Chef Software, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not...
Add base `LanguageInstall` resource/provider classes These classes define the shared attributes and core action along with some abstract methods each provider must implement.
diff --git a/test/integration/cases/apache2_bootstrap.rb b/test/integration/cases/apache2_bootstrap.rb index abc1234..def5678 100644 --- a/test/integration/cases/apache2_bootstrap.rb +++ b/test/integration/cases/apache2_bootstrap.rb @@ -8,7 +8,7 @@ def write_berksfile File.open('Berksfile', 'w') do |f| - ...
Update berkshelf source for latest format
diff --git a/modules/govuk_jenkins/spec/classes/govuk_jenkins__jobs__each_spec.rb b/modules/govuk_jenkins/spec/classes/govuk_jenkins__jobs__each_spec.rb index abc1234..def5678 100644 --- a/modules/govuk_jenkins/spec/classes/govuk_jenkins__jobs__each_spec.rb +++ b/modules/govuk_jenkins/spec/classes/govuk_jenkins__jobs__...
Remove references to old spec files These files no longer exist in govuk-puppet.
diff --git a/spec/pages/profile_page.rb b/spec/pages/profile_page.rb index abc1234..def5678 100644 --- a/spec/pages/profile_page.rb +++ b/spec/pages/profile_page.rb @@ -1,5 +1,19 @@+# @author Dumitru Ursu +# Page Object for the user profile page class ProfilePage include Capybara::DSL + include Warden::Test::Helpe...
Add locale switching in Profile page
diff --git a/spec/teamsnap_init_spec.rb b/spec/teamsnap_init_spec.rb index abc1234..def5678 100644 --- a/spec/teamsnap_init_spec.rb +++ b/spec/teamsnap_init_spec.rb @@ -27,5 +27,18 @@ :backup_cache => false) }.to raise_error(TeamSnap::Error, /You are not authorized to access this resource/)...
Add spec for overriding the default url
diff --git a/app/helpers/reactjs_helper.rb b/app/helpers/reactjs_helper.rb index abc1234..def5678 100644 --- a/app/helpers/reactjs_helper.rb +++ b/app/helpers/reactjs_helper.rb @@ -8,7 +8,7 @@ def react(name, data = {}) uid = unique_html_id('react') capture do - concat(tag('div', :id => uid)) + co...
Make sure that react helper always closes the div tag Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1593152
diff --git a/themes/densitypop/app.rb b/themes/densitypop/app.rb index abc1234..def5678 100644 --- a/themes/densitypop/app.rb +++ b/themes/densitypop/app.rb @@ -6,5 +6,5 @@ # # Put your assets in public/densitypop. # -# use Rack::Static, :urls => ["/densitypop"], :root => "themes/densitypop/public" +use Rack::Static,...
Load static images in theme
diff --git a/app/models/allele_registry.rb b/app/models/allele_registry.rb index abc1234..def5678 100644 --- a/app/models/allele_registry.rb +++ b/app/models/allele_registry.rb @@ -23,7 +23,7 @@ end def allele_registry_url(coordinate_string) - URI.encode("http://reg.test.genome.network/allele?hgvs=#{coordinat...
Update the URL for the allele registry to the production server
diff --git a/app/models/publication_log.rb b/app/models/publication_log.rb index abc1234..def5678 100644 --- a/app/models/publication_log.rb +++ b/app/models/publication_log.rb @@ -16,7 +16,8 @@ def self.change_notes_for(slug) with_slug_prefix(slug) - .sort_by(&:published_at) + .order([:created_at, :...
Move sort in Publication.change_notes_for to mongo It will probably be marginally faster to do it there so why not.
diff --git a/tests/aws/requests/rds/instance_option_tests.rb b/tests/aws/requests/rds/instance_option_tests.rb index abc1234..def5678 100644 --- a/tests/aws/requests/rds/instance_option_tests.rb +++ b/tests/aws/requests/rds/instance_option_tests.rb @@ -5,7 +5,7 @@ body = Fog::AWS[:rds].describe_orderable_db_ins...
Adjust number of items returned for test
diff --git a/config/initializers/flow_preview.rb b/config/initializers/flow_preview.rb index abc1234..def5678 100644 --- a/config/initializers/flow_preview.rb +++ b/config/initializers/flow_preview.rb @@ -1,4 +1,10 @@-FLOW_REGISTRY_OPTIONS = {show_drafts: true, show_transitions: false} +# This file potentially overwrit...
Disable drafts by default in RAILS_ENV=production To reduce the chance of a misconfiguration revealing draft content in production, this changes the default config to not show drafts unless explicitly overridden. This removes the `show_transitions: false` option because that's already the default value for it.
diff --git a/config/software/td-agent-cleanup.rb b/config/software/td-agent-cleanup.rb index abc1234..def5678 100644 --- a/config/software/td-agent-cleanup.rb +++ b/config/software/td-agent-cleanup.rb @@ -2,6 +2,7 @@ #version '' # git ref dependency "td-agent" +dependency "td-agent-files" build do block do @@ ...
Remove unused directories on Windows
diff --git a/administrate-field-paperclip.gemspec b/administrate-field-paperclip.gemspec index abc1234..def5678 100644 --- a/administrate-field-paperclip.gemspec +++ b/administrate-field-paperclip.gemspec @@ -15,7 +15,7 @@ gem.test_files = `git ls-files -- {test,spec,features}/*`.split('\n') gem.add_dependency '...
Support all Rails 5 releases
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index abc1234..def5678 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -1,11 +1,11 @@ # Configure Capybara require 'capybara/poltergeist' Capybara.configure do |config| + # config.default_driver = :selenium + # ...
Comment out the Capybara default timeout and just use the Poltergeist one
diff --git a/vendor/plugins/sfu_course_copy_importer/init.rb b/vendor/plugins/sfu_course_copy_importer/init.rb index abc1234..def5678 100644 --- a/vendor/plugins/sfu_course_copy_importer/init.rb +++ b/vendor/plugins/sfu_course_copy_importer/init.rb @@ -14,7 +14,8 @@ :requires_file_upload => false, ...
Fix course copy migration regression The regression prevented users from importing courses using our version of the plugin. It was introduced in f8400335 when the migrations controller started checking for valid contexts. This fix is based on 2ba4531f (default_plugins.rb:140).
diff --git a/lib/delayed/serialization/data_mapper.rb b/lib/delayed/serialization/data_mapper.rb index abc1234..def5678 100644 --- a/lib/delayed/serialization/data_mapper.rb +++ b/lib/delayed/serialization/data_mapper.rb @@ -1,12 +1,21 @@ # encoding: utf-8 -DataMapper::Resource.class_eval do - yaml_as "tag:ruby.yaml.o...
Add an encoder for psych parsing.
diff --git a/lib/green-button-data/parser/interval.rb b/lib/green-button-data/parser/interval.rb index abc1234..def5678 100644 --- a/lib/green-button-data/parser/interval.rb +++ b/lib/green-button-data/parser/interval.rb @@ -12,6 +12,14 @@ normalize_epoch t end + def start_at + Time.at(norm...
Add computed attributes that return in DateTime objects
diff --git a/lib/exact_target/subscriber.rb b/lib/exact_target/subscriber.rb index abc1234..def5678 100644 --- a/lib/exact_target/subscriber.rb +++ b/lib/exact_target/subscriber.rb @@ -1,6 +1,7 @@ module ExactTarget class Subscriber include ActiveModel::Model + include ActiveRecord::AttributeAssignment if de...
Make this compatible with more recent Rails versions that support more advanced functionality.
diff --git a/lib/liquid-renderer/railtie.rb b/lib/liquid-renderer/railtie.rb index abc1234..def5678 100644 --- a/lib/liquid-renderer/railtie.rb +++ b/lib/liquid-renderer/railtie.rb @@ -10,7 +10,8 @@ ActionController::Renderers.add :liquid do |content, options| content_type = options.delete(:content...
Add status override to liquid rendering
diff --git a/lib/oboefu/inst/action_view.rb b/lib/oboefu/inst/action_view.rb index abc1234..def5678 100644 --- a/lib/oboefu/inst/action_view.rb +++ b/lib/oboefu/inst/action_view.rb @@ -27,11 +27,10 @@ def render(options = {}, locals = {}, &block) opts = {} - puts options.inspect opt...
Use Oboe::API.trace and not start_trace_with_target
diff --git a/lib/poly_delegate/delegator.rb b/lib/poly_delegate/delegator.rb index abc1234..def5678 100644 --- a/lib/poly_delegate/delegator.rb +++ b/lib/poly_delegate/delegator.rb @@ -25,5 +25,13 @@ def instance_variable_set(sym, value) @__delegated_object__.instance_variable_set(sym, value) end + + ...
Add undelegated getter/setter methods to Delegator.
diff --git a/spec/active_record/mti_spec.rb b/spec/active_record/mti_spec.rb index abc1234..def5678 100644 --- a/spec/active_record/mti_spec.rb +++ b/spec/active_record/mti_spec.rb @@ -10,6 +10,10 @@ end end + it "root has the right value" do + expect(ActiveRecord::MTI.root).not_to be_nil + end ...
Add coverage for AR::MTI.root helper
diff --git a/spec/features/missions_spec.rb b/spec/features/missions_spec.rb index abc1234..def5678 100644 --- a/spec/features/missions_spec.rb +++ b/spec/features/missions_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.feature "Mission", type: :feature, js: true do +RSpec.feature "Mission", type: :feature do ...
Remove js: true from Capybara test
diff --git a/carrierwave-imagesorcery.gemspec b/carrierwave-imagesorcery.gemspec index abc1234..def5678 100644 --- a/carrierwave-imagesorcery.gemspec +++ b/carrierwave-imagesorcery.gemspec @@ -10,7 +10,9 @@ gem.extra_rdoc_files = ["README.md"] gem.rdoc_options = ["--main"] - gem.add_development_dependency "rspe...
Add development dependencies to gemspec
diff --git a/lib/em-kannel/test_helper.rb b/lib/em-kannel/test_helper.rb index abc1234..def5678 100644 --- a/lib/em-kannel/test_helper.rb +++ b/lib/em-kannel/test_helper.rb @@ -8,8 +8,13 @@ Client.class_eval do def fake_response + guid = UUID.new.generate + status = OpenStruct.new(status: 2...
Add fake guid to test helper response
diff --git a/lib/fabulator/wlc/actions.rb b/lib/fabulator/wlc/actions.rb index abc1234..def5678 100644 --- a/lib/fabulator/wlc/actions.rb +++ b/lib/fabulator/wlc/actions.rb @@ -4,12 +4,12 @@ require 'fabulator/wlc/actions/make-asset-available' + Fabulator::Core::Actions::Lib.structural 'module', Fabulator::Core:...
Work with fabulator-0.0.7; have 'module' as a top-level structural element
diff --git a/lib/factory_bot/decorator.rb b/lib/factory_bot/decorator.rb index abc1234..def5678 100644 --- a/lib/factory_bot/decorator.rb +++ b/lib/factory_bot/decorator.rb @@ -17,5 +17,9 @@ def send(symbol, *args, &block) __send__(symbol, *args, &block) end + + def self.const_missing(name) + ::...
Revert "Remove redundant const_missing class method." This reverts commit df5471078ce1fd45f094ad77c892ee9657d13c92.
diff --git a/lib/fivemat/minitest/unit.rb b/lib/fivemat/minitest/unit.rb index abc1234..def5678 100644 --- a/lib/fivemat/minitest/unit.rb +++ b/lib/fivemat/minitest/unit.rb @@ -1,8 +1,11 @@ require 'minitest/unit' +require 'fivemat/elapsed_time' module Fivemat module MiniTest class Unit < ::MiniTest::Unit + ...
Support elapsed time in MiniTest formatter.
diff --git a/lib/garage_client/request.rb b/lib/garage_client/request.rb index abc1234..def5678 100644 --- a/lib/garage_client/request.rb +++ b/lib/garage_client/request.rb @@ -24,6 +24,8 @@ request.url(path, params) request.body = body if body request.headers.update(options[:headers]) if opti...
Add :timeout and :open_timeout option