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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59d06c29878a6203de1b5ca3c4cd97b88f7ed257
4
- data.tar.gz: 7a20a8c0667e50b87bac1cc29781a265b1eba85a
3
+ metadata.gz: 210723a9f58a6a3c8d21e27b7ef0a3a4de9414ef
4
+ data.tar.gz: 4bb8cb93a375d42c4665b471f1d837be9bb0b8c8
5
5
  SHA512:
6
- metadata.gz: 3674f7cc0061a2428959eff085930bca279454526d537df7dfd5d3667e5394d8c2aedcc881333bef6c5a8d5fb37c22c03f936affa9229a3b2f4bddc2a57a3d0b
7
- data.tar.gz: 98b84448539919606b6149100def41019f17690fc11b92caf54122d43cf2e6b40c72be7bf27638c7fa187443434ded19a3c445a310a53835224ccf3a781c73a1
6
+ metadata.gz: c3fd8c859757fe42f12083073741360c86717d02bc452ce6fde7ff7104b30cb801b6f809741a5ca0d1de7235f4698331af58b902a941afa5ad894b1e98086245
7
+ data.tar.gz: b36a68ad25e5b0a95e6672551c64d7a339b60553d666b59da7a207b7ddbfb8b50c3a74db7c15d69229baab0269e787fe77d1e79178d63793eda4ad295bb62379
@@ -20,9 +20,5 @@ rvm:
20
20
  - 2.3.1
21
21
  - 2.2.7
22
22
 
23
- addons:
24
- apt:
25
- packages:
26
- - mysql-server-5.6
27
- - mysql-client-core-5.6
28
- - mysql-client-5.6
23
+ before_install:
24
+ - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'rails-controller-testing'
3
4
  gem 'spree', github: 'spree/spree', branch: 'master'
4
5
 
5
6
  gemspec
@@ -1,4 +1,4 @@
1
- class CreateSkrillTransactions < ActiveRecord::Migration
1
+ class CreateSkrillTransactions < SpreeExtension::Migration[4.2]
2
2
  def change
3
3
  create_table :spree_skrill_transactions do |t|
4
4
  t.string :email
@@ -1,8 +1,8 @@
1
- class UpdateBraintreePaymentMethodType < ActiveRecord::Migration
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 < ActiveRecord::Migration
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 < ActiveRecord::Migration
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 < ActiveRecord::Migration
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 < ActiveRecord::Migration
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')
@@ -1,3 +1,4 @@
1
1
  require 'spree_core'
2
2
  require 'spree_gateway/engine'
3
3
  require 'sass/rails'
4
+ require 'spree_extension'
@@ -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/javascripts/spree/frontend/spree_gateway.css',
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)
@@ -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.2.0'
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 = %q{BSD-3}
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.2.0
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-06-13 00:00:00.000000000 Z
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: '0'
468
+ version: 1.3.1
455
469
  requirements:
456
470
  - none
457
471
  rubyforge_project:
458
- rubygems_version: 2.6.10
472
+ rubygems_version: 2.6.12
459
473
  signing_key:
460
474
  specification_version: 4
461
475
  summary: Additional Payment Gateways for Spree Commerce