Releases: RadiusNetworks/radius-spec
Releases · RadiusNetworks/radius-spec
v0.14.0
What's Changed
- Update rubocop-rails requirement from >= 2.13, < 2.21 to >= 2.13, < 2.22 by @dependabot in #68
- Disabling
Rails/RedundantActiveRecordAllMethod
cop by @alexstone in #69 - Update rubocop requirement from >= 1.25, < 1.57 to >= 1.25, < 1.58 by @dependabot in #70
- Update rubocop requirement from >= 1.25, < 1.58 to >= 1.25, < 1.59 by @dependabot in #72
- Update rubocop requirement from >= 1.25, < 1.59 to >= 1.25, < 1.60 by @dependabot in #73
- Update rubocop requirement from >= 1.25, < 1.60 to >= 1.25, < 1.61 by @dependabot in #74
- Update rubocop requirement from >= 1.25, < 1.61 to >= 1.25, < 1.62 by @dependabot in #75
- Updates CHANGELOG with 0.14.0 release notes by @corrieleech in #77
- Updates version to 0.14.0 by @corrieleech in #78
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Removes Ruby 2.5 from list of versions to run by @corrieleech in #60
- Update rubocop requirement from >= 1.25, < 1.43 to >= 1.25, < 1.46 by @dependabot in #57
- Update rubocop-rails requirement from >= 2.13, < 2.18 to >= 2.13, < 2.19 by @dependabot in #58
- Update rubocop requirement from >= 1.25, < 1.46 to >= 1.25, < 1.53 by @dependabot in #61
- Remove Ruby 2.6 from CI workflow. by @jcavena in #64
- Update rubocop-rails requirement from >= 2.13, < 2.20 to >= 2.13, < 2.21 by @dependabot in #62
- Update rubocop requirement from >= 1.25, < 1.53 to >= 1.25, < 1.54 by @dependabot in #63
- Update rubocop requirement from >= 1.25, < 1.54 to >= 1.25, < 1.55 by @dependabot in #65
- Update rubocop requirement from >= 1.25, < 1.55 to >= 1.25, < 1.56 by @dependabot in #66
- Update rubocop requirement from >= 1.25, < 1.56 to >= 1.25, < 1.57 by @dependabot in #67
New Contributors
- @corrieleech made their first contribution in #60
- @jcavena made their first contribution in #64
Full Changelog: v0.12.1...v0.13.0
v0.12.0
What's Changed
- Upgrade
rubocop
(1.0 Edition 🎉 ) by @jnebeker in #33 - Rubocop rails upgrades by @benreyn in #36
- Upgrade rubocop to Latest by @alexstone in #37
- Upgrade rubocop and rubcop-rails dependecies by @benreyn in #39
- Include model factories in helpers specs by default by @benreyn in #40
- Adds Dependabot to Radius-Spec by @alexstone in #42
- Update vcr requirement from ~> 4.0 to ~> 6.0 by @dependabot in #44
- Update rubocop-rails requirement from ~> 2.13.0 to >= 2.13, < 2.15 by @dependabot in #46
- Update rubocop requirement from ~> 1.25.0 to >= 1.25, < 1.29 by @dependabot in #48
- Update rubocop-rails requirement from >= 2.13, < 2.15 to >= 2.13, < 2.16 by @dependabot in #50
- Update rubocop requirement from >= 1.25, < 1.29 to >= 1.25, < 1.31 by @dependabot in #49
New Contributors
- @alexstone made their first contribution in #37
- @dependabot made their first contribution in #44
Full Changelog: v0.11.0...v0.12.0
0.11.0 (January 21, 2022)
Enhancements
- Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena, Sam Kim)
- Enable
Lint/NoReturnInBeginEndBlocks
by default - Set
AllowHttpProtocol: false
forBundler/InsecureProtocolSource
cop - Set
AllowNil: false
forLint/SuppressedException
cop - Enable
Naming/BlockForwarding
cop for future Ruby 3.1 usage - Disallow Ruby 3
Style/NumberedParameters
- Enable
Style/StringChars
by default - Set
AllowMethodsWithArguments: true
forStyle/SymbolProc
cop - Disallow combined
&&
and||
in singleunless
clauses - Enable
Naming/InclusiveLanguage
by default
- Enable
- Adjust common Rubocop-Rails configuration (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, Sam Kim)
- Enable
Rails/EnvironmentVariableAccess
(AllowReads
totrue
) - Changed
Rails/FindBy
:IgnoreWhereFirst
tofalse
- Enable
Rails/ReversibleMigrationMethodDefinition
- Enable
- Upgrade to Rubocop Rails 2.12.x (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, Sam Kim)
- Upgrade to Rubocop Rails 2.13.x (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, Sam Kim)
- Upgrade to Rubocop 1.25.x (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, Sam Kim, JC Avena, Eric Ouellette, Aaron Hill)
- Include model factory helpers in helper specs by default (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, JC Avena, Eric Ouellette)
Bug Fixes
None
0.10.0 (October 18, 2021)
Enhancements
- Upgrade to Rubocop Rails 2.8.x (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena, Sam Kim, Alex
Stone #30, #32) - Adjust common Rubocop Rails configuration (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena,
Sam Kim, Alex Stone #30, #32)- Enable
Rails/AttributeDefaultBlockValue
by default - Enable
Rails/ArelStar
by default - Enable
Rails/DefaultScope
by default - Enable
Rails/FindById
by default - Enable
Rails/PluckId
by default - Enable
Rails/WhereEquals
by default - Use the more aggressive
aggressive
check forRails/PluckInWhere
- Use the more aggressive
aggressive
check forRails/ShortI18n
- Switch to new
AllowedMethods
attribute name forRails/SkipsModelValidations
- Disable
Rails/SquishedSQLHeredocs
by default
- Enable
- Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, JC Avena, Sam
Kim #32, #34)- Enable
Style/ClassMethodsDefinitions
by default - Enable
Style/CombinableLoops
by default - Enable
Style/KeywordParametersOrder
by default - Enable
Style/RedundantSelfAssignment
by default - Enable
Style/SoleNestedConditional
by default - Enable
Lint/DuplicateRequire
by default - Enable
Lint/EmptyFile
by default - Enable
Lint/TrailingCommaInAttributeDeclaration
by default - Enable
Lint/UselessMethodDefinition
by default - Exclude the following testing methods from
Metrics/BlockLength
- 'describe'
- 'shared_context'
- 'shared_examples'
- 'RSpec.describe'
- 'RSpec.shared_context'
- 'RSpec.shared_examples'
- Enable
Bug Fixes
None
0.9.0 (September 30, 2021)
Enhancements
- Upgrade to Rubocop 0.89.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker, JC Avena, Sam Kim #27) - Upgrade to Rubocop Rails 2.6.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker, JC Avena, Sam Kim #27) - Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, Ben Reynolds,
Chris Hoffman, James Nebeker, JC Avena, Sam Kim #27)- Configure multiple metrics to use the
CountAsOne
option for array, hash
and heredocs - Disable
Style/SlicingWithRange
as we do not care about the style
- Configure multiple metrics to use the
- Includes new
shared_example
/shared_context
inclusion aliases
has_behavior
andit_has_behavior
for behavior driven development language
(Aaron Kromer, Ben Reynolds #28)
Bug Fixes
None
Breaking Changes
- Change the default behavior from
:warn
to:raise
for RSpec expectations
behavioron_potential_false_positives
(Aaron Kromer, Ben Reynolds #28)
0.8.0 (August 26, 2021)
Enhancements
- Upgrade to Rubocop 0.82.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker, JC Avena #26) - Upgrade to Rubocop Rails 2.5.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker, JC Avena #26) - Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, Ben Reynolds,
Chris Hoffman, James Nebeker, JC Avena #26)- Rename metrics/configuration parameters per version upgrade requirements
- Use the stricter
always_true
check forStyle/FrozenStringLiteralComment
- Opt-in to new cops/checks behaving per their default settings
- Adjust common Rubocop Rails configuration (Aaron Hill, Aaron Kromer, Ben
Reynolds, Chris Hoffman, James Nebeker, JC Avena #26)- Disable
Rails/IndexBy
by default - Disable
Rails/IndexWith
by default
- Disable
Bug Fixes
None
0.7.0 (July 23, 2021)
Enhancements
- Upgrade to Rubocop 0.73.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker #24) - Upgrade to Rubocop Rails 2.2.x (Aaron Hill, Aaron Kromer, Ben Reynolds, Chris
Hoffman, James Nebeker #24) - Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, Ben Reynolds,
Chris Hoffman, James Nebeker #24)- Target Ruby 2.7 by default
- Enable
Lint/HeredocMethodCallPosition
by default - Use
StandardError
for the suggested parent classes of errors - Bump metric check maximums to provide a little more wiggle room
- Disable
Naming/RescuedExceptionsVariableName
by default
- Adjust common Rubocop Rails configuration (Aaron Hill, Aaron Kromer, Ben
Reynolds, Chris Hoffman, James Nebeker #24)- Disable
Rails/IgnoredSkipActionFilterOption
by default
- Disable
Bug Fixes
None
0.6.0 (August 6, 2020)
Enhancements
- Exclude more bundler binstubs from Rubocop (Aaron Kromer, #18, #20)
- Exclude
chdir
andCapybara.register_driver
configuration blocks from
Metrics/BlockLength
checks (Aaron Kromer, #18) - Exclude gem specs from block and line length metrics (Aaron Kromer, #20)
- Standardize on key style of
Layout/AlignHash
(Aaron Kromer, #18) - Upgrade to Rubocop 0.62.x (Aaron Kromer, #21)
Bug Fixes
None
0.5.0 (September 26, 2018)
Enhancements
- Add common VCR configuration (Aaron Kromer, #16)
- Filters out
Authorization
headers - Filters out the following sensitive/environment varying
ENV
values, as
well as their URL and form encoded variants:AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
RADIUS_OAUTH_PROVIDER_APP_ID
RADIUS_OAUTH_PROVIDER_APP_SECRET
RADIUS_OAUTH_PROVIDER_URL
- Filters out
- Add "temp file" helpers for working with file stubs (Aaron Kromer, #15)
- Upgrade to Rubocop 0.59.x (Aaron Kromer, #14)
- Adjust common Rubocop configuration (Aaron Kromer, #14)
Layout/EmptyLineAfterGuardClause
is enabled by default- Enable
Rails/SaveBang
to highlight potential lurking issues - Expand
Rails/FindBy
andRails/FindEach
to check all/app
and/lib
- Add more functional methods
default_scope
filter_sensitive_data
- Add
build!
factory method to complimentbuild
to help resolving Rubocop
violations forRails/SaveBang
(Aaron Kromer, #14) - Load model factory for specs tagged with 'type: :mailer' (Aaron Kromer, #11)
- Include the following negated RSpec matchers (Aaron Kromer, #12)
exclude
/excluding
not_eq
not_change
not_raise_error
/not_raise_exception
Bug Fixes
- Fix
NoMethodError: undefined method 'strip'
when the fixture path is a
Pathname
object (Aaron Kromer, #13)