gh 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gh/response.rb +1 -1
- data/lib/gh/version.rb +1 -1
- metadata +44 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c33d42eb352f1313b9b6ef920070203495c20e8
|
4
|
+
data.tar.gz: 0488c19e6a994380ad2c070ee2a15d36f91886e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 039e9e04530b49e2a685e813d68ec21410b8ae1fb9da5cc4f42e46c4a5b00fa8dac854fa0b651a5f3ace20185f7c4819254cf6ea8fb1f1d8f0767627a2aa2b31
|
7
|
+
data.tar.gz: 2094c53dd2aa4ca96a3ba0792864d45a0a5ae758ce56830c5527f5357032f0a4021710dc27e0f649127e06104c825895ba06e01132d4eed15268895d709eefb4
|
data/lib/gh/response.rb
CHANGED
@@ -23,10 +23,10 @@ module GH
|
|
23
23
|
@headers = Hash[headers.map { |k,v| [k.downcase, v] }]
|
24
24
|
|
25
25
|
case body
|
26
|
+
when nil, '' then @data = {}
|
26
27
|
when respond_to(:to_str) then @body = body.to_str
|
27
28
|
when respond_to(:to_hash) then @data = body.to_hash
|
28
29
|
when respond_to(:to_ary) then @data = body.to_ary
|
29
|
-
when nil, '' then @data = {}
|
30
30
|
else raise ArgumentError, "cannot parse #{body.inspect}"
|
31
31
|
end
|
32
32
|
|
data/lib/gh/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -11,117 +11,117 @@ cert_chain: []
|
|
11
11
|
date: 2014-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rspec
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- -
|
16
|
+
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: '0'
|
20
|
-
|
21
|
-
prerelease: false
|
19
|
+
name: rspec
|
22
20
|
version_requirements: !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
|
-
- -
|
22
|
+
- - ">="
|
25
23
|
- !ruby/object:Gem::Version
|
26
24
|
version: '0'
|
25
|
+
prerelease: false
|
26
|
+
type: :development
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: webmock
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - ">="
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: '0'
|
34
|
-
|
35
|
-
prerelease: false
|
33
|
+
name: webmock
|
36
34
|
version_requirements: !ruby/object:Gem::Requirement
|
37
35
|
requirements:
|
38
|
-
- -
|
36
|
+
- - ">="
|
39
37
|
- !ruby/object:Gem::Version
|
40
38
|
version: '0'
|
39
|
+
prerelease: false
|
40
|
+
type: :development
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: faraday
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
|
-
- - ~>
|
44
|
+
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
46
|
version: '0.8'
|
48
|
-
|
49
|
-
prerelease: false
|
47
|
+
name: faraday
|
50
48
|
version_requirements: !ruby/object:Gem::Requirement
|
51
49
|
requirements:
|
52
|
-
- - ~>
|
50
|
+
- - "~>"
|
53
51
|
- !ruby/object:Gem::Version
|
54
52
|
version: '0.8'
|
53
|
+
prerelease: false
|
54
|
+
type: :runtime
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: backports
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
|
-
- -
|
58
|
+
- - ">="
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '0'
|
62
|
-
|
63
|
-
prerelease: false
|
61
|
+
name: backports
|
64
62
|
version_requirements: !ruby/object:Gem::Requirement
|
65
63
|
requirements:
|
66
|
-
- -
|
64
|
+
- - ">="
|
67
65
|
- !ruby/object:Gem::Version
|
68
66
|
version: '0'
|
67
|
+
prerelease: false
|
68
|
+
type: :runtime
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: multi_json
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
|
-
- - ~>
|
72
|
+
- - "~>"
|
74
73
|
- !ruby/object:Gem::Version
|
75
74
|
version: '1.0'
|
76
|
-
|
77
|
-
prerelease: false
|
75
|
+
name: multi_json
|
78
76
|
version_requirements: !ruby/object:Gem::Requirement
|
79
77
|
requirements:
|
80
|
-
- - ~>
|
78
|
+
- - "~>"
|
81
79
|
- !ruby/object:Gem::Version
|
82
80
|
version: '1.0'
|
81
|
+
prerelease: false
|
82
|
+
type: :runtime
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: addressable
|
85
84
|
requirement: !ruby/object:Gem::Requirement
|
86
85
|
requirements:
|
87
|
-
- -
|
86
|
+
- - ">="
|
88
87
|
- !ruby/object:Gem::Version
|
89
88
|
version: '0'
|
90
|
-
|
91
|
-
prerelease: false
|
89
|
+
name: addressable
|
92
90
|
version_requirements: !ruby/object:Gem::Requirement
|
93
91
|
requirements:
|
94
|
-
- -
|
92
|
+
- - ">="
|
95
93
|
- !ruby/object:Gem::Version
|
96
94
|
version: '0'
|
95
|
+
prerelease: false
|
96
|
+
type: :runtime
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: net-http-persistent
|
99
98
|
requirement: !ruby/object:Gem::Requirement
|
100
99
|
requirements:
|
101
|
-
- -
|
100
|
+
- - ">="
|
102
101
|
- !ruby/object:Gem::Version
|
103
102
|
version: '2.7'
|
104
|
-
|
105
|
-
prerelease: false
|
103
|
+
name: net-http-persistent
|
106
104
|
version_requirements: !ruby/object:Gem::Requirement
|
107
105
|
requirements:
|
108
|
-
- -
|
106
|
+
- - ">="
|
109
107
|
- !ruby/object:Gem::Version
|
110
108
|
version: '2.7'
|
109
|
+
prerelease: false
|
110
|
+
type: :runtime
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: net-http-pipeline
|
113
112
|
requirement: !ruby/object:Gem::Requirement
|
114
113
|
requirements:
|
115
|
-
- -
|
114
|
+
- - ">="
|
116
115
|
- !ruby/object:Gem::Version
|
117
116
|
version: '0'
|
118
|
-
|
119
|
-
prerelease: false
|
117
|
+
name: net-http-pipeline
|
120
118
|
version_requirements: !ruby/object:Gem::Requirement
|
121
119
|
requirements:
|
122
|
-
- -
|
120
|
+
- - ">="
|
123
121
|
- !ruby/object:Gem::Version
|
124
122
|
version: '0'
|
123
|
+
prerelease: false
|
124
|
+
type: :runtime
|
125
125
|
description: multi-layer client for the github api v3
|
126
126
|
email:
|
127
127
|
- konstantin.mailinglists@googlemail.com
|
@@ -161,17 +161,17 @@ require_paths:
|
|
161
161
|
- lib
|
162
162
|
required_ruby_version: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- -
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
|
-
- -
|
169
|
+
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.1.10
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: layered github client
|