stripe_invoice 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d5bba50f373bff1c628010e194c88c9973a7427
|
|
4
|
+
data.tar.gz: 63d64db6857c180bdfa1d6b36c5fb264cc426abb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a06644e8670b7905522c438198b2213bf08cb62d6bebe3dbab770b1822569925bd839cf4985f698bb7dde2e8cf9e1f0437bc3329f7864b669bc8d79d60fbe83b
|
|
7
|
+
data.tar.gz: ca9bcab7fcaccdfdfb42c245de18b789b027a298bb1202338e8512cfb303159d5fac0382b9a2ca5eed40714f3649a4c1110782e97139891470939b5133139950
|
|
@@ -21,6 +21,7 @@ module StripeInvoice
|
|
|
21
21
|
next unless owner # skip if we don't have an owner
|
|
22
22
|
|
|
23
23
|
country = Country[charge.country] ? charge.country : Country.find_by_name(charge.country)
|
|
24
|
+
country = country.alpha2 if country.is_a? Country
|
|
24
25
|
country ||= 'Unknown Country'
|
|
25
26
|
|
|
26
27
|
data = {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe_invoice
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christoph Engelhardt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|