chargehound 1.0.1 → 1.0.2

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: cc3692e584c7dfe853a29517a10c60b74322d00e
4
- data.tar.gz: de5c9b2889d28675fac4a7ba358704826c806c0d
3
+ metadata.gz: e526016c537c7e407227c72cdb98a443046a01ff
4
+ data.tar.gz: 29a22c1c789b74425fdcaeb5e67c91208115bc70
5
5
  SHA512:
6
- metadata.gz: 4d2b77fdb5d3683f7ee37b6acc1b001a5bfd9c379e30fc001f3cd6abfd13b56fa5533796192adbe5ba4d1a9e1aa09caabe509b3006c3cf749d961f9f27c9d190
7
- data.tar.gz: 837f66cad7b39e4326e851f259423b3a21e86c663044f5602093e28d9857e71ca6893e8c7e7d500e9c60f825d976ac3bb8a0b1bd2d7d270d38e548e18f0b4611
6
+ metadata.gz: 09f997ff3437c4213a3f9b123eef8c268fe10494628a790ac0caff724f88989035a105796dcb5cd7d6d894f74c823e19d99f4ba26ad80c6291468fb36a160eb8
7
+ data.tar.gz: 366becda77c47b1645790f94e2e6f211b7cbba15f632162eb2f83930b92d13867326fd54d4cc057a1b16628a0dc53396cefa643fbf915347172dc3770c575c1a
@@ -1,3 +1,3 @@
1
1
  module Chargehound
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.2'.freeze
3
3
  end
@@ -52,8 +52,10 @@ describe Chargehound::Disputes do
52
52
 
53
53
  it 'can submit a dispute' do
54
54
  stub = stub_request(:post, 'https://api.chargehound.com/v1/disputes/dp_123/submit')
55
- .with(headers: post_headers, body: dispute_update.to_json)
56
- .to_return(body: dispute_response)
55
+ .with(headers: post_headers,
56
+ body: dispute_update.to_json)
57
+ .to_return(body: dispute_response,
58
+ status: 201)
57
59
 
58
60
  Chargehound::Disputes.submit('dp_123', dispute_update)
59
61
  assert_requested stub
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargehound
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chargehound
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-28 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus