datarockets-style 0.11.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +25 -25
- data/README.md +2 -2
- data/RELEASING.md +16 -0
- data/datarockets-style.gemspec +3 -3
- data/lib/datarockets/style/version.rb +1 -1
- metadata +18 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13302183c2bb2361f4069f312d84b44569bdac9bd3e012868cf6845357d1754f
|
4
|
+
data.tar.gz: 6d8c66f18353e28136e855a7cf3a0ee1933c4103f68fc1cb0a602d8dcaa5190a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c17ff90118be39c8b0b078aea534e4a650e4c5dcb3dbccbda0cca6394c7372a97530b50112e76691155237b9944efd26d54fab5f7ef3437d20470c535f1f720b
|
7
|
+
data.tar.gz: 4ddba3d32c03980657729a5b46d7d186fe589ddff67a4d4743bf377180c58bd3d2e0de59451286b28accfa12384852c96a59cf1a150efe611a9d9d361e3cc870
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
The format is described in [Contributing notes](CONTRIBUTING.md#changelog-entry-format).
|
4
4
|
|
5
|
+
## master
|
6
|
+
|
7
|
+
## 1.0.0 (2020-11-10)
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
|
11
|
+
* Update rubocop to `1.2.0`.
|
12
|
+
* Update rubocop-rails to `2.8.1`.
|
13
|
+
* Update rubocop-rspec tp `2.0.0`.
|
14
|
+
|
5
15
|
## 0.11.0 (2020-11-07)
|
6
16
|
|
7
17
|
### Changed
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
datarockets-style (0.
|
5
|
-
rubocop (
|
6
|
-
rubocop-rails (>= 2.
|
7
|
-
rubocop-rspec (~>
|
4
|
+
datarockets-style (1.0.0)
|
5
|
+
rubocop (>= 1.2, < 2.0)
|
6
|
+
rubocop-rails (>= 2.8.0, < 2.9.0)
|
7
|
+
rubocop-rspec (~> 2.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
@@ -19,12 +19,12 @@ GEM
|
|
19
19
|
byebug (11.1.3)
|
20
20
|
coderay (1.1.2)
|
21
21
|
concurrent-ruby (1.1.7)
|
22
|
-
diff-lcs (1.
|
22
|
+
diff-lcs (1.4.4)
|
23
23
|
i18n (1.8.5)
|
24
24
|
concurrent-ruby (~> 1.0)
|
25
25
|
method_source (1.0.0)
|
26
26
|
minitest (5.14.2)
|
27
|
-
parallel (1.
|
27
|
+
parallel (1.20.0)
|
28
28
|
parser (2.7.2.0)
|
29
29
|
ast (~> 2.4.1)
|
30
30
|
pry (0.13.1)
|
@@ -38,40 +38,40 @@ GEM
|
|
38
38
|
rake (13.0.1)
|
39
39
|
regexp_parser (1.8.2)
|
40
40
|
rexml (3.2.4)
|
41
|
-
rspec (3.
|
42
|
-
rspec-core (~> 3.
|
43
|
-
rspec-expectations (~> 3.
|
44
|
-
rspec-mocks (~> 3.
|
45
|
-
rspec-core (3.
|
46
|
-
rspec-support (~> 3.
|
47
|
-
rspec-expectations (3.
|
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
48
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-mocks (3.
|
49
|
+
rspec-support (~> 3.10.0)
|
50
|
+
rspec-mocks (3.10.0)
|
51
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-support (3.
|
54
|
-
rubocop (
|
52
|
+
rspec-support (~> 3.10.0)
|
53
|
+
rspec-support (3.10.0)
|
54
|
+
rubocop (1.2.0)
|
55
55
|
parallel (~> 1.10)
|
56
56
|
parser (>= 2.7.1.5)
|
57
57
|
rainbow (>= 2.2.2, < 4.0)
|
58
58
|
regexp_parser (>= 1.8)
|
59
59
|
rexml
|
60
|
-
rubocop-ast (>= 0.
|
60
|
+
rubocop-ast (>= 1.0.1)
|
61
61
|
ruby-progressbar (~> 1.7)
|
62
62
|
unicode-display_width (>= 1.4.0, < 2.0)
|
63
63
|
rubocop-ast (1.1.1)
|
64
64
|
parser (>= 2.7.1.5)
|
65
|
-
rubocop-rails (2.
|
65
|
+
rubocop-rails (2.8.1)
|
66
66
|
activesupport (>= 4.2.0)
|
67
67
|
rack (>= 1.1)
|
68
68
|
rubocop (>= 0.87.0)
|
69
|
-
rubocop-rspec (
|
70
|
-
rubocop (~> 0
|
71
|
-
rubocop-ast (>=
|
69
|
+
rubocop-rspec (2.0.0)
|
70
|
+
rubocop (~> 1.0)
|
71
|
+
rubocop-ast (>= 1.1.0)
|
72
72
|
ruby-progressbar (1.10.1)
|
73
73
|
thread_safe (0.3.6)
|
74
|
-
tzinfo (1.2.
|
74
|
+
tzinfo (1.2.8)
|
75
75
|
thread_safe (~> 0.1)
|
76
76
|
unicode-display_width (1.7.0)
|
77
77
|
zeitwerk (2.4.1)
|
@@ -83,7 +83,7 @@ DEPENDENCIES
|
|
83
83
|
datarockets-style!
|
84
84
|
pry-byebug
|
85
85
|
rake (~> 13.0)
|
86
|
-
rspec (~> 3.
|
86
|
+
rspec (~> 3.10)
|
87
87
|
|
88
88
|
BUNDLED WITH
|
89
89
|
2.1.4
|
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'
|
13
|
+
gem 'datarockets-style', '~> 1.0.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'
|
20
|
+
spec.add_development_dependency 'datarockets-style', '~> 1.0.0'
|
21
21
|
```
|
22
22
|
|
23
23
|
And then execute:
|
data/RELEASING.md
CHANGED
@@ -15,3 +15,19 @@ gem push *built_file*
|
|
15
15
|
* Announce the new release,
|
16
16
|
making sure to say "thank you" to the contributors
|
17
17
|
who helped shape this version!
|
18
|
+
|
19
|
+
## Versioning stragety
|
20
|
+
|
21
|
+
As versioning strategy, we're using SemVer: `MAJOR.MINOR.PATCH`
|
22
|
+
|
23
|
+
A `MAJOR` version must be incremented if there are any backward-incompatible breaking changes included in a release. This has the benefit of making it easy for anyone to quickly identify if a new version will work differently than a previous one.
|
24
|
+
|
25
|
+
Usually, we'll increment it on updating major versions of rubocop dependencies. Ideally, it should be synchronized with the major verion of `rubocop`.
|
26
|
+
|
27
|
+
The `MINOR` version must be incremented if backward-compatible functionality is introduced. In the strictest sense, this means you should be able to upgrade to a new minor version without experiencing any breaking changes.
|
28
|
+
|
29
|
+
Usually, we'll increment it on changing the list of cops, updating minor versions of dependencies.
|
30
|
+
|
31
|
+
The `PATCH` version is meant for backward-compatible bug fixes. You should expect no new functionality with a new patch version, only improvements.
|
32
|
+
|
33
|
+
Usually, we'll use it for updating patch versions of dependencies or fixing bugs of the last version. Changed rules of cops in most cases should be added to minor version.
|
data/datarockets-style.gemspec
CHANGED
@@ -30,7 +30,7 @@ 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", ">= 2.
|
35
|
-
spec.add_dependency "rubocop-rspec", "~>
|
33
|
+
spec.add_dependency "rubocop", ">= 1.2 ", "< 2.0"
|
34
|
+
spec.add_dependency "rubocop-rails", ">= 2.8.0", "< 2.9.0"
|
35
|
+
spec.add_dependency "rubocop-rspec", "~> 2.0"
|
36
36
|
end
|
metadata
CHANGED
@@ -1,63 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datarockets-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Dubrovsky
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-09 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
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.2'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
22
|
+
version: '2.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '1.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rubocop-rails
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
39
|
+
version: 2.8.0
|
34
40
|
- - "<"
|
35
41
|
- !ruby/object:Gem::Version
|
36
|
-
version: 2.
|
42
|
+
version: 2.9.0
|
37
43
|
type: :runtime
|
38
44
|
prerelease: false
|
39
45
|
version_requirements: !ruby/object:Gem::Requirement
|
40
46
|
requirements:
|
41
47
|
- - ">="
|
42
48
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.
|
49
|
+
version: 2.8.0
|
44
50
|
- - "<"
|
45
51
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.
|
52
|
+
version: 2.9.0
|
47
53
|
- !ruby/object:Gem::Dependency
|
48
54
|
name: rubocop-rspec
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
50
56
|
requirements:
|
51
57
|
- - "~>"
|
52
58
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
59
|
+
version: '2.0'
|
54
60
|
type: :runtime
|
55
61
|
prerelease: false
|
56
62
|
version_requirements: !ruby/object:Gem::Requirement
|
57
63
|
requirements:
|
58
64
|
- - "~>"
|
59
65
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
66
|
+
version: '2.0'
|
61
67
|
description:
|
62
68
|
email:
|
63
69
|
- r.dubrovsky@datarockets.com
|