datarockets-style 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +21 -4
- data/Gemfile +0 -4
- data/README.md +16 -16
- data/config/base.yml +6 -0
- data/config/rspec.yml +3 -0
- data/datarockets-style.gemspec +6 -2
- data/doc/STYLE_GUIDE.md +80 -0
- data/doc/STYLE_GUIDE_RSPEC.md +16 -0
- data/lib/datarockets_style.rb +1 -0
- data/lib/datarockets_style/cop/rspec/prefer_before_over_setup.rb +43 -0
- data/lib/datarockets_style/version.rb +1 -1
- data/manual/cops_layout.md +24 -0
- metadata +58 -28
- data/Gemfile.lock +0 -88
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16590c13f8a15d26842216bb4c0b411c9431a177b7d81b32b9e7a074257b4cf5
|
4
|
+
data.tar.gz: 440e87351bf3e6900d114650fede11f1ab68b2ba5f1d72fe6e599758fec6f346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be32cf2f4da3c94b9e532bfd0e0a2f0d416200ebc5d2992fdb3ff223b9b9603dd4f78ff198640c4500964cda5f82b93b5484694c909371d53bea2cd185356c0a
|
7
|
+
data.tar.gz: b0120bd764544c9fe6458b981f3b5174d96eaed7980ea29b8ca4b73065b8794225ab832478ee0c7666a1b4ae13908e17d403f30351c80fdd9ec17a4ef6247d49
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,19 +4,36 @@ The format is described in [Contributing notes](CONTRIBUTING.md#changelog-entry-
|
|
4
4
|
|
5
5
|
## master
|
6
6
|
|
7
|
+
## 1.2.0
|
8
|
+
|
9
|
+
### Added
|
10
|
+
|
11
|
+
* [#219](https://github.com/datarockets/datarockets-style/issues/219) Add `RSpec/PreferBeforeOverSetup` cop. ([@paydaylight][])
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
|
15
|
+
* [#233](https://github.com/datarockets/datarockets-style/issues/233) Setup `EnforcedStyleForMultiline` for `Style/TrailingCommaInArguments` and `Style/TrailingCommaInArrayLiteral` rules. ([@paydaylight][])
|
16
|
+
* [#124](https://github.com/datarockets/datarockets-style/issues/124) Move gem dependencies to `./datarockets-style.gemspec` and drop `Gemfile.lock` tracking. ([@paydaylight][])
|
17
|
+
* [#253](https://github.com/datarockets/datarockets-style/issues/253) Update rubocop to `1.10`. ([@paydaylight][])
|
18
|
+
* [#124](https://github.com/datarockets/datarockets-style/issues/124) Update rubocop-rails to `2.9`. ([@paydaylight][])
|
19
|
+
|
20
|
+
### Fixed
|
21
|
+
|
22
|
+
* [#251](https://github.com/datarockets/datarockets-style/issues/251) Update documentation to match `1.1.0` release changes. ([@paydaylight][])
|
23
|
+
|
7
24
|
## 1.1.0 (2021-02-09)
|
8
25
|
|
9
26
|
### Changed
|
10
27
|
|
11
28
|
* Setup `EnforcedStyleForMultiline` for `Style/TrailingCommaInHashLiteral` rule. ([@r.dubrovsky][])
|
12
|
-
* Update rubocop to
|
13
|
-
* Update rubocop-rails requirement to
|
29
|
+
* Update rubocop to `1.9.1`. ([@paydaylight][])
|
30
|
+
* Update rubocop-rails requirement to `>= 2.8.0, < 2.10.0`. ([@paydaylight][])
|
14
31
|
* Update rubocop-rspec to `2.2.0`. ([@paydaylight][])
|
15
|
-
* Change
|
32
|
+
* Change `Datarockets::Style` module to `DatarocketsStyle`. ([@paydaylight][])
|
16
33
|
|
17
34
|
### Fixed
|
18
35
|
|
19
|
-
* [#177](https://github.com/datarockets/datarockets-style/issues/177) set
|
36
|
+
* [#177](https://github.com/datarockets/datarockets-style/issues/177) set `Layout/MultilineOperationIndentation` to indented ([@paydaylight][])
|
20
37
|
|
21
38
|
## 1.0.0 (2020-11-10)
|
22
39
|
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -10,14 +10,14 @@ Add this line to your application's Gemfile:
|
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
group :test, :development do
|
13
|
-
gem 'datarockets-style', '~> 1.
|
13
|
+
gem 'datarockets-style', '~> 1.1.0'
|
14
14
|
end
|
15
15
|
```
|
16
16
|
|
17
17
|
Or, for a Ruby library, add this to your gemspec:
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
spec.add_development_dependency 'datarockets-style', '~> 1.
|
20
|
+
spec.add_development_dependency 'datarockets-style', '~> 1.1.0'
|
21
21
|
```
|
22
22
|
|
23
23
|
And then execute:
|
@@ -108,28 +108,28 @@ Result of the formatter is compatible with rubocop config or rubocop todo file.
|
|
108
108
|
For running that cop, just print in your command like
|
109
109
|
|
110
110
|
```bash
|
111
|
-
$ bundle exec rubocop -f TodoListFormatter -r
|
111
|
+
$ bundle exec rubocop -f TodoListFormatter -r datarockets_style
|
112
112
|
Inspecting 10 files
|
113
113
|
...CC.CC..
|
114
114
|
10 files inspected, 7 offenses detected
|
115
115
|
|
116
116
|
Layout/IndentationConsistency:
|
117
117
|
Exclude:
|
118
|
-
- 'spec/
|
118
|
+
- 'spec/datarockets_style/formatter/todo_list_formatter_spec.rb' # 1
|
119
119
|
|
120
120
|
Naming/MemoizedInstanceVariableName:
|
121
121
|
Exclude:
|
122
|
-
- 'lib/
|
122
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb' # 1
|
123
123
|
|
124
124
|
RSpec/ExampleLength:
|
125
125
|
Exclude:
|
126
|
-
- 'spec/
|
127
|
-
- 'spec/
|
126
|
+
- 'spec/datarockets_style/formatter/todo_list_formatter/report_summary_spec.rb' # 1
|
127
|
+
- 'spec/datarockets_style/formatter/todo_list_formatter_spec.rb' # 2
|
128
128
|
|
129
129
|
Style/Documentation:
|
130
130
|
Exclude:
|
131
|
-
- 'lib/
|
132
|
-
- 'lib/
|
131
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb' # 1
|
132
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter.rb' # 1
|
133
133
|
```
|
134
134
|
|
135
135
|
#### Autocorrection
|
@@ -137,24 +137,24 @@ Style/Documentation:
|
|
137
137
|
If you run the formatter with autocorrection options, the formatter skip corrected cop and does not include it to the result.
|
138
138
|
|
139
139
|
```bash
|
140
|
-
$ bundle exec rubocop -f TodoListFormatter -r
|
140
|
+
$ bundle exec rubocop -f TodoListFormatter -r datarockets_style -a
|
141
141
|
Inspecting 10 files
|
142
142
|
...CC.CC..
|
143
143
|
10 files inspected, 7 offenses detected, 1 offenses corrected
|
144
144
|
|
145
145
|
Naming/MemoizedInstanceVariableName:
|
146
146
|
Exclude:
|
147
|
-
- 'lib/
|
147
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb' # 1
|
148
148
|
|
149
149
|
RSpec/ExampleLength:
|
150
150
|
Exclude:
|
151
|
-
- 'spec/
|
152
|
-
- 'spec/
|
151
|
+
- 'spec/datarockets_style/formatter/todo_list_formatter/report_summary_spec.rb' # 1
|
152
|
+
- 'spec/datarockets_style/formatter/todo_list_formatter_spec.rb' # 2
|
153
153
|
|
154
154
|
Style/Documentation:
|
155
155
|
Exclude:
|
156
|
-
- 'lib/
|
157
|
-
- 'lib/
|
156
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb' # 1
|
157
|
+
- 'lib/datarockets_style/formatter/todo_list_formatter.rb' # 1
|
158
158
|
```
|
159
159
|
|
160
160
|
## Non-goals of RuboCop
|
@@ -178,4 +178,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
178
178
|
|
179
179
|
## Code of Conduct
|
180
180
|
|
181
|
-
Everyone interacting in the
|
181
|
+
Everyone interacting in the DatarocketsStyle project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
|
data/config/base.yml
CHANGED
@@ -190,5 +190,11 @@ Style/StringConcatenation:
|
|
190
190
|
Style/StringLiterals:
|
191
191
|
EnforcedStyle: double_quotes
|
192
192
|
|
193
|
+
Style/TrailingCommaInArguments:
|
194
|
+
EnforcedStyleForMultiline: comma
|
195
|
+
|
196
|
+
Style/TrailingCommaInArrayLiteral:
|
197
|
+
EnforcedStyleForMultiline: comma
|
198
|
+
|
193
199
|
Style/TrailingCommaInHashLiteral:
|
194
200
|
EnforcedStyleForMultiline: comma
|
data/config/rspec.yml
CHANGED
data/datarockets-style.gemspec
CHANGED
@@ -30,7 +30,11 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
|
33
|
-
spec.add_dependency "rubocop", "
|
34
|
-
spec.add_dependency "rubocop-rails", "
|
33
|
+
spec.add_dependency "rubocop", "~> 1.10"
|
34
|
+
spec.add_dependency "rubocop-rails", "~> 2.9"
|
35
35
|
spec.add_dependency "rubocop-rspec", "~> 2.0"
|
36
|
+
|
37
|
+
spec.add_development_dependency "pry-byebug"
|
38
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
36
40
|
end
|
data/doc/STYLE_GUIDE.md
CHANGED
@@ -392,6 +392,86 @@ def foo
|
|
392
392
|
end
|
393
393
|
```
|
394
394
|
|
395
|
+
* <a name="style-trailing-comma-in-arguments"></a>
|
396
|
+
Requires a comma after the last argument, but only for parenthesized method calls where each argument is on its own line.
|
397
|
+
<sup>[[link](#style-trailing-comma-in-arguments)]</sup>
|
398
|
+
|
399
|
+
```ruby
|
400
|
+
# bad
|
401
|
+
method(1, 2,)
|
402
|
+
|
403
|
+
# good
|
404
|
+
method(1, 2)
|
405
|
+
|
406
|
+
# bad
|
407
|
+
method(
|
408
|
+
1, 2,
|
409
|
+
3,
|
410
|
+
)
|
411
|
+
|
412
|
+
# good
|
413
|
+
method(
|
414
|
+
1, 2,
|
415
|
+
3
|
416
|
+
)
|
417
|
+
|
418
|
+
# bad
|
419
|
+
method(
|
420
|
+
1, 2, 3,
|
421
|
+
)
|
422
|
+
|
423
|
+
# good
|
424
|
+
method(
|
425
|
+
1, 2, 3
|
426
|
+
)
|
427
|
+
|
428
|
+
# good
|
429
|
+
method(
|
430
|
+
1,
|
431
|
+
2,
|
432
|
+
)
|
433
|
+
```
|
434
|
+
|
435
|
+
* <a name="style-trailing-comma-in-array-literals"></a>
|
436
|
+
Requires a comma after last item in an array, but only when each item is on its own line.
|
437
|
+
<sup>[[link](#style-trailing-comma-in-array-literals)]</sup>
|
438
|
+
|
439
|
+
```ruby
|
440
|
+
# bad
|
441
|
+
a = [1, 2,]
|
442
|
+
|
443
|
+
# good
|
444
|
+
a = [1, 2]
|
445
|
+
|
446
|
+
# bad
|
447
|
+
a = [
|
448
|
+
1, 2,
|
449
|
+
3,
|
450
|
+
]
|
451
|
+
|
452
|
+
# good
|
453
|
+
a = [
|
454
|
+
1, 2,
|
455
|
+
3
|
456
|
+
]
|
457
|
+
|
458
|
+
# bad
|
459
|
+
a = [
|
460
|
+
1, 2, 3,
|
461
|
+
]
|
462
|
+
|
463
|
+
# good
|
464
|
+
a = [
|
465
|
+
1, 2, 3
|
466
|
+
]
|
467
|
+
|
468
|
+
# good
|
469
|
+
a = [
|
470
|
+
1,
|
471
|
+
2,
|
472
|
+
]
|
473
|
+
```
|
474
|
+
|
395
475
|
* <a name="style-trailing-comma-in-hash-literal"></a>
|
396
476
|
Requires a comma after the last item in a hash.
|
397
477
|
<sup>[[link](#style-trailing-comma-in-hash-literal)]</sup>
|
data/doc/STYLE_GUIDE_RSPEC.md
CHANGED
@@ -186,3 +186,19 @@ it "returns the last widget" do
|
|
186
186
|
expect(Widget.last).to eq my_widget
|
187
187
|
end
|
188
188
|
```
|
189
|
+
|
190
|
+
* <a name="rspec-prefer-before"></a>
|
191
|
+
Prefer using `before` instead of `setup`.
|
192
|
+
<sup>[[link](#rspec-prefer-before)]</sup>
|
193
|
+
|
194
|
+
```ruby
|
195
|
+
# bad
|
196
|
+
setup do
|
197
|
+
allow(post).to receive(:publish!)
|
198
|
+
end
|
199
|
+
|
200
|
+
# good
|
201
|
+
before do
|
202
|
+
allow(post).to receive(:publish!)
|
203
|
+
end
|
204
|
+
```
|
data/lib/datarockets_style.rb
CHANGED
@@ -5,6 +5,7 @@ require "datarockets_style/version"
|
|
5
5
|
|
6
6
|
require "datarockets_style/cop/layout/array_alignment_extended"
|
7
7
|
require "datarockets_style/cop/style/nested_interpolation"
|
8
|
+
require "datarockets_style/cop/rspec/prefer_before_over_setup"
|
8
9
|
|
9
10
|
# Top level module for datarockets-style
|
10
11
|
module DatarocketsStyle
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module DatarocketsStyle
|
4
|
+
module Cop
|
5
|
+
module RSpec
|
6
|
+
# Checks that tests use `before` instead of RoR unit-test `setup` method (part of `rspec-rails` gem)
|
7
|
+
#
|
8
|
+
# bad
|
9
|
+
#
|
10
|
+
# setup do
|
11
|
+
# allow(post).to receive(:publish!)
|
12
|
+
# end
|
13
|
+
#
|
14
|
+
# good
|
15
|
+
#
|
16
|
+
# before do
|
17
|
+
# allow(post).to receive(:publish!)
|
18
|
+
# end
|
19
|
+
class PreferBeforeOverSetup < RuboCop::Cop::Cop
|
20
|
+
MSG = "Use `before` instead of `setup`."
|
21
|
+
|
22
|
+
def_node_matcher :setup_call?, <<-PATTERN
|
23
|
+
(block
|
24
|
+
(send _ :setup)
|
25
|
+
(args) _)
|
26
|
+
PATTERN
|
27
|
+
|
28
|
+
def on_block(node)
|
29
|
+
return unless setup_call?(node)
|
30
|
+
|
31
|
+
add_offense(node)
|
32
|
+
end
|
33
|
+
|
34
|
+
def autocorrect(node)
|
35
|
+
lambda do |corrector|
|
36
|
+
block_internals = node.source.split(/ /)
|
37
|
+
corrector.replace node.loc.expression, ["before", *block_internals[1..-1]].join(" ")
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/manual/cops_layout.md
CHANGED
@@ -52,6 +52,30 @@ Name | Default value | Configurable values
|
|
52
52
|
EnforcedStyle | `with_first_parameter` | `with_first_parameter`, `with_fixed_indentation`
|
53
53
|
IndentationWidth | `<none>` | Integer
|
54
54
|
|
55
|
+
# RSpec
|
56
|
+
|
57
|
+
## RSpec/PreferBeforeOverSetup
|
58
|
+
|
59
|
+
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
|
60
|
+
--- | --- | --- | --- | ---
|
61
|
+
Enabled | Yes | Yes | 1.2.0 | -
|
62
|
+
|
63
|
+
Checks that tests use `before` instead of RoR unit-test `setup` method (part of `rspec-rails` gem)
|
64
|
+
|
65
|
+
### Example
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
# bad
|
69
|
+
setup do
|
70
|
+
allow(post).to receive(:publish!)
|
71
|
+
end
|
72
|
+
|
73
|
+
# good
|
74
|
+
before do
|
75
|
+
allow(post).to receive(:publish!)
|
76
|
+
end
|
77
|
+
```
|
78
|
+
|
55
79
|
# Style
|
56
80
|
|
57
81
|
## Style/NestedInterpolation
|
metadata
CHANGED
@@ -1,55 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datarockets-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Dubrovsky
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.2'
|
20
|
-
- - "<"
|
17
|
+
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
19
|
+
version: '1.10'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1.2'
|
30
|
-
- - "<"
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
26
|
+
version: '1.10'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rubocop-rails
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - "
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.8.0
|
40
|
-
- - "<"
|
31
|
+
- - "~>"
|
41
32
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.
|
33
|
+
version: '2.9'
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
|
-
- - "
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.8.0
|
50
|
-
- - "<"
|
38
|
+
- - "~>"
|
51
39
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
40
|
+
version: '2.9'
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: rubocop-rspec
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,7 +52,49 @@ dependencies:
|
|
64
52
|
- - "~>"
|
65
53
|
- !ruby/object:Gem::Version
|
66
54
|
version: '2.0'
|
67
|
-
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry-byebug
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '13.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '13.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.10'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.10'
|
97
|
+
description:
|
68
98
|
email:
|
69
99
|
- r.dubrovsky@datarockets.com
|
70
100
|
executables: []
|
@@ -82,7 +112,6 @@ files:
|
|
82
112
|
- CODE_OF_CONDUCT.md
|
83
113
|
- CONTRIBUTING.md
|
84
114
|
- Gemfile
|
85
|
-
- Gemfile.lock
|
86
115
|
- LICENSE.txt
|
87
116
|
- Makefile
|
88
117
|
- README.md
|
@@ -100,6 +129,7 @@ files:
|
|
100
129
|
- doc/STYLE_GUIDE_RSPEC.md
|
101
130
|
- lib/datarockets_style.rb
|
102
131
|
- lib/datarockets_style/cop/layout/array_alignment_extended.rb
|
132
|
+
- lib/datarockets_style/cop/rspec/prefer_before_over_setup.rb
|
103
133
|
- lib/datarockets_style/cop/style/nested_interpolation.rb
|
104
134
|
- lib/datarockets_style/formatter/todo_list_formatter.rb
|
105
135
|
- lib/datarockets_style/formatter/todo_list_formatter/report_summary.rb
|
@@ -110,7 +140,7 @@ licenses:
|
|
110
140
|
- MIT
|
111
141
|
metadata:
|
112
142
|
allowed_push_host: https://rubygems.org
|
113
|
-
post_install_message:
|
143
|
+
post_install_message:
|
114
144
|
rdoc_options: []
|
115
145
|
require_paths:
|
116
146
|
- lib
|
@@ -125,8 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
155
|
- !ruby/object:Gem::Version
|
126
156
|
version: '0'
|
127
157
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
129
|
-
signing_key:
|
158
|
+
rubygems_version: 3.1.4
|
159
|
+
signing_key:
|
130
160
|
specification_version: 4
|
131
161
|
summary: Datarockets style guides and shared style configs
|
132
162
|
test_files: []
|
data/Gemfile.lock
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
datarockets-style (1.1.0)
|
5
|
-
rubocop (>= 1.2, < 2.0)
|
6
|
-
rubocop-rails (>= 2.8.0, < 2.10.0)
|
7
|
-
rubocop-rspec (~> 2.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
activesupport (6.1.1)
|
13
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
-
i18n (>= 1.6, < 2)
|
15
|
-
minitest (>= 5.1)
|
16
|
-
tzinfo (~> 2.0)
|
17
|
-
zeitwerk (~> 2.3)
|
18
|
-
ast (2.4.2)
|
19
|
-
byebug (11.1.3)
|
20
|
-
coderay (1.1.2)
|
21
|
-
concurrent-ruby (1.1.7)
|
22
|
-
diff-lcs (1.4.4)
|
23
|
-
i18n (1.8.7)
|
24
|
-
concurrent-ruby (~> 1.0)
|
25
|
-
method_source (1.0.0)
|
26
|
-
minitest (5.14.3)
|
27
|
-
parallel (1.20.1)
|
28
|
-
parser (3.0.0.0)
|
29
|
-
ast (~> 2.4.1)
|
30
|
-
pry (0.13.1)
|
31
|
-
coderay (~> 1.1)
|
32
|
-
method_source (~> 1.0)
|
33
|
-
pry-byebug (3.9.0)
|
34
|
-
byebug (~> 11.0)
|
35
|
-
pry (~> 0.13.0)
|
36
|
-
rack (2.2.3)
|
37
|
-
rainbow (3.0.0)
|
38
|
-
rake (13.0.3)
|
39
|
-
regexp_parser (2.0.3)
|
40
|
-
rexml (3.2.4)
|
41
|
-
rspec (3.10.0)
|
42
|
-
rspec-core (~> 3.10.0)
|
43
|
-
rspec-expectations (~> 3.10.0)
|
44
|
-
rspec-mocks (~> 3.10.0)
|
45
|
-
rspec-core (3.10.0)
|
46
|
-
rspec-support (~> 3.10.0)
|
47
|
-
rspec-expectations (3.10.0)
|
48
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.10.0)
|
50
|
-
rspec-mocks (3.10.0)
|
51
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.10.0)
|
53
|
-
rspec-support (3.10.0)
|
54
|
-
rubocop (1.9.1)
|
55
|
-
parallel (~> 1.10)
|
56
|
-
parser (>= 3.0.0.0)
|
57
|
-
rainbow (>= 2.2.2, < 4.0)
|
58
|
-
regexp_parser (>= 1.8, < 3.0)
|
59
|
-
rexml
|
60
|
-
rubocop-ast (>= 1.2.0, < 2.0)
|
61
|
-
ruby-progressbar (~> 1.7)
|
62
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
63
|
-
rubocop-ast (1.4.1)
|
64
|
-
parser (>= 2.7.1.5)
|
65
|
-
rubocop-rails (2.9.1)
|
66
|
-
activesupport (>= 4.2.0)
|
67
|
-
rack (>= 1.1)
|
68
|
-
rubocop (>= 0.90.0, < 2.0)
|
69
|
-
rubocop-rspec (2.1.0)
|
70
|
-
rubocop (~> 1.0)
|
71
|
-
rubocop-ast (>= 1.1.0)
|
72
|
-
ruby-progressbar (1.11.0)
|
73
|
-
tzinfo (2.0.4)
|
74
|
-
concurrent-ruby (~> 1.0)
|
75
|
-
unicode-display_width (2.0.0)
|
76
|
-
zeitwerk (2.4.2)
|
77
|
-
|
78
|
-
PLATFORMS
|
79
|
-
ruby
|
80
|
-
|
81
|
-
DEPENDENCIES
|
82
|
-
datarockets-style!
|
83
|
-
pry-byebug
|
84
|
-
rake (~> 13.0)
|
85
|
-
rspec (~> 3.10)
|
86
|
-
|
87
|
-
BUNDLED WITH
|
88
|
-
2.1.4
|