solidus_braintree 0.1.3 → 0.1.5

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: e1a9c9792874908cdce5474f823182a651dafc1d
4
- data.tar.gz: 97ad1d246fc1d7a5954169fa114ce81ca9d93c67
3
+ metadata.gz: ab8b3af100c1530a517a825185673b63941cc628
4
+ data.tar.gz: 9863aded986bfe476071703f5880d2c9106b1635
5
5
  SHA512:
6
- metadata.gz: 68e77a5625e7fd35be4a8cdf1b76c77b2679393df3cf37af53c620b34e71035864076e6ebc71f3df31be5dba52838ca903409b3a770a757ec38da392eda3e75a
7
- data.tar.gz: 482f675d690e1e994d7e2ce40032876db604f77b4fd4f044ae6ab7192ed004b7a3bda412b201e82b23b860bf7f1885adb729496e04b9b67ee09027efe16a71c5
6
+ metadata.gz: 49f72d9871f9daf4c8d4491fc5f3d1f1fe26ec37766b6363c62853931d7fbad1ee2fdae973a0a84744ba15ee3200bb4f3a4b855a96e2763f2bd4c0a035a895b6
7
+ data.tar.gz: e4183dd9234c8e078e0d23db71f47d4f487142e28c27505f1c7fd7606d84677d3a78552ac4390cacb6ab8e8a63544b659aa3017265b98565fed1152f56d87fc6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 0.1.5
4
+
5
+ * Use mapping to set cc_type conventionally.
6
+
3
7
  ## 0.1.3
4
8
 
5
9
  * Add back in name validation on `CreditCard`.
@@ -75,7 +75,7 @@ module Solidus
75
75
  solidus_cc.name = card.email
76
76
  else
77
77
  solidus_cc.name = card.cardholder_name
78
- solidus_cc.cc_type = card.card_type.downcase
78
+ solidus_cc.cc_type = CARD_TYPE_MAPPING[card.card_type]
79
79
  solidus_cc.month = card.expiration_month
80
80
  solidus_cc.year = card.expiration_year
81
81
  solidus_cc.last_digits = card.last_4
@@ -1,3 +1,3 @@
1
1
  module SolidusBraintree
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_braintree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-04 00:00:00.000000000 Z
11
+ date: 2015-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  version: '0'
299
299
  requirements: []
300
300
  rubyforge_project:
301
- rubygems_version: 2.2.5
301
+ rubygems_version: 2.4.6
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Adds Solidus support for Braintree v.zero Gateway.