chargehound 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -0
- data/CHANGELOG +2 -0
- data/chargehound.gemspec +1 -1
- data/lib/chargehound/version.rb +1 -1
- data/test/error_test.rb +7 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8505cb7cc9983fd7cdd7e6e3c19b6d1845189680
|
4
|
+
data.tar.gz: 0f570f0ae2412c4f5f667cd5a719e7961550819f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b3d9b5ed56bc45a21fdbaa3d1c770d4583fb30bda5464c3b8964d68cbdea39aa345f448380b965954890848b4f8b5e7297d81484978aa314770012ba8ddbc6b
|
7
|
+
data.tar.gz: a92794e0f796e3774526a3e2f48234ad34ae4de1d758c0d739e9c1c0f2bee259b778d8cdc04d5f8f074aeb60b821aeb95f51a4c7c4f2ec6b1dc00ecde114a9a6
|
data/.rubocop.yml
CHANGED
data/CHANGELOG
CHANGED
data/chargehound.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
18
18
|
spec.add_development_dependency 'minitest', '~> 5.8'
|
19
19
|
spec.add_development_dependency 'rake', '~> 11.1'
|
20
|
-
spec.add_development_dependency 'rubocop', '0.
|
20
|
+
spec.add_development_dependency 'rubocop', '~> 0.49'
|
21
21
|
spec.add_development_dependency 'webmock', '~> 2.3'
|
22
22
|
|
23
23
|
spec.files = `git ls-files`.split($/)
|
data/lib/chargehound/version.rb
CHANGED
data/test/error_test.rb
CHANGED
@@ -19,7 +19,13 @@ describe Chargehound::ChargehoundError do
|
|
19
19
|
it 'should propagate errors' do
|
20
20
|
stub_request(:any, 'https://api.chargehound.com/v1/disputes').to_raise(StandardError)
|
21
21
|
|
22
|
-
assert_raises
|
22
|
+
# `assert_raises` has trouble on jruby,
|
23
|
+
# so we simply write the code
|
24
|
+
begin
|
25
|
+
Chargehound::Disputes.list
|
26
|
+
rescue StandardError => error
|
27
|
+
assert(error.is_a?(StandardError))
|
28
|
+
end
|
23
29
|
end
|
24
30
|
|
25
31
|
it 'should return typed chargehound errors from the API' do
|
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: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chargehound
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: '0.49'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: '0.49'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.6.
|
131
|
+
rubygems_version: 2.6.14
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Ruby bindings for the Chargehound API
|