runcible 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/runcible/base.rb +1 -1
- data/lib/runcible/version.rb +1 -1
- metadata +80 -108
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 68a3ba200964c27b1e8dacab9bb4a1ce99052ccd
|
4
|
+
data.tar.gz: 6ea5627bf75849cf999e5b9e523a0a6dc84a8163
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c42c467718eb6c638ad7083f3aad74c0dd9a5d1630e2da418b6d915b109b00ca51d890ee0b0c09c0d5d161d7569ca94d74acc415703884644cbb460c326f1f8d
|
7
|
+
data.tar.gz: 19fb8ecd8ef8bfcd5004cd575970135ca450854b44435920d48346c5e2448c34eae4e7058539aab4af3e302b41b5d9f9b00836d6d7328150b984df317eaa1bd4
|
data/lib/runcible/base.rb
CHANGED
@@ -137,7 +137,7 @@ module Runcible
|
|
137
137
|
|
138
138
|
def process_response(response)
|
139
139
|
begin
|
140
|
-
body = JSON.parse(response.body)
|
140
|
+
body = response.body == "null" ? nil : JSON.parse(response.body)
|
141
141
|
if body.respond_to? :with_indifferent_access
|
142
142
|
body = body.with_indifferent_access
|
143
143
|
elsif body.is_a? Array
|
data/lib/runcible/version.rb
CHANGED
metadata
CHANGED
@@ -1,144 +1,119 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runcible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Eric D Helms, Justin Sherrill
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: json
|
16
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
17
|
- - ">="
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
MA==
|
29
|
-
none: false
|
30
|
-
prerelease: false
|
31
|
-
type: :runtime
|
26
|
+
version: '0'
|
32
27
|
- !ruby/object:Gem::Dependency
|
33
28
|
name: rest-client
|
34
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
35
30
|
requirements:
|
36
31
|
- - ">="
|
37
32
|
- !ruby/object:Gem::Version
|
38
33
|
version: 1.6.1
|
39
|
-
- -
|
40
|
-
PA==
|
34
|
+
- - "<"
|
41
35
|
- !ruby/object:Gem::Version
|
42
36
|
version: 1.8.0
|
43
|
-
|
44
|
-
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
45
40
|
requirements:
|
46
41
|
- - ">="
|
47
42
|
- !ruby/object:Gem::Version
|
48
43
|
version: 1.6.1
|
49
|
-
- -
|
50
|
-
PA==
|
44
|
+
- - "<"
|
51
45
|
- !ruby/object:Gem::Version
|
52
46
|
version: 1.8.0
|
53
|
-
none: false
|
54
|
-
prerelease: false
|
55
|
-
type: :runtime
|
56
47
|
- !ruby/object:Gem::Dependency
|
57
48
|
name: oauth
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: !binary |-
|
63
|
-
MA==
|
64
|
-
none: false
|
65
49
|
requirement: !ruby/object:Gem::Requirement
|
66
50
|
requirements:
|
67
51
|
- - ">="
|
68
52
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
70
|
-
MA==
|
71
|
-
none: false
|
72
|
-
prerelease: false
|
53
|
+
version: '0'
|
73
54
|
type: :runtime
|
74
|
-
|
75
|
-
name: activesupport
|
55
|
+
prerelease: false
|
76
56
|
version_requirements: !ruby/object:Gem::Requirement
|
77
57
|
requirements:
|
78
58
|
- - ">="
|
79
59
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
81
|
-
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: activesupport
|
82
63
|
requirement: !ruby/object:Gem::Requirement
|
83
64
|
requirements:
|
84
65
|
- - ">="
|
85
66
|
- !ruby/object:Gem::Version
|
86
67
|
version: 3.0.10
|
87
|
-
none: false
|
88
|
-
prerelease: false
|
89
68
|
type: :runtime
|
90
|
-
|
91
|
-
name: i18n
|
69
|
+
prerelease: false
|
92
70
|
version_requirements: !ruby/object:Gem::Requirement
|
93
71
|
requirements:
|
94
72
|
- - ">="
|
95
73
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
97
|
-
|
74
|
+
version: 3.0.10
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: i18n
|
98
77
|
requirement: !ruby/object:Gem::Requirement
|
99
78
|
requirements:
|
100
79
|
- - ">="
|
101
80
|
- !ruby/object:Gem::Version
|
102
81
|
version: 0.5.0
|
103
|
-
none: false
|
104
|
-
prerelease: false
|
105
82
|
type: :runtime
|
106
|
-
|
107
|
-
name: yard
|
83
|
+
prerelease: false
|
108
84
|
version_requirements: !ruby/object:Gem::Requirement
|
109
85
|
requirements:
|
110
86
|
- - ">="
|
111
87
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
113
|
-
|
114
|
-
|
88
|
+
version: 0.5.0
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: yard
|
115
91
|
requirement: !ruby/object:Gem::Requirement
|
116
92
|
requirements:
|
117
93
|
- - ">="
|
118
94
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
120
|
-
MA==
|
121
|
-
none: false
|
122
|
-
prerelease: false
|
95
|
+
version: '0'
|
123
96
|
type: :development
|
124
|
-
|
125
|
-
name: maruku
|
97
|
+
prerelease: false
|
126
98
|
version_requirements: !ruby/object:Gem::Requirement
|
127
99
|
requirements:
|
128
100
|
- - ">="
|
129
101
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
131
|
-
|
132
|
-
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: maruku
|
133
105
|
requirement: !ruby/object:Gem::Requirement
|
134
106
|
requirements:
|
135
107
|
- - ">="
|
136
108
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
138
|
-
MA==
|
139
|
-
none: false
|
140
|
-
prerelease: false
|
109
|
+
version: '0'
|
141
110
|
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
142
117
|
description: Exposing Pulp's juiciest components to the Ruby world.
|
143
118
|
email:
|
144
119
|
- ehelms@redhat.com, jsherril@redhat.com
|
@@ -146,55 +121,56 @@ executables: []
|
|
146
121
|
extensions: []
|
147
122
|
extra_rdoc_files: []
|
148
123
|
files:
|
124
|
+
- CONTRIBUTING.md
|
125
|
+
- Gemfile
|
126
|
+
- LICENSE
|
127
|
+
- README.md
|
128
|
+
- Rakefile
|
149
129
|
- lib/runcible.rb
|
150
|
-
- lib/runcible/version.rb
|
151
|
-
- lib/runcible/instance.rb
|
152
130
|
- lib/runcible/base.rb
|
153
|
-
- lib/runcible/
|
154
|
-
- lib/runcible/
|
155
|
-
- lib/runcible/
|
156
|
-
- lib/runcible/models/export_distributor.rb
|
157
|
-
- lib/runcible/models/puppet_importer.rb
|
158
|
-
- lib/runcible/models/docker_distributor.rb
|
159
|
-
- lib/runcible/models/iso_importer.rb
|
160
|
-
- lib/runcible/models/yum_distributor.rb
|
161
|
-
- lib/runcible/models/nodes_http_distributor.rb
|
162
|
-
- lib/runcible/models/iso_distributor.rb
|
163
|
-
- lib/runcible/models/docker_importer.rb
|
164
|
-
- lib/runcible/models/puppet_install_distributor.rb
|
165
|
-
- lib/runcible/models/yum_importer.rb
|
166
|
-
- lib/runcible/models/importer.rb
|
167
|
-
- lib/runcible/extensions/package_category.rb
|
131
|
+
- lib/runcible/extensions/consumer.rb
|
132
|
+
- lib/runcible/extensions/consumer_group.rb
|
133
|
+
- lib/runcible/extensions/distribution.rb
|
168
134
|
- lib/runcible/extensions/docker_image.rb
|
169
135
|
- lib/runcible/extensions/errata.rb
|
170
|
-
- lib/runcible/extensions/
|
136
|
+
- lib/runcible/extensions/package_category.rb
|
137
|
+
- lib/runcible/extensions/package_group.rb
|
171
138
|
- lib/runcible/extensions/puppet_module.rb
|
172
|
-
- lib/runcible/extensions/consumer.rb
|
173
139
|
- lib/runcible/extensions/repository.rb
|
174
140
|
- lib/runcible/extensions/rpm.rb
|
175
141
|
- lib/runcible/extensions/unit.rb
|
176
|
-
- lib/runcible/extensions/package_group.rb
|
177
142
|
- lib/runcible/extensions/yum_repo_metadata_file.rb
|
178
|
-
- lib/runcible/
|
179
|
-
- lib/runcible/
|
143
|
+
- lib/runcible/instance.rb
|
144
|
+
- lib/runcible/models/distributor.rb
|
145
|
+
- lib/runcible/models/docker_distributor.rb
|
146
|
+
- lib/runcible/models/docker_importer.rb
|
147
|
+
- lib/runcible/models/export_distributor.rb
|
148
|
+
- lib/runcible/models/importer.rb
|
149
|
+
- lib/runcible/models/iso_distributor.rb
|
150
|
+
- lib/runcible/models/iso_importer.rb
|
151
|
+
- lib/runcible/models/nodes_http_distributor.rb
|
152
|
+
- lib/runcible/models/puppet_distributor.rb
|
153
|
+
- lib/runcible/models/puppet_importer.rb
|
154
|
+
- lib/runcible/models/puppet_install_distributor.rb
|
155
|
+
- lib/runcible/models/yum_clone_distributor.rb
|
156
|
+
- lib/runcible/models/yum_distributor.rb
|
157
|
+
- lib/runcible/models/yum_importer.rb
|
158
|
+
- lib/runcible/resources/consumer.rb
|
180
159
|
- lib/runcible/resources/consumer_group.rb
|
181
160
|
- lib/runcible/resources/content.rb
|
182
|
-
- lib/runcible/resources/consumer.rb
|
183
|
-
- lib/runcible/resources/repository_schedule.rb
|
184
|
-
- lib/runcible/resources/task.rb
|
185
161
|
- lib/runcible/resources/event_notifier.rb
|
186
162
|
- lib/runcible/resources/repository.rb
|
187
|
-
- lib/runcible/resources/user.rb
|
188
|
-
- lib/runcible/resources/unit.rb
|
189
163
|
- lib/runcible/resources/repository_group.rb
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
164
|
+
- lib/runcible/resources/repository_schedule.rb
|
165
|
+
- lib/runcible/resources/role.rb
|
166
|
+
- lib/runcible/resources/task.rb
|
167
|
+
- lib/runcible/resources/unit.rb
|
168
|
+
- lib/runcible/resources/user.rb
|
169
|
+
- lib/runcible/version.rb
|
195
170
|
homepage: https://github.com/Katello/runcible
|
196
171
|
licenses: []
|
197
|
-
|
172
|
+
metadata: {}
|
173
|
+
post_install_message:
|
198
174
|
rdoc_options: []
|
199
175
|
require_paths:
|
200
176
|
- lib
|
@@ -202,20 +178,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
202
178
|
requirements:
|
203
179
|
- - ">="
|
204
180
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
206
|
-
MA==
|
207
|
-
none: false
|
181
|
+
version: '0'
|
208
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
183
|
requirements:
|
210
184
|
- - ">="
|
211
185
|
- !ruby/object:Gem::Version
|
212
|
-
version:
|
213
|
-
MA==
|
214
|
-
none: false
|
186
|
+
version: '0'
|
215
187
|
requirements: []
|
216
|
-
rubyforge_project:
|
217
|
-
rubygems_version:
|
218
|
-
signing_key:
|
219
|
-
specification_version:
|
188
|
+
rubyforge_project:
|
189
|
+
rubygems_version: 2.4.6
|
190
|
+
signing_key:
|
191
|
+
specification_version: 4
|
220
192
|
summary: ''
|
221
193
|
test_files: []
|