quality.gemspec in quality-27.4.0 vs quality.gemspec in quality-28.0.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
# ; -*-Ruby-*-
# -*- encoding: utf-8 -*-
+
$LOAD_PATH.push File.join(File.dirname(__FILE__), 'lib')
require 'quality/version'
Gem::Specification.new do |s|
s.name = 'quality'
@@ -29,24 +30,30 @@
# s.rubyforge_project = %q{quality}
s.rubygems_version = '1.3.6'
s.summary = 'Code quality tools for Ruby'
s.add_runtime_dependency('activesupport')
- s.add_runtime_dependency('github-linguist')
+ s.add_runtime_dependency('bundler-audit')
s.add_runtime_dependency('cane', ['>= 2.6'])
- s.add_runtime_dependency('reek', ['>= 1.3.4'])
s.add_runtime_dependency('flog', ['>= 4.1.1'])
- s.add_runtime_dependency('bundler-audit')
+ s.add_runtime_dependency('github-linguist')
+ s.add_runtime_dependency('reek', ['>= 1.3.4'])
# flay 2.6.0 contained a command-line-parsing issue
s.add_runtime_dependency('flay', ['>= 2.4', '!= 2.6.0'])
- s.add_runtime_dependency('rubocop')
+ #
+ # per version advice here - locks quality gem version with rubocop
+ # version to avoid unexplained metric-changing surprises:
+ #
+ # https://github.com/bbatsov/rubocop#installation
s.add_runtime_dependency('mdl')
- s.add_runtime_dependency('rubocop-rspec')
+ s.add_runtime_dependency('rubocop', '~> 0.51.0')
+ # 1.19.0 was a RuboCop 0.51.0 compatibility release
s.add_runtime_dependency('bigfiles', ['>= 0.1'])
- s.add_runtime_dependency('punchlist', ['>= 1.1'])
s.add_runtime_dependency('brakeman')
+ s.add_runtime_dependency('punchlist', ['>= 1.1'])
s.add_runtime_dependency('rails_best_practices')
+ s.add_runtime_dependency('rubocop-rspec', ['>=1.19.0'])
# need above 3.2.2 to support Ruby 2.0 syntax
#
# 3.6.6 was a buggy release, see seattlerb/ruby_parser#183
s.add_runtime_dependency('ruby_parser', ['>= 3.2.2', '!= 3.6.6'])
@@ -55,10 +62,10 @@
s.add_runtime_dependency('json')
s.add_development_dependency('bundler', ['>= 1.1'])
# Workaround for
# https://github.com/bundler/bundler/issues/3401
+ s.add_development_dependency('minitest', ['~> 5'])
+ s.add_development_dependency('mocha')
s.add_development_dependency('rake', ['!= 10.4.2'])
s.add_development_dependency('simplecov')
- s.add_development_dependency('mocha')
- s.add_development_dependency('minitest', ['~> 5'])
end