Skip to content

Commit

Permalink
Create new version
Browse files Browse the repository at this point in the history
  • Loading branch information
the-krg committed Mar 6, 2024
1 parent a616a7f commit 6245e36
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rubocop-solidus (0.2.0)
rubocop-solidus (0.3.0)
rubocop

GEM
Expand Down
6 changes: 3 additions & 3 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Solidus/ClassEvalDecorator:
Solidus/DiscountedAmountDeprecated:
Description: 'Checks if .discounted_amount is being used and suggest using .total_before_tax instead.'
Enabled: true
VersionAdded: '<<next>>'
VersionAdded: '0.3'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/31'

Solidus/ExistingCardIdDeprecated:
Expand Down Expand Up @@ -53,7 +53,7 @@ Solidus/SpreeCalculatorPriceSackDeprecated:
Solidus/SpreeDefaultAddressDeprecated:
Description: 'Checks if user.default_address or user.default_user_address is used and suggest using user.ship_address or user.default_user_ship_address'
Enabled: true
VersionAdded: '0.1'
VersionAdded: '0.3'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/61'

Solidus/SpreeDefaultCreditCardDeprecated:
Expand Down Expand Up @@ -89,5 +89,5 @@ Solidus/SpreeTDeprecated:
Solidus/TaxCategoryDeprecated:
Description: 'Checks if tax_category is being used and issue a warning'
Enabled: true
VersionAdded: '<<next>>'
VersionAdded: '0.3'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/25'
2 changes: 1 addition & 1 deletion lib/rubocop/solidus/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module RuboCop
module Solidus
VERSION = '0.2.0'
VERSION = '0.3.0'
end
end
12 changes: 12 additions & 0 deletions relnotes/v0.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### New features

* [#25](https://github.com/solidusio/rubocop-solidus/issues/25): Add solidus/tax_category_deprecated warning cop. ([@safafa][])
* [#31](https://github.com/solidusio/rubocop-solidus/issues/31): Add discounted amount deprecated warning cop. ([@safafa][])
* [#61](https://github.com/solidusio/rubocop-solidus/issues/61): Create new cop to check default_address and default_user_address. ([@the-krg][])

### Bug fixes

* [#53](https://github.com/solidusio/rubocop-solidus/pull/53): Change spree_default_credit_card_deperecated cop severity to warning. ([@safafa][])

[@safafa]: https://github.com/safafa
[@the-krg]: https://github.com/the-krg

0 comments on commit 6245e36

Please sign in to comment.