radius-spec 0.15.0 → 0.15.1
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 +4 -4
- data/common_rubocop_rails.yml +15 -3
- data/lib/radius/spec/version.rb +1 -1
- data/radius-spec.gemspec +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11d5afd163004c770b391ddaa8b133e30382f138dd3dd84305110da2e12cec9d
|
|
4
|
+
data.tar.gz: 40f4a119924a39691ebf6536859d25c070ece461f2e076414f4a9e36023ccc09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 139670b6368055942aabd6c739c98d4fa9156db3311713df9b91dfc7442b18bc11b8e732f752a5929fa793dca5e8e9f0fd8bd7919a6e15a4b671f6382bee498f
|
|
7
|
+
data.tar.gz: 5ae9482c86f52ca6e8b7be513403211ab63b524ec1e99031461fd0347e6ba75d3098a8268127f26861342ea3d6169f09f8527236c36dff9a58f50480aba3cf57
|
data/common_rubocop_rails.yml
CHANGED
|
@@ -87,14 +87,21 @@ Metrics/BlockLength:
|
|
|
87
87
|
# We do believe that the default size of 10, which is what we explicitly
|
|
88
88
|
# configure below so there's no confusion, is a good general limit to help
|
|
89
89
|
# encourage a balance between terseness and procedural code. Thus we do not
|
|
90
|
-
# want to raise the limit, instead we just want to exclude these controllers.
|
|
90
|
+
# want to raise the limit, instead we just want to exclude these controllers. (@cupakromer 2019)
|
|
91
|
+
#
|
|
92
|
+
# We have since raised this limit to 20. We found that too often this cop was being
|
|
93
|
+
# imposed on methods that eked above 10 lines, and the resulting refactoring created
|
|
94
|
+
# code that was less readable overall. Some of us felt the method should be removed
|
|
95
|
+
# entirely, or made significantly larger (trusting devs to self-regulate),
|
|
96
|
+
# but we compromised by doubling it to 20 instead. Devs should still be encouraged to
|
|
97
|
+
# be pragmatic about this, and to see this as a guardrail and not an absolute limit. (@armahillo 2026)
|
|
91
98
|
#
|
|
92
99
|
# At this time there is no way for us to exclude just the common controller
|
|
93
|
-
# actions / *_params methods so we exclude the entire file.
|
|
100
|
+
# actions / *_params methods so we exclude the entire file. (@cupakromer 2019)
|
|
94
101
|
#
|
|
95
102
|
# Configuration parameters: CountComments.
|
|
96
103
|
Metrics/MethodLength:
|
|
97
|
-
Max:
|
|
104
|
+
Max: 20
|
|
98
105
|
Exclude:
|
|
99
106
|
- 'app/controllers/**/*_controller.rb'
|
|
100
107
|
|
|
@@ -123,6 +130,11 @@ Rails/CreateTableWithTimestamps:
|
|
|
123
130
|
Rails/DefaultScope:
|
|
124
131
|
Enabled: true
|
|
125
132
|
|
|
133
|
+
# This cop checks for usage of Rails.env.foo? and prefers it to be replaced with Feature Flags. Since our team
|
|
134
|
+
# uses Rails.env.foo rarely in configuration files, this isn't a problem we need to have a cop in place for.
|
|
135
|
+
Rails/Env:
|
|
136
|
+
Enabled: false
|
|
137
|
+
|
|
126
138
|
# We were originally going to disable this, but after much discussion agreed that enabling
|
|
127
139
|
# this cop with AllowReads: true should be relatively painless.
|
|
128
140
|
Rails/EnvironmentVariableAccess:
|
data/lib/radius/spec/version.rb
CHANGED
data/radius-spec.gemspec
CHANGED
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
spec.required_ruby_version = ">= 3.1" # rubocop:disable Gemspec/RequiredRubyVersion
|
|
33
33
|
|
|
34
34
|
spec.add_dependency "rspec", "~> 3.7"
|
|
35
|
-
spec.add_dependency "rubocop", ">= 1.25", "< 1.
|
|
36
|
-
spec.add_dependency "rubocop-rails", ">= 2.13", "< 2.
|
|
35
|
+
spec.add_dependency "rubocop", ">= 1.25", "< 1.83"
|
|
36
|
+
spec.add_dependency "rubocop-rails", ">= 2.13", "< 2.35"
|
|
37
37
|
spec.add_dependency "rubocop-rspec_rails", "~> 2.31"
|
|
38
38
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: radius-spec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Radius Networks
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-03-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -34,7 +34,7 @@ dependencies:
|
|
|
34
34
|
version: '1.25'
|
|
35
35
|
- - "<"
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: '1.
|
|
37
|
+
version: '1.83'
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -44,7 +44,7 @@ dependencies:
|
|
|
44
44
|
version: '1.25'
|
|
45
45
|
- - "<"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '1.
|
|
47
|
+
version: '1.83'
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: rubocop-rails
|
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -54,7 +54,7 @@ dependencies:
|
|
|
54
54
|
version: '2.13'
|
|
55
55
|
- - "<"
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: '2.
|
|
57
|
+
version: '2.35'
|
|
58
58
|
type: :runtime
|
|
59
59
|
prerelease: false
|
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -64,7 +64,7 @@ dependencies:
|
|
|
64
64
|
version: '2.13'
|
|
65
65
|
- - "<"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: '2.
|
|
67
|
+
version: '2.35'
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: rubocop-rspec_rails
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -144,8 +144,8 @@ licenses:
|
|
|
144
144
|
- Apache-2.0
|
|
145
145
|
metadata:
|
|
146
146
|
bug_tracker_uri: https://github.com/RadiusNetworks/radius-spec/issues
|
|
147
|
-
changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.15.
|
|
148
|
-
source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.15.
|
|
147
|
+
changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.15.1/CHANGELOG.md
|
|
148
|
+
source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.15.1
|
|
149
149
|
rubygems_mfa_required: 'true'
|
|
150
150
|
post_install_message:
|
|
151
151
|
rdoc_options: []
|
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
162
|
- !ruby/object:Gem::Version
|
|
163
163
|
version: '0'
|
|
164
164
|
requirements: []
|
|
165
|
-
rubygems_version: 3.3.
|
|
165
|
+
rubygems_version: 3.3.27
|
|
166
166
|
signing_key:
|
|
167
167
|
specification_version: 4
|
|
168
168
|
summary: Radius Networks RSpec setup and plug-ins
|