spree_bank_transfer_payment 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f86c1bbb00f04608814d47782ac459be49d78f4b4989c53f648c727703ffaee4
4
- data.tar.gz: a42f0abb5762c99732da3ff0abc803250c6688ba2e3cb47c66e890c41053cf66
3
+ metadata.gz: 40b56758e3c77c11557ebde92965b1af4aa6317794cdd8ae860046a745e8f870
4
+ data.tar.gz: 9792cddda02b8aada528154c0d3cc6d3104d2f6c0981689b13e79ba77fcb5e98
5
5
  SHA512:
6
- metadata.gz: '0191f7cc7161069e641eb3c3ea72754de8d327debd6961f55465147ec31f1dcb410eb1d991a5f6832c89841fc6abaa704d4c53bc0976dd53b9e6feea5e81e184'
7
- data.tar.gz: 543c934ee5c6b18db4d7631d60fb4fa0cb8cbdc39947742b3bae03e0e7aa5eb21065ce5fd26987c9796330a9991fd64abb215085af9855d8586f4d1b960b6265
6
+ metadata.gz: 9e7832f5c542a4312517baa9cce41a3127571d9be80c76d01930c42466cc2f4f1e8d3e7b62143cfa4ab8e54bed34150845a0a9fd9aa346c5a3cfe70ee02e3aee
7
+ data.tar.gz: ac0ca9d53d001762c6dd07342be4330cdc3ce74358ed9c1daedaf8a58c5ca0b16e3f027e11682622b43190e70936e4716970a6e96cb649bf27c95f08fc0800be
@@ -0,0 +1,5 @@
1
+ Rails.application.config.after_initialize do
2
+ Rails.application.config.spree.payment_methods << Spree::PaymentMethod::BankTransfer
3
+
4
+ Spree::PermittedAttributes.payment_method_attributes << :instructions
5
+ end
@@ -9,12 +9,6 @@ module SpreeBankTransferPayment
9
9
  g.test_framework :rspec
10
10
  end
11
11
 
12
- config.after_initialize do |app|
13
- app.config.spree.payment_methods << Spree::PaymentMethod::BankTransfer
14
-
15
- Spree::PermittedAttributes.payment_method_attributes << :instructions
16
- end
17
-
18
12
  def self.activate
19
13
  Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
20
14
  Rails.configuration.cache_classes ? require(c) : load(c)
@@ -1,5 +1,5 @@
1
1
  module SpreeBankTransferPayment
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.0.2'.freeze
3
3
 
4
4
  def gem_version
5
5
  Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_bank_transfer_payment
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OlympusOne
@@ -96,6 +96,7 @@ files:
96
96
  - app/views/spree/admin/payments/source_views/_bank_transfer.html.erb
97
97
  - app/views/spree/admin/spree/checkout/payment/_bank_transfer.html.erb
98
98
  - app/views/spree/checkout/payment/_bank_transfer.html.erb
99
+ - config/initializers/spree.rb
99
100
  - config/locales/el.yml
100
101
  - config/locales/en.yml
101
102
  - config/routes.rb
@@ -110,10 +111,10 @@ licenses:
110
111
  - MIT
111
112
  metadata:
112
113
  bug_tracker_uri: https://github.com/olympusone/spree_bank_transfer_payment/issues
113
- changelog_uri: https://github.com/olympusone/spree_bank_transfer_payment/releases/tag/v2.0.1
114
+ changelog_uri: https://github.com/olympusone/spree_bank_transfer_payment/releases/tag/v2.0.2
114
115
  documentation_uri: https://github.com/olympusone/spree_bank_transfer_payment
115
116
  homepage_uri: https://github.com/olympusone/spree_bank_transfer_payment
116
- source_code_uri: https://github.com/olympusone/spree_bank_transfer_payment/tree/v2.0.1
117
+ source_code_uri: https://github.com/olympusone/spree_bank_transfer_payment/tree/v2.0.2
117
118
  rdoc_options: []
118
119
  require_paths:
119
120
  - lib