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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 660f83b0a1a59bce17643e715a9cb1fd6ea58d573fd66795af499328b8232ae9
4
- data.tar.gz: a91851bf3a09bc89a9359e80dcc7807a7d4611a38b55ddcc014667e8675bdf76
3
+ metadata.gz: 9db9e25ff077718e1282cd8f14e35c8ffe3282dd53ddeb1d579e056b2174043c
4
+ data.tar.gz: 2c10f163fc77380cb84c86ee20c5c8a1642bccd571b2ed0a1d48ba7ba3ab5b55
5
5
  SHA512:
6
- metadata.gz: 454480e843c9100c50760c8234b8bc472bd232272927ea6c60ad6d148569e23abb596d84267b1d72763ab9f203dcaa4b12250f679be0666adfb0ee45bbc6f504
7
- data.tar.gz: f438acab442886bfc832bca6875009bec4288ef71c5037d4f5698b6f4b4d401d065d3860f947fd970da1fcd1bab98054c68b74711cf6cb970562d58a77bbcc4e
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
- Work in progress.
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
- $ bundle
20
+ ``` bash
21
+ $ bundle
22
+ ```
18
23
 
19
24
  Or install it yourself as:
20
25
 
21
- $ gem install jetrockets-standard
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
@@ -1,3 +1,6 @@
1
+ require:
2
+ - standard
3
+
1
4
  inherit_from:
2
5
  - ./private/rspec.yml
3
6
  - ./private/standard.yml
@@ -2,9 +2,9 @@ inherit_gem:
2
2
  standard: config/base.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.7
6
6
 
7
- Metrics/LineLength:
7
+ Layout/LineLength:
8
8
  Max: 120
9
9
 
10
10
  Style/StringLiterals:
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: 5.2
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
@@ -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', '~> 2.3.2'
31
- spec.add_dependency 'rubocop-rspec', '~> 1.35.0'
32
- spec.add_dependency 'standard', '~> 0.1.4'
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.0'
35
- spec.add_development_dependency 'rake', '~> 10.0'
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jetrockets
4
4
  module Standard
5
- VERSION = '1.0.4'
5
+ VERSION = '1.0.9'
6
6
  end
7
7
  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
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: 2019-11-09 00:00:00.000000000 Z
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: 2.3.2
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: 2.3.2
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: 1.35.0
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: 1.35.0
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.1.4
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.1.4
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.0'
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.0'
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: '10.0'
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: '10.0'
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.0.6
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: []