- TODO
- TODO
- Update rubocop-rails requirement from >= 2.13, < 2.21 to >= 2.13, < 2.22 by @dependabot in #68
- Disabling
Rails/RedundantActiveRecordAllMethodcop 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
- 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
Full Changelog: https://github.com/RadiusNetworks/radius-spec/compare/v0.12.1...v0.13.0
- 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
None
- Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena, Sam Kim)
- Enable
Lint/NoReturnInBeginEndBlocksby default - Set
AllowHttpProtocol: falseforBundler/InsecureProtocolSourcecop - Set
AllowNil: falseforLint/SuppressedExceptioncop - Enable
Naming/BlockForwardingcop for future Ruby 3.1 usage - Disallow Ruby 3
Style/NumberedParameters - Enable
Style/StringCharsby default - Set
AllowMethodsWithArguments: trueforStyle/SymbolProccop - Disallow combined
&&and||in singleunlessclauses - Enable
Naming/InclusiveLanguageby default
- Enable
- Adjust common Rubocop-Rails configuration (Alex Stone, James Nebeker, Aaron Kromer, Ben Reynolds, Sam Kim)
- Enable
Rails/EnvironmentVariableAccess(AllowReadstotrue) - Changed
Rails/FindBy:IgnoreWhereFirsttofalse - 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)
None
- 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/AttributeDefaultBlockValueby default - Enable
Rails/ArelStarby default - Enable
Rails/DefaultScopeby default - Enable
Rails/FindByIdby default - Enable
Rails/PluckIdby default - Enable
Rails/WhereEqualsby default - Use the more aggressive
aggressivecheck forRails/PluckInWhere - Use the more aggressive
aggressivecheck forRails/ShortI18n - Switch to new
AllowedMethodsattribute name forRails/SkipsModelValidations - Disable
Rails/SquishedSQLHeredocsby default
- Enable
- Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, JC Avena, Sam
Kim #32, #34)
- Enable
Style/ClassMethodsDefinitionsby default - Enable
Style/CombinableLoopsby default - Enable
Style/KeywordParametersOrderby default - Enable
Style/RedundantSelfAssignmentby default - Enable
Style/SoleNestedConditionalby default - Enable
Lint/DuplicateRequireby default - Enable
Lint/EmptyFileby default - Enable
Lint/TrailingCommaInAttributeDeclarationby default - Enable
Lint/UselessMethodDefinitionby default - Exclude the following testing methods from
Metrics/BlockLength- 'describe'
- 'shared_context'
- 'shared_examples'
- 'RSpec.describe'
- 'RSpec.shared_context'
- 'RSpec.shared_examples'
- Enable
None
- 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
CountAsOneoption for array, hash and heredocs - Disable
Style/SlicingWithRangeas we do not care about the style
- Configure multiple metrics to use the
- Includes new
shared_example/shared_contextinclusion aliaseshas_behaviorandit_has_behaviorfor behavior driven development language (Aaron Kromer, Ben Reynolds #28)
None
- Change the default behavior from
:warnto:raisefor RSpec expectations behavioron_potential_false_positives(Aaron Kromer, Ben Reynolds #28)
- 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_truecheck 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/IndexByby default - Disable
Rails/IndexWithby default
- Disable
None
- 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/HeredocMethodCallPositionby default - Use
StandardErrorfor the suggested parent classes of errors - Bump metric check maximums to provide a little more wiggle room
- Disable
Naming/RescuedExceptionsVariableNameby default
- Adjust common Rubocop Rails configuration (Aaron Hill, Aaron Kromer, Ben
Reynolds, Chris Hoffman, James Nebeker #24)
- Disable
Rails/IgnoredSkipActionFilterOptionby default
- Disable
None
- Exclude more bundler binstubs from Rubocop (Aaron Kromer, #18, #20)
- Exclude
chdirandCapybara.register_driverconfiguration blocks fromMetrics/BlockLengthchecks (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)
None
- Add common VCR configuration (Aaron Kromer, #16)
- Filters out
Authorizationheaders - Filters out the following sensitive/environment varying
ENVvalues, as well as their URL and form encoded variants:AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYGOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETRADIUS_OAUTH_PROVIDER_APP_IDRADIUS_OAUTH_PROVIDER_APP_SECRETRADIUS_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/EmptyLineAfterGuardClauseis enabled by default- Enable
Rails/SaveBangto highlight potential lurking issues - Expand
Rails/FindByandRails/FindEachto check all/appand/lib - Add more functional methods
default_scopefilter_sensitive_data
- Add
build!factory method to complimentbuildto 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/excludingnot_eqnot_changenot_raise_error/not_raise_exception
- Fix
NoMethodError: undefined method 'strip'when the fixture path is aPathnameobject (Aaron Kromer, #13)
- Upgrade to Rubocop 0.58.x (Aaron Kromer, #10)
- Add more custom extra details for customized cops (Aaron Kromer, #10)
- Adjust common Rubocop configuration
- Disable
Naming/BinaryOperatorParameterName(Aaron Kromer, #7) - Disable
Style/RedundantReturn(Aaron Kromer, #7) - Allow optional leading underscores for memoized instance variable names to support modules wanting to reduce conflicts / collisions. (Aaron Kromer, #10)
- Disable
- Adjust common Rubocop Rails configuration (Aaron Kromer, #7)
- Exclude Rails controllers from Rubocop's
Metrics/MethodLengthdue torespond_to/formatand permitted params methods - Disable
Rails/HasAndBelongsToMany - Exclude Rails app
config/routes.rbfromMetrics/BlockLength
- Exclude Rails controllers from Rubocop's
- Add more functional methods to Rubocop config (Aaron Kromer, #7)
createcreate!buildbuild!
- Support running system specs in isolation (Aaron Kromer, #9)
- Lock Rubocop to a minor release version in gemspec (Aaron Kromer, #5)
- Adjust common Rubocop configuration (Aaron Kromer, #5)
- Customize
Style/AndOrto flag only conditionals allowingand/orfor control flow - Add
findto functional method blocks - Disable
Style/DoubleNegationas this is a common Ruby idiom - Disable
Style/StringLiteralsInInterpolationto stay consistent with our no preferences for single versus double quotes
- Customize
- Remove
Includefrom common Rubocop all cops configuration to fix issues with Rubocop 0.56.0+ not seeing all expected files. (Aaron Kromer, #5)
- Fix warning about overriding parameter (Aaron Kromer, #4)
- Adjust common Rubocop configuration (Aaron Kromer, #2):
- Ignore
Lint/AmbiguousBlockAssociationfor specs - Ignore long lines due to Rubocop directives
- Ignore long lines due to comments
- Prefer a line length of 80, but don't complain until 100
- Disable ASCII only comments
- Set the
MinSizeforStyle/SymbolArrayandStyle/WordArrayto three - Use squiggly
<<~heredoc indentation - Allow common
EOFas a heredoc delimiter - Indent multi-line operations
- Allow unspecified rescue as a catch-all
- Ignore
- Adjust common Rubocop Rails configuration (Aaron Kromer, #2):
- Ignore
Rails/ApplicationRecordfor benchmarks - Ignore more common gem binstubs
- Ignore
- Fix
NameError: undefined local variable or method configfor Rails RSpec configuration (Aaron Kromer, #1) - Fix model factory build issue in which registered template attributes, which use symbol keys, are not replaced by custom attributes using string keys (Aaron Kromer, #1)
- Exclude
spec/support/model_factories.rbfromMetrics/BlockLengthin common Rubocop config (Aaron Kromer, 714b9b3)
- Common Rubocop configuration
- Common Rails Rubocop configuration
- Basic model factory implementation
- Auto loads the model factory feature based on RSpec metadata
- Supports lazy loading project/app code using strings/symbols instead of class constants for faster registration
- Includes helpers for
buildandcreatein specs