jetrockets-standard 1.0.8 → 1.2.1

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: 87c98f9946d08224928424b6006439907e78c03f72aaa1b2498bef902d65df6d
4
- data.tar.gz: 414077ab24afe511fc80f71c98ac50f0a7c77350be6e07bbbef9f01d51990731
3
+ metadata.gz: 985b288e63e623f9787c5ebc16dc7187aecbb7c354f1114d091bc77e0591d112
4
+ data.tar.gz: af67af937eeb22bfdaf2a5eff5e1db3eec9c9483fddc8805d24257d9c71b77a6
5
5
  SHA512:
6
- metadata.gz: 4528a007f073ff83ae093ede8d41f79404c2170f89ed98f6fca134efb91d3be0f4060af0c0447dbda52d402a8756c0471229231d8d4f29b33ee9e086b455b121
7
- data.tar.gz: b7028b89bad069d79b9f0bd157977405094f77e5d4b46db6b3227c2b9fe9f4ef17669c31a729963f33f859119341294d75b233d6f9d96327232b50b2c0bdb968
6
+ metadata.gz: 373fb762b20c12ceb6b5399e361b339ff3537f0b2738a09b052a298065fea3a420b703ca3a8478ec79ee7e6f6cc246289cc7f357765d3524e71c2e1ec79b6ed2
7
+ data.tar.gz: ad8286fc7f7c55bfe6a84b031dc529add35b46e93b8310ca15d03ca22c71d992d45a7b0ac876bc44f7edf662d4eab193b7faf8b44a4e01f184fd54826f13403d
data/.gitignore CHANGED
@@ -13,3 +13,4 @@
13
13
  Gemfile.lock
14
14
  Gemfile.local
15
15
  *.gem
16
+ .idea
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
@@ -1,4 +1,131 @@
1
1
  require:
2
2
  - rubocop-rspec
3
3
 
4
- # Place your custom configration for RSpec here
4
+ RSpec/AnyInstance:
5
+ Enabled: true
6
+
7
+ RSpec/AroundBlock:
8
+ Enabled: true
9
+
10
+ RSpec/Be:
11
+ Enabled: true
12
+
13
+ RSpec/BeEql:
14
+ Enabled: true
15
+
16
+ RSpec/ContextMethod:
17
+ Enabled: true
18
+
19
+ RSpec/DescribeClass:
20
+ Enabled: true
21
+
22
+ RSpec/DescribeMethod:
23
+ Enabled: true
24
+
25
+ RSpec/DescribeSymbol:
26
+ Enabled: true
27
+
28
+ RSpec/EmptyExampleGroup:
29
+ Enabled: true
30
+
31
+ RSpec/EmptyHook:
32
+ Enabled: true
33
+
34
+ RSpec/EmptyLineAfterExample:
35
+ Enabled: true
36
+
37
+ RSpec/EmptyLineAfterExampleGroup:
38
+ Enabled: true
39
+
40
+ RSpec/EmptyLineAfterFinalLet:
41
+ Enabled: true
42
+
43
+ RSpec/EmptyLineAfterHook:
44
+ Enabled: true
45
+
46
+ RSpec/EmptyLineAfterSubject:
47
+ Enabled: true
48
+
49
+ RSpec/ExampleWithoutDescription:
50
+ Enabled: true
51
+
52
+ RSpec/ExampleWording:
53
+ Enabled: true
54
+
55
+ RSpec/ExpectActual:
56
+ Enabled: true
57
+
58
+ ExpectChange:
59
+ Enabled: true
60
+
61
+ ExpectInHook:
62
+ Enabled: true
63
+
64
+ RSpec/ExpectOutput:
65
+ Enabled: true
66
+
67
+ RSpec/FilePath:
68
+ Enabled: true
69
+
70
+ RSpec/HooksBeforeExamples:
71
+ Enabled: true
72
+
73
+ RSpec/ImplicitExpect:
74
+ Enabled: true
75
+
76
+ RSpec/ImplicitSubject:
77
+ Enabled: true
78
+
79
+ RSpec/InstanceVariable:
80
+ Enabled: true
81
+
82
+ RSpec/ItBehavesLike:
83
+ Enabled: true
84
+
85
+ RSpec/IteratedExpectation:
86
+ Enabled: true
87
+
88
+ RSpec/LeadingSubject:
89
+ Enabled: true
90
+
91
+ RSpec/LetBeforeExamples:
92
+ Enabled: true
93
+
94
+ RSpec/LetSetup:
95
+ Enabled: true
96
+
97
+ RSpec/MissingExampleGroupArgument:
98
+ Enabled: true
99
+
100
+ RSpec/MultipleDescribes:
101
+ Enabled: true
102
+
103
+ RSpec/MultipleSubjects:
104
+ Enabled: true
105
+
106
+ RSpec/NotToNot:
107
+ Enabled: true
108
+
109
+ RSpec/ReceiveCounts:
110
+ Enabled: true
111
+
112
+ RSpec/ReceiveNever:
113
+ Enabled: true
114
+
115
+ RSpec/ScatteredLet:
116
+ Enabled: true
117
+
118
+ RSpec/ScatteredSetup:
119
+ Enabled: true
120
+
121
+ RSpec/UnspecifiedException:
122
+ Enabled: true
123
+
124
+ RSpec/VariableDefinition:
125
+ Enabled: true
126
+
127
+ RSpec/VariableName:
128
+ Enabled: true
129
+
130
+ RSpec/VoidExpect:
131
+ Enabled: true
@@ -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
@@ -23,7 +23,7 @@ Style/Documentation:
23
23
  Enabled: false
24
24
 
25
25
  Style/NumericPredicate:
26
- EnforcedStyle: comparison
26
+ EnforcedStyle: predicate
27
27
 
28
28
  Layout/SpaceInsideHashLiteralBraces:
29
29
  EnforcedStyle: space
@@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ['lib']
29
29
 
30
30
  spec.add_dependency 'rubocop-rails'
31
- spec.add_dependency 'rubocop-rspec'
32
- spec.add_dependency 'standard', '~> 0.10.2'
31
+ spec.add_dependency 'rubocop-rspec', '~> 2.7.0'
32
+ spec.add_dependency 'standard', '~> 1.6.0'
33
33
 
34
34
  spec.add_development_dependency 'bundler', '~> 2.1'
35
35
  spec.add_development_dependency 'rake', '~> 13.0'
36
- spec.add_development_dependency 'rspec', '~> 3.9'
36
+ spec.add_development_dependency 'rspec', '~> 3.10'
37
37
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jetrockets
4
4
  module Standard
5
- VERSION = '1.0.8'
5
+ VERSION = '1.2.1'
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.2.1
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: 2020-12-25 00:00:00.000000000 Z
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-rails
@@ -28,30 +28,30 @@ dependencies:
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: '0'
33
+ version: 2.7.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: '0'
40
+ version: 2.7.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.10.2
47
+ version: 1.6.0
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.6.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,15 +86,15 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.9'
89
+ version: '3.10'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.9'
97
- description:
96
+ version: '3.10'
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.1.4
143
- signing_key:
142
+ rubygems_version: 3.1.6
143
+ signing_key:
144
144
  specification_version: 4
145
145
  summary: Standard RuboCop configuration for JetRockets with cookies.
146
146
  test_files: []