jetrockets-standard 1.0.4 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -3
- data/config/gems.yml +3 -0
- data/config/private/standard.yml +2 -2
- data/config/rails.yml +6 -2
- data/jetrockets-standard.gemspec +5 -5
- data/lib/jetrockets/standard/version.rb +1 -1
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9db9e25ff077718e1282cd8f14e35c8ffe3282dd53ddeb1d579e056b2174043c
|
4
|
+
data.tar.gz: 2c10f163fc77380cb84c86ee20c5c8a1642bccd571b2ed0a1d48ba7ba3ab5b55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69a3e0296eb32985ed726b5e8b03b8e2437ed87eda977f8b2928a0a85a3e60eec53634cfffe1f72d88e5fee27ded1a79bab9797fc23fc388b38bd9cc2125dfad
|
7
|
+
data.tar.gz: c437dd95b8ffa0d43fc7ade7a637939fab58d76efaef117dd8262e35e2aae97512b78fffdb7b011b642a6319390f437f643ffca2ae5a0a1d7068abc4678e4443
|
data/README.md
CHANGED
@@ -2,7 +2,10 @@
|
|
2
2
|
|
3
3
|
Rubocop configuration to be used in JetRockets projects.
|
4
4
|
|
5
|
-
|
5
|
+
Current default configuration includes:
|
6
|
+
|
7
|
+
* rails 6.1
|
8
|
+
* ruby 2.7
|
6
9
|
|
7
10
|
## Installation
|
8
11
|
|
@@ -14,11 +17,15 @@ gem 'jetrockets-standard'
|
|
14
17
|
|
15
18
|
And then execute:
|
16
19
|
|
17
|
-
|
20
|
+
``` bash
|
21
|
+
$ bundle
|
22
|
+
```
|
18
23
|
|
19
24
|
Or install it yourself as:
|
20
25
|
|
21
|
-
|
26
|
+
``` bash
|
27
|
+
$ gem install jetrockets-standard
|
28
|
+
```
|
22
29
|
|
23
30
|
## Usage with Rails
|
24
31
|
|
@@ -31,6 +38,27 @@ inherit_gem:
|
|
31
38
|
jetrockets-standard: config/rails.yml
|
32
39
|
```
|
33
40
|
|
41
|
+
**How to change your target Rails version?**
|
42
|
+
|
43
|
+
```yml
|
44
|
+
inherit_gem:
|
45
|
+
jetrockets-standard: config/rails.yml
|
46
|
+
|
47
|
+
AllCops:
|
48
|
+
TargetRailsVersion: 6.0
|
49
|
+
# TargetRailsVersion: 5.2
|
50
|
+
```
|
51
|
+
|
52
|
+
**How to change your target Ruby version?**
|
53
|
+
|
54
|
+
```yml
|
55
|
+
inherit_gem:
|
56
|
+
jetrockets-standard: config/rails.yml
|
57
|
+
|
58
|
+
AllCops:
|
59
|
+
TargetRubyVersion: 3.0
|
60
|
+
```
|
61
|
+
|
34
62
|
### RubyGems
|
35
63
|
|
36
64
|
```yml
|
data/config/gems.yml
CHANGED
data/config/private/standard.yml
CHANGED
data/config/rails.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rails
|
3
|
+
- standard
|
3
4
|
|
4
5
|
inherit_from:
|
5
6
|
- ./private/rspec.yml
|
@@ -10,7 +11,7 @@ inherit_mode:
|
|
10
11
|
- Exclude
|
11
12
|
|
12
13
|
AllCops:
|
13
|
-
TargetRailsVersion:
|
14
|
+
TargetRailsVersion: 6.1
|
14
15
|
|
15
16
|
Style/AsciiComments:
|
16
17
|
Enabled: false
|
@@ -22,4 +23,7 @@ Style/Documentation:
|
|
22
23
|
Enabled: false
|
23
24
|
|
24
25
|
Style/NumericPredicate:
|
25
|
-
EnforcedStyle: comparison
|
26
|
+
EnforcedStyle: comparison
|
27
|
+
|
28
|
+
Layout/SpaceInsideHashLiteralBraces:
|
29
|
+
EnforcedStyle: space
|
data/jetrockets-standard.gemspec
CHANGED
@@ -27,11 +27,11 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
|
-
spec.add_dependency 'rubocop-rails'
|
31
|
-
spec.add_dependency 'rubocop-rspec'
|
32
|
-
spec.add_dependency 'standard', '~> 0.
|
30
|
+
spec.add_dependency 'rubocop-rails'
|
31
|
+
spec.add_dependency 'rubocop-rspec'
|
32
|
+
spec.add_dependency 'standard', '~> 1.0.4'
|
33
33
|
|
34
|
-
spec.add_development_dependency 'bundler', '~> 2.
|
35
|
-
spec.add_development_dependency 'rake', '~>
|
34
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
35
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
36
36
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
37
37
|
end
|
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jetrockets-standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Alexandrov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: standard
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 1.0.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 1.0.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '13.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '13.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.9'
|
97
|
-
description:
|
97
|
+
description:
|
98
98
|
email:
|
99
99
|
- igor.alexandrov@gmail.com
|
100
100
|
executables: []
|
@@ -124,7 +124,7 @@ licenses:
|
|
124
124
|
- MIT
|
125
125
|
metadata:
|
126
126
|
homepage_uri: https://github.com/jetrockets/jetrockets-standard
|
127
|
-
post_install_message:
|
127
|
+
post_install_message:
|
128
128
|
rdoc_options: []
|
129
129
|
require_paths:
|
130
130
|
- lib
|
@@ -139,8 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
|
-
rubygems_version: 3.
|
143
|
-
signing_key:
|
142
|
+
rubygems_version: 3.1.4
|
143
|
+
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Standard RuboCop configuration for JetRockets with cookies.
|
146
146
|
test_files: []
|