quality 31.3.0 → 32.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56d54283a1a3977a45832c5318d323ee281041e9
4
- data.tar.gz: 678705d458ff93bb2762539d9884acb29ec3036f
3
+ metadata.gz: 90aecfbebed959ec9706160f3b7c84b9b39a777f
4
+ data.tar.gz: 201108aa637763dc14e6f2ed396c6444454c7036
5
5
  SHA512:
6
- metadata.gz: b076bb11256ffbc750afefc100c8126d19ae37078f619ea6a480a8d7e1686eac4998ef08b896b121d38ee02740ff9360493741ab42f9f076ef21a7a7a4135e32
7
- data.tar.gz: 02f98295226849ff8f448942b54bc0690df7fe4b52864715524f9309bbcc9c0e0eedb921145d743155cd4b683efeecea11b2164e75fabed5e6c54eb376d47525
6
+ metadata.gz: 85117bdcb58376eb4389b682ba55c0408babe637de08d2bfea5c6d7dda05db03de45363dcecfdeadab0e54b3ad9e9cb855eb89b7b7c464c85be387c4944136f7
7
+ data.tar.gz: 68ecb4db63a93dcd6c5fdaf06211cd692f602741c360918fe8acb6259026991095e101bd901b5a3b4ebc5e96b5805b8f658b89c671410783cad00750a21a36e5
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
+ # Quality -- code quality ratchet for Ruby
2
+
1
3
  [![Build Status](https://travis-ci.org/apiology/quality.png)](https://travis-ci.org/apiology/quality)
2
4
  [![Coverage Status](https://coveralls.io/repos/apiology/quality/badge.png?branch=master)](https://coveralls.io/r/apiology/quality?branch=master)
3
5
 
4
- # Quality -- code quality ratchet for Ruby
5
-
6
6
  ## Overview
7
7
 
8
8
  Quality is a tool that runs quality checks on code in git repos using
@@ -131,7 +131,7 @@ You can pull a similar trick with code coverage using SimpleCov in
131
131
  Ruby--put 'simplecov' in your Gemfile, and add the code below into
132
132
  your test_helper.rb or spec_helper.rb.
133
133
 
134
- ```
134
+ ```ruby
135
135
  require 'simplecov'
136
136
  SimpleCov.start
137
137
  SimpleCov.refuse_coverage_drop
@@ -30,9 +30,7 @@ module Quality
30
30
  # Skip submodules and symlinks
31
31
  mode = file[:filemode]
32
32
  mode_format = (mode & 0o0170000)
33
- mode_format == 0o0120000 ||
34
- mode_format == 0o040000 ||
35
- mode_format == 0o0160000
33
+ [0o0120000, 0o040000, 0o0160000].include? mode_format
36
34
  end
37
35
 
38
36
  def ok_to_process?(filename, file)
@@ -4,5 +4,5 @@
4
4
  # reek, flog, flay and rubocop and makes sure your numbers don't get
5
5
  # any worse over time.
6
6
  module Quality
7
- VERSION = '31.3.0'.freeze
7
+ VERSION = '32.0.0'.freeze
8
8
  end
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
  #
49
49
  # https://github.com/bbatsov/rubocop#installation
50
50
  s.add_runtime_dependency('mdl')
51
- s.add_runtime_dependency('rubocop', '~> 0.54.0')
51
+ s.add_runtime_dependency('rubocop', '~> 0.58.2')
52
52
  # 1.19.0 was a RuboCop 0.51.0 compatibility release
53
53
  s.add_runtime_dependency('bigfiles', ['>= 0.1'])
54
54
  s.add_runtime_dependency('brakeman')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quality
3
3
  version: !ruby/object:Gem::Version
4
- version: 31.3.0
4
+ version: 32.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-15 00:00:00.000000000 Z
11
+ date: 2018-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 0.54.0
151
+ version: 0.58.2
152
152
  type: :runtime
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 0.54.0
158
+ version: 0.58.2
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: bigfiles
161
161
  requirement: !ruby/object:Gem::Requirement
@@ -432,7 +432,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
432
432
  version: '0'
433
433
  requirements: []
434
434
  rubyforge_project:
435
- rubygems_version: 2.6.14
435
+ rubygems_version: 2.5.2.3
436
436
  signing_key:
437
437
  specification_version: 4
438
438
  summary: Code quality tools for Ruby