after_ship 0.0.9 → 0.0.10

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: 29d2735d9a69556418755d901e384966e009e67c
4
- data.tar.gz: 1bf65c74d5596099cf67407caa1b5af8193a939e
3
+ metadata.gz: 320d9049d7e338e9d65cc48876183f58b911bbd0
4
+ data.tar.gz: 5f6029e8d3a4e5a9f70254beeaac650dea80a25c
5
5
  SHA512:
6
- metadata.gz: 8b08f410a3fb95b9a02571b6ef2613fecd2473f0bab53e8b90e5d155a356efc8dd58ff1cf38efedf86ecd69720d494e18fe58e1b0453d719eff9f6375018c6b9
7
- data.tar.gz: f5336941dce75dc8553eebbaebb928ad70733ddb50b9359a522699da0278202c75e63cf477ea8dce115d67511c347d1f197b7761f4479dc69bd98e39dee186c6
6
+ metadata.gz: a1396e34aff6d077c66261382586715fb9e045ef6994e3c2ac5c70f59fcfe28e40e3c6a9f7cb21290fadc4203b2c85b27f4b84f5645a7506a1abe4f1992fa56c
7
+ data.tar.gz: 7ea2cac0f26a7acee29ab2f8753c6a32f58dcc1344e79aac9a812631e316eff73de5cdf061cbe6ab6f5ebdd2011c6bb3f3efdcab85c6f5dc03f0831b4f824cc4
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  # Test
26
26
  spec.add_development_dependency 'rspec', '~> 3.4'
27
27
  spec.add_development_dependency 'webmock', '~> 1.22'
28
- spec.add_development_dependency 'simplecov', '~> 0.10'
28
+ spec.add_development_dependency 'simplecov', '~> 0.11'
29
29
 
30
30
  # Code style, debugging, docs
31
31
  spec.add_development_dependency 'rubocop', '~> 0.35'
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  # Networking
37
37
  # Fast networking
38
- spec.add_runtime_dependency 'typhoeus', '~> 0.8'
38
+ spec.add_runtime_dependency 'typhoeus', '~> 1.0'
39
39
  # A common interface to multiple JSON libraries
40
40
  spec.add_runtime_dependency 'multi_json', '~> 1.11'
41
41
  end
@@ -22,10 +22,9 @@ class AfterShip
22
22
  class Forbidden < Error; end # 403
23
23
  class NotFound < Error; end # 404
24
24
  class TooManyRequests < Error; end # 429
25
- class InternalError < Error; end # 500, 502, 503, 504
25
+ class InternalError < Error; end # 50x, parse errors.
26
26
 
27
27
  class UnknownError < Error; end # Huh?
28
28
  class Timeout < Error; end # Uh oh.
29
- class ParseError < Error; end # Something is wrong.
30
29
  end
31
30
  end
@@ -89,7 +89,7 @@ class AfterShip
89
89
  logger.error(response.body.inspect)
90
90
  end
91
91
 
92
- raise Error::ParseError, e
92
+ raise Error::InternalError, 'AfterShip internal error, please try again.'
93
93
  end
94
94
 
95
95
  protected
@@ -1,4 +1,4 @@
1
1
  class AfterShip
2
2
  # Version number, happy now?
3
- VERSION = '0.0.9'
3
+ VERSION = '0.0.10'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: after_ship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oldrich Vetesnik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.10'
61
+ version: '0.11'
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.10'
68
+ version: '0.11'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '0.8'
131
+ version: '1.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '0.8'
138
+ version: '1.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: multi_json
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  requirements: []
200
200
  rubyforge_project:
201
- rubygems_version: 2.4.8
201
+ rubygems_version: 2.5.1
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: A smallish library to talking to AfterShip via v4 API.