rf-stylez 0.7.2.pre → 0.8.0

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: fd9547159d6d79a99473832c2b48ded86d113c51ce489e0ec15257f4adb33e6d
4
- data.tar.gz: 43f177de7916e845a174c799f53839f11f7e677b3ba259da36bb15d54cdad756
3
+ metadata.gz: '028560daa428ff26f3d6f95eb2129152b06c52d88e352f095a1d14a8bb4dedd4'
4
+ data.tar.gz: 833e057600ac68e890d15e788f55bfecb6642d97b3e351a18afd63d18297090b
5
5
  SHA512:
6
- metadata.gz: 2786840e8ddf2c394ac783f3e691fe5114200d741c2b0300aeb3adfe58dd2c52b3ddd6c2cd4320cf61440aebe8107a14021a68dba7defbe6e7c2ac1910e8648e
7
- data.tar.gz: 74b31e7b61a5705ca76d0f86284b912e8d061aa6aa61f518724a244135b3b324561f540947e5c914503b9a667393cadb49d887ccbfe971b416608a2d6aefdd77
6
+ metadata.gz: 93f66865d4ef6e946a0681fc163eb1421e39627fac5d4390f76a6c53cab3d31f3b5b2d1cd856fa9d42ea276285b802b94cb7c52c05fc9b70672cb3d56fcdcb22
7
+ data.tar.gz: 25b9e8915e7a833389f1dc1cd47af550eea60d9a88e4e19d710045a33622b50c2f59f90be6de5107b4ae9240ac2032411f5ebcd2440e2f0f8ca965b545b93197
@@ -3,7 +3,7 @@ version: 2
3
3
  jobs:
4
4
  style_check:
5
5
  docker:
6
- - image: gcr.io/rf-public-images/circlemator:latest
6
+ - image: gcr.io/rf-public-images/circlemator:288c760e2e8a8bd43db86c0470c9ee259367cff3
7
7
  steps:
8
8
  - checkout
9
9
  - run:
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  test:
14
14
  docker:
15
- - image: circleci/ruby:2.5.1
15
+ - image: circleci/ruby:2.7.1
16
16
  steps:
17
17
  - checkout
18
18
  - restore_cache:
@@ -44,7 +44,7 @@ jobs:
44
44
 
45
45
  push_to_rubygems:
46
46
  docker:
47
- - image: circleci/ruby:2.5.1
47
+ - image: circleci/ruby:2.7.1
48
48
  steps:
49
49
  - checkout
50
50
  - run:
@@ -3,7 +3,6 @@
3
3
  require 'rf/stylez/version'
4
4
  require 'rf/stylez/update_check'
5
5
  require 'rubocop'
6
- require 'rubocop/cop/lint/no_env'
7
6
  require 'rubocop/cop/lint/no_json'
8
7
  require 'rubocop/cop/lint/no_http_party'
9
8
  require 'rubocop/cop/lint/obscure'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rf
4
4
  module Stylez
5
- VERSION = '0.7.2.pre'
5
+ VERSION = '0.8.0'
6
6
  end
7
7
  end
@@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = ['rf-stylez']
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_runtime_dependency 'rubocop', '>= 0.59', '< 0.81'
23
- spec.add_runtime_dependency 'rubocop-rails', '~> 2.5.0'
24
- spec.add_runtime_dependency 'rubocop-rspec', '~> 1.39.0'
25
- spec.add_runtime_dependency 'get_env', '0.2.0.pre'
22
+ spec.add_runtime_dependency 'rubocop', '>= 0.81', '< 0.91'
23
+ spec.add_runtime_dependency 'rubocop-rails', '>= 2.5', '< 2.9'
24
+ spec.add_runtime_dependency 'rubocop-rspec', '>= 1.39', '< 1.44'
25
+ spec.add_runtime_dependency 'get_env', '~> 0.2.0'
26
26
  spec.add_runtime_dependency 'semantic_versioning', '~> 0.2'
27
27
 
28
- spec.add_development_dependency 'bundler', '~> 1.10'
28
+ spec.add_development_dependency 'bundler', '~> 2.1'
29
29
  spec.add_development_dependency 'rake', '~> 13.0'
30
30
  spec.add_development_dependency 'rspec', '>= 3.4'
31
31
  spec.add_development_dependency 'byebug'
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
2
+ TargetRubyVersion: 2.7
3
3
  DisabledByDefault: true
4
4
  Include:
5
5
  - '**/*.rb'
@@ -19,6 +19,7 @@ inherit_from:
19
19
  require:
20
20
  - rf/stylez
21
21
  - rubocop-rspec
22
+ - get_env/cops
22
23
 
23
24
  # Custom cops
24
25
  Lint/NoENV:
@@ -77,6 +78,8 @@ Layout/InitialIndentation:
77
78
  Enabled: true
78
79
  Layout/IndentationConsistency:
79
80
  Enabled: true
