spree_sample 1.2.0 → 1.2.2
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 -6
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.2.
|
4
|
+
version: 1.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|
16
|
-
requirement: &
|
16
|
+
requirement: &70277700483440 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.2.
|
21
|
+
version: 1.2.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70277700483440
|
25
25
|
description: Required dependency for Spree
|
26
26
|
email: sean@spreecommerce.com
|
27
27
|
executables: []
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash: -
|
113
|
+
hash: -2271689796497410668
|
114
114
|
requirements:
|
115
115
|
- none
|
116
116
|
rubyforge_project:
|