clio_client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/clio_client.gemspec +1 -1
- data/lib/clio_client/http.rb +1 -1
- data/lib/clio_client/version.rb +1 -1
- data/spec/spec_helper.rb +0 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NjY5OTQzOTJlMTAyM2ViNWViYWQyZDY5ODEzMDkyYjNjNDc2MDc0Ng==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 52b654ee74c6caae0a4e88fcadffbb111bfa681b
|
4
|
+
data.tar.gz: 9821def72ce3ab42d433c8faecffa37a54c6be74
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTg5MDY1YTQ5MTZkZjc0ODFjMWZlZTU4ZDVhOThkZTQ5OGI4NDUwYzExYjdh
|
11
|
-
ZTkwNmY4ODBjZDc4MDZjODNjZTNhY2ViODZiNTllZWIwYTJmYWM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDRiM2ViZjlhYzc3OWY4ODRmNDVhY2M3MGRhNmI2YTc5NzdjYWFkODBiNThj
|
14
|
-
YWU0ZThlYTJmMWFmYjg0ZTk5Njk2MWM4MDVjNmQwNjhhYmVjY2YxZjE3N2Jk
|
15
|
-
Y2Q0ZWM3N2Y0NTIwNTRhMjBhZmI2NTVmZmRiMTQ5YmRlNzVlNTE=
|
6
|
+
metadata.gz: b7490a3c3a855ac27e8004e690715ebd6c3b110864b5db2fb4e348a79bbebaaed0f8c09c732c0fed5b9765c08ead61ea805175ddcbb0ae8830c9d161b78b9bdd
|
7
|
+
data.tar.gz: 627a5254ea6817fa28ec1b1511a36ac80474d11391ca82b6958bbf5ca0406a141f61379773674f4607ab6c2c58f9e39b162b976eceb9d378401b31123569e2e0
|
data/clio_client.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_development_dependency "rake"
|
23
|
-
spec.add_development_dependency "
|
23
|
+
spec.add_development_dependency "byebug"
|
24
24
|
spec.add_development_dependency "awesome_print"
|
25
25
|
spec.add_development_dependency "rspec"
|
26
26
|
|
data/lib/clio_client/http.rb
CHANGED
@@ -67,7 +67,7 @@ module ClioClient
|
|
67
67
|
def parse_response(res, parse)
|
68
68
|
case res
|
69
69
|
when Net::HTTPNotFound
|
70
|
-
raise ClioClient::ResourceNotFound.new(parse_body(res.body)["message"])
|
70
|
+
raise ClioClient::ResourceNotFound.new(parse ? parse_body(res.body)["message"] : "")
|
71
71
|
when Net::HTTPSuccess
|
72
72
|
parse ? parse_body(res.body) : res.body
|
73
73
|
when Net::HTTPUnauthorized
|
data/lib/clio_client/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,83 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clio_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle d'Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: byebug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: awesome_print
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
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
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: Api client for Clio
|
@@ -87,7 +87,7 @@ executables: []
|
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
|
-
- .gitignore
|
90
|
+
- ".gitignore"
|
91
91
|
- Gemfile
|
92
92
|
- LICENSE.txt
|
93
93
|
- README.md
|
@@ -225,12 +225,12 @@ require_paths:
|
|
225
225
|
- lib
|
226
226
|
required_ruby_version: !ruby/object:Gem::Requirement
|
227
227
|
requirements:
|
228
|
-
- -
|
228
|
+
- - ">="
|
229
229
|
- !ruby/object:Gem::Version
|
230
230
|
version: '0'
|
231
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
|
-
- -
|
233
|
+
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '0'
|
236
236
|
requirements: []
|