rspec-stripe 0.0.6 → 0.0.7
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 +4 -4
- data/lib/rspec-stripe/factories/plan.rb +2 -2
- data/rspec-stripe.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c3a6e7f3c2add26009fa2ae2c9ff51571b157b9
|
|
4
|
+
data.tar.gz: c1101cb7f96e805a364da4111030f740e4772465
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21b61f4c70459213ea664766715e074d40e6f3a519286167f05f3d927d527f3fa914b9efa2750a9043aefd21aa7bb9518edd3807f9d85f336e491f19a1483839
|
|
7
|
+
data.tar.gz: 87ab6979e568409da962e62325267269b6cffad66e163759db994484af80f2dfc6d8abd087be645915c1bad6aaf053e83c02d2f887b97cb3d396d69d6faf1fbb
|
|
@@ -3,7 +3,7 @@ module RSpecStripe::Factory
|
|
|
3
3
|
def get
|
|
4
4
|
@get ||= begin
|
|
5
5
|
@should_delete = false
|
|
6
|
-
Stripe::Plan.retrieve(id)
|
|
6
|
+
Stripe::Plan.retrieve(id.to_s)
|
|
7
7
|
rescue Stripe::InvalidRequestError
|
|
8
8
|
@should_delete = true
|
|
9
9
|
# Lookup the plan's details and then create it
|
|
@@ -12,7 +12,7 @@ module RSpecStripe::Factory
|
|
|
12
12
|
interval: 'month',
|
|
13
13
|
name: 'Amazing Gold Plan',
|
|
14
14
|
currency: 'usd',
|
|
15
|
-
id: id
|
|
15
|
+
id: id.to_s
|
|
16
16
|
)
|
|
17
17
|
end
|
|
18
18
|
end
|
data/rspec-stripe.gemspec
CHANGED