spree_sample 1.3.0.rc1 → 1.3.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/db/sample/spree/payments.rb +4 -0
- metadata +6 -5
data/db/sample/spree/payments.rb
CHANGED
@@ -8,6 +8,10 @@ Spree::Gateway.class_eval do
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
# This table was previously called spree_creditcards, and older migrations
|
12
|
+
# reference it as such. Make it explicit here that this table has been renamed.
|
13
|
+
Spree::CreditCard.table_name = 'spree_credit_cards'
|
14
|
+
|
11
15
|
creditcard = Spree::CreditCard.create({ :cc_type => 'visa', :month => 12, :year => 2014, :last_digits => '1111',
|
12
16
|
:first_name => 'Sean', :last_name => 'Schofield',
|
13
17
|
:gateway_customer_profile_id => 'BGS-1234' }, :without_protection => true)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0.
|
4
|
+
version: 1.3.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.3.0.
|
21
|
+
version: 1.3.0.rc2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.3.0.
|
29
|
+
version: 1.3.0.rc2
|
30
30
|
description: Required dependency for Spree
|
31
31
|
email: sean@spreecommerce.com
|
32
32
|
executables: []
|
@@ -97,7 +97,8 @@ files:
|
|
97
97
|
- db/sample/spree/taxons.yml
|
98
98
|
- db/sample/spree/variants.yml
|
99
99
|
homepage: http://spreecommerce.com
|
100
|
-
licenses:
|
100
|
+
licenses:
|
101
|
+
- BSD-3
|
101
102
|
post_install_message:
|
102
103
|
rdoc_options: []
|
103
104
|
require_paths:
|