solidus_braintree 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b840adbe707ae71a8efa483373f9b7c565334c3a00df523d21f9588b04bfed
4
- data.tar.gz: 468630e694e339e7fc6691ff1faa294e5b005e65855dc6d011c69d4d67356467
3
+ metadata.gz: a0bdcf8e4b5373b818e1092d9c6b5e5f87669b5866eba7db642424348248c878
4
+ data.tar.gz: 5236477492142c2f00a20d5ab25f7a77d34863778ffb617874018794fffe8d40
5
5
  SHA512:
6
- metadata.gz: b311d8caeff246350118fc88d0ad7a5595f5dbdd547be0cc8efb56e6cb2bfba2bbcd0f339369af6a20014fb614605419cee72d1f1575453541b9435b112a8ded
7
- data.tar.gz: caaabe07835af1dae23d94ea9b40f1bb3dd27d3f998c0882d342bfcca4db9042091282e331dbf058ec23f690d01885c8621cbbc5ab6d019d65babac9f96dc069
6
+ metadata.gz: a95fb49ebe9867d9256463060a2df7aaf2e04c9314bc1dba68ccaa5c8adf7a455d9e1bca3a9e86c894668cf4d839ee47913992cc73abb92d3f50b85a7cecafc1
7
+ data.tar.gz: 25b7444e079936fc2f1c58252915d027f3985b93ada12a6dbdc7292c82eabb71f77fbec558a20553abbd799d219be5664cca590306760a3367d0e05609efdd10
@@ -1 +1,3 @@
1
- ActionView::Base.send :include, BraintreeViewHelpers
1
+ Rails.application.config.to_prepare do
2
+ ActionView::Base.include(BraintreeViewHelpers)
3
+ end
@@ -6,7 +6,7 @@ module SolidusBraintree
6
6
  config.assets.precompile += %w( spree/backend/braintree/solidus_braintree.js )
7
7
 
8
8
  initializer "spree.gateway.payment_methods", after: "spree.register.payment_methods" do |app|
9
- app.config.spree.payment_methods << Solidus::Gateway::BraintreeGateway
9
+ app.config.spree.payment_methods << 'Solidus::Gateway::BraintreeGateway'
10
10
  end
11
11
 
12
12
  def self.activate
@@ -1,3 +1,3 @@
1
1
  module SolidusBraintree
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team