radius-spec 0.12.0 → 0.13.0

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: 74f0fd0a301ab4e74f86ed4aa183e94c3cbd5c6c795ea67cf24ac76ec2390a76
4
- data.tar.gz: 43c5ba09b93ff99efb70b05e653dce5e7a7663bcfb567df964a20ee010eca7e9
3
+ metadata.gz: dd8e51d6c7bca9d59eeb8a8e9eebc1a7104ed60b0839652d8ff372a5707e72d1
4
+ data.tar.gz: '092243a6b45a1c67d9c902640bd37dd27bce89889a8acb6616790f62a0a51750'
5
5
  SHA512:
6
- metadata.gz: 62e586e2fdb6396509465475db8d78af5c0e04ae66e8f07a86a740c2537d403490bc55eae9326d4cf4412668b9fd7fc3d82362798fbe0a2f02b5113fc57f62f4
7
- data.tar.gz: 5194070d9b33c0771224abcfb58f7e63a4869680df3bef1e606fb04d6720a8ed44f5cbba8c5d7aad973e8ebb3b5815486c6e6b62ac3b8cceac83d140d3a73b51
6
+ metadata.gz: 95785d4eb21b0906e4ff841fd7b13ad43b0dcc3cfd650b85d6447c8ef626086bde8d12082a042374ab096ea3e3dbd9e9f4a21c3df0ee3d38e171c7e9dad86d24
7
+ data.tar.gz: 195f98d96337f2aa099d525f1ecbbaaa58bae28b501235ec3b0031364882f6a67acb672d51d38c7e887fcb7d9a3b53f486b8ad3fe09f1103a02823f07082582a
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  strategy:
17
17
  matrix:
18
- ruby-version: ['2.5', '2.6', '2.7']
18
+ ruby-version: ['2.7', '3.0']
19
19
 
20
20
  steps:
21
21
  - uses: actions/checkout@v2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Development
2
2
 
3
- [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.9.0...main)
3
+ [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.12.0...main)
4
4
 
5
5
  ### Enhancements
6
6
 
@@ -12,14 +12,21 @@
12
12
 
13
13
  ## 0.12.0 (August 3, 2022)
14
14
 
