rspec-stripe 0.0.6 → 0.0.7

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: 353589d142ee7fa68b77a757059299d3e58df9ee
4
- data.tar.gz: 530e64797690bae470b185cd73912cfb412f75b1
3
+ metadata.gz: 7c3a6e7f3c2add26009fa2ae2c9ff51571b157b9
4
+ data.tar.gz: c1101cb7f96e805a364da4111030f740e4772465
5
5
  SHA512:
6
- metadata.gz: b1425d8229f800fb6c13f2f1cee18124c024cf039fedac8a3ee27881d52c8b3598e1e7570552884692de816dfeaa104343b5e7870b5ed1690c64e27974bd8f4d
7
- data.tar.gz: 8e33c8787acd87f301b916c8578fb86e8dca252bf38d602a2ec2acc1607712ae54bbdc7a6bc0ce27906b39a28b00c396f931f3b1e86ab1d8d8aafcb906efe1a7
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
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.require_paths = ["lib"]
13
13
  s.files = `git ls-files`.split("\n")
14
14
 
15
- s.version = "0.0.6"
15
+ s.version = "0.0.7"
16
16
  s.required_ruby_version = '>= 2.0.0'
17
17
  s.required_rubygems_version = '>= 1.6.2'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Bussey