spree_gateway 3.2.0 → 3.3.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -6
- data/Gemfile +1 -0
- data/db/migrate/20111118164631_create_skrill_transactions.rb +1 -1
- data/db/migrate/20121017004102_update_braintree_payment_method_type.rb +2 -2
- data/db/migrate/20130213222555_update_stripe_payment_method_type.rb +2 -2
- data/db/migrate/20130415222802_update_balanced_payment_method_type.rb +3 -3
- data/db/migrate/20131008221012_update_paypal_payment_method_type.rb +2 -2
- data/db/migrate/20131112133401_migrate_stripe_preferences.rb +1 -1
- data/lib/spree_gateway.rb +1 -0
- data/lib/spree_gateway/engine.rb +1 -1
- data/spree_gateway.gemspec +3 -2
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 210723a9f58a6a3c8d21e27b7ef0a3a4de9414ef
|
4
|
+
data.tar.gz: 4bb8cb93a375d42c4665b471f1d837be9bb0b8c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3fd8c859757fe42f12083073741360c86717d02bc452ce6fde7ff7104b30cb801b6f809741a5ca0d1de7235f4698331af58b902a941afa5ad894b1e98086245
|
7
|
+
data.tar.gz: b36a68ad25e5b0a95e6672551c64d7a339b60553d666b59da7a207b7ddbfb8b50c3a74db7c15d69229baab0269e787fe77d1e79178d63793eda4ad295bb62379
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
class UpdateBraintreePaymentMethodType <
|
1
|
+
class UpdateBraintreePaymentMethodType < SpreeExtension::Migration[4.2]
|
2
2
|
def up
|
3
3
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::Braintree").update_all(:type => "Spree::Gateway::BraintreeGateway")
|
4
4
|
end
|
5
|
-
|
5
|
+
|
6
6
|
def down
|
7
7
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::BraintreeGateway").update_all(:type => "Spree::Gateway::Braintree")
|
8
8
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
class UpdateStripePaymentMethodType <
|
1
|
+
class UpdateStripePaymentMethodType < SpreeExtension::Migration[4.2]
|
2
2
|
def up
|
3
3
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::Stripe").update_all(:type => "Spree::Gateway::StripeGateway")
|
4
4
|
end
|
5
|
-
|
5
|
+
|
6
6
|
def down
|
7
7
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::StripeGateway").update_all(:type => "Spree::Gateway::Stripe")
|
8
8
|
end
|
@@ -1,9 +1,9 @@
|
|
1
|
-
class UpdateBalancedPaymentMethodType <
|
1
|
+
class UpdateBalancedPaymentMethodType < SpreeExtension::Migration[4.2]
|
2
2
|
def up
|
3
3
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::Balanced").update_all(:type => "Spree::Gateway::BalancedGateway")
|
4
4
|
end
|
5
|
-
|
5
|
+
|
6
6
|
def down
|
7
7
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::BalancedGateway").update_all(:type => "Spree::Gateway::Balanced")
|
8
8
|
end
|
9
|
-
end
|
9
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
class UpdatePaypalPaymentMethodType <
|
1
|
+
class UpdatePaypalPaymentMethodType < SpreeExtension::Migration[4.2]
|
2
2
|
def up
|
3
3
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::PayPal").update_all(:type => "Spree::Gateway::PayPalGateway")
|
4
4
|
end
|
5
|
-
|
5
|
+
|
6
6
|
def down
|
7
7
|
Spree::PaymentMethod.where(:type => "Spree::Gateway::PayPalGateway").update_all(:type => "Spree::Gateway::PayPal")
|
8
8
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class MigrateStripePreferences <
|
1
|
+
class MigrateStripePreferences < SpreeExtension::Migration[4.2]
|
2
2
|
def up
|
3
3
|
Spree::Preference.where("#{ActiveRecord::Base.connection.quote_column_name("key")} LIKE 'spree/gateway/stripe_gateway/login%'").each do |pref|
|
4
4
|
pref.key = pref.key.gsub('login', 'secret_key')
|
data/lib/spree_gateway.rb
CHANGED
data/lib/spree_gateway/engine.rb
CHANGED
@@ -38,7 +38,7 @@ module SpreeGateway
|
|
38
38
|
if SpreeGateway::Engine.frontend_available?
|
39
39
|
Rails.application.config.assets.precompile += [
|
40
40
|
'lib/assets/javascripts/spree/frontend/spree_gateway.js',
|
41
|
-
'lib/assets/
|
41
|
+
'lib/assets/stylesheets/spree/frontend/spree_gateway.css',
|
42
42
|
]
|
43
43
|
Dir.glob(File.join(File.dirname(__FILE__), "../../controllers/frontend/*/*_decorator*.rb")) do |c|
|
44
44
|
Rails.configuration.cache_classes ? require(c) : load(c)
|
data/spree_gateway.gemspec
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_gateway'
|
5
|
-
s.version = '3.
|
5
|
+
s.version = '3.3.0.rc1'
|
6
6
|
s.summary = 'Additional Payment Gateways for Spree Commerce'
|
7
7
|
s.description = s.summary
|
8
8
|
|
9
9
|
s.author = 'Spree Commerce'
|
10
10
|
s.email = 'gems@spreecommerce.com'
|
11
11
|
s.homepage = 'http://www.spreecommerce.com'
|
12
|
-
s.license =
|
12
|
+
s.license = 'BSD-3-Clause'
|
13
13
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
spree_version = '>= 3.1.0', '< 4.0'
|
20
20
|
s.add_dependency 'spree_core', spree_version
|
21
|
+
s.add_dependency 'spree_extension'
|
21
22
|
|
22
23
|
s.add_development_dependency 'braintree'
|
23
24
|
s.add_development_dependency 'capybara'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spree Commerce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '4.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: spree_extension
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: braintree
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -436,7 +450,7 @@ files:
|
|
436
450
|
- spree_gateway.gemspec
|
437
451
|
homepage: http://www.spreecommerce.com
|
438
452
|
licenses:
|
439
|
-
- BSD-3
|
453
|
+
- BSD-3-Clause
|
440
454
|
metadata: {}
|
441
455
|
post_install_message:
|
442
456
|
rdoc_options: []
|
@@ -449,13 +463,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
449
463
|
version: '0'
|
450
464
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
451
465
|
requirements:
|
452
|
-
- - "
|
466
|
+
- - ">"
|
453
467
|
- !ruby/object:Gem::Version
|
454
|
-
version:
|
468
|
+
version: 1.3.1
|
455
469
|
requirements:
|
456
470
|
- none
|
457
471
|
rubyforge_project:
|
458
|
-
rubygems_version: 2.6.
|
472
|
+
rubygems_version: 2.6.12
|
459
473
|
signing_key:
|
460
474
|
specification_version: 4
|
461
475
|
summary: Additional Payment Gateways for Spree Commerce
|