81
+ Layout/IndentationStyle:
82
+ Enabled: true
80
83
  Layout/FirstHashElementIndentation:
81
84
  Enabled: true
82
85
  Layout/LeadingCommentSpace:
@@ -97,8 +100,6 @@ Layout/SpaceBeforeComma:
97
100
  Enabled: true
98
101
  Layout/SpaceInsideParens:
99
102
  Enabled: true
100
- Layout/Tab:
101
- Enabled: true
102
103
 
103
104
  Naming/MethodName:
104
105
  Enabled: true
@@ -111,6 +112,8 @@ Naming/ConstantName:
111
112
  Naming/FileName:
112
113
  Enabled: true
113
114
 
115
+ Style/EndBlock:
116
+ Enabled: true
114
117
  Style/SpecialGlobalVars:
115
118
  Enabled: true
116
119
  Style/GlobalVars:
@@ -16,6 +16,10 @@ Lint/AssignmentInCondition:
16
16
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
17
17
  Enabled: true
18
18
 
19
+ Lint/BinaryOperatorWithIdenticalOperands:
20
+ Description: 'This cop checks for places where binary operator has identical operands.'
21
+ Enabled: true
22
+
19
23
  Lint/CircularArgumentReference:
20
24
  Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
21
25
  Enabled: true
@@ -52,10 +56,6 @@ Lint/EmptyInterpolation:
52
56
  Description: 'Checks for empty string interpolation.'
53
57
  Enabled: true
54
58
 
55
- Lint/EndInMethod:
56
- Description: 'END blocks should not be placed inside method definitions.'
57
- Enabled: true
58
-
59
59
  Lint/EnsureReturn:
60
60
  Description: 'Do not use return in an ensure block.'
61
61
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
@@ -187,10 +187,6 @@ Lint/UselessAssignment:
187
187
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
188
188
  Enabled: true
189
189
 
190
- Lint/UselessComparison:
191
- Description: 'Checks for comparison of something with itself.'
192
- Enabled: true
193
-
194
190
  Lint/UselessElseWithoutRescue:
195
191
  Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
196
192
  Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rf-stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2.pre
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,62 +16,74 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.59'
19
+ version: '0.81'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.81'
22
+ version: '0.91'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.59'
29
+ version: '0.81'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.81'
32
+ version: '0.91'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop-rails
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 2.5.0
39
+ version: '2.5'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.9'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '2.5'
50
+ - - "<"
45
51
  - !ruby/object:Gem::Version
46
- version: 2.5.0
52
+ version: '2.9'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: rubocop-rspec
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
- - - "~>"
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '1.39'
60
+ - - "<"
52
61
  - !ruby/object:Gem::Version
53
- version: 1.39.0
62
+ version: '1.44'
54
63
  type: :runtime
55
64
  prerelease: false
56
65
  version_requirements: !ruby/object:Gem::Requirement
57
66
  requirements:
58
- - - "~>"
67
+ - - ">="
59
68
  - !ruby/object:Gem::Version
60
- version: 1.39.0
69
+ version: '1.39'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '1.44'
61
73
  - !ruby/object:Gem::Dependency
62
74
  name: get_env
63
75
  requirement: !ruby/object:Gem::Requirement
64
76
  requirements:
65
- - - '='
77
+ - - "~>"
66
78
  - !ruby/object:Gem::Version
67
- version: 0.2.0.pre
79
+ version: 0.2.0
68
80
  type: :runtime
69
81
  prerelease: false
70
82
  version_requirements: !ruby/object:Gem::Requirement
71
83
  requirements:
72
- - - '='
84
+ - - "~>"
73
85
  - !ruby/object:Gem::Version
74
- version: 0.2.0.pre
86
+ version: 0.2.0
75
87
  - !ruby/object:Gem::Dependency
76
88
  name: semantic_versioning
77
89
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +104,14 @@ dependencies:
92
104
  requirements:
93
105
  - - "~>"
94
106
  - !ruby/object:Gem::Version
95
- version: '1.10'
107
+ version: '2.1'
96
108
  type: :development
97
109
  prerelease: false
98
110
  version_requirements: !ruby/object:Gem::Requirement
99
111
  requirements:
100
112
  - - "~>"
101
113
  - !ruby/object:Gem::Version
102
- version: '1.10'
114
+ version: '2.1'
103
115
  - !ruby/object:Gem::Dependency
104
116
  name: rake
105
117
  requirement: !ruby/object:Gem::Requirement
@@ -204,12 +216,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
216
  version: '0'
205
217
  required_rubygems_version: !ruby/object:Gem::Requirement
206
218
  requirements:
207
- - - ">"
219
+ - - ">="
208
220
  - !ruby/object:Gem::Version
209
- version: 1.3.1
221
+ version: '0'
210
222
  requirements: []
211
- rubyforge_project:
212
- rubygems_version: 2.7.7
223
+ rubygems_version: 3.1.2
213
224
  signing_key:
214
225
  specification_version: 4
215
226
  summary: Styles for Rainforest code