diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/plugins/commands/plugin/command/mixin_install_opts.rb b/plugins/commands/plugin/command/mixin_install_opts.rb index abc1234..def5678 100644 --- a/plugins/commands/plugin/command/mixin_install_opts.rb +++ b/plugins/commands/plugin/command/mixin_install_opts.rb @@ -11,15 +11,6 @@ o.on("--entry-poin...
Remove deprecated plugin install option
diff --git a/lib/cloudstrap/hdp/bootstrap_properties.rb b/lib/cloudstrap/hdp/bootstrap_properties.rb index abc1234..def5678 100644 --- a/lib/cloudstrap/hdp/bootstrap_properties.rb +++ b/lib/cloudstrap/hdp/bootstrap_properties.rb @@ -2,6 +2,7 @@ require 'java-properties' require_relative '../config' +require_relative...
Add support for seed to BootstrapProperties
diff --git a/lib/memory/persistence/atom_persistence.rb b/lib/memory/persistence/atom_persistence.rb index abc1234..def5678 100644 --- a/lib/memory/persistence/atom_persistence.rb +++ b/lib/memory/persistence/atom_persistence.rb @@ -3,7 +3,7 @@ class AtomPersistence def persist(collection) collectio...
Improve legibility of method name.
diff --git a/lib/metric_fu/metrics/reek/reek_grapher.rb b/lib/metric_fu/metrics/reek/reek_grapher.rb index abc1234..def5678 100644 --- a/lib/metric_fu/metrics/reek/reek_grapher.rb +++ b/lib/metric_fu/metrics/reek/reek_grapher.rb @@ -38,7 +38,7 @@ def data @reek_count.map do |name, count| - [name, co...
Fix highcharts error when plotting empty data values
diff --git a/lib/scss_lint/linter/space_before_brace.rb b/lib/scss_lint/linter/space_before_brace.rb index abc1234..def5678 100644 --- a/lib/scss_lint/linter/space_before_brace.rb +++ b/lib/scss_lint/linter/space_before_brace.rb @@ -6,13 +6,9 @@ def visit_root(node) engine.lines.each_with_index do |line, ind...
Remove description method from SpaceBeforeBrace The `description` method is being deprecated. While here, also changed from appending to the `@lints` instance variable directly to using the `add_lint` helper. Change-Id: If2902858e2cd29c06759294c4d6357690aec6017 Reviewed-on: http://gerrit.causes.com/36725 Tested-by: ...
diff --git a/lib/tasks/photos.rake b/lib/tasks/photos.rake index abc1234..def5678 100644 --- a/lib/tasks/photos.rake +++ b/lib/tasks/photos.rake @@ -11,6 +11,7 @@ desc 'Process any photos run since ' task :process => :environment do Original.pending.each do |original| + puts Logger.info "Enqueing #{origi...
Add logging to photo processing
diff --git a/libraries/matchers.rb b/libraries/matchers.rb index abc1234..def5678 100644 --- a/libraries/matchers.rb +++ b/libraries/matchers.rb @@ -0,0 +1,25 @@+# -*- coding: utf-8 -*- +# +# Cookbook Name:: bamboo-agent +# Library:: matchers +# +# Copyright 2014, Numergy +# +# Licensed under the Apache License, Versio...
Add missing matcher for bamboo_agent_install resource
diff --git a/libraries/matchers.rb b/libraries/matchers.rb index abc1234..def5678 100644 --- a/libraries/matchers.rb +++ b/libraries/matchers.rb @@ -7,6 +7,8 @@ rbenv_rehash: [:run], rbenv_ruby: [:install, :reinstall], rbenv_script: [:run], + rbenv_system_install: [:install], + rbenv_user_install: [...
Add chefspec matcher for rbenv install
diff --git a/spec/features/add_authors_spec.rb b/spec/features/add_authors_spec.rb index abc1234..def5678 100644 --- a/spec/features/add_authors_spec.rb +++ b/spec/features/add_authors_spec.rb @@ -10,7 +10,6 @@ end scenario "Author specifies contributing authors" do - pending edit_paper = EditPaperPage.v...
Remove pending; this test is passing
diff --git a/spec/features/new_project_spec.rb b/spec/features/new_project_spec.rb index abc1234..def5678 100644 --- a/spec/features/new_project_spec.rb +++ b/spec/features/new_project_spec.rb @@ -25,8 +25,6 @@ end it "automatically adds all files to local Git repo and makes an initial commit" do - `git confi...
Remove setting of Git identity
diff --git a/lib/openlogi/stock.rb b/lib/openlogi/stock.rb index abc1234..def5678 100644 --- a/lib/openlogi/stock.rb +++ b/lib/openlogi/stock.rb @@ -8,5 +8,9 @@ property :quantity, coerce: Integer property :size, coerce: Enum[:SS, :S, :M, :L, :LL, :'3L'] property :weight, coerce: Integer + property :ba...
Add some missing properties on Stock
diff --git a/spec/features/server_sends_daily_email_prompt_spec.rb b/spec/features/server_sends_daily_email_prompt_spec.rb index abc1234..def5678 100644 --- a/spec/features/server_sends_daily_email_prompt_spec.rb +++ b/spec/features/server_sends_daily_email_prompt_spec.rb @@ -7,7 +7,7 @@ third_user = create(:user) ...
Fix test to match how the task is actually used
diff --git a/spec/requests/paper_trail_spec.rb b/spec/requests/paper_trail_spec.rb index abc1234..def5678 100644 --- a/spec/requests/paper_trail_spec.rb +++ b/spec/requests/paper_trail_spec.rb @@ -0,0 +1,17 @@+require 'rails_helper' + +RSpec.describe 'paper trail' do + context 'when updating something' do + let(:us...
Add request spec for PaperTrail Resolves #907
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index abc1234..def5678 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -3,12 +3,13 @@ config.fog_credentials = { provider: 'AWS', aws_access_key_id: Configuration[:aws_acces...
Add Fog Region When upload
diff --git a/spec/models/spree/calculator/price_sack_spec.rb b/spec/models/spree/calculator/price_sack_spec.rb index abc1234..def5678 100644 --- a/spec/models/spree/calculator/price_sack_spec.rb +++ b/spec/models/spree/calculator/price_sack_spec.rb @@ -8,6 +8,13 @@ calculator.preferred_discount_amount = 1 calc...
Add Price Sack Spec for Float Amounts
diff --git a/lib/subway/request.rb b/lib/subway/request.rb index abc1234..def5678 100644 --- a/lib/subway/request.rb +++ b/lib/subway/request.rb @@ -14,6 +14,11 @@ def authenticated? false end + + def params + path_params.merge(query_params) + end + memoize :params def path_params ...
Add Request::Prepared for wrapping sanitized params This is not yet optimal but works for now
diff --git a/lib/tasks/jumpup.rake b/lib/tasks/jumpup.rake index abc1234..def5678 100644 --- a/lib/tasks/jumpup.rake +++ b/lib/tasks/jumpup.rake @@ -1,11 +1,3 @@-namespace :jumpup do - namespace :heroku do - task :open do - system('heroku open') - end - end -end - INTEGRATION_TASKS = %w( jumpup:heroku:...
Revert "open heroku app after deploy" This reverts commit 0f1b9466d35b8bc86b83da3f799354d59ad332b1.
diff --git a/lib/travis/logs/config.rb b/lib/travis/logs/config.rb index abc1234..def5678 100644 --- a/lib/travis/logs/config.rb +++ b/lib/travis/logs/config.rb @@ -8,7 +8,7 @@ logs_database: { adapter: 'postgresql', database: "travis_logs_#{Travis.env}", encoding: 'unicode', min_messages: 'warning' }, ...
Increase default sidekiq pool_size to 7 The sidekiq gem is requesting a larger pool size and is crashing the dyno when that condition is not satisfied.
diff --git a/subversion/bindings/swig/ruby/test/run-test.rb b/subversion/bindings/swig/ruby/test/run-test.rb index abc1234..def5678 100644 --- a/subversion/bindings/swig/ruby/test/run-test.rb +++ b/subversion/bindings/swig/ruby/test/run-test.rb @@ -13,4 +13,8 @@ $LOAD_PATH.unshift(ext_dir) $LOAD_PATH.unshift(Dir.pwd) ...
Support Test::Unit distributed in ruby 1.8.3. * subversion/bindings/swig/ruby/test/run-test.rb: Pass $0 instead of false as the first argument of Test::Unit::AutoRunner.run when using Test::Unit is the one that distributed in ruby 1.8.3.
diff --git a/vsftpd/metadata.rb b/vsftpd/metadata.rb index abc1234..def5678 100644 --- a/vsftpd/metadata.rb +++ b/vsftpd/metadata.rb @@ -14,7 +14,8 @@ supports 'centos' supports 'rhel' -depends 'openssl', '>= 4.2.0' +# depends 'openssl', '>= 4.2.0' +depends 'openssl' source_url 'https://github.com/TheSerapher/...
Comment out "depends 'openssl', '>= 4.2.0'" And replaced with "depends 'openssl'" The version constraint causes problems with chef-solo provisioning.
diff --git a/activegraphql.gemspec b/activegraphql.gemspec index abc1234..def5678 100644 --- a/activegraphql.gemspec +++ b/activegraphql.gemspec @@ -11,7 +11,7 @@ spec.summary = %q{Ruby client for GraphQL services} spec.description = %q{} - spec.homepage = 'https://github.com/wakoopa/active-graphql...
Fix homepage config in gemspec
diff --git a/test/integration/default/inspec/default_spec.rb b/test/integration/default/inspec/default_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/inspec/default_spec.rb +++ b/test/integration/default/inspec/default_spec.rb @@ -1,4 +1,4 @@-if os[:family] == 'redhat' && os[:release].start_with?(...
Fix inspec tests for Amazon Linux Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,3 @@-$:<< File.expand_path('../../lib', __FILE__) - require 'minitest/autorun' require 'minitest/emoji' require 'pry'
Remove redundant addition to $LOAD_PATH
diff --git a/test/helper.rb b/test/helper.rb index abc1234..def5678 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,3 +1,6 @@+require 'simplecov' +SimpleCov.start + require 'rubygems' gem 'RedCloth', '>= 4.2.1'
Add SimpleCov to the unit tests
diff --git a/parallel_cucumber.gemspec b/parallel_cucumber.gemspec index abc1234..def5678 100644 --- a/parallel_cucumber.gemspec +++ b/parallel_cucumber.gemspec @@ -2,17 +2,19 @@ require "./lib/#{name}/version" Gem::Specification.new name, ParallelCucumber::VERSION do |spec| - spec.name = 'parallel_cucumber' - spe...
Add required_ruby_version to gemspec and clean it up
diff --git a/spec/commit_spec.rb b/spec/commit_spec.rb index abc1234..def5678 100644 --- a/spec/commit_spec.rb +++ b/spec/commit_spec.rb @@ -10,12 +10,12 @@ its(:__getobj__) { should be_a Grit::Commit } context "without a merge" do - its(:merge?) { should be_false } + it { should_not be_a_merge } end ...
Use Rspec predicate matcher syntax
diff --git a/spec/views/report/_form_expression_buttons.html.haml_spec.rb b/spec/views/report/_form_expression_buttons.html.haml_spec.rb index abc1234..def5678 100644 --- a/spec/views/report/_form_expression_buttons.html.haml_spec.rb +++ b/spec/views/report/_form_expression_buttons.html.haml_spec.rb @@ -0,0 +1,30 @@+de...
Add spec test for rendering form expression buttons Add spec test for fix in https://github.com/ManageIQ/manageiq-ui-classic/pull/3033, for rendering form expression buttons to display Filter tab properly, when editing report in Cloud Intel -> Reports -> Reports tab.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,10 +2,8 @@ require 'backports' require 'backports/basic_object' unless defined?(::BasicObject) -require 'devtools' +require 'devtools/spec_helper' require 'ice_nine' - -Devt...
Update spec helper to match current devtools conventions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -23,3 +23,24 @@ PuppetlabsSpec::Files.cleanup end end + +require 'pathname' +dir = Pathname.new(__FILE__).parent +Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules'...
Use modulesync to manage meta files
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,10 +8,4 @@ config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus - - # Run specs in rand...
Stop running specs randomly for now. Randomness is taking away from readabilty and progression. Will bring back later.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -25,3 +25,12 @@ DatabaseCleaner.clean end end + +# def puts(*args) +# super(caller.join("\n")) +# super(args) +# end +# +# def p(*args) +# puts caller.join("\n") +# ...
Add way to find loose puts/p statements in specs
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,15 +3,15 @@ require 'chunky_png' module PNGSuite - + def png_suite_file(kind, file) File.join(png_suite_dir(kind), file) end - + def png_suite_dir(kind) ...
Allow both should and expect for now
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,12 @@ require 'simplecov' require 'simplecov-rcov' -SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter +class SimpleCov::Formatter::MergedFormatter + def format(re...
Revert "Just use the simplecov Rcov formatter for now to make CI happy" This reverts commit 5d132621801d0b9ad35ea3702f56a2869c45f0fd.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -12,22 +12,22 @@ require 'jabber_stub' class TestAgent < Uppercut::Agent - command 'hi' do |c| + command 'hi' do |c,args| c.instance_eval { @base.instance_eval { @called_...
Tweak for new dispatch system.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -14,3 +14,7 @@ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} SchemaComments.setup + +Dir.chdir(File.expand_path("../../spec/dummy", __FILE__)) do + sys...
Call rake db:create to create database for test
diff --git a/spec/support/carrierwave.rb b/spec/support/carrierwave.rb index abc1234..def5678 100644 --- a/spec/support/carrierwave.rb +++ b/spec/support/carrierwave.rb @@ -1,7 +1,7 @@ CarrierWave.root = 'tmp/tests/uploads' RSpec.configure do |config| - config.after(:suite) do + config.after(:each) do FileUti...
Clear Carrierwave upload after each test example
diff --git a/spec/winnow_spec.rb b/spec/winnow_spec.rb index abc1234..def5678 100644 --- a/spec/winnow_spec.rb +++ b/spec/winnow_spec.rb @@ -1,6 +1,21 @@ require 'spec_helper' describe Winnow::Fingerprinter do + describe '#initialize' do + it 'accepts :guarantee_threshold, :noise_threshold' do + fprinter = ...
Add tests for the constructor.
diff --git a/Casks/intellij-idea-ce-eap.rb b/Casks/intellij-idea-ce-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-ce-eap.rb +++ b/Casks/intellij-idea-ce-eap.rb @@ -1,10 +1,19 @@ cask :v1 => 'intellij-idea-ce-eap' do - version '141.1192.2' - sha256 '18f8ecfa66e2e687cab6ddd844bde8996ecb54eb93279a8e8ce5...
Update IntelliJ IDEA CE to EAP 15; version 142.2491.4.
diff --git a/test/unit/score_updater_job_test.rb b/test/unit/score_updater_job_test.rb index abc1234..def5678 100644 --- a/test/unit/score_updater_job_test.rb +++ b/test/unit/score_updater_job_test.rb @@ -20,7 +20,7 @@ assert_equal @user.daily_score, DailyScore.last end - test 'updates a new daily score' do +...
Check that updates do not create a new document
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -4,5 +4,10 @@ when 'rhel' default['jenkins_cookbook_ci']['ruby_packages'] = ['libxml2-devel', 'libxslt-devel'] default['rvm']['default_ruby'] = 'ruby-1.9.3' + defa...
Add config for jenkins for rvm
diff --git a/vendor/plugins/vacancies/app/models/vacancy.rb b/vendor/plugins/vacancies/app/models/vacancy.rb index abc1234..def5678 100644 --- a/vendor/plugins/vacancies/app/models/vacancy.rb +++ b/vendor/plugins/vacancies/app/models/vacancy.rb @@ -2,10 +2,6 @@ acts_as_indexed :fields => [:job_title, :reference, :s...
Remove the mandatory field files for jobs
diff --git a/proto.rb b/proto.rb index abc1234..def5678 100644 --- a/proto.rb +++ b/proto.rb @@ -15,23 +15,18 @@ puts "Called with #{original_path}" class WorkQueue - def initialize(count = 4) + def initialize(count = 4, &block) @threads = [] @pool = Thread.pool(count) + @block = block end - def...
Use block to define work to be done
diff --git a/test/lib/test_core_extensions.rb b/test/lib/test_core_extensions.rb index abc1234..def5678 100644 --- a/test/lib/test_core_extensions.rb +++ b/test/lib/test_core_extensions.rb @@ -0,0 +1,29 @@+require 'test_helper' + +class TestCoreExtensions < Test::Unit::TestCase + + test "to_b" do + assert_equal "...
Include tests from active support gem for the blank? and present? functionality and add our own test for our custom to_b string method.
diff --git a/cookbooks/nelhage/recipes/users.rb b/cookbooks/nelhage/recipes/users.rb index abc1234..def5678 100644 --- a/cookbooks/nelhage/recipes/users.rb +++ b/cookbooks/nelhage/recipes/users.rb @@ -3,6 +3,14 @@ uid 2000 shell '/bin/bash' supports :manage_home => true +end + +%w[sudoers www-data].each do...
Add me to some groups.
diff --git a/railties/lib/rails/engine/commands.rb b/railties/lib/rails/engine/commands.rb index abc1234..def5678 100644 --- a/railties/lib/rails/engine/commands.rb +++ b/railties/lib/rails/engine/commands.rb @@ -9,14 +9,13 @@ command = ARGV.shift command = aliases[command] || command +require ENGINE_PATH +engine = ...
Move requiring engine out of the switch case
diff --git a/app/controllers/debit_invoices_controller.rb b/app/controllers/debit_invoices_controller.rb index abc1234..def5678 100644 --- a/app/controllers/debit_invoices_controller.rb +++ b/app/controllers/debit_invoices_controller.rb @@ -1,11 +1,4 @@ class DebitInvoicesController < AuthorizedController - # Actions ...
Drop custom show action for debit invoices.
diff --git a/app/controllers/task_templates_controller.rb b/app/controllers/task_templates_controller.rb index abc1234..def5678 100644 --- a/app/controllers/task_templates_controller.rb +++ b/app/controllers/task_templates_controller.rb @@ -1,34 +1,5 @@ # encoding: UTF-8 class TaskTemplatesController < TasksController...
Remove dumb actions from TasksTemplatesController. No one call them, so we do not need them.
diff --git a/app/presenters/renalware/hd/mdm_presenter.rb b/app/presenters/renalware/hd/mdm_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/renalware/hd/mdm_presenter.rb +++ b/app/presenters/renalware/hd/mdm_presenter.rb @@ -16,7 +16,8 @@ @sessions ||= begin sessions = Sessions::Lates...
Include :signed_on_by, :signed_off_by in HD MDM session query
diff --git a/telemetry-logger.gemspec b/telemetry-logger.gemspec index abc1234..def5678 100644 --- a/telemetry-logger.gemspec +++ b/telemetry-logger.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'telemetry-logger' - s.version = '0.1.7' + s.version = '0.1.8' s.summary ...
Package version patch number is increased from 0.1.7 to 0.1.8
diff --git a/templates/environment.rb b/templates/environment.rb index abc1234..def5678 100644 --- a/templates/environment.rb +++ b/templates/environment.rb @@ -1,42 +1,9 @@-# Be sure to restart your server when you modify this file - -# Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_...
Remove comments from template file
diff --git a/test/models/role_test.rb b/test/models/role_test.rb index abc1234..def5678 100644 --- a/test/models/role_test.rb +++ b/test/models/role_test.rb @@ -9,17 +9,17 @@ test 'should return all roles list if super_administrator' do roles = Role.allowed_roles_for_user_role(@super_administrator) assert_e...
Fix broken role test after refactoring collection
diff --git a/test/models/user_test.rb b/test/models/user_test.rb index abc1234..def5678 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -18,18 +18,12 @@ end test "User without name should not be valid" do - @user = User.new name: '', - email: 'testing@example.com', ...
Refactor tests to reduce code size
diff --git a/test/repo_ignore_test.rb b/test/repo_ignore_test.rb index abc1234..def5678 100644 --- a/test/repo_ignore_test.rb +++ b/test/repo_ignore_test.rb @@ -14,14 +14,14 @@ end def test_path_ignored - assert_equal true, @repo.path_ignored?("ign") - assert_equal false, @repo.path_ignored?("ignore_not") ...
Use assert ... instead of assert_equal true, ... and refute ... instead of assert_equal false, ...
diff --git a/lib/deferrer/configuration.rb b/lib/deferrer/configuration.rb index abc1234..def5678 100644 --- a/lib/deferrer/configuration.rb +++ b/lib/deferrer/configuration.rb @@ -1,11 +1,14 @@ module Deferrer module Configuration - attr_reader :redis + attr_accessor :redis attr_accessor :logger a...
Allow the user to provide their own Redis. This allows the user to provide, for instance, a namespaced Redis.
diff --git a/spec/fabricators/grade_fabricator.rb b/spec/fabricators/grade_fabricator.rb index abc1234..def5678 100644 --- a/spec/fabricators/grade_fabricator.rb +++ b/spec/fabricators/grade_fabricator.rb @@ -1,6 +1,6 @@ Fabricator(:grade) do form :number - mark rand(1..10) + mark { rand(1..10...
Update fabricator to follow fabrication syntax.
diff --git a/lib/tasks/activestorage.rake b/lib/tasks/activestorage.rake index abc1234..def5678 100644 --- a/lib/tasks/activestorage.rake +++ b/lib/tasks/activestorage.rake @@ -11,6 +11,7 @@ puts "Copied default configuration to config/storage_services.yml" migration_file_path = "db/migrate/#{Time.now.utc.st...
Create db/migrate if it doesn't exist
diff --git a/lib/tasks/redmine_audit.rake b/lib/tasks/redmine_audit.rake index abc1234..def5678 100644 --- a/lib/tasks/redmine_audit.rake +++ b/lib/tasks/redmine_audit.rake @@ -1,6 +1,27 @@+require 'redmine/version' +require 'redmine_audit/advisory' +require 'redmine_audit/database' + +desc <<-END_DESC +Check redmine v...
Add rake task checking Redmine advisories.
diff --git a/lib/gscholar/utils/fetcher.rb b/lib/gscholar/utils/fetcher.rb index abc1234..def5678 100644 --- a/lib/gscholar/utils/fetcher.rb +++ b/lib/gscholar/utils/fetcher.rb @@ -10,11 +10,12 @@ @agent.pluggable_parser['text/plain'] = TextPlainParser # Without changing user-agent, google will not ret...
Apply 'BibTeX' hack after reset
diff --git a/lib/notifier/gcm/gcm_batch.rb b/lib/notifier/gcm/gcm_batch.rb index abc1234..def5678 100644 --- a/lib/notifier/gcm/gcm_batch.rb +++ b/lib/notifier/gcm/gcm_batch.rb @@ -3,15 +3,13 @@ module GCM class GCMBatch < Base - def initialize - @batch = {} - end - ...
Fix for active record notifications
diff --git a/lib/remitano/remi_accounts.rb b/lib/remitano/remi_accounts.rb index abc1234..def5678 100644 --- a/lib/remitano/remi_accounts.rb +++ b/lib/remitano/remi_accounts.rb @@ -1,3 +1,5 @@+require_relative "collection" + module Remitano class RemiAccounts < Remitano::Collection def me
Fix load error on heroku
diff --git a/lib/rip/utilities/location.rb b/lib/rip/utilities/location.rb index abc1234..def5678 100644 --- a/lib/rip/utilities/location.rb +++ b/lib/rip/utilities/location.rb @@ -1,9 +1,9 @@ module Rip::Utilities class Location attr_reader :origin - attr_reader :offset - attr_reader :line - attr_read...
Add some comments to Rip::Utilities::Location
diff --git a/lib/sensu-plugin/check/cli.rb b/lib/sensu-plugin/check/cli.rb index abc1234..def5678 100644 --- a/lib/sensu-plugin/check/cli.rb +++ b/lib/sensu-plugin/check/cli.rb @@ -15,8 +15,12 @@ end end - def format_output(status, output) - "#{self.class.check_name}: #{status} - #{...
Allow setting message with method and then exiting without args
diff --git a/lib/simplecov_compact_json.rb b/lib/simplecov_compact_json.rb index abc1234..def5678 100644 --- a/lib/simplecov_compact_json.rb +++ b/lib/simplecov_compact_json.rb @@ -16,20 +16,20 @@ def format(result) @result = result File.open("./coverage/results.json", "w") do |file| - file.pri...
Rename some methods for clarity.
diff --git a/lib/friendly_id/sequel_adapter/simple_model.rb b/lib/friendly_id/sequel_adapter/simple_model.rb index abc1234..def5678 100644 --- a/lib/friendly_id/sequel_adapter/simple_model.rb +++ b/lib/friendly_id/sequel_adapter/simple_model.rb @@ -9,7 +9,7 @@ include FriendlyId::Finders::Single def ...
Fix searches by numeric string.
diff --git a/lib/puppet/provider/vagrant_box/vagrant_box.rb b/lib/puppet/provider/vagrant_box/vagrant_box.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/vagrant_box/vagrant_box.rb +++ b/lib/puppet/provider/vagrant_box/vagrant_box.rb @@ -32,8 +32,8 @@ else name, vprovider = @resource[:name].split(...
Replace filesystem test with vagrant box list Vagrant 1.5 added box version support, which changes the directory structure that we were expecting. As slow as it is, we should use vagrant's `box list` command to test which boxes are installed, rather than depending on knowledge of its private directory structure.
diff --git a/db/migrate/20131108092159_cleanup_invalid_paths_prefixes.rb b/db/migrate/20131108092159_cleanup_invalid_paths_prefixes.rb index abc1234..def5678 100644 --- a/db/migrate/20131108092159_cleanup_invalid_paths_prefixes.rb +++ b/db/migrate/20131108092159_cleanup_invalid_paths_prefixes.rb @@ -1,6 +1,8 @@ class C...
Disable observers when cleaning data. We don't want to trigger these. Also they were leading to timeouts on preview...
diff --git a/cookbooks/universe_ubuntu/test/recipes/default_test.rb b/cookbooks/universe_ubuntu/test/recipes/default_test.rb index abc1234..def5678 100644 --- a/cookbooks/universe_ubuntu/test/recipes/default_test.rb +++ b/cookbooks/universe_ubuntu/test/recipes/default_test.rb @@ -5,14 +5,26 @@ # The Inspec reference, w...
Add test on installed packages
diff --git a/spec/capybara/remote/viewer/server_spec.rb b/spec/capybara/remote/viewer/server_spec.rb index abc1234..def5678 100644 --- a/spec/capybara/remote/viewer/server_spec.rb +++ b/spec/capybara/remote/viewer/server_spec.rb @@ -19,7 +19,7 @@ it 'links to existing files' do get '/' - last_response...
Fix up server HTML spec
diff --git a/app/controllers/api/cloud_volumes_controller.rb b/app/controllers/api/cloud_volumes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/cloud_volumes_controller.rb +++ b/app/controllers/api/cloud_volumes_controller.rb @@ -1,4 +1,11 @@ module Api class CloudVolumesController < BaseContr...
Add delete_resource method that does queued delete of cloud volumes
diff --git a/lib/payments/client/gateway.rb b/lib/payments/client/gateway.rb index abc1234..def5678 100644 --- a/lib/payments/client/gateway.rb +++ b/lib/payments/client/gateway.rb @@ -19,8 +19,8 @@ connection.public_send(verb, prefix(path), params) do |request| request.headers["X-Request-Id"...
Add Faraday error message to custom error
diff --git a/lib/rom/sql/type_extensions.rb b/lib/rom/sql/type_extensions.rb index abc1234..def5678 100644 --- a/lib/rom/sql/type_extensions.rb +++ b/lib/rom/sql/type_extensions.rb @@ -14,7 +14,7 @@ # @api public def [](type) unwrapped = type.optional? ? type.right : type - @types[u...
Reset sql_expr in type extensions
diff --git a/lib/tasks/redmine_jenkins.rake b/lib/tasks/redmine_jenkins.rake index abc1234..def5678 100644 --- a/lib/tasks/redmine_jenkins.rake +++ b/lib/tasks/redmine_jenkins.rake @@ -0,0 +1,27 @@+# require 'rspec' +# require 'rspec/core/rake_task' + +namespace :redmine_jenkins do + + desc "Show library version" + t...
Add Rake task to start tests
diff --git a/Casks/abricotine.rb b/Casks/abricotine.rb index abc1234..def5678 100644 --- a/Casks/abricotine.rb +++ b/Casks/abricotine.rb @@ -0,0 +1,14 @@+cask 'abricotine' do + version '0.2.2' + sha256 '2a540ff77f1076660805ca3fde507f0095ae6a1ce83aade3e9f07613259a21f7' + + # github.com/brrd/Abricotine was verified as...
Add Abricotine - a markdown editor for desktop In **Abricotine**, you can preview your document directly in the text editor rather than in a side pane. ![Another screenshot](http://i.imgur.com/ZDHgo9i.jpg) * Write in markdown (or GFM) and export your documents in HTML, * Preview text elements (such as headers, image...
diff --git a/Casks/fluxus.rb b/Casks/fluxus.rb index abc1234..def5678 100644 --- a/Casks/fluxus.rb +++ b/Casks/fluxus.rb @@ -2,6 +2,7 @@ version '0.17-3.rc4' sha256 'ee4608af10117e87a905004f2a4e3a77c1c587bb6d6d8d533e7285c2ce4d9d96' + # mndl.hu/fluxus was verified as official when first introduced to the cask ...
Fix `url` stanza comment for Fluxus.
diff --git a/Formula/automoc4.rb b/Formula/automoc4.rb index abc1234..def5678 100644 --- a/Formula/automoc4.rb +++ b/Formula/automoc4.rb @@ -1,11 +1,12 @@ require 'formula' class Automoc4 <Formula - @url='http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2' + ...
Use KDE FTP and add needed Qt dependency for Automoc4.
diff --git a/modules/ssh/lib/puppet/parser/functions/extract_public_key.rb b/modules/ssh/lib/puppet/parser/functions/extract_public_key.rb index abc1234..def5678 100644 --- a/modules/ssh/lib/puppet/parser/functions/extract_public_key.rb +++ b/modules/ssh/lib/puppet/parser/functions/extract_public_key.rb @@ -1,7 +1,11 @...
Allow empty type and comment
diff --git a/lib/generators/ruby_rabbitmq_janus/initializer_generator.rb b/lib/generators/ruby_rabbitmq_janus/initializer_generator.rb index abc1234..def5678 100644 --- a/lib/generators/ruby_rabbitmq_janus/initializer_generator.rb +++ b/lib/generators/ruby_rabbitmq_janus/initializer_generator.rb @@ -11,7 +11,7 @@ ...
Change name listen events janus
diff --git a/lib/yard/server/templates/default/layout/html/setup.rb b/lib/yard/server/templates/default/layout/html/setup.rb index abc1234..def5678 100644 --- a/lib/yard/server/templates/default/layout/html/setup.rb +++ b/lib/yard/server/templates/default/layout/html/setup.rb @@ -1,5 +1,5 @@ def javascripts - super + ...
Remove reference to live.js in template Fixes #603
diff --git a/lib/rspec/active_record.rb b/lib/rspec/active_record.rb index abc1234..def5678 100644 --- a/lib/rspec/active_record.rb +++ b/lib/rspec/active_record.rb @@ -9,11 +9,16 @@ include ::ActiveRecord::TestFixtures included do - self.fixture_path = RSpec.configuration.fixture_path - self.use_tran...
Add fixture_table_names and fixture_class_names config settings
diff --git a/app/models/team_membership.rb b/app/models/team_membership.rb index abc1234..def5678 100644 --- a/app/models/team_membership.rb +++ b/app/models/team_membership.rb @@ -11,7 +11,7 @@ scope :with_interests, -> { where('exists(select 1 from team_membership_interests tmi where tmi.team_membership_id = team_m...
Fix issue where analyzing text makes intros fail
diff --git a/geoip-extensions.gemspec b/geoip-extensions.gemspec index abc1234..def5678 100644 --- a/geoip-extensions.gemspec +++ b/geoip-extensions.gemspec @@ -22,8 +22,8 @@ s.add_dependency("geoip-c") s.add_dependency("ffi-geos") - s.add_dependency("rdoc") - s.add_dependency("rake", ["~> 0.9"]) - s.add_depe...
Make these gems into development dependencies.
diff --git a/lib/puppet/parser/functions/openldap_password.rb b/lib/puppet/parser/functions/openldap_password.rb index abc1234..def5678 100644 --- a/lib/puppet/parser/functions/openldap_password.rb +++ b/lib/puppet/parser/functions/openldap_password.rb @@ -1,14 +1,16 @@ module Puppet::Parser::Functions - newfunction(:...
Use arity feature of newfunction instead of manual argument check
diff --git a/lib/yard/server/commands/display_file_command.rb b/lib/yard/server/commands/display_file_command.rb index abc1234..def5678 100644 --- a/lib/yard/server/commands/display_file_command.rb +++ b/lib/yard/server/commands/display_file_command.rb @@ -11,7 +11,7 @@ def run filename = File.cleanp...
Add "svg" as a extension of image filenames SVG images are recognized by modern browsers and shouldn't be displayed as text but as image. SVG is also a very useful format for documentation purposes.
diff --git a/spec/support/test/resource_service.rb b/spec/support/test/resource_service.rb index abc1234..def5678 100644 --- a/spec/support/test/resource_service.rb +++ b/spec/support/test/resource_service.rb @@ -0,0 +1,14 @@+require ::File.expand_path('../resource.pb', __FILE__) + +module Test + class ResourceService...
Add back in ResourceService implementation for spec
diff --git a/test/basepack_test_app/app/components/book_grid_with_persistence.rb b/test/basepack_test_app/app/components/book_grid_with_persistence.rb index abc1234..def5678 100644 --- a/test/basepack_test_app/app/components/book_grid_with_persistence.rb +++ b/test/basepack_test_app/app/components/book_grid_with_persis...
Update config syntax in BookGridWithPersistence
diff --git a/app/controllers/api/drops_controller.rb b/app/controllers/api/drops_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/drops_controller.rb +++ b/app/controllers/api/drops_controller.rb @@ -1,3 +1,5 @@+# We use .map instead of .pluck, as .pluck modifies the SELECT clause and produces stra...
Add comment to explain why we use .map
diff --git a/core/app/interactors/backend/sub_comments.rb b/core/app/interactors/backend/sub_comments.rb index abc1234..def5678 100644 --- a/core/app/interactors/backend/sub_comments.rb +++ b/core/app/interactors/backend/sub_comments.rb @@ -13,7 +13,7 @@ end def self.destroy!(id:) - SubComment.find(id)....
Use destroy instead of delete for subcomments
diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb index abc1234..def5678 100644 --- a/app/controllers/documents_controller.rb +++ b/app/controllers/documents_controller.rb @@ -13,11 +13,11 @@ end def show - send_file @document.document.path, type: @document.documen...
Send file using a Paperclip.io_adapter Reading a path to the file only works for documents stored locally. This way, the document is fetched to a tempfile. This can be sent directly and should work with containerised solutions such as docker and heroku provided they have tempfile storage available.
diff --git a/spec/mailcatcher/api/mailbox_spec.rb b/spec/mailcatcher/api/mailbox_spec.rb index abc1234..def5678 100644 --- a/spec/mailcatcher/api/mailbox_spec.rb +++ b/spec/mailcatcher/api/mailbox_spec.rb @@ -14,6 +14,7 @@ describe '#messages' do it 'without reload' do + expect(mailbox.messages.coun...
Add spec for Mailbox.messages(reload: true)
diff --git a/app/controllers/answer_controller.rb b/app/controllers/answer_controller.rb index abc1234..def5678 100644 --- a/app/controllers/answer_controller.rb +++ b/app/controllers/answer_controller.rb @@ -16,9 +16,9 @@ # reference: https://stackoverflow.com/questions/35639507/parametrized-join-in-rails-4 def i...
Fix an issue related to square brackets
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 @@ -1,6 +1,10 @@ class GroupsController < ApplicationController def show - @group = current_group || Group.fi...
Fix group context overriding group page display.
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 @@ -42,9 +42,10 @@ end def destroy + group = @topic.group @topic.destroy respond_to do |format|...
Make redirect go to group page
diff --git a/app/decorators/provider_decorator.rb b/app/decorators/provider_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/provider_decorator.rb +++ b/app/decorators/provider_decorator.rb @@ -18,7 +18,7 @@ end def delete_link - if connected? + if oauthable? && connected? h.link_to "...
Remove disconnect link from typeracer
diff --git a/app/services/projects/update_tags.rb b/app/services/projects/update_tags.rb index abc1234..def5678 100644 --- a/app/services/projects/update_tags.rb +++ b/app/services/projects/update_tags.rb @@ -8,11 +8,11 @@ def call(id_or_object) project = find_object(id_or_object) git = Git.open...
Improve retry logic in projects update tags service
diff --git a/raygun_client.gemspec b/raygun_client.gemspec index abc1234..def5678 100644 --- a/raygun_client.gemspec +++ b/raygun_client.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'raygun_client' - s.version = '0.0.2.6' + s.version = '0.0.2.7' s.summary = 'Client f...
Package version increased from 0.0.2.6 to 0.0.2.7
diff --git a/raygun_client.gemspec b/raygun_client.gemspec index abc1234..def5678 100644 --- a/raygun_client.gemspec +++ b/raygun_client.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'raygun_client' - s.version = '0.4.0.0' + s.version = '0.5.0.0' s.summary = 'Client f...
Package version increased from 0.4.0.0 to 0.5.0.0
diff --git a/homebrew/ruby-install.rb b/homebrew/ruby-install.rb index abc1234..def5678 100644 --- a/homebrew/ruby-install.rb +++ b/homebrew/ruby-install.rb @@ -4,6 +4,7 @@ homepage 'https://github.com/postmodern/ruby-install#readme' url 'https://github.com/postmodern/ruby-install/archive/v0.1.1.tar.gz' sha1 'f...
Add a newline to appease the homebrew style gods.
diff --git a/app/screens/timers_screen.rb b/app/screens/timers_screen.rb index abc1234..def5678 100644 --- a/app/screens/timers_screen.rb +++ b/app/screens/timers_screen.rb @@ -9,7 +9,12 @@ def table_data [{ - :cells => Timer.all.map {|t| {:title => t.name} } + :cells => Timer.all.map do |timer| + ...
Set subtitle to elapsed time Closes #4
diff --git a/lib/docs/scrapers/rdoc/minitest.rb b/lib/docs/scrapers/rdoc/minitest.rb index abc1234..def5678 100644 --- a/lib/docs/scrapers/rdoc/minitest.rb +++ b/lib/docs/scrapers/rdoc/minitest.rb @@ -2,7 +2,7 @@ class Minitest < Rdoc self.name = 'Ruby / Minitest' self.slug = 'minitest' - self.release = ...
Update Ruby / Minitest documentation (5.10.1)
diff --git a/lib/ifin24/commands/list_limits.rb b/lib/ifin24/commands/list_limits.rb index abc1234..def5678 100644 --- a/lib/ifin24/commands/list_limits.rb +++ b/lib/ifin24/commands/list_limits.rb @@ -1,10 +1,37 @@ # encoding: utf-8 class Ifin24::Commands::ListLimits < Ifin24::Commands::Base + BAR_SIZE = 50 de...
Make nice bars for the expense limits.