diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/gems/pending/VMwareWebService/MiqPbmInventory.rb b/lib/gems/pending/VMwareWebService/MiqPbmInventory.rb index abc1234..def5678 100644 --- a/lib/gems/pending/VMwareWebService/MiqPbmInventory.rb +++ b/lib/gems/pending/VMwareWebService/MiqPbmInventory.rb @@ -19,4 +19,14 @@ profiles end + + def p...
Add a method to get matching datastores
diff --git a/lib/rademade_admin/model/adapter/query/postgresql.rb b/lib/rademade_admin/model/adapter/query/postgresql.rb index abc1234..def5678 100644 --- a/lib/rademade_admin/model/adapter/query/postgresql.rb +++ b/lib/rademade_admin/model/adapter/query/postgresql.rb @@ -11,7 +11,7 @@ def build_where_condi...
Fix postgres regexp search to case insensetive
diff --git a/lib/buildr_plus/patches/project_patch.rb b/lib/buildr_plus/patches/project_patch.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/patches/project_patch.rb +++ b/lib/buildr_plus/patches/project_patch.rb @@ -12,6 +12,8 @@ # limitations under the License. # +raise 'Patch applied in latest release of ...
Patch is applied to buildr proper
diff --git a/test/basic_test.rb b/test/basic_test.rb index abc1234..def5678 100644 --- a/test/basic_test.rb +++ b/test/basic_test.rb @@ -1,13 +1,17 @@ #!/usr/bin/env ruby +require "rubygems" require "test/unit" require "net/http" require "uri" require "logger" +require "fakeweb" require "net-observer/net_logger"...
Use fakeweb not to contact the real net and see too much.
diff --git a/app/controllers/sha_controller.rb b/app/controllers/sha_controller.rb index abc1234..def5678 100644 --- a/app/controllers/sha_controller.rb +++ b/app/controllers/sha_controller.rb @@ -3,12 +3,12 @@ def index @services = { + 'custom-start-points' => info('custom-start-points', custom_start_...
Fix start-point service names in /sha/index page
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,7 +1,7 @@ require 'redcarpet' module ApplicationHelper - def page_title(text) + def page_title(text, tag_type = :h1,...
Allow specifing of tag type and attributes through page_title helper Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -5,4 +5,16 @@ def datetime_ago date content_tag :date, nil, title: date.to_s(:long), "data-source": date.to_s(:rfc822...
[Core] Implement global variables on application helper
diff --git a/app/helpers/tab_link_to_helper.rb b/app/helpers/tab_link_to_helper.rb index abc1234..def5678 100644 --- a/app/helpers/tab_link_to_helper.rb +++ b/app/helpers/tab_link_to_helper.rb @@ -1,5 +1,7 @@ module TabLinkToHelper def tab_link_to(name = nil, url = nil, attrs = nil, &block) + url = name if block_...
Fix tab_link_to helper when using blocks
diff --git a/Alamofire.podspec b/Alamofire.podspec index abc1234..def5678 100644 --- a/Alamofire.podspec +++ b/Alamofire.podspec @@ -8,7 +8,7 @@ s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' } s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version } - s.depe...
Use correct version for Result dependency
diff --git a/lib/active_record_host_pool/connection_proxy.rb b/lib/active_record_host_pool/connection_proxy.rb index abc1234..def5678 100644 --- a/lib/active_record_host_pool/connection_proxy.rb +++ b/lib/active_record_host_pool/connection_proxy.rb @@ -18,8 +18,9 @@ @cx end - def self.class_eval(*args, ...
Revert "testing a different way of allowing more monkey patches" This reverts commit 3143ef62f79848ec05db98b705f4edef8a146a4a.
diff --git a/lib/alchemy/upgrader/tasks/add_page_versions.rb b/lib/alchemy/upgrader/tasks/add_page_versions.rb index abc1234..def5678 100644 --- a/lib/alchemy/upgrader/tasks/add_page_versions.rb +++ b/lib/alchemy/upgrader/tasks/add_page_versions.rb @@ -8,22 +8,24 @@ no_tasks do def create_public_page_versi...
Adjust upgrader to page legacy timestamps
diff --git a/randexp.gemspec b/randexp.gemspec index abc1234..def5678 100644 --- a/randexp.gemspec +++ b/randexp.gemspec @@ -0,0 +1,29 @@+# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{randexp} + s.version = "0.1.5" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond...
Add a gemspec file to ease bundling from git
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 @@ -2,7 +2,7 @@ url 'http://downloads.sourceforge.net/sourceforge/sourcecodepro.adobe/SourceCodePro_FontsOnly-1.017.zip' homepage 'http://...
Update Source Code Pro to sha256 checksums
diff --git a/judoscale-rails/test/app_test.rb b/judoscale-rails/test/app_test.rb index abc1234..def5678 100644 --- a/judoscale-rails/test/app_test.rb +++ b/judoscale-rails/test/app_test.rb @@ -6,6 +6,7 @@ include Rack::Test::Methods def app + # This refers to TestRailsApp created in test_helper.rb ...
Add a note about where the ::Rails.application is defined Co-authored-by: Adam McCrea <0e18f44c1fec03ec4083422cb58ba6a09ac4fb2a@adamlogic.com>
diff --git a/KMSWebRTC.podspec b/KMSWebRTC.podspec index abc1234..def5678 100644 --- a/KMSWebRTC.podspec +++ b/KMSWebRTC.podspec @@ -9,6 +9,7 @@ s.platform = :ios, '7.0' s.requires_arc = true + s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' } s.module_name = 'KMSWebRTC' s.source_files = 'KMSWebRTC...
Disable bitcode for pod spec target.
diff --git a/app/serializers/lab_serializer.rb b/app/serializers/lab_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/lab_serializer.rb +++ b/app/serializers/lab_serializer.rb @@ -4,7 +4,7 @@ attributes :id, :name, - :kind_name, + #:kind_name, :parent_id, :blurb, :descript...
Revert "Revert "labs.json errors when calling kind_name and url"" This reverts commit ef413e8c4c295fa1b62db1f7a8dc922a94e882c8.
diff --git a/cookiejar.gemspec b/cookiejar.gemspec index abc1234..def5678 100644 --- a/cookiejar.gemspec +++ b/cookiejar.gemspec @@ -19,9 +19,9 @@ s.rdoc_options = ['--title', 'CookieJar -- Client-side HTTP Cookies'] s.require_paths = ['lib'] - s.add_development_dependency 'rake', '~> 10.0' + s.add_developmen...
Update yard to 0.9.20 [GHSA-xfhh-rx56-rxcr] Update rake spec to allow for 11.x and 12.x series
diff --git a/db/migrations/011_add_settings.rb b/db/migrations/011_add_settings.rb index abc1234..def5678 100644 --- a/db/migrations/011_add_settings.rb +++ b/db/migrations/011_add_settings.rb @@ -16,6 +16,13 @@ add_column :saturdays_per_year, Integer, default: 55 add_column :sundays_per_year, Integer, def...
Copy layover and hourly_cost from maps to associated lines
diff --git a/app/models/topic.rb b/app/models/topic.rb index abc1234..def5678 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -6,18 +6,15 @@ include ResponsesHelper - # def responses_json - # self.charts.map { |c| { chart: c, responses: bucketize_responses(c.responses) } } - # end - def resp...
Update responses_json method to return a timeline of data
diff --git a/lib/capistrano/tasks/phpfpm.rake b/lib/capistrano/tasks/phpfpm.rake index abc1234..def5678 100644 --- a/lib/capistrano/tasks/phpfpm.rake +++ b/lib/capistrano/tasks/phpfpm.rake @@ -7,7 +7,11 @@ desc "Restart php fpm" task :restart do on roles(:web) do - execute :sudo, :service, "php5-fpm rest...
Allow parametrable php fpm restart task
diff --git a/app/controllers/urls_controller.rb b/app/controllers/urls_controller.rb index abc1234..def5678 100644 --- a/app/controllers/urls_controller.rb +++ b/app/controllers/urls_controller.rb @@ -34,7 +34,7 @@ def destroy @url = Url.find(params[:id]) - @url.destroy + @url.destroyurls end pri...
Add CRUD actions for url_contents controller
diff --git a/app/models/esa/context_provider.rb b/app/models/esa/context_provider.rb index abc1234..def5678 100644 --- a/app/models/esa/context_provider.rb +++ b/app/models/esa/context_provider.rb @@ -7,6 +7,7 @@ created = contained - existing created.each do |sub| sub.save if sub.new_record? or s...
Append the created subcontext into parents' subcontexts association
diff --git a/actionpack/test/fixtures/reply.rb b/actionpack/test/fixtures/reply.rb index abc1234..def5678 100644 --- a/actionpack/test/fixtures/reply.rb +++ b/actionpack/test/fixtures/reply.rb @@ -1,5 +1,5 @@ class Reply < ActiveRecord::Base - scope :base, -> { scoped } + scope :base, -> { all } belongs_to :topic,...
Remove deprecation warning, since scoped waas deprecated
diff --git a/ruby/spec/bson/document_spec.rb b/ruby/spec/bson/document_spec.rb index abc1234..def5678 100644 --- a/ruby/spec/bson/document_spec.rb +++ b/ruby/spec/bson/document_spec.rb @@ -3,16 +3,4 @@ describe BSON::Document do - let(:type) { 3.chr } - let(:obj) { { :key => "value" } } - let(:bson) { - "#{2...
Remove the false bson document tests
diff --git a/ceifpar.gemspec b/ceifpar.gemspec index abc1234..def5678 100644 --- a/ceifpar.gemspec +++ b/ceifpar.gemspec @@ -19,7 +19,7 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.add_development_dependency "rmagick" + spec.add_dependency "rma...
Fix gem dependency on development env
diff --git a/lib/exercism/use_cases/notify.rb b/lib/exercism/use_cases/notify.rb index abc1234..def5678 100644 --- a/lib/exercism/use_cases/notify.rb +++ b/lib/exercism/use_cases/notify.rb @@ -6,7 +6,7 @@ end def self.source(submission, from, about) - new(submission, to, from, about).save + new(submission,...
Fix borked notification on approval
diff --git a/lib/lita/handlers/jira_issues.rb b/lib/lita/handlers/jira_issues.rb index abc1234..def5678 100644 --- a/lib/lita/handlers/jira_issues.rb +++ b/lib/lita/handlers/jira_issues.rb @@ -16,7 +16,7 @@ 'to work' end response.matches.each do | key | - response.reply "[#{key}]"...
Put handling key in separate method
diff --git a/lib/rubygems/tasks/scm/status.rb b/lib/rubygems/tasks/scm/status.rb index abc1234..def5678 100644 --- a/lib/rubygems/tasks/scm/status.rb +++ b/lib/rubygems/tasks/scm/status.rb @@ -30,8 +30,9 @@ status = self.status unless status.strip.empty? + error "Project ha...
Use error() to print the message, and call abort to exit.
diff --git a/lib/thincloud/postmark/engine.rb b/lib/thincloud/postmark/engine.rb index abc1234..def5678 100644 --- a/lib/thincloud/postmark/engine.rb +++ b/lib/thincloud/postmark/engine.rb @@ -2,7 +2,11 @@ module Postmark # Public: Thincloud Postmark Engine class Engine < ::Rails::Engine - attr_accesso...
Use configuration in Engine init
diff --git a/lib/yarrow/tools/front_matter.rb b/lib/yarrow/tools/front_matter.rb index abc1234..def5678 100644 --- a/lib/yarrow/tools/front_matter.rb +++ b/lib/yarrow/tools/front_matter.rb @@ -3,7 +3,7 @@ module FrontMatter def read_split_content(path) - extract_split_content(File.read(path)) + ...
Add 'utf-8' encoding to front matter reader
diff --git a/SwiftFlow.podspec b/SwiftFlow.podspec index abc1234..def5678 100644 --- a/SwiftFlow.podspec +++ b/SwiftFlow.podspec @@ -10,7 +10,7 @@ s.license = { :type => "MIT", :file => "LICENSE.md" } s.author = { "Benjamin Encz" => "me@benjamin-encz.de" } s.social_media_url = "http://twitter...
[CocoaPods] Fix Version Number in Podspec
diff --git a/translator.gemspec b/translator.gemspec index abc1234..def5678 100644 --- a/translator.gemspec +++ b/translator.gemspec @@ -13,12 +13,12 @@ s.summary = "Summary of Translator." s.description = "Description of Translator." s.license = "MIT" - - s.files = Dir["{app,config,db,lib}/**/*", "MIT...
Add vendor files to gemspec
diff --git a/spec/integration/deploy_job_with_addons_spec.rb b/spec/integration/deploy_job_with_addons_spec.rb index abc1234..def5678 100644 --- a/spec/integration/deploy_job_with_addons_spec.rb +++ b/spec/integration/deploy_job_with_addons_spec.rb @@ -21,10 +21,12 @@ upload_cloud_config(manifest_hash: manifest_has...
Use Bosh::Spec::Vm support methods to improve readability of integration test Signed-off-by: Tom McNeely <76fa767ac9cb5e290fd529f0d648ac34ac2ba9cb@pivotal.io>
diff --git a/lib/action_view/bruce/bruce.rb b/lib/action_view/bruce/bruce.rb index abc1234..def5678 100644 --- a/lib/action_view/bruce/bruce.rb +++ b/lib/action_view/bruce/bruce.rb @@ -11,7 +11,7 @@ # Render the bar graph with the percentage of Australian Gems in your project # Use the style width to...
Add a bar under the Kanga
diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index abc1234..def5678 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -20,7 +20,7 @@ # If it does exist, retrieve the extra information if topic - authorize! :read, @...
Fix typo in variable name
diff --git a/app/mailers/admin_notifier_mailer.rb b/app/mailers/admin_notifier_mailer.rb index abc1234..def5678 100644 --- a/app/mailers/admin_notifier_mailer.rb +++ b/app/mailers/admin_notifier_mailer.rb @@ -1,11 +1,12 @@ class AdminNotifierMailer < ApplicationMailer - default :from => ENV['EMAIL_ADDRESS'] add_tem...
Add reply-to to notification email
diff --git a/spec/lib/assets/asset_encoding_spec.rb b/spec/lib/assets/asset_encoding_spec.rb index abc1234..def5678 100644 --- a/spec/lib/assets/asset_encoding_spec.rb +++ b/spec/lib/assets/asset_encoding_spec.rb @@ -0,0 +1,19 @@+asset_directory = File.expand_path('../../../../assets', __FILE__) +asset_file_paths = Dir...
Add the asset encoding spec that demonstrates the issue
diff --git a/spec/requests/feeds_controller_spec.rb b/spec/requests/feeds_controller_spec.rb index abc1234..def5678 100644 --- a/spec/requests/feeds_controller_spec.rb +++ b/spec/requests/feeds_controller_spec.rb @@ -11,6 +11,9 @@ describe '#mpdream-info' do it { compare_static '/feeds/mpdream-info.xml?id=1' }...
Comment out test that occasionally fails on travis
diff --git a/app/filters/ensure_active_user.rb b/app/filters/ensure_active_user.rb index abc1234..def5678 100644 --- a/app/filters/ensure_active_user.rb +++ b/app/filters/ensure_active_user.rb @@ -5,7 +5,7 @@ def before(c) # c = controller return unless c.current_user if (c.current_user.pending? && c....
Revert "fix parameter to redirect route on pending user" This reverts commit ed27e23d08a1cac6e11b99eaa36e60b45808f2f3.
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -12,12 +12,12 @@ end # Generate link to user or group profiles - def link_to_profile(item) + def link_to_profile(it...
Add options support to link_to_profile helper.
diff --git a/lib/gitlab/current_settings.rb b/lib/gitlab/current_settings.rb index abc1234..def5678 100644 --- a/lib/gitlab/current_settings.rb +++ b/lib/gitlab/current_settings.rb @@ -38,7 +38,9 @@ true end - use_db && ActiveRecord::Base.connection.active? && ActiveRecord::Base....
Make sure that is no pending migrations in Gitlab::CurrentSettings
diff --git a/app/models/drink.rb b/app/models/drink.rb index abc1234..def5678 100644 --- a/app/models/drink.rb +++ b/app/models/drink.rb @@ -3,7 +3,7 @@ validates_presence_of :name, :bottle_size, :price has_attached_file :logo, :styles => { :thumb => "100x100#" }, :default_style => :thumb - validates_attachment_...
Replace " " with " ". Former-commit-id: 30f050c36d9525b581a9fa91f0c41d983e5ba88d
diff --git a/app/models/order.rb b/app/models/order.rb index abc1234..def5678 100644 --- a/app/models/order.rb +++ b/app/models/order.rb @@ -24,4 +24,16 @@ } names[status.to_sym] || status.capitalize end + + def subtotal + order_items.inject(0) { |sum, i| sum + i.cost } + end + + def shipping_cost + ...
Add subtotal, shipping_cost and total_cost methods to Order model
diff --git a/app/models/quote.rb b/app/models/quote.rb index abc1234..def5678 100644 --- a/app/models/quote.rb +++ b/app/models/quote.rb @@ -1,6 +1,8 @@ class Quote < ActiveRecord::Base has_many :lines, dependent: :destroy, autosave: true has_many :people, through: :lines, uniq: true + + attr_accessible :descr...
Add mass-assignment protection to Quote
diff --git a/lib/lita/handlers/keepalive.rb b/lib/lita/handlers/keepalive.rb index abc1234..def5678 100644 --- a/lib/lita/handlers/keepalive.rb +++ b/lib/lita/handlers/keepalive.rb @@ -3,15 +3,14 @@ class Keepalive < Handler config :url, required: true, type: String - http.get '/ping', :ping + ht...
Use proper http route block
diff --git a/lib/departure/log_sanitizers/password_sanitizer.rb b/lib/departure/log_sanitizers/password_sanitizer.rb index abc1234..def5678 100644 --- a/lib/departure/log_sanitizers/password_sanitizer.rb +++ b/lib/departure/log_sanitizers/password_sanitizer.rb @@ -15,7 +15,7 @@ private def password_argum...
Use indifferent access in log sanitizer when indexing config.
diff --git a/lib/punchblock/command_node.rb b/lib/punchblock/command_node.rb index abc1234..def5678 100644 --- a/lib/punchblock/command_node.rb +++ b/lib/punchblock/command_node.rb @@ -4,7 +4,7 @@ module Punchblock class CommandNode < RayoNode - attribute :request_id, String, default: ->(*) { Punchblock.new_uui...
Revert "[BUGFIX] Assume request IDs can be UUIDs" This reverts commit 72d91b2962e08d2886903964b69f2b3ed0bc70d0.
diff --git a/lib/tessa/rack_upload_proxy.rb b/lib/tessa/rack_upload_proxy.rb index abc1234..def5678 100644 --- a/lib/tessa/rack_upload_proxy.rb +++ b/lib/tessa/rack_upload_proxy.rb @@ -2,21 +2,21 @@ class RackUploadProxy def call(env) + # Call in to ActiveStorage to create a DirectUpload blob param...
Allow Dropzone to DirectUpload via activestorage
diff --git a/config/initializers/ascii_logo.rb b/config/initializers/ascii_logo.rb index abc1234..def5678 100644 --- a/config/initializers/ascii_logo.rb +++ b/config/initializers/ascii_logo.rb @@ -0,0 +1,12 @@+# frozen_string_literal: true + +# rubocop:disable Layout/HeredocIndentation, Rails/Output +puts <<-'ASC' + __...
Add ascii logo on boot from command
diff --git a/calendar.rb b/calendar.rb index abc1234..def5678 100644 --- a/calendar.rb +++ b/calendar.rb @@ -1,4 +1,5 @@ require 'prawn' +require 'date' module Mortalical module Calendar @@ -8,8 +9,30 @@ normal: "./LeagueGothic-Regular.ttf" }) pdf.font "LeagueGothic" - pdf.text ...
Add date and time calculating functions
diff --git a/spec/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report_spec.rb b/spec/lib/open_food_network/orders_and_fulfillments_report/supplier_totals_by_distributor_report_spec.rb index abc1234..def5678 100644 --- a/spec/lib/open_food_network/orders_and_fulfillments_report/sup...
Add smoke test for Supplier Totals by Distributor report
diff --git a/spec/praxis-blueprints/config_hash_spec.rb b/spec/praxis-blueprints/config_hash_spec.rb index abc1234..def5678 100644 --- a/spec/praxis-blueprints/config_hash_spec.rb +++ b/spec/praxis-blueprints/config_hash_spec.rb @@ -0,0 +1,64 @@+# frozen_string_literal: true +require File.expand_path(File.dirname(__FIL...
Build specs for config_hash (to appease coveralls) Signed-off-by: Josep M. Blanquer <843d9a062ab1c6792ebebca5589f22ce86ac85ce@gmail.com>
diff --git a/test/rails_root/config/environment.rb b/test/rails_root/config/environment.rb index abc1234..def5678 100644 --- a/test/rails_root/config/environment.rb +++ b/test/rails_root/config/environment.rb @@ -1,6 +1,6 @@ # Specifies gem version of Rails to use when vendor/rails is not present old_verbose, $VERBOSE...
Set the tests to run against Rails 2.2.2, as Rails 2.3 is currently unsupported
diff --git a/test/data/pulsar-conf-dummy/recipes/example/dummy.rb b/test/data/pulsar-conf-dummy/recipes/example/dummy.rb index abc1234..def5678 100644 --- a/test/data/pulsar-conf-dummy/recipes/example/dummy.rb +++ b/test/data/pulsar-conf-dummy/recipes/example/dummy.rb @@ -13,3 +13,13 @@ end end + +namespace :deplo...
Add test pulsar recipe for `deploy` and `deploy:pending`
diff --git a/test/integration/packages-php73/inspec/php73_spec.rb b/test/integration/packages-php73/inspec/php73_spec.rb index abc1234..def5678 100644 --- a/test/integration/packages-php73/inspec/php73_spec.rb +++ b/test/integration/packages-php73/inspec/php73_spec.rb @@ -1,8 +1,6 @@-%w(mod_php73 - php73-devel - ph...
Change formatting in php73 inspec test
diff --git a/lita-down-for-everyone.gemspec b/lita-down-for-everyone.gemspec index abc1234..def5678 100644 --- a/lita-down-for-everyone.gemspec +++ b/lita-down-for-everyone.gemspec @@ -3,9 +3,8 @@ spec.version = "0.0.1" spec.authors = ["Jordan Killpack"] spec.email = ["jordan@bignerdranch.co...
Update summary / description in gemspec
diff --git a/app/workers/push_update_worker.rb b/app/workers/push_update_worker.rb index abc1234..def5678 100644 --- a/app/workers/push_update_worker.rb +++ b/app/workers/push_update_worker.rb @@ -15,7 +15,7 @@ scope: InlineRablScope.new(account) ) - Redis.current.publish("timeline:#{timeline_id}", Oj.d...
Fix wrong variable used in publish channel
diff --git a/app/models/supporter.rb b/app/models/supporter.rb index abc1234..def5678 100644 --- a/app/models/supporter.rb +++ b/app/models/supporter.rb @@ -1,2 +1,5 @@ class Supporter < ActiveRecord::Base + validates :email, uniqueness: true, presence: true + validates :first_name, :last_name, :supporter_kind, :sphe...
Add validations to the Supporter model
diff --git a/config/initializers/acts_as_taggable_on.rb b/config/initializers/acts_as_taggable_on.rb index abc1234..def5678 100644 --- a/config/initializers/acts_as_taggable_on.rb +++ b/config/initializers/acts_as_taggable_on.rb @@ -4,5 +4,5 @@ friendly_id :name, use: :slugged, slug_colu...
Add atom and rss to list of reserved words.
diff --git a/swarmize-dot-com/lib/swarm_results_formatter.rb b/swarmize-dot-com/lib/swarm_results_formatter.rb index abc1234..def5678 100644 --- a/swarmize-dot-com/lib/swarm_results_formatter.rb +++ b/swarmize-dot-com/lib/swarm_results_formatter.rb @@ -16,6 +16,11 @@ headers << "Timestamp" @swarm.swarm_fie...
Add derived fields to CSV download.
diff --git a/tests/spec/features/backtrace_spec.rb b/tests/spec/features/backtrace_spec.rb index abc1234..def5678 100644 --- a/tests/spec/features/backtrace_spec.rb +++ b/tests/spec/features/backtrace_spec.rb @@ -2,6 +2,8 @@ require 'support/editor' RSpec.feature "A backtrace is shown for certain errors", type: :fea...
Disable backtrace tests for now
diff --git a/spec/deploy_and_deliver_spec.rb b/spec/deploy_and_deliver_spec.rb index abc1234..def5678 100644 --- a/spec/deploy_and_deliver_spec.rb +++ b/spec/deploy_and_deliver_spec.rb @@ -2,8 +2,8 @@ require 'vcr' Configuration = { - :pivotal_tracker_token => ENV['PIVOTAL_TRACKER_TOKEN'], - :pivotal_tracker_...
Test using project id and token that match VCR cassettes Without this running `rspec spec` results in Failures: 1) DeployAndDeliver::Project constructor loads a project Failure/Error: deliverer = DeployAndDeliver::Project.new(Configuration) PivotalTracker::Client::NoToken: Pivo...
diff --git a/spec/integration/people_spec.rb b/spec/integration/people_spec.rb index abc1234..def5678 100644 --- a/spec/integration/people_spec.rb +++ b/spec/integration/people_spec.rb @@ -26,7 +26,15 @@ Dsl.people.has_people :person end - it 'should not list people from other churches' + it 'sho...
Add test to ensure that people from other churches aren't listed.
diff --git a/spec/support/coverage_loader.rb b/spec/support/coverage_loader.rb index abc1234..def5678 100644 --- a/spec/support/coverage_loader.rb +++ b/spec/support/coverage_loader.rb @@ -18,8 +18,9 @@ SimpleCov.at_exit do SimpleCov.result.format! percent = SimpleCov.result.covered_percent + puts "Cover...
Improve coverage loader to always show coverage level * Enables us to increase as needed
diff --git a/spec/unit/configuration_spec.rb b/spec/unit/configuration_spec.rb index abc1234..def5678 100644 --- a/spec/unit/configuration_spec.rb +++ b/spec/unit/configuration_spec.rb @@ -24,4 +24,12 @@ locales_path: '/' }) end + + it "yields configuration" do + conf = double(:conf) + allow(Loaf)....
Add test for loaf configuration
diff --git a/examples/readme.ru b/examples/readme.ru index abc1234..def5678 100644 --- a/examples/readme.ru +++ b/examples/readme.ru @@ -0,0 +1,19 @@+require 'galago/router' +require 'rack/lobster' + +router = Galago::Router.new do + get '/foo', to: ->(env) { [200, {}, ['foo']] } + post '/bar/:bar', to: -...
Add example from README to examples
diff --git a/sprout-osx-apps/recipes/flux.rb b/sprout-osx-apps/recipes/flux.rb index abc1234..def5678 100644 --- a/sprout-osx-apps/recipes/flux.rb +++ b/sprout-osx-apps/recipes/flux.rb @@ -1,3 +1,5 @@+include_recipe "sprout-osx-base::addloginitem" + remote_file "#{Chef::Config[:file_cache_path]}/Flux.zip" do source...
Add 'addloginitem' execute resource to Flux
diff --git a/example/saisoku.rb b/example/saisoku.rb index abc1234..def5678 100644 --- a/example/saisoku.rb +++ b/example/saisoku.rb @@ -23,7 +23,8 @@ programs.each { |program| puts "|%s|%-8.8s|%s|" % [ program.start_time.strftime("%Y-%m-%d %H:%M"), - program.saisoku_channel_name.tr("A-Z", "A-Z").tr(" ", "")...
Fix bug: lowercase channel name
diff --git a/thrift-amqp-ruby.gemspec b/thrift-amqp-ruby.gemspec index abc1234..def5678 100644 --- a/thrift-amqp-ruby.gemspec +++ b/thrift-amqp-ruby.gemspec @@ -8,8 +8,8 @@ spec.version = Thrift::Amqp::Ruby::VERSION spec.authors = ["Alexis Montagne"] spec.email = ["alexis.montagne@gmail.com"...
Update the description of the gem
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -1,3 +1,9 @@+require 'rubygems' +require 'sinatra' + +set :environment, ENV['RACK_ENV'].to_sym +disable :run, :reload + require './tubemp.rb' run Sinatra::Application
Revert "Remove some lines that break the app." This reverts commit 9aaac4ba7c8c3705059213bc06921193a367da63.
diff --git a/less_secure_random.gemspec b/less_secure_random.gemspec index abc1234..def5678 100644 --- a/less_secure_random.gemspec +++ b/less_secure_random.gemspec @@ -20,6 +20,4 @@ spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0" - - spec.add_dependency 'pr...
Remove pry as a runtime dependency.
diff --git a/lib/elasticsearch/index.rb b/lib/elasticsearch/index.rb index abc1234..def5678 100644 --- a/lib/elasticsearch/index.rb +++ b/lib/elasticsearch/index.rb @@ -11,7 +11,7 @@ # @return [self] # def refresh - Command::Refresh::Index.run(self) + Command::Index::Refresh.run(self) sel...
Correct location of refresh command
diff --git a/vim-flavor.gemspec b/vim-flavor.gemspec index abc1234..def5678 100644 --- a/vim-flavor.gemspec +++ b/vim-flavor.gemspec @@ -6,7 +6,7 @@ gem.email = ['dev@whileimautomaton.net'] gem.description = %q{See the README file.} gem.summary = %q{A tool to manage your favorite Vim plugins} - ...
Add the homepage to the gemspec
diff --git a/lib/moneybird/resource/contact.rb b/lib/moneybird/resource/contact.rb index abc1234..def5678 100644 --- a/lib/moneybird/resource/contact.rb +++ b/lib/moneybird/resource/contact.rb @@ -43,6 +43,8 @@ sepa_mandate_date sepa_mandate_id sepa_sequence_type + si_identifier + si_ident...
Add si_identifier and si_identifier_type to Contact resource The Moneybird gem kept warning me about: ``` W, [2019-11-04T13:02:33.800623 #24299] WARN -- : Moneybird::Resource::Contact does not have an `si_identifier' attribute W, [2019-11-04T13:02:33.800687 #24299] WARN -- : Moneybird::Resource::Contact does not ...
diff --git a/lib/spotify_to_mp3/grooveshark.rb b/lib/spotify_to_mp3/grooveshark.rb index abc1234..def5678 100644 --- a/lib/spotify_to_mp3/grooveshark.rb +++ b/lib/spotify_to_mp3/grooveshark.rb @@ -19,7 +19,7 @@ Net::HTTP.start(uri.host) do |http| http.request_post("#{uri.path}?#{uri.query}", "") do |re...
Fix not being able to specify the tracks from STDIN
diff --git a/lib/logstash/multiqueue.rb b/lib/logstash/multiqueue.rb index abc1234..def5678 100644 --- a/lib/logstash/multiqueue.rb +++ b/lib/logstash/multiqueue.rb @@ -28,6 +28,11 @@ end # def add_queue public + def remove_queue(queue) + @queues.delete(queue) + end + + public def size return @queu...
Add a remove_queue method to support removing outputs
diff --git a/lib/mako/file_open_util.rb b/lib/mako/file_open_util.rb index abc1234..def5678 100644 --- a/lib/mako/file_open_util.rb +++ b/lib/mako/file_open_util.rb @@ -0,0 +1,17 @@+module FileOpenUtil + # Opens and reads the passed in file. Thanks to the following article + # for explaining how to define a method on...
Add FileOpenUtil module to DRY up File.open calls
diff --git a/lib/monban/warden_setup.rb b/lib/monban/warden_setup.rb index abc1234..def5678 100644 --- a/lib/monban/warden_setup.rb +++ b/lib/monban/warden_setup.rb @@ -5,7 +5,7 @@ end Warden::Manager.serialize_from_session do |id| - User.find(id) + User.find_by_id(id) end Warden::Strategies.add(:password_stra...
Call find_by_id instead of find so invalid sessions don't throw an error.
diff --git a/transporter-campfire.gemspec b/transporter-campfire.gemspec index abc1234..def5678 100644 --- a/transporter-campfire.gemspec +++ b/transporter-campfire.gemspec @@ -11,7 +11,7 @@ s.email = "contacto@nicolassanguinetti.info" s.require_paths = ["lib"] - s.rubyforge_project = "integrity" + s.rub...
Fix the gemspec to point to the right rubyforge project
diff --git a/test/test_address_ch_fr.rb b/test/test_address_ch_fr.rb index abc1234..def5678 100644 --- a/test/test_address_ch_fr.rb +++ b/test/test_address_ch_fr.rb @@ -4,6 +4,6 @@ class TestAddressCHFR < Test::Unit::TestCase def test_ch_fr_canton - assert_match /\A[- a-zàâäèéêëîïôœùûüÿç]+\z/i, FFaker::AddressC...
Fix rubocop warning about Ambiguous regexp literal.
diff --git a/validates_timeliness.gemspec b/validates_timeliness.gemspec index abc1234..def5678 100644 --- a/validates_timeliness.gemspec +++ b/validates_timeliness.gemspec @@ -10,6 +10,7 @@ s.description = %q{Adds validation methods to ActiveModel for validating dates and times. Works with multiple ORMS.} s.email...
Add license info to the gemspec.
diff --git a/views/opensearch.xml.builder b/views/opensearch.xml.builder index abc1234..def5678 100644 --- a/views/opensearch.xml.builder +++ b/views/opensearch.xml.builder @@ -12,7 +12,7 @@ xml.Url 'type' => 'application/opensearchdescription+xml', 'rel' => 'self', 'template' => 'https://asciiw...
Fix case in Url tag
diff --git a/lib/tasks/router_data.rake b/lib/tasks/router_data.rake index abc1234..def5678 100644 --- a/lib/tasks/router_data.rake +++ b/lib/tasks/router_data.rake @@ -13,7 +13,7 @@ csv = "Source,Destination,Type\n" csv << artefacts - .map { |arr| "/#{arr[0]},#{arr[1]},prefix" } + .map { |arr| "/#...
Remove segments from mulitpart redirects Publisher currently allows segment redirects within its' GUI. For our temporary task to export multipart redirects to router-data we will be removing all segment redirects and only redirect to the top of the page.
diff --git a/lib/tasks/rspec_parts.rake b/lib/tasks/rspec_parts.rake index abc1234..def5678 100644 --- a/lib/tasks/rspec_parts.rake +++ b/lib/tasks/rspec_parts.rake @@ -5,10 +5,14 @@ desc 'Run part M of N specs' RSpec::Core::RakeTask.new(:part, :part, :groups) do |task, task_args| config = Rspec::Parts....
Add output before running spec:parts
diff --git a/helpers/tickets.rb b/helpers/tickets.rb index abc1234..def5678 100644 --- a/helpers/tickets.rb +++ b/helpers/tickets.rb @@ -1,10 +1,10 @@ class Helpdesk < Sinatra::Base #Creates an alphanumeric code for identifying the trouble ticket def generate_code() - @params[:code] = Array.new(5){rand(36).to_...
Increase the length of the ticket code
diff --git a/db/migrate/20180308052825_add_section_name_id_index_on_ci_build_trace_sections.rb b/db/migrate/20180308052825_add_section_name_id_index_on_ci_build_trace_sections.rb index abc1234..def5678 100644 --- a/db/migrate/20180308052825_add_section_name_id_index_on_ci_build_trace_sections.rb +++ b/db/migrate/201803...
Fix index name to Rails default to ensure idempotency See https://gitlab.com/gitlab-com/infrastructure/issues/3822
diff --git a/Casks/mongochef.rb b/Casks/mongochef.rb index abc1234..def5678 100644 --- a/Casks/mongochef.rb +++ b/Casks/mongochef.rb @@ -1,6 +1,6 @@ cask :v1 => 'mongochef' do - version '3.0.7' - sha256 'ba29d788f619ab11157a5a379a6aca03b523b9e697f7956c8af25dbd20b0d1cb' + version '3.1.0' + sha256 '6c67fbad534bba6815...
Update MongoChef version to 3.1.0
diff --git a/db/migrate/20220223142107_create_active_storage_variant_records.active_storage.rb b/db/migrate/20220223142107_create_active_storage_variant_records.active_storage.rb index abc1234..def5678 100644 --- a/db/migrate/20220223142107_create_active_storage_variant_records.active_storage.rb +++ b/db/migrate/202202...
Fix column type mismatch in ActiveStorage migration
diff --git a/Casks/sickbeard.rb b/Casks/sickbeard.rb index abc1234..def5678 100644 --- a/Casks/sickbeard.rb +++ b/Casks/sickbeard.rb @@ -0,0 +1,7 @@+class Sickbeard < Cask + url 'http://sickbeard.lad1337.de/download.php?f=SickBeard-OSX-master-13.05.25.dmg' + homepage 'http://sickbeard.lad1337.de/' + version '13.05.2...
Add Cask for Sickbeard version 13.05.25
diff --git a/test/request_validation_test_helper.rb b/test/request_validation_test_helper.rb index abc1234..def5678 100644 --- a/test/request_validation_test_helper.rb +++ b/test/request_validation_test_helper.rb @@ -1,4 +1,4 @@-class RequestValidationController < ApplicationController +class RequestValidationControlle...
Fix small setup item so that tests pass. git-svn-id: b46a55edd163d01e6c678d43094a9b8c8fe8b18e@6639 da5c320b-a5ec-0310-b7f9-e4d854caa1e2
diff --git a/test/servers/helpers/sidekiq_worker_initializer.rb b/test/servers/helpers/sidekiq_worker_initializer.rb index abc1234..def5678 100644 --- a/test/servers/helpers/sidekiq_worker_initializer.rb +++ b/test/servers/helpers/sidekiq_worker_initializer.rb @@ -3,7 +3,7 @@ # # export BUNDLE_GEMFILE=/path/to/ruby-se...
Update example and include sidekiq/instana
diff --git a/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb b/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb index abc1234..def5678 100644 --- a/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb +++ b/db/migrate/20170127032550_remove_backlog_lists_from_boards.rb @@ -1,6 +1,4 @@...
Remove unnecessary include from RemoveBacklogListsFromBoards migration
diff --git a/db/migrate/20181105081426_add_placements_to_league_rosters.rb b/db/migrate/20181105081426_add_placements_to_league_rosters.rb index abc1234..def5678 100644 --- a/db/migrate/20181105081426_add_placements_to_league_rosters.rb +++ b/db/migrate/20181105081426_add_placements_to_league_rosters.rb @@ -4,10 +4,8 @...
Revert "Fix old migration not working with scoring refactor [ci skip]" This reverts commit 1abba3b638d87f6ebf848ed0b3c94a7f3230975d.
diff --git a/metro_ui_css-rails.gemspec b/metro_ui_css-rails.gemspec index abc1234..def5678 100644 --- a/metro_ui_css-rails.gemspec +++ b/metro_ui_css-rails.gemspec @@ -19,4 +19,6 @@ spec.add_development_dependency 'bundler', '~> 1.7' spec.add_development_dependency 'rake', '~> 10.0' + + spec.add_runtime_depend...
Add railties gem to runtime dependency
diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-eap.rb +++ b/Casks/intellij-idea-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'intellij-idea-eap' do - version '141.1383.1' - sha256 '3d0eed3d919cc15568e6b2a9ec36626c407565722882b5acd14e886ceb5337d9' + ...
Upgrade Intellij IDEA EAP to build 141.1531.2 Signed-off-by: Koichi Shiraishi <41a18128582fec5418c0a92661f7d4b13d21d912@gmail.com>
diff --git a/Casks/plex-media-player.rb b/Casks/plex-media-player.rb index abc1234..def5678 100644 --- a/Casks/plex-media-player.rb +++ b/Casks/plex-media-player.rb @@ -1,6 +1,6 @@ cask :v1 => 'plex-media-player' do - version '1.0.1.42-56cc6ef9' - sha256 'b5eb64a5d4668252fe26d3e4dba612b2ebd60197d42d9d8782273969c22be5...
Update plex media player to 1.0.2.70
diff --git a/cardgate-rails.gemspec b/cardgate-rails.gemspec index abc1234..def5678 100644 --- a/cardgate-rails.gemspec +++ b/cardgate-rails.gemspec @@ -22,6 +22,6 @@ spec.add_development_dependency "rake" spec.add_development_dependency "mocha" - spec.add_dependency "faraday", "~> 0.8.9" - spec.add_dependency...
Set specific versions for faraday and faraday_middleware.
diff --git a/yertle_formatter.gemspec b/yertle_formatter.gemspec index abc1234..def5678 100644 --- a/yertle_formatter.gemspec +++ b/yertle_formatter.gemspec @@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_runtime_dependency 'rspec', '~> ...
Update to allow for testing with all rspec versions 3 and above.
diff --git a/xmldsig.gemspec b/xmldsig.gemspec index abc1234..def5678 100644 --- a/xmldsig.gemspec +++ b/xmldsig.gemspec @@ -16,5 +16,5 @@ gem.require_paths = ["lib"] gem.version = Xmldsig::VERSION - gem.add_dependency("nokogiri", '~> 1.6.8') + gem.add_dependency("nokogiri", '>= 1.6.8', '< 2.0.0') end
Allow all 1.x.y versions of Nokogiri
diff --git a/app/controllers/forem/admin/topics_controller.rb b/app/controllers/forem/admin/topics_controller.rb index abc1234..def5678 100644 --- a/app/controllers/forem/admin/topics_controller.rb +++ b/app/controllers/forem/admin/topics_controller.rb @@ -1,7 +1,7 @@ module Forem module Admin class TopicsContr...
Remove :only restriction on Admin::TopicsController as there's no action in this controller that doesn't need it