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 +4 -4
- data/after_ship.gemspec +2 -2
- data/lib/after_ship/core/error.rb +1 -2
- data/lib/after_ship/core/request.rb +1 -1
- data/lib/after_ship/core/version.rb +1 -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: 320d9049d7e338e9d65cc48876183f58b911bbd0
|
4
|
+
data.tar.gz: 5f6029e8d3a4e5a9f70254beeaac650dea80a25c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1396e34aff6d077c66261382586715fb9e045ef6994e3c2ac5c70f59fcfe28e40e3c6a9f7cb21290fadc4203b2c85b27f4b84f5645a7506a1abe4f1992fa56c
|
7
|
+
data.tar.gz: 7ea2cac0f26a7acee29ab2f8753c6a32f58dcc1344e79aac9a812631e316eff73de5cdf061cbe6ab6f5ebdd2011c6bb3f3efdcab85c6f5dc03f0831b4f824cc4
|
data/after_ship.gemspec
CHANGED
@@ -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.
|
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
|
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 #
|
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
|
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.
|
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:
|
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.
|
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.
|
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
|
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
|
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.
|
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.
|