matterhorn_whymper 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/matterhorn/endpoint.rb +2 -2
- data/lib/matterhorn_whymper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGM4YmU1MTJkZDliOWUyODgyYTk1MTI5NzJiZWI0ZDE1YTFkZDM0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTI1ZDVkNzkxY2UyMzhjN2IxMjAxYzhlZmVkNDAwOGZkNzM1NWZmZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzcwY2EyZmRkYmMzYmYyNTE0YTc4NDU5NGQ3ZTYxNGIyYjk0MDZiN2Y2NTMz
|
10
|
+
OTc2ZWU4MjQ0MjJhNGY3NTA5YThlMzBiNmQ4ZTBkYmQ2ODAzOWRlMmFlYTc2
|
11
|
+
MTVhM2IwZTk5MTFlZDljODgyOGU0YjFjMGJlMjYwNmFkNTM5NzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWIxMTYwYTIwODAyMWNkOWY4YWYwZTZjOTRjNzliOTk0MWNmNzM0OGVkMWM1
|
14
|
+
N2Q0ZWI1ODc5M2E2OWE5Y2VlNDM0OGZmNGQwMmQxYWVmZWYyMzMyNmZkYmFh
|
15
|
+
NjI1MDVlZWNiYmQwOTYwZTFjNzI1ZmEwMjUzNGI2MjI4MjcyMjE=
|
data/lib/matterhorn/endpoint.rb
CHANGED
@@ -18,12 +18,12 @@ module Matterhorn
|
|
18
18
|
if endpoint.respond_to? 'to_s'
|
19
19
|
endpoint = endpoint.to_s.capitalize
|
20
20
|
else
|
21
|
-
raise(Matterhorn::Error, "Matterhorn::Endpoint::open |
|
21
|
+
raise(Matterhorn::Error, "Matterhorn::Endpoint::open | " +
|
22
22
|
"#{endpoint.inspect} does not respond to 'to_s'")
|
23
23
|
end
|
24
24
|
endpoint = Object.const_get('Matterhorn').const_get('Endpoint').const_get(endpoint).new
|
25
25
|
if endpoint.nil? || !endpoint.kind_of?(Matterhorn::Endpoint)
|
26
|
-
raise(Matterhorn::Error, "Matterhorn::Endpoint::open |
|
26
|
+
raise(Matterhorn::Error, "Matterhorn::Endpoint::open | " +
|
27
27
|
"#{endpoint ? endpoint.class.name : 'nil'} is not a sub class " +
|
28
28
|
"of 'Matterhorn::Endpoint'!")
|
29
29
|
end
|
@@ -5,7 +5,7 @@ module MatterhornWhymper
|
|
5
5
|
|
6
6
|
# -------------------------------------------------------------------------- const definitions ---
|
7
7
|
|
8
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.5"
|
9
9
|
|
10
10
|
|
11
11
|
end # -------------------------------------------------------------------- end MatterhornWhymper ---
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matterhorn_whymper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Fritschi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multipart-post
|