15
- [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.12.0...0.12.0)
15
+ [Full Changelog](https://github.com/RadiusNetworks/radius-spec/compare/v0.11.0...v0.12.0)
16
16
 
17
17
  ### Enhancements
18
18
 
19
- - Added Dependabot
20
- - Upgraded VCR to 6.0
21
- - Upgrade Rubocop Rails to 2.16
22
- - Upgrade Rubocop to 1.33
19
+ - Upgrade `rubocop` (1.0 Edition 🎉 ) by @jnebeker in https://github.com/RadiusNetworks/radius-spec/pull/33
20
+ - Rubocop rails upgrades by @benreyn in https://github.com/RadiusNetworks/radius-spec/pull/36
21
+ - Upgrade rubocop to Latest by @alexstone in https://github.com/RadiusNetworks/radius-spec/pull/37
22
+ - Upgrade rubocop and rubcop-rails dependecies by @benreyn in https://github.com/RadiusNetworks/radius-spec/pull/39
23
+ - Include model factories in helpers specs by default by @benreyn in https://github.com/RadiusNetworks/radius-spec/pull/40
24
+ - Adds Dependabot to Radius-Spec by @alexstone in https://github.com/RadiusNetworks/radius-spec/pull/42
25
+ - Update vcr requirement from ~> 4.0 to ~> 6.0 by @dependabot in https://github.com/RadiusNetworks/radius-spec/pull/44
26
+ - Update rubocop-rails requirement from ~> 2.13.0 to >= 2.13, < 2.15 by @dependabot in https://github.com/RadiusNetworks/radius-spec/pull/46
27
+ - Update rubocop requirement from ~> 1.25.0 to >= 1.25, < 1.29 by @dependabot in https://github.com/RadiusNetworks/radius-spec/pull/48
28
+ - Update rubocop-rails requirement from >= 2.13, < 2.15 to >= 2.13, < 2.16 by @dependabot in https://github.com/RadiusNetworks/radius-spec/pull/50
29
+ - Update rubocop requirement from >= 1.25, < 1.29 to >= 1.25, < 1.31 by @dependabot in https://github.com/RadiusNetworks/radius-spec/pull/49
23
30
 
24
31
  ### Bug Fixes
25
32
 
data/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  [![Maintainability](https://api.codeclimate.com/v1/badges/701295df43d53e25eafe/maintainability)](https://codeclimate.com/github/RadiusNetworks/radius-spec/maintainability)
4
4
  [![Gem Version](https://badge.fury.io/rb/radius-spec.svg)](https://badge.fury.io/rb/radius-spec)
5
5
 
6
+ [Cop Docs](https://docs.rubocop.org/rubocop/1.42/cops_bundler.html)
7
+
6
8
  Basic RSpec setup and plug-ins for use with Radius Networks Ruby / Rails
7
9
  projects.
8
10
 
data/common_rubocop.yml CHANGED
@@ -139,7 +139,7 @@ Layout/LineLength:
139
139
  - '\A\s*#'
140
140
  # Attempt at trailing comments
141
141
  - '\A.{1,78}\s#\s.*\z'
142
- Max: 100
142
+ Max: 120
143
143
  Exclude:
144
144
  - '**/*.gemspec'
145
145
 
@@ -243,7 +243,7 @@ Metrics/BlockLength:
243
243
  - 'spec/spec_helper.rb'
244
244
  - 'spec/**/*_spec.rb'
245
245
  - 'spec/support/model_factories.rb'
246
- IgnoredMethods:
246
+ AllowedMethods:
247
247
  - 'chdir'
248
248
  - 'describe'
249
249
  - 'refine'
@@ -442,7 +442,7 @@ Style/BlockDelimiters:
442
442
  - subject
443
443
  - tap
444
444
  - watch
445
- IgnoredMethods:
445
+ AllowedMethods:
446
446
  - lambda
447
447
  - proc
448
448
  - it
@@ -865,6 +865,11 @@ Style/WordArray:
865
865
  Style/YodaCondition:
866
866
  Enabled: false
867
867
 
868
+ # Forbids Yoda expressions, i.e. binary operations (using *, +, &, |, and ^ operators)
869
+ # where the order of expression is reversed, eg. 1 + x.
870
+ Style/YodaExpression:
871
+ Enabled: true
872
+
868
873
  # Disabled in 1.21.0. Radius Networks has chosen to enable it.
869
874
  Naming/InclusiveLanguage:
870
875
  Enabled: true
@@ -7,7 +7,7 @@ require 'rspec/rails'
7
7
 
8
8
  RSpec.configure do |config|
9
9
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
10
- config.fixture_path = ::Rails.root.join("spec", "fixtures").to_path
10
+ config.fixture_path = Rails.root.join("spec/fixtures").to_path
11
11
 
12
12
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
13
13
  # examples within a transaction, remove the following line or assign false
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Radius
4
4
  module Spec
5
- VERSION = "0.12.0"
5
+ VERSION = "0.13.0"
6
6
  end
7
7
  end
data/radius-spec.gemspec CHANGED
@@ -32,8 +32,8 @@ Gem::Specification.new do |spec|
32
32
  spec.required_ruby_version = ">= 2.5" # rubocop:disable Gemspec/RequiredRubyVersion
33
33
 
34
34
  spec.add_runtime_dependency "rspec", "~> 3.7"
35
- spec.add_runtime_dependency "rubocop", ">= 1.25", "< 1.33"
36
- spec.add_runtime_dependency "rubocop-rails", ">= 2.13", "< 2.16"
35
+ spec.add_runtime_dependency "rubocop", ">= 1.25", "< 1.57"
36
+ spec.add_runtime_dependency "rubocop-rails", ">= 2.13", "< 2.21"
37
37
 
38
38
  spec.add_development_dependency "bundler", ">= 2.2.10"
39
39
  spec.add_development_dependency "rake", ">= 12.0", "< 14.0"
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.12.0
4
+ version: 0.13.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: 2022-08-03 00:00:00.000000000 Z
12
+ date: 2023-09-07 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.33'
37
+ version: '1.57'
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.33'
47
+ version: '1.57'
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.16'
57
+ version: '2.21'
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.16'
67
+ version: '2.21'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: bundler
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -164,8 +164,8 @@ licenses:
164
164
  - Apache-2.0
165
165
  metadata:
166
166
  bug_tracker_uri: https://github.com/RadiusNetworks/radius-spec/issues
167
- changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.12.0/CHANGELOG.md
168
- source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.12.0
167
+ changelog_uri: https://github.com/RadiusNetworks/radius-spec/blob/v0.13.0/CHANGELOG.md
168
+ source_code_uri: https://github.com/RadiusNetworks/radius-spec/tree/v0.13.0
169
169
  rubygems_mfa_required: 'true'
170
170
  post_install_message:
171
171
  rdoc_options: []
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
- rubygems_version: 3.1.6
185
+ rubygems_version: 3.2.33
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Radius Networks RSpec setup and plug-ins