radius-spec 0.14.0 → 0.15.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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/reviewdog.yml +1 -1
- data/.gitignore +1 -0
- data/Gemfile +5 -0
- data/README.md +12 -5
- data/common_rubocop.yml +11 -10
- data/common_rubocop_rails.yml +19 -1
- data/lib/radius/spec/version.rb +1 -1
- data/radius-spec.gemspec +5 -7
- metadata +15 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13347d596ae275b4dc2f194b835304f1f80764590c24eb3ce4d92c0e4eed4f72
|
4
|
+
data.tar.gz: 486e16c7a3e7ca0cbddb270241caa31369da8d8a2190b4eff5946fece10bfb20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2fcbfe7257e3d24f915e58e74dd6e79db69a239456c1b991a56cc060f5734fbbd8f24c9486f70850297c0b78fad76d72b0c9bbce7e3f0dc36d5b7058d595a23
|
7
|
+
data.tar.gz: 7d0af7678f4390e99e34d576c19401b8cc6abfb3b561b4254e33d80b63dc4e1950e18d57219382e53934bcf8ac4e38b3eda7e04bd53335f29e101e570e2ceaea
|
data/.github/workflows/ci.yml
CHANGED
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -7,6 +7,11 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
7
7
|
# Specify your gem's dependencies in radius-spec.gemspec
|
8
8
|
gemspec
|
9
9
|
|
10
|
+
group :development do
|
11
|
+
gem "bundler", ">= 2.2.10"
|
12
|
+
gem "rake", ">= 12.0", "< 14.0"
|
13
|
+
end
|
14
|
+
|
10
15
|
group :benchmark, optional: true do
|
11
16
|
gem 'activesupport', require: false
|
12
17
|
gem 'benchmark-ips', require: false
|
data/README.md
CHANGED
@@ -781,11 +781,18 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
781
781
|
`rake spec` to run the tests. You can also run `bin/console` for an interactive
|
782
782
|
prompt that will allow you to experiment.
|
783
783
|
|
784
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
784
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
785
|
+
|
786
|
+
To release a new version:
|
787
|
+
- Update the CHANGELOG file with auto-generated release notes from Github (create
|
788
|
+
the next tag in Github releases)
|
789
|
+
- Update the version number in `version.rb`
|
790
|
+
- Commit these changes and push up a branch. Get it approved.
|
791
|
+
- From the updated `main` branch, run `bundle exec rake release`, which will
|
792
|
+
create a git tag for the version, push git commits and tags, and push
|
793
|
+
the `.gem` file to [rubygems.org](https://rubygems.org).
|
794
|
+
- Create a Github release using the tag you created in the first step, and mark
|
795
|
+
it as the latest.
|
789
796
|
|
790
797
|
## Contributing
|
791
798
|
|
data/common_rubocop.yml
CHANGED
@@ -818,27 +818,28 @@ Style/TrailingCommaInArguments:
|
|
818
818
|
# by cutting down on noise when commas are appended.
|
819
819
|
#
|
820
820
|
# Configuration parameters: EnforcedStyleForMultiline.
|
821
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
821
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma, diff_comma
|
822
822
|
Style/TrailingCommaInArrayLiteral:
|
823
823
|
Details: |
|
824
824
|
|
825
|
-
Always use trailing commas for multiline arrays
|
826
|
-
easier to read by cutting down on
|
827
|
-
simplifies adding, removing, and
|
828
|
-
|
825
|
+
Always use trailing commas for multiline arrays, but allow no trailing comma
|
826
|
+
for single line arrays. This makes git diffs easier to read by cutting down on
|
827
|
+
noise when commas are appended. It also simplifies adding, removing, and
|
828
|
+
re-arranging the elements.
|
829
|
+
EnforcedStyleForMultiline: diff_comma
|
829
830
|
|
830
831
|
# Always use trailing commas for multiline. This makes git diffs easier to read
|
831
832
|
# by cutting down on noise when commas are appended.
|
832
833
|
#
|
833
834
|
# Configuration parameters: EnforcedStyleForMultiline.
|
834
|
-
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
835
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma, diff_comma
|
835
836
|
Style/TrailingCommaInHashLiteral:
|
836
837
|
Details: |
|
837
838
|
|
838
|
-
Always use trailing commas for multiline hashes
|
839
|
-
easier to read by cutting down on noise
|
840
|
-
simplifies adding, removing, and re-arranging the elements.
|
841
|
-
EnforcedStyleForMultiline:
|
839
|
+
Always use trailing commas for multiline hashes, but allows no trailing commas for
|
840
|
+
single line hashes. This makes git diffs easier to read by cutting down on noise
|
841
|
+
when commas are appended. It also simplifies adding, removing, and re-arranging the elements.
|
842
|
+
EnforcedStyleForMultiline: diff_comma
|
842
843
|
|
843
844
|
# Don't combine && & || inside the same `unless` guard clause.
|
844
845
|
Style/UnlessLogicalOperators:
|
data/common_rubocop_rails.yml
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
|
+
- rubocop-rails
|
3
|
+
- rubocop-rspec
|
4
|
+
- rubocop-rspec_rails
|
2
5
|
|
3
6
|
inherit_mode:
|
4
7
|
merge:
|
@@ -23,6 +26,15 @@ AllCops:
|
|
23
26
|
Style/Documentation:
|
24
27
|
Enabled: false
|
25
28
|
|
29
|
+
RSpecRails:
|
30
|
+
Enabled: false
|
31
|
+
|
32
|
+
RSpec:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
RSpec/Focus:
|
36
|
+
Enabled: true
|
37
|
+
|
26
38
|
# Rails foreign keys and indexes can get long. We want to ignore our annotation
|
27
39
|
# comments which are for these entries.
|
28
40
|
#
|
@@ -198,6 +210,12 @@ Rails/IndexWith:
|
|
198
210
|
Rails/I18nLocaleTexts:
|
199
211
|
Enabled: false
|
200
212
|
|
213
|
+
# This cop enforced a style that helps prevent ambigous calls, which we already use throughout the codebase.
|
214
|
+
# The cop doesn't however, account for complex calls like `.order('site_id NULLS FIRST', :description)`.
|
215
|
+
# Team decided to disable.
|
216
|
+
Rails/OrderArguments:
|
217
|
+
Enabled: false
|
218
|
+
|
201
219
|
# This cop enforces the use of ids over pluck(:id) and pluck(primary_key).
|
202
220
|
# https://rails.rubystyle.guide/#ids
|
203
221
|
Rails/PluckId:
|
data/lib/radius/spec/version.rb
CHANGED
data/radius-spec.gemspec
CHANGED
@@ -29,12 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
-
spec.required_ruby_version = ">=
|
32
|
+
spec.required_ruby_version = ">= 3.1" # rubocop:disable Gemspec/RequiredRubyVersion
|
33
33
|
|
34
|
-
spec.
|
35
|
-
spec.
|
36
|
-
spec.
|
37
|
-
|
38
|
-
spec.add_development_dependency "bundler", ">= 2.2.10"
|
39
|
-
spec.add_development_dependency "rake", ">= 12.0", "< 14.0"
|
34
|
+
spec.add_dependency "rspec", "~> 3.7"
|
35
|
+
spec.add_dependency "rubocop", ">= 1.25", "< 1.82"
|
36
|
+
spec.add_dependency "rubocop-rails", ">= 2.13", "< 2.34"
|
37
|
+
spec.add_dependency "rubocop-rspec_rails", "~> 2.31"
|
40
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.
|
4
|
+
version: 0.15.0
|
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: 2025-10-01 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.82'
|
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.82'
|
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.34'
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
60
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -64,41 +64,21 @@ dependencies:
|
|
64
64
|
version: '2.13'
|
65
65
|
- - "<"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '2.
|
67
|
+
version: '2.34'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
69
|
+
name: rubocop-rspec_rails
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 2.2.10
|
75
|
-
type: :development
|
76
|
-
prerelease: false
|
77
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: 2.2.10
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: rake
|
84
|
-
requirement: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '12.0'
|
89
|
-
- - "<"
|
72
|
+
- - "~>"
|
90
73
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
92
|
-
type: :
|
74
|
+
version: '2.31'
|
75
|
+
type: :runtime
|
93
76
|
prerelease: false
|
94
77
|
version_requirements: !ruby/object:Gem::Requirement
|
95
78
|
requirements:
|
96
|
-
- - "
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '12.0'
|
99
|
-
- - "<"
|
79
|
+
- - "~>"
|
100
80
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
81
|
+
version: '2.31'
|
102
82
|
description: Standard RSpec setup and a collection of plug-ins to help improve specs.
|
103
83
|
email:
|
104
84
|
- support@radiusnetworks.com
|
@@ -164,8 +144,8 @@ licenses:
|
|
164
144
|
- Apache-2.0
|
165
145
|
metadata:
|
166
146
|
bug_tracker_uri: https://github.com/RadiusNetworks/radius-spec/issues
|
167
|
-
changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.
|
168
|
-
source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.
|
147
|
+
changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.15.0/CHANGELOG.md
|
148
|
+
source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.15.0
|
169
149
|
rubygems_mfa_required: 'true'
|
170
150
|
post_install_message:
|
171
151
|
rdoc_options: []
|
@@ -175,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
155
|
requirements:
|
176
156
|
- - ">="
|
177
157
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
158
|
+
version: '3.1'
|
179
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
160
|
requirements:
|
181
161
|
- - ">="
|