quality 31.3.0 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/quality/linguist_source_file_globber.rb +1 -3
- data/lib/quality/version.rb +1 -1
- data/quality.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90aecfbebed959ec9706160f3b7c84b9b39a777f
|
4
|
+
data.tar.gz: 201108aa637763dc14e6f2ed396c6444454c7036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
[](https://travis-ci.org/apiology/quality)
|
2
4
|
[](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
|
-
|
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)
|
data/lib/quality/version.rb
CHANGED
data/quality.gemspec
CHANGED
@@ -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.
|
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:
|
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-
|
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.
|
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.
|
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.
|
435
|
+
rubygems_version: 2.5.2.3
|
436
436
|
signing_key:
|
437
437
|
specification_version: 4
|
438
438
|
summary: Code quality tools for Ruby
|