studio_api 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +93 -0
- data/Rakefile +64 -0
- data/VERSION +1 -0
- data/lib/studio_api/appliance.rb +365 -0
- data/lib/studio_api/build.rb +17 -0
- data/lib/studio_api/connection.rb +102 -0
- data/lib/studio_api/file.rb +70 -0
- data/lib/studio_api/generic_request.rb +160 -0
- data/lib/studio_api/package.rb +12 -0
- data/lib/studio_api/pattern.rb +12 -0
- data/lib/studio_api/repository.rb +35 -0
- data/lib/studio_api/rpm.rb +33 -0
- data/lib/studio_api/running_build.rb +35 -0
- data/lib/studio_api/studio_resource.rb +70 -0
- data/lib/studio_api/template_set.rb +12 -0
- data/lib/studio_api/util.rb +38 -0
- data/lib/studio_api.rb +31 -0
- data/test/appliance_test.rb +189 -0
- data/test/build_test.rb +45 -0
- data/test/connection_test.rb +21 -0
- data/test/file_test.rb +52 -0
- data/test/generic_request_test.rb +66 -0
- data/test/repository_test.rb +42 -0
- data/test/resource_test.rb +49 -0
- data/test/responses/appliance.xml +27 -0
- data/test/responses/appliances.xml +199 -0
- data/test/responses/build.xml +17 -0
- data/test/responses/builds.xml +19 -0
- data/test/responses/file.xml +12 -0
- data/test/responses/files.xml +14 -0
- data/test/responses/gpg_key.xml +25 -0
- data/test/responses/gpg_keys.xml +77 -0
- data/test/responses/repositories.xml +42 -0
- data/test/responses/repository.xml +8 -0
- data/test/responses/rpm.xml +10 -0
- data/test/responses/rpms.xml +404 -0
- data/test/responses/running_build.xml +7 -0
- data/test/responses/running_builds.xml +23 -0
- data/test/responses/software.xml +50 -0
- data/test/responses/software_installed.xml +729 -0
- data/test/responses/software_search.xml +64 -0
- data/test/responses/status-broken.xml +9 -0
- data/test/responses/status.xml +4 -0
- data/test/responses/template_sets.xml +380 -0
- data/test/rpm_test.rb +59 -0
- data/test/running_build_test.rb +50 -0
- data/test/template_set_test.rb +35 -0
- metadata +181 -0
metadata
ADDED
@@ -0,0 +1,181 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: studio_api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 2.3.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Josef Reidinger
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-12-21 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: activeresource
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 11
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 3
|
33
|
+
- 8
|
34
|
+
version: 1.3.8
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: xml-simple
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 23
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
- 0
|
50
|
+
version: 1.0.0
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
description: |-
|
54
|
+
Studio Api makes it easier to use Studio via API.
|
55
|
+
Instead of adapting each ActiveResource to its behavior and
|
56
|
+
manually adding multipart file upload it wrapp in in Active
|
57
|
+
Resource like interface. It is possible to define credentials
|
58
|
+
for whole api, or use it per partes, so it allow using it for
|
59
|
+
different studio users together.
|
60
|
+
email: jreidinger@suse.cz
|
61
|
+
executables: []
|
62
|
+
|
63
|
+
extensions: []
|
64
|
+
|
65
|
+
extra_rdoc_files: []
|
66
|
+
|
67
|
+
files:
|
68
|
+
- README
|
69
|
+
- Rakefile
|
70
|
+
- VERSION
|
71
|
+
- lib/studio_api.rb
|
72
|
+
- lib/studio_api/appliance.rb
|
73
|
+
- lib/studio_api/build.rb
|
74
|
+
- lib/studio_api/connection.rb
|
75
|
+
- lib/studio_api/file.rb
|
76
|
+
- lib/studio_api/generic_request.rb
|
77
|
+
- lib/studio_api/package.rb
|
78
|
+
- lib/studio_api/pattern.rb
|
79
|
+
- lib/studio_api/repository.rb
|
80
|
+
- lib/studio_api/rpm.rb
|
81
|
+
- lib/studio_api/running_build.rb
|
82
|
+
- lib/studio_api/studio_resource.rb
|
83
|
+
- lib/studio_api/template_set.rb
|
84
|
+
- lib/studio_api/util.rb
|
85
|
+
- test/appliance_test.rb
|
86
|
+
- test/build_test.rb
|
87
|
+
- test/connection_test.rb
|
88
|
+
- test/file_test.rb
|
89
|
+
- test/generic_request_test.rb
|
90
|
+
- test/repository_test.rb
|
91
|
+
- test/resource_test.rb
|
92
|
+
- test/rpm_test.rb
|
93
|
+
- test/running_build_test.rb
|
94
|
+
- test/template_set_test.rb
|
95
|
+
- test/responses/appliance.xml
|
96
|
+
- test/responses/appliances.xml
|
97
|
+
- test/responses/build.xml
|
98
|
+
- test/responses/builds.xml
|
99
|
+
- test/responses/file.xml
|
100
|
+
- test/responses/files.xml
|
101
|
+
- test/responses/gpg_key.xml
|
102
|
+
- test/responses/gpg_keys.xml
|
103
|
+
- test/responses/repositories.xml
|
104
|
+
- test/responses/repository.xml
|
105
|
+
- test/responses/rpm.xml
|
106
|
+
- test/responses/rpms.xml
|
107
|
+
- test/responses/running_build.xml
|
108
|
+
- test/responses/running_builds.xml
|
109
|
+
- test/responses/software.xml
|
110
|
+
- test/responses/software_installed.xml
|
111
|
+
- test/responses/software_search.xml
|
112
|
+
- test/responses/status-broken.xml
|
113
|
+
- test/responses/status.xml
|
114
|
+
- test/responses/template_sets.xml
|
115
|
+
has_rdoc: true
|
116
|
+
homepage: http://github.com/jreidinger/studio_api
|
117
|
+
licenses: []
|
118
|
+
|
119
|
+
post_install_message:
|
120
|
+
rdoc_options:
|
121
|
+
- --line-numbers
|
122
|
+
- --main
|
123
|
+
- README.rdoc
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
hash: 3
|
132
|
+
segments:
|
133
|
+
- 0
|
134
|
+
version: "0"
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 3
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
version: "0"
|
144
|
+
requirements: []
|
145
|
+
|
146
|
+
rubyforge_project:
|
147
|
+
rubygems_version: 1.3.7
|
148
|
+
signing_key:
|
149
|
+
specification_version: 3
|
150
|
+
summary: Studio Api Interface.
|
151
|
+
test_files:
|
152
|
+
- test/appliance_test.rb
|
153
|
+
- test/build_test.rb
|
154
|
+
- test/connection_test.rb
|
155
|
+
- test/file_test.rb
|
156
|
+
- test/generic_request_test.rb
|
157
|
+
- test/repository_test.rb
|
158
|
+
- test/resource_test.rb
|
159
|
+
- test/responses/appliance.xml
|
160
|
+
- test/responses/appliances.xml
|
161
|
+
- test/responses/build.xml
|
162
|
+
- test/responses/builds.xml
|
163
|
+
- test/responses/file.xml
|
164
|
+
- test/responses/files.xml
|
165
|
+
- test/responses/gpg_key.xml
|
166
|
+
- test/responses/gpg_keys.xml
|
167
|
+
- test/responses/repositories.xml
|
168
|
+
- test/responses/repository.xml
|
169
|
+
- test/responses/rpm.xml
|
170
|
+
- test/responses/rpms.xml
|
171
|
+
- test/responses/running_build.xml
|
172
|
+
- test/responses/running_builds.xml
|
173
|
+
- test/responses/software.xml
|
174
|
+
- test/responses/software_installed.xml
|
175
|
+
- test/responses/software_search.xml
|
176
|
+
- test/responses/status-broken.xml
|
177
|
+
- test/responses/status.xml
|
178
|
+
- test/responses/template_sets.xml
|
179
|
+
- test/rpm_test.rb
|
180
|
+
- test/running_build_test.rb
|
181
|
+
- test/template_set_test.rb
|