Skip to content

Commit

Permalink
Create new version
Browse files Browse the repository at this point in the history
  • Loading branch information
MassimilianoLattanzio committed Nov 2, 2023
1 parent 6913431 commit 77f7a18
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 13 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## main (unreleased)

## 0.2.0 (2023-11-02)

### New features

* [#60](https://github.com/solidusio/rubocop-solidus/issues/60): Create new cop to check existing_card_id. ([@MassimilianoLattanzio][])
Expand Down
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.1.4)
rubocop-solidus (0.2.0)
rubocop

GEM
Expand Down
22 changes: 11 additions & 11 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,65 +11,65 @@ AllCops:
Solidus/ClassEvalDecorator:
Description: 'Checks if Class.class_eval is being used in the code'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/21'

Solidus/ExistingCardIdDeprecated:
Description: 'Checks if existing_card_id is being used and suggest using wallet_payment_source_id instead'
Enabled: true
VersionAdded: '<<next>>'
VersionAdded: '0.2'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/60'

Solidus/ReimbursementHookDeprecated:
Description: 'Checks if reimbursement_success_hooks and reimbursement_failed_hooks is being used'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/27'

Solidus/SpreeCalculatorFreeShippingDeprecated:
Description: 'Checks if Spree::Calculator::FreeShipping is being used and add deprecation message'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29'

Solidus/SpreeCalculatorPercentPerItemDeprecated:
Description: 'Checks if Spree::Calculator::PercentPerItem is being used and add deprecation message'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29'

Solidus/SpreeCalculatorPriceSackDeprecated:
Description: 'Checks if Spree::Calculator::PriceSack is being used and add deprecation message'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/29'

Solidus/SpreeDefaultCreditCardDeprecated:
Description: 'Checks if user.default_credit_card is used and suggest using user.wallet.default_wallet_payment_source'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/33'

Solidus/SpreeGatewayBogusDeprecated:
Description: 'Checks if SpreeGatewayBogus is being used and replaces it with Spree::PaymentMethod::BogusCreditCard'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/26'

Solidus/SpreeIconDeprecated:
Description: 'Checks if icon helper is being used and suggest `solidus_icon`'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/32'

Solidus/SpreeRefundCallPerform:
Description: 'Checks if Spree::Refund.create is being used and require calling .perform!'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/28'

Solidus/SpreeTDeprecated:
Description: 'Checks if Spree.t is being used and replaces it with I18n.t.'
Enabled: true
VersionAdded: '0.1.0'
VersionAdded: '0.1'
Reference: 'https://github.com/solidusio/rubocop-solidus/issues/22'
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.1.4'
VERSION = '0.2.0'
end
end
9 changes: 9 additions & 0 deletions relnotes/v0.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### New features

* [#60](https://github.com/solidusio/rubocop-solidus/issues/60): Create new cop to check existing_card_id. ([@MassimilianoLattanzio][])

### Bug fixes

* [#60](https://github.com/solidusio/rubocop-solidus/issues/60): Fix overridden add_offense method. ([@MassimilianoLattanzio][])

[@MassimilianoLattanzio]: https://github.com/MassimilianoLattanzio

0 comments on commit 77f7a18

Please sign in to comment.