jetrockets-standard 1.0.8 → 1.0.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87c98f9946d08224928424b6006439907e78c03f72aaa1b2498bef902d65df6d
4
- data.tar.gz: 414077ab24afe511fc80f71c98ac50f0a7c77350be6e07bbbef9f01d51990731
3
+ metadata.gz: 9db9e25ff077718e1282cd8f14e35c8ffe3282dd53ddeb1d579e056b2174043c
4
+ data.tar.gz: 2c10f163fc77380cb84c86ee20c5c8a1642bccd571b2ed0a1d48ba7ba3ab5b55
5
5
  SHA512:
6
- metadata.gz: 4528a007f073ff83ae093ede8d41f79404c2170f89ed98f6fca134efb91d3be0f4060af0c0447dbda52d402a8756c0471229231d8d4f29b33ee9e086b455b121
7
- data.tar.gz: b7028b89bad069d79b9f0bd157977405094f77e5d4b46db6b3227c2b9fe9f4ef17669c31a729963f33f859119341294d75b233d6f9d96327232b50b2c0bdb968
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,6 +1,6 @@
1
1
  require:
2
2
  - standard
3
-
3
+
4
4
  inherit_from:
5
5
  - ./private/rspec.yml
6
6
  - ./private/standard.yml
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  standard: config/base.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.7
6
6
 
7
7
  Layout/LineLength:
8
8
  Max: 120
data/config/rails.yml CHANGED
@@ -11,7 +11,7 @@ inherit_mode:
11
11
  - Exclude
12
12
 
13
13
  AllCops:
14
- TargetRailsVersion: 5.2
14
+ TargetRailsVersion: 6.1
15
15
 
16
16
  Style/AsciiComments:
17
17
  Enabled: false
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_dependency 'rubocop-rails'
31
31
  spec.add_dependency 'rubocop-rspec'
32
- spec.add_dependency 'standard', '~> 0.10.2'
32
+ spec.add_dependency 'standard', '~> 1.0.4'
33
33
 
34
34
  spec.add_development_dependency 'bundler', '~> 2.1'
35
35
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jetrockets
4
4
  module Standard
5
- VERSION = '1.0.8'
5
+ VERSION = '1.0.9'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jetrockets-standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Alexandrov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-25 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
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.10.2
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.10.2
54
+ version: 1.0.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement