diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/app/validators/previously_published_validator.rb b/app/validators/previously_published_validator.rb index abc1234..def5678 100644 --- a/app/validators/previously_published_validator.rb +++ b/app/validators/previously_published_validator.rb @@ -1,14 +1,16 @@ class PreviouslyPublishedValidator < ActiveModel:...
Adjust first published at validator logic It shouldn't be possible to set first_published_at to a future date regardless of whether the document has been previously published. The UI would prevent the user from setting a future date if previously published was false but a model level validation is probably more sensib...
diff --git a/govuk_template.gemspec b/govuk_template.gemspec index abc1234..def5678 100644 --- a/govuk_template.gemspec +++ b/govuk_template.gemspec @@ -21,7 +21,7 @@ spec.add_development_dependency 'rake' spec.add_development_dependency 'sprockets', '2.10.0' spec.add_development_dependency 'sass', '3.2.9' - s...
Update toolkit version so it pulls it from our own gem repo
diff --git a/coffee-script.gemspec b/coffee-script.gemspec index abc1234..def5678 100644 --- a/coffee-script.gemspec +++ b/coffee-script.gemspec @@ -22,5 +22,5 @@ s.require_paths = ['lib'] s.executables = ['coffee'] - s.files = Dir['bin/*', 'examples/*', 'lib/**/*', 'coffee-script.gemspec', 'LICENSE',...
Add package.json to gemspec files so Narwhal integrations works when installed as a gem.
diff --git a/config/software/ffi-yajl.rb b/config/software/ffi-yajl.rb index abc1234..def5678 100644 --- a/config/software/ffi-yajl.rb +++ b/config/software/ffi-yajl.rb @@ -32,8 +32,11 @@ build do env = with_embedded_path() - # Do not install development dependencies - bundle "install --without development devel...
Revert previous fix due to upstream bundler bug
diff --git a/config/software/td-agent.rb b/config/software/td-agent.rb index abc1234..def5678 100644 --- a/config/software/td-agent.rb +++ b/config/software/td-agent.rb @@ -4,7 +4,7 @@ dependency "jemalloc" unless windows? dependency "ruby" dependency "nokogiri" -dependency "postgresql" +dependency "postgresql" unles...
Disable postgresql bundle to avoid unstable build
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,6 +1,3 @@-$:.unshift File.expand_path('..', __FILE__) -$:.unshift File.expand_path('../../lib', __FILE__) -require 'rubygems' require 'rubygems/commands/webhook_command' require 'rubygems/command...
Remove unnecessary and require 'rubygems'
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -35,7 +35,7 @@ end def lines( s ) - s.to_s.lines.map.with_index{ |l, i| "#{i}:#{l.strip}" } + s.to_s.lines.map.with_index{ |l, i| "#{i}:#{l.strip}" } << :EOF end def match( a, b )...
Make sure the number of lines tested match by explicitly testing for EOF.
diff --git a/lib/melissa_data/web_smart/client.rb b/lib/melissa_data/web_smart/client.rb index abc1234..def5678 100644 --- a/lib/melissa_data/web_smart/client.rb +++ b/lib/melissa_data/web_smart/client.rb @@ -9,15 +9,23 @@ end def property_by_apn(fips:, apn:) - res = process(@client.property_by_ap...
Update ::WebSmart::Client to handle error responses gracefully - Update key lookup to use Hash#dig
diff --git a/lib/rgearmand/persistence/mongodb.rb b/lib/rgearmand/persistence/mongodb.rb index abc1234..def5678 100644 --- a/lib/rgearmand/persistence/mongodb.rb +++ b/lib/rgearmand/persistence/mongodb.rb @@ -13,7 +13,7 @@ def load! # LOAD # Read jobs from the persistent queue - logger.de...
Change log name in the mongo adapter.
diff --git a/ffi-rxs.gemspec b/ffi-rxs.gemspec index abc1234..def5678 100644 --- a/ffi-rxs.gemspec +++ b/ffi-rxs.gemspec @@ -12,6 +12,7 @@ s.description = %q{Ruby FFI bindings for Crossroads I/O networking library.} s.files = `git ls-files`.split("\n") + s.files = s.files.reject{ |f| f.include?(...
Exclude libxs.so from the gem build
diff --git a/spec/higher_level_api/integration/channel_open_stress_spec.rb b/spec/higher_level_api/integration/channel_open_stress_spec.rb index abc1234..def5678 100644 --- a/spec/higher_level_api/integration/channel_open_stress_spec.rb +++ b/spec/higher_level_api/integration/channel_open_stress_spec.rb @@ -0,0 +1,22 @...
Rework the way network loop notifies threads waiting on blocking Bunny::Channel methods Makes full test suite pass on both JRuby and CRuby 1.9.
diff --git a/UICountingLabel.podspec b/UICountingLabel.podspec index abc1234..def5678 100644 --- a/UICountingLabel.podspec +++ b/UICountingLabel.podspec @@ -7,6 +7,7 @@ s.author = { "Tim Gostony" => "dataxpress@gmail.com" } s.source = { :git => "https://github.com/dataxpress/UICountingLabel.git", :tag ...
Add support for TVOS to podspec http://blog.cocoapods.org/CocoaPods-0.39/
diff --git a/lib/metacrunch/ubpb/transformations/mab2snr/helpers/common_helper.rb b/lib/metacrunch/ubpb/transformations/mab2snr/helpers/common_helper.rb index abc1234..def5678 100644 --- a/lib/metacrunch/ubpb/transformations/mab2snr/helpers/common_helper.rb +++ b/lib/metacrunch/ubpb/transformations/mab2snr/helpers/comm...
Add helper to determine if a record is a superorder.
diff --git a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule42.rb b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule42.rb index abc1234..def5678 100644 --- a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule42.rb +++ b/lib/sastrawi/morphology/disambiguator/disambiguator_pref...
Add implementation of fortieth-second rule of disambiguator prefix
diff --git a/lib/jqgrid_rails/jqgrid_rails_helpers.rb b/lib/jqgrid_rails/jqgrid_rails_helpers.rb index abc1234..def5678 100644 --- a/lib/jqgrid_rails/jqgrid_rails_helpers.rb +++ b/lib/jqgrid_rails/jqgrid_rails_helpers.rb @@ -1,32 +1,8 @@ module JqGridRails module Helpers - # arg:: Object - # Does a simple tran...
Use standardized helpers. Include alias to support currently library calls
diff --git a/lib/filter/boolean_field_builder.rb b/lib/filter/boolean_field_builder.rb index abc1234..def5678 100644 --- a/lib/filter/boolean_field_builder.rb +++ b/lib/filter/boolean_field_builder.rb @@ -7,12 +7,12 @@ name = "#{attr}_eq" haml_tag :div, class: "form-group" do - if opts[:attr...
Remove leftover, give tri-state boolean option a self-descriptive name
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -14,6 +14,12 @@ # Block referer spam config.middleware.use Rack::Attack + # Compress Rails-generated responses + config.middleware.use Rack::Deflater + + ...
Compress served pages and assets
diff --git a/lib/pack_rat/extensions/active_record.rb b/lib/pack_rat/extensions/active_record.rb index abc1234..def5678 100644 --- a/lib/pack_rat/extensions/active_record.rb +++ b/lib/pack_rat/extensions/active_record.rb @@ -1,23 +1,20 @@ module PackRat module Extensions module ActiveRecord - def included(...
Fix issues properly loading AR extension; Added lazy loading if ActiveSupport is available.
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -19,7 +19,7 @@ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for findi...
Change timezones to pacific timezone.
diff --git a/lib/puppet/parser/functions/api_fetch.rb b/lib/puppet/parser/functions/api_fetch.rb index abc1234..def5678 100644 --- a/lib/puppet/parser/functions/api_fetch.rb +++ b/lib/puppet/parser/functions/api_fetch.rb @@ -39,7 +39,7 @@ end if response.kind_of? Net::HTTPSuccess and response.body.length...
Fix bug preventing API from returning data
diff --git a/lib/liftoff/configuration_parser.rb b/lib/liftoff/configuration_parser.rb index abc1234..def5678 100644 --- a/lib/liftoff/configuration_parser.rb +++ b/lib/liftoff/configuration_parser.rb @@ -9,22 +9,22 @@ private + def evaluated_configuration + default_configuration. + merge(user_co...
Put more-abstract methods above less-abstract ones
diff --git a/lib/spree_twitter_testimonials/engine.rb b/lib/spree_twitter_testimonials/engine.rb index abc1234..def5678 100644 --- a/lib/spree_twitter_testimonials/engine.rb +++ b/lib/spree_twitter_testimonials/engine.rb @@ -6,11 +6,7 @@ isolate_namespace Spree engine_name 'spree_twitter_testimonials' - i...
Include helper on a different way
diff --git a/config/environment.rb b/config/environment.rb index abc1234..def5678 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,5 +1,10 @@ # Load the rails application require File.expand_path('../application', __FILE__) +Encoding.default_external = Encoding::UTF_8 +Encoding.default_internal =...
Set default encoding to utf8.
diff --git a/lib/proiel/cli/commands/validate.rb b/lib/proiel/cli/commands/validate.rb index abc1234..def5678 100644 --- a/lib/proiel/cli/commands/validate.rb +++ b/lib/proiel/cli/commands/validate.rb @@ -23,12 +23,16 @@ if errors.empty? puts "#{filename} is valid".green + + ex...
Exit validation with useful exit codes.
diff --git a/lib/redcarpet/render/gitlab_html.rb b/lib/redcarpet/render/gitlab_html.rb index abc1234..def5678 100644 --- a/lib/redcarpet/render/gitlab_html.rb +++ b/lib/redcarpet/render/gitlab_html.rb @@ -10,10 +10,12 @@ end def block_code(code, language) + options = { options: {encoding: 'utf-8'} } + if...
Fix 500s because of "missing" lexer
diff --git a/test/cookbooks/hipsnip-jetty_test/recipes/custom_start_ini.rb b/test/cookbooks/hipsnip-jetty_test/recipes/custom_start_ini.rb index abc1234..def5678 100644 --- a/test/cookbooks/hipsnip-jetty_test/recipes/custom_start_ini.rb +++ b/test/cookbooks/hipsnip-jetty_test/recipes/custom_start_ini.rb @@ -2,7 +2,7 @@...
Fix download link in test recipe
diff --git a/test/test_tunes_parser_a.rb b/test/test_tunes_parser_a.rb index abc1234..def5678 100644 --- a/test/test_tunes_parser_a.rb +++ b/test/test_tunes_parser_a.rb @@ -16,9 +16,6 @@ assert_instance_of(ItunesParser::TunesParserA, @my_itunes_parser) end - # should "probably rename this file and start...
Delete commented out dummy test.
diff --git a/metasploit_data_models_live.gemspec b/metasploit_data_models_live.gemspec index abc1234..def5678 100644 --- a/metasploit_data_models_live.gemspec +++ b/metasploit_data_models_live.gemspec @@ -0,0 +1,25 @@+# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "metasploit_data_mode...
Add a "live" gemspec for production builds
diff --git a/test/integration/gobierto_admin/gobierto_participation/processes/archive_process_test.rb b/test/integration/gobierto_admin/gobierto_participation/processes/archive_process_test.rb index abc1234..def5678 100644 --- a/test/integration/gobierto_admin/gobierto_participation/processes/archive_process_test.rb ++...
Add test to check process_stage_pages are also destroyed
diff --git a/app/views/spree/api/legacy_return_authorizations/index.v1.rabl b/app/views/spree/api/legacy_return_authorizations/index.v1.rabl index abc1234..def5678 100644 --- a/app/views/spree/api/legacy_return_authorizations/index.v1.rabl +++ b/app/views/spree/api/legacy_return_authorizations/index.v1.rabl @@ -4,4 +4,...
Use Kaminari's total_pages instead of num_pages num_pages has been removed in the latest version
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index abc1234..def5678 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -3,7 +3,7 @@ before_action :set_current_tab, only: [:index, :show] def index - @tags = Tag.order(name: :desc...
Change to Tag Index descending
diff --git a/app/models/amazon_retrieval_job.rb b/app/models/amazon_retrieval_job.rb index abc1234..def5678 100644 --- a/app/models/amazon_retrieval_job.rb +++ b/app/models/amazon_retrieval_job.rb @@ -0,0 +1,13 @@+class AmazonRetrievalJob + def self.get_amazon_stuff + # Get objects from inside the the-golden-record...
Add base for amazon object retrieval
diff --git a/app/models/concerns/twitch_user.rb b/app/models/concerns/twitch_user.rb index abc1234..def5678 100644 --- a/app/models/concerns/twitch_user.rb +++ b/app/models/concerns/twitch_user.rb @@ -21,7 +21,7 @@ end def follows - User.where(twitch_id: Twitch::Follows.find_by_user(self)) + User.w...
Fix frontpage showing follows with 0 runs
diff --git a/app/models/spree/sale_promotion.rb b/app/models/spree/sale_promotion.rb index abc1234..def5678 100644 --- a/app/models/spree/sale_promotion.rb +++ b/app/models/spree/sale_promotion.rb @@ -7,8 +7,6 @@ accepts_nested_attributes_for :sale_prices - attr_accessor :taxons_ids - after_save :touch_...
Remove accessor de SalePromotion nao utilizado
diff --git a/gettext_i18n_rails.gemspec b/gettext_i18n_rails.gemspec index abc1234..def5678 100644 --- a/gettext_i18n_rails.gemspec +++ b/gettext_i18n_rails.gemspec @@ -9,14 +9,14 @@ s.files = `git ls-files lib MIT-LICENSE.txt`.split("\n") s.license = "MIT" s.add_runtime_dependency "fast_gettext", ">= 0.9.0" - ...
Fix ruby_parser and sexp_processor requirements.
diff --git a/apps/main/core/main/application.rb b/apps/main/core/main/application.rb index abc1234..def5678 100644 --- a/apps/main/core/main/application.rb +++ b/apps/main/core/main/application.rb @@ -17,8 +17,6 @@ plugin :flash route do |r| - self.class.config.container["page"].flash_messages = flash -...
Remove old flash message handling for now
diff --git a/wicked.gemspec b/wicked.gemspec index abc1234..def5678 100644 --- a/wicked.gemspec +++ b/wicked.gemspec @@ -19,6 +19,7 @@ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] - gem.add_d...
Change the runtime dependency to `railties`, not `rails`. `rails` will bring in other gems that wicked doesn't depend on and might not be in use in the host app, like `activerecord`, `activejob` or `actionmailer`.
diff --git a/timetrap/formatters/jira.rb b/timetrap/formatters/jira.rb index abc1234..def5678 100644 --- a/timetrap/formatters/jira.rb +++ b/timetrap/formatters/jira.rb @@ -0,0 +1,35 @@+require File.join('timetrap','formatters','text') +module Timetrap + module Formatters + + class Jira < Text + def initialize...
Add a JIRA timetrap formatter
diff --git a/app/controllers/api/stops_controller.rb b/app/controllers/api/stops_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/stops_controller.rb +++ b/app/controllers/api/stops_controller.rb @@ -1,5 +1,6 @@ class Api::StopsController < ApplicationController def index + params[:query] = p...
Support legacy name param in stops controller
diff --git a/src/vsphere_cpi/lib/cloud/vsphere/sdk_helpers/log_filter.rb b/src/vsphere_cpi/lib/cloud/vsphere/sdk_helpers/log_filter.rb index abc1234..def5678 100644 --- a/src/vsphere_cpi/lib/cloud/vsphere/sdk_helpers/log_filter.rb +++ b/src/vsphere_cpi/lib/cloud/vsphere/sdk_helpers/log_filter.rb @@ -9,11 +9,14 @@ ...
Use modified xml only if filter is applied Signed-off-by: Chris Dutra <7eb54fc324f04033595eb420f2ee7c112fb7259e@pivotal.io>
diff --git a/test/dummy/config/initializers/secret_token.rb b/test/dummy/config/initializers/secret_token.rb index abc1234..def5678 100644 --- a/test/dummy/config/initializers/secret_token.rb +++ b/test/dummy/config/initializers/secret_token.rb @@ -5,3 +5,4 @@ # Make sure the secret is at least 30 characters and all ra...
Set secret_key_base to quiet another warning.
diff --git a/db/migrate/20200417153503_add_unconfirmed_email_to_spree_users.rb b/db/migrate/20200417153503_add_unconfirmed_email_to_spree_users.rb index abc1234..def5678 100644 --- a/db/migrate/20200417153503_add_unconfirmed_email_to_spree_users.rb +++ b/db/migrate/20200417153503_add_unconfirmed_email_to_spree_users.rb...
Update migrations to support Rails 5.1
diff --git a/knife-acl.gemspec b/knife-acl.gemspec index abc1234..def5678 100644 --- a/knife-acl.gemspec +++ b/knife-acl.gemspec @@ -6,10 +6,10 @@ s.version = KnifeACL::VERSION s.platform = Gem::Platform::RUBY s.extra_rdoc_files = ["README.md", "LICENSE" ] - s.summary = "ACL Knife Tools for Opscode Hosted Chef...
Update summary and email for 0.0.10 release
diff --git a/app/api/chemotion/sample_api.rb b/app/api/chemotion/sample_api.rb index abc1234..def5678 100644 --- a/app/api/chemotion/sample_api.rb +++ b/app/api/chemotion/sample_api.rb @@ -11,7 +11,7 @@ end get do if(params[:collection_id]) - current_user.collections.find(params[:collecti...
Fix sample api did not find a shared collection
diff --git a/app/models/supervisor_report.rb b/app/models/supervisor_report.rb index abc1234..def5678 100644 --- a/app/models/supervisor_report.rb +++ b/app/models/supervisor_report.rb @@ -10,6 +10,7 @@ belongs_to :user validates :user, inclusion: { in: ->(_) { User.supervisors } } - validates :reason_test_comp...
Allow blank reason for testing
diff --git a/app/views/v1/projects/base.rabl b/app/views/v1/projects/base.rabl index abc1234..def5678 100644 --- a/app/views/v1/projects/base.rabl +++ b/app/views/v1/projects/base.rabl @@ -18,5 +18,3 @@ node :category do |u| u.category.name end - -node :discourse_comments_count do 0 end
Remove fake discourse_comments_count from projects
diff --git a/app/views/api/v1/images/index.json.rabl b/app/views/api/v1/images/index.json.rabl index abc1234..def5678 100644 --- a/app/views/api/v1/images/index.json.rabl +++ b/app/views/api/v1/images/index.json.rabl @@ -1,5 +1,5 @@ collection @images -node(:url) { |p| p.file.url } +node(:url) { |p| p.file.large.url ...
Return ‘large’ image version as default url.
diff --git a/lib/active_api.rb b/lib/active_api.rb index abc1234..def5678 100644 --- a/lib/active_api.rb +++ b/lib/active_api.rb @@ -1,7 +1,5 @@-require 'rubygems' -require 'activesupport' +require 'active_support' require 'nokogiri' - require 'uri' require 'active_api/builder'
Stop requiring rubygems, for those folks who don't use it
diff --git a/app/models/scsb_lookup.rb b/app/models/scsb_lookup.rb index abc1234..def5678 100644 --- a/app/models/scsb_lookup.rb +++ b/app/models/scsb_lookup.rb @@ -4,7 +4,7 @@ def find_by_id(id) response = items_by_id(id) response.map { |r| [r['itemBarcode'], r] }.to_h - rescue Faraday::ConnectionFailed =...
Remove useless assignment for rubocop
diff --git a/lib/generators/enumerative/enumeration/templates/enumeration_spec.rb b/lib/generators/enumerative/enumeration/templates/enumeration_spec.rb index abc1234..def5678 100644 --- a/lib/generators/enumerative/enumeration/templates/enumeration_spec.rb +++ b/lib/generators/enumerative/enumeration/templates/enumera...
Use shared spec included with library.
diff --git a/lib/foofoberry.rb b/lib/foofoberry.rb index abc1234..def5678 100644 --- a/lib/foofoberry.rb +++ b/lib/foofoberry.rb @@ -2,6 +2,7 @@ require "foofoberry/client" require "foofoberry/github_notification" require "foofoberry/project" +require "foofoberry/project_store" module Foofoberry # Your code goe...
Add project_store file to require statements
diff --git a/lib/rico/value.rb b/lib/rico/value.rb index abc1234..def5678 100644 --- a/lib/rico/value.rb +++ b/lib/rico/value.rb @@ -6,7 +6,7 @@ # # Returns the deserialized value def get - (data || {})["_value"] + data["_value"] end # Sets and stores the new value for the object
Remove unnecessary data guard from Value
diff --git a/lib/rss_loader.rb b/lib/rss_loader.rb index abc1234..def5678 100644 --- a/lib/rss_loader.rb +++ b/lib/rss_loader.rb @@ -2,6 +2,7 @@ require 'open-uri' class RssLoader + def load purge_existing_data() load_data_from_rss_feed() @@ -14,6 +15,7 @@ end def load_data_from_rss_fee...
Add a TODO, fix some whitespace
diff --git a/lib/snoop/http.rb b/lib/snoop/http.rb index abc1234..def5678 100644 --- a/lib/snoop/http.rb +++ b/lib/snoop/http.rb @@ -5,7 +5,13 @@ class Http UrlRequiredException = Class.new(StandardError) - DEFAULT_OPTIONS = { + DEFAULT_INIT_OPTIONS = { + url: nil, + css: nil, + http_clien...
Stop using Ruby 2.0 keyword arguments completely I'd like to have this parsed by Code Climate and it uses ruby_parser, which cannot parse the file as it is now.
diff --git a/lib/verso/base.rb b/lib/verso/base.rb index abc1234..def5678 100644 --- a/lib/verso/base.rb +++ b/lib/verso/base.rb @@ -4,9 +4,9 @@ # # @see http://api.cteresource.org/docs Web API documentation module Verso - # Classes derived from Verso::Base should define attr_readers or - # appropriate methods (usi...
Mark Verso::Base as abstract in doc
diff --git a/bootstrap/libraries/bootstrap_helper.rb b/bootstrap/libraries/bootstrap_helper.rb index abc1234..def5678 100644 --- a/bootstrap/libraries/bootstrap_helper.rb +++ b/bootstrap/libraries/bootstrap_helper.rb @@ -21,9 +21,10 @@ end def optional_patterns + result = [] parameters = Consul::ConsulUt...
Modify to return empty array if consul kv parameters are nil.
diff --git a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule19.rb b/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule19.rb index abc1234..def5678 100644 --- a/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule19.rb +++ b/lib/sastrawi/morphology/disambiguator/disambiguator_pref...
Add implementation of nineteenth rule of disambiguator prefix
diff --git a/vagrant_base/travis_build_environment/attributes/default.rb b/vagrant_base/travis_build_environment/attributes/default.rb index abc1234..def5678 100644 --- a/vagrant_base/travis_build_environment/attributes/default.rb +++ b/vagrant_base/travis_build_environment/attributes/default.rb @@ -1,3 +1,3 @@ default...
Use tmpfs volume for builds directory. There is no real reason not to and it makes Ruby on Rails test suite FLY BABY FLY
diff --git a/lib/confluence_page.rb b/lib/confluence_page.rb index abc1234..def5678 100644 --- a/lib/confluence_page.rb +++ b/lib/confluence_page.rb @@ -13,7 +13,7 @@ def content content = CGI.unescapeHTML @doc.css('#markupTextarea').text - content.gsub!('&nbsp;', '') + content.gsub!('&nbsp;', ' ') ...
Replace nbsp with spaces instead of removing
diff --git a/lib/flor/pcore/logo.rb b/lib/flor/pcore/logo.rb index abc1234..def5678 100644 --- a/lib/flor/pcore/logo.rb +++ b/lib/flor/pcore/logo.rb @@ -1,25 +1,47 @@ class Flor::Pro::Logo < Flor::Procedure - # - # "and" has higher precedence than "or" names %w[ and or ] - def pre_execute + def execute -...
Make "and" and "or" short circuit
diff --git a/spec/factories/patterns.rb b/spec/factories/patterns.rb index abc1234..def5678 100644 --- a/spec/factories/patterns.rb +++ b/spec/factories/patterns.rb @@ -0,0 +1,28 @@+# -*- coding: utf-8 -*- +# Copyright 2014 TIS Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not us...
Add factory file that lucked previous commit
diff --git a/lib/alchemy/deprecation.rb b/lib/alchemy/deprecation.rb index abc1234..def5678 100644 --- a/lib/alchemy/deprecation.rb +++ b/lib/alchemy/deprecation.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module Alchemy - Deprecation = ActiveSupport::Deprecation.new("6.0", "Alchemy") + Deprecation = ActiveSupp...
Raise deprecated major version to 7.0
diff --git a/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb b/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb index abc1234..def5678 100644 --- a/provider/vendor/plugins/oauth2_provider/lib/oauth2/provider/ssl_helper.rb +++ b/provider/vendor/plugins/oauth2_provider/l...
Remove the help link in the error message.
diff --git a/lib/microspec/scope.rb b/lib/microspec/scope.rb index abc1234..def5678 100644 --- a/lib/microspec/scope.rb +++ b/lib/microspec/scope.rb @@ -8,14 +8,6 @@ def parent @_parent - end - - def setups - @_setups ||= [] - end - - def teardowns - @_setups ||= [] end de...
Make setups and teardowns accessors protected methods
diff --git a/lib/neography/index.rb b/lib/neography/index.rb index abc1234..def5678 100644 --- a/lib/neography/index.rb +++ b/lib/neography/index.rb @@ -25,7 +25,7 @@ def find(*args) db = args[3] ? args.pop : Neography::Rest.new - if self.is_a?(Neography::Node) + if self <= Neography::Nod...
Check for subclasses of Neography::Node and not just an instance.
diff --git a/lib/descendants_tracker.rb b/lib/descendants_tracker.rb index abc1234..def5678 100644 --- a/lib/descendants_tracker.rb +++ b/lib/descendants_tracker.rb @@ -15,16 +15,11 @@ # @private def self.extended(descendant) - setup(descendant) - end - private_class_method :extended - - # @return [Array] ...
Remove setup method and alias to extended
diff --git a/lib/pgquilter/topic.rb b/lib/pgquilter/topic.rb index abc1234..def5678 100644 --- a/lib/pgquilter/topic.rb +++ b/lib/pgquilter/topic.rb @@ -4,7 +4,7 @@ class Topic < Sequel::Model one_to_many :patchsets - SUBJECT_WAS_RE = /.*\(\s*was:?\s*([^)]+)\s*\)/ + SUBJECT_WAS_RE = /.*[\(\[]\s*was:?\s*(...
Support brackets in '(was ...)' substitution
diff --git a/lib/postamt/railtie.rb b/lib/postamt/railtie.rb index abc1234..def5678 100644 --- a/lib/postamt/railtie.rb +++ b/lib/postamt/railtie.rb @@ -12,7 +12,10 @@ # We mustn't hook into AR when db:migrate or db:test:load_schema # run, but user-defined Rake tasks still need us task_names =...
Fix bug from improper handling of raketask string
diff --git a/Casks/poedit.rb b/Casks/poedit.rb index abc1234..def5678 100644 --- a/Casks/poedit.rb +++ b/Casks/poedit.rb @@ -7,7 +7,7 @@ url "http://poedit.net/dl/poedit-#{version}.dmg" else version '1.8.4' - sha256 '5551d354865070fefd6c7bd5582dfcb0879e6ea41484dd7a3320183714b9bb3d' + sha256 '80fd1a93b...
Fix sha sum for Poedit
diff --git a/features/support/webmock.rb b/features/support/webmock.rb index abc1234..def5678 100644 --- a/features/support/webmock.rb +++ b/features/support/webmock.rb @@ -9,5 +9,5 @@ # Mock out all publisher URLs stub_request(:get, %r{^#{Regexp.escape Plek.current.find('publisher')}/}).to_return(status: 200) -...
Switch plek 'data' lookup for app name of 'imminence'
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -19,6 +19,12 @@ render :text => "error", :status => 422 end + # used for active_ad...
Add Admin Check for Email Addresses Add a method to check 2 specific email addresses of the owners for admin access.
diff --git a/Casks/xamarin-studio.rb b/Casks/xamarin-studio.rb index abc1234..def5678 100644 --- a/Casks/xamarin-studio.rb +++ b/Casks/xamarin-studio.rb @@ -1,13 +1,13 @@ cask :v1 => 'xamarin-studio' do - version '5.5.0.227-0' - sha256 '4c05b5174fd1d2eacef44f2f96557fc213f25381ad0ea3c139612217a20e8d46' + version '5.7...
Update Xamarin Studio to v5.7.0.660-0
diff --git a/tools/common/lib/subjects/project.rb b/tools/common/lib/subjects/project.rb index abc1234..def5678 100644 --- a/tools/common/lib/subjects/project.rb +++ b/tools/common/lib/subjects/project.rb @@ -10,11 +10,17 @@ end def files - Dir.glob("#{root}/**/*.rb").map { |f| SourceFile.new(f, self) }...
Make it possible to run tools on a single file.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,7 +1,7 @@ class ApplicationController < ActionController::Base # Prevent CSRF attacks ...
Use null_session when protecting from forgery This is an API after all, so we should follow the advice.
diff --git a/lib/lines/active_record.rb b/lib/lines/active_record.rb index abc1234..def5678 100644 --- a/lib/lines/active_record.rb +++ b/lib/lines/active_record.rb @@ -29,8 +29,9 @@ Lines.log(name: event.payload[:name], line: event.payload[:line]) end - def logger; true; end + def logger; Lines.logg...
Use Lines as the default ActiveRecord::Base logger
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake index abc1234..def5678 100644 --- a/lib/tasks/sidekiq.rake +++ b/lib/tasks/sidekiq.rake @@ -14,15 +14,19 @@ Rake::Task['sidekiq:stop'].invoke puts 'Starting new sidekiq process.' end - system "nohup bundle exec sidekiq -q post_receive,mai...
Remove duplicate log path generation
diff --git a/lib/userbin/session.rb b/lib/userbin/session.rb index abc1234..def5678 100644 --- a/lib/userbin/session.rb +++ b/lib/userbin/session.rb @@ -12,8 +12,8 @@ end class Identity < Model; - def activate! - Identity.save_existing(id, pending: false) + def activate!(local_id = nil) + Identit...
Send an optional local database id with the activation request
diff --git a/wladder/app/controllers/home_controller.rb b/wladder/app/controllers/home_controller.rb index abc1234..def5678 100644 --- a/wladder/app/controllers/home_controller.rb +++ b/wladder/app/controllers/home_controller.rb @@ -8,12 +8,14 @@ end def result - start_word = params[:start_word] - end_word = par...
Put words in an array
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.5.1.0' + s.version = '0.6.0.0' s.summary = 'Messaging primitives for Eve...
Package version is increased form 0.5.1.0 to 0.6.0.0
diff --git a/lib/physeng/application.rb b/lib/physeng/application.rb index abc1234..def5678 100644 --- a/lib/physeng/application.rb +++ b/lib/physeng/application.rb @@ -4,8 +4,11 @@ class Physeng class Application class << self + attr_reader :opts + def run!(*arguments) p = Trollop::Parser....
Add gravity flag to command line params
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-openstack-infra_manager.rb b/lib/miq_automation_engine/service_models/miq_ae_service_manageiq-providers-openstack-infra_manager.rb index abc1234..def5678 100644 --- a/lib/miq_automation_engine/service_models/miq_ae_service_manageiq-...
Change Openstack_InfraManager service model use real model for subclass Openstack_InfraManager was using the alias EmsInfra instead of the real subclass ManageIQ::Providers::InfraManager
diff --git a/app/models/concerns/spree/callbackable.rb b/app/models/concerns/spree/callbackable.rb index abc1234..def5678 100644 --- a/app/models/concerns/spree/callbackable.rb +++ b/app/models/concerns/spree/callbackable.rb @@ -15,14 +15,14 @@ # Index document into elasticsearch # def index_documen...
Fix bug with update and version
diff --git a/Expecta.podspec b/Expecta.podspec index abc1234..def5678 100644 --- a/Expecta.podspec +++ b/Expecta.podspec @@ -23,4 +23,6 @@ s.osx.deployment_target = '10.7' s.frameworks = 'Foundation', 'XCTest' + s.osx.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(DEVELOPER_FRAMEWORKS_DIR) "$(PLATF...
Add framework search paths to podspec
diff --git a/ember-konacha-rails.gemspec b/ember-konacha-rails.gemspec index abc1234..def5678 100644 --- a/ember-konacha-rails.gemspec +++ b/ember-konacha-rails.gemspec @@ -20,6 +20,7 @@ spec.add_dependency "rails", ">= 3.1" spec.add_dependency "httparty", ">= 0.9" + spec.add_dependency "konacha" spec.add_...
Add konacha as a dependency I would expect adding this to my Gemfile to also include konacha as a dependency
diff --git a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb index abc1234..def5678 100644 --- a/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb +++ b/buildserver/cookbooks/fdroidbuild-general/recipes/default.rb @@ -5,7 +5,7 @@ c...
Sort debian packages to be installed
diff --git a/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb b/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb index abc1234..def5678 100644 --- a/db/migrate/20170411153944_add_project_errors_projectid_error_idx.rb +++ b/db/migrate/20170411153944_add_project_errors_projectid_erro...
Add project errors project_id and error index
diff --git a/spec/models/auth_userid_password_spec.rb b/spec/models/auth_userid_password_spec.rb index abc1234..def5678 100644 --- a/spec/models/auth_userid_password_spec.rb +++ b/spec/models/auth_userid_password_spec.rb @@ -0,0 +1,8 @@+RSpec.describe AuthUseridPassword do + describe ".encrypted_columns" do + it "r...
Add a test for a subclass of Authentication
diff --git a/spec/uploaders/remote_downloader_spec.rb b/spec/uploaders/remote_downloader_spec.rb index abc1234..def5678 100644 --- a/spec/uploaders/remote_downloader_spec.rb +++ b/spec/uploaders/remote_downloader_spec.rb @@ -0,0 +1,12 @@+require 'spec_helper' + +describe RemoteDownloader do + + let(:filename) { 'file_...
Add tests for remote downloader
diff --git a/lib/tasks/peer_review.rake b/lib/tasks/peer_review.rake index abc1234..def5678 100644 --- a/lib/tasks/peer_review.rake +++ b/lib/tasks/peer_review.rake @@ -6,7 +6,7 @@ task peer_reviews: :environment do puts 'Creating A1 Peer Review and updating A1 to have the peer review' a1 = Assignment.find_...
seed: Fix peer review creation in seed data
diff --git a/lib/category.rb b/lib/category.rb index abc1234..def5678 100644 --- a/lib/category.rb +++ b/lib/category.rb @@ -7,7 +7,7 @@ "Clarity" end - def self.compatability + def self.compatibility "Compatibility" end
Fix typo (compatability -> compatibility)
diff --git a/core/spec/screenshots/tour_spec.rb b/core/spec/screenshots/tour_spec.rb index abc1234..def5678 100644 --- a/core/spec/screenshots/tour_spec.rb +++ b/core/spec/screenshots/tour_spec.rb @@ -17,6 +17,7 @@ it 'Interests page should be the same' do user = create :user Pavlov.command(:'users/add_hand...
Fix having one discussion on interests page
diff --git a/changeset/rom-changeset.gemspec b/changeset/rom-changeset.gemspec index abc1234..def5678 100644 --- a/changeset/rom-changeset.gemspec +++ b/changeset/rom-changeset.gemspec @@ -13,6 +13,7 @@ gem.license = 'MIT' gem.add_runtime_dependency 'dry-core', '~> 0.3', '>= 0.3.1' + gem.add_runtime_depen...
Add missing dep on rom to changeset
diff --git a/tests/rec-hosts-rm.rb b/tests/rec-hosts-rm.rb index abc1234..def5678 100644 --- a/tests/rec-hosts-rm.rb +++ b/tests/rec-hosts-rm.rb @@ -0,0 +1,20 @@+# This will leave /etc/hosts with nothing but comments and whitespace +commands=" +rm /system/config/hosts +save +" + +diff["/etc/hosts"] = <<TXT +--- /tmp/au...
Test deleting everything from /etc/hosts
diff --git a/db/migrate/20120906212544_create_contenteditable_contents.rb b/db/migrate/20120906212544_create_contenteditable_contents.rb index abc1234..def5678 100644 --- a/db/migrate/20120906212544_create_contenteditable_contents.rb +++ b/db/migrate/20120906212544_create_contenteditable_contents.rb @@ -1,6 +1,6 @@-cla...
Change table name to translations
diff --git a/lib/what_now.rb b/lib/what_now.rb index abc1234..def5678 100644 --- a/lib/what_now.rb +++ b/lib/what_now.rb @@ -18,22 +18,16 @@ end def search_file(path) - todos = [] - unless File.binary?(path) - File.open(path).each_with_index do |line, i| - result = search_line(line,...
Use ruby awesomeness to simplify code in file and directory methods
diff --git a/spec/acceptance/10_basic_gnocchi_spec.rb b/spec/acceptance/10_basic_gnocchi_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/10_basic_gnocchi_spec.rb +++ b/spec/acceptance/10_basic_gnocchi_spec.rb @@ -10,6 +10,8 @@ include openstack_integration::repos include openstack_integration::...
Enable memcached and redis in acceptance tests ... because these are required as cache/coordination backend. Change-Id: I16594b5e046fcc6639c134bc8ce566f8ffbc3f43
diff --git a/spec/acceptance/postfix_instance_spec.rb b/spec/acceptance/postfix_instance_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/postfix_instance_spec.rb +++ b/spec/acceptance/postfix_instance_spec.rb @@ -5,14 +5,15 @@ before :all do # include postfix class for package installation apply...
Add spec tests for postfix_instance
diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index abc1234..def5678 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -1,24 +1,41 @@ class AnnouncementsController < PublicFacingController def index...
Add type and page params to announcements
diff --git a/app/controllers/api/v1/causes_controller.rb b/app/controllers/api/v1/causes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/causes_controller.rb +++ b/app/controllers/api/v1/causes_controller.rb @@ -9,8 +9,8 @@ end def show + Volunteermatch.call_events(params[...
Call VolunteerMatch method to access json data when cause is selected
diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/organizations_controller.rb +++ b/app/controllers/organizations_controller.rb @@ -1,5 +1,6 @@ class OrganizationsController < PlugitController before_filter :requ...
Add hook to refresh organizations.