runcible 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/lib/runcible/version.rb +1 -1
  2. metadata +8 -153
  3. data/.gitignore +0 -18
  4. data/Gemfile +0 -19
  5. data/LICENSE +0 -22
  6. data/README.md +0 -29
  7. data/Rakefile +0 -37
  8. data/rel-eng/packages/.readme +0 -3
  9. data/rel-eng/packages/rubygem-runcible +0 -1
  10. data/rel-eng/tito.props +0 -5
  11. data/runcible.gemspec +0 -17
  12. data/runcible.spec +0 -66
  13. data/test/.gitkeep +0 -0
  14. data/test/integration/extensions/repository_test.rb +0 -117
  15. data/test/integration/fixtures/repositories/zoo5/.treeinfo +0 -12
  16. data/test/integration/fixtures/repositories/zoo5/CHANGESET +0 -11
  17. data/test/integration/fixtures/repositories/zoo5/PULP_MANIFEST +0 -1
  18. data/test/integration/fixtures/repositories/zoo5/cheetah-0.3-0.8.noarch.rpm +0 -0
  19. data/test/integration/fixtures/repositories/zoo5/create.sh +0 -20
  20. data/test/integration/fixtures/repositories/zoo5/elephant-0.3-0.8.noarch.rpm +0 -0
  21. data/test/integration/fixtures/repositories/zoo5/empty.iso +0 -0
  22. data/test/integration/fixtures/repositories/zoo5/giraffe-0.3-0.8.noarch.rpm +0 -0
  23. data/test/integration/fixtures/repositories/zoo5/images/test1.img +0 -0
  24. data/test/integration/fixtures/repositories/zoo5/images/test2.img +0 -0
  25. data/test/integration/fixtures/repositories/zoo5/lion-0.3-0.8.noarch.rpm +0 -0
  26. data/test/integration/fixtures/repositories/zoo5/monkey-0.3-0.8.noarch.rpm +0 -0
  27. data/test/integration/fixtures/repositories/zoo5/penguin-0.3-0.8.noarch.rpm +0 -0
  28. data/test/integration/fixtures/repositories/zoo5/repodata/06661e2a9839cf0beebcf409410ca4f93c09081f4e772fd0d03e1faf62705a11-comps.xml +0 -39
  29. data/test/integration/fixtures/repositories/zoo5/repodata/0c4d57a68f9a3b13dabc6f8b01ca8958aa796167cececee04717edfc26d02f2d-other.xml.gz +0 -0
  30. data/test/integration/fixtures/repositories/zoo5/repodata/298ce23f48b3613e030d19f3d9c2ff2df31c2f08479bdf94cebb87c208e48c0e-filelists.xml.gz +0 -0
  31. data/test/integration/fixtures/repositories/zoo5/repodata/32c0e38317aade0c057b173ff62344e912e1bd650409c6ac31aecee78e3413af-comps.xml.gz +0 -0
  32. data/test/integration/fixtures/repositories/zoo5/repodata/34d954906c7ce7aa2254e24d7be0a9049e0a2f436add023ca056123a2d48e30e-updateinfo.xml.gz +0 -0
  33. data/test/integration/fixtures/repositories/zoo5/repodata/63aedd074d9f0daf7c6be8c61f91d76a962bb6ceda86b9abd2140f154c320fa2-other.sqlite.bz2 +0 -0
  34. data/test/integration/fixtures/repositories/zoo5/repodata/69d65cdebffc6199d3adb3e38b06ca9abaae6c1c7366805099987b28f182178d-filelists.sqlite.bz2 +0 -0
  35. data/test/integration/fixtures/repositories/zoo5/repodata/799241a518a4a6b11a68f8e6fbdb719875f87832f60accc0851ced0d6a0497c6-updateinfo.xml.gz +0 -0
  36. data/test/integration/fixtures/repositories/zoo5/repodata/a4ea9fcdce31dc8673c7a9ba66c086bd6a16e1eff717e3896dd1cac444a1423c-primary.xml.gz +0 -0
  37. data/test/integration/fixtures/repositories/zoo5/repodata/fb9b9508e148368d0edf7e03dc905b343937fd958e6531cce6380933d18c3455-primary.sqlite.bz2 +0 -0
  38. data/test/integration/fixtures/repositories/zoo5/repodata/repomd.xml +0 -75
  39. data/test/integration/fixtures/repositories/zoo5/squirrel-0.3-0.8.noarch.rpm +0 -0
  40. data/test/integration/fixtures/repositories/zoo5/updateinfo.xml +0 -26
  41. data/test/integration/fixtures/repositories/zoo5/walrus-0.3-0.8.noarch.rpm +0 -0
  42. data/test/integration/fixtures/vcr_cassettes/extensions/pulp_repository_extensions.yml +0 -137
  43. data/test/integration/fixtures/vcr_cassettes/pulp_consumer.yml +0 -1529
  44. data/test/integration/fixtures/vcr_cassettes/pulp_consumer_group.yml +0 -430
  45. data/test/integration/fixtures/vcr_cassettes/pulp_consumer_helper.yml +0 -120
  46. data/test/integration/fixtures/vcr_cassettes/pulp_distribution.yml +0 -77
  47. data/test/integration/fixtures/vcr_cassettes/pulp_errata.yml +0 -77
  48. data/test/integration/fixtures/vcr_cassettes/pulp_filter.yml +0 -233
  49. data/test/integration/fixtures/vcr_cassettes/pulp_filter_helper.yml +0 -81
  50. data/test/integration/fixtures/vcr_cassettes/pulp_package.yml +0 -155
  51. data/test/integration/fixtures/vcr_cassettes/pulp_package_group.yml +0 -40
  52. data/test/integration/fixtures/vcr_cassettes/pulp_package_group_category.yml +0 -40
  53. data/test/integration/fixtures/vcr_cassettes/pulp_ping.yml +0 -40
  54. data/test/integration/fixtures/vcr_cassettes/pulp_repository.yml +0 -1196
  55. data/test/integration/fixtures/vcr_cassettes/pulp_repository_helper.yml +0 -8659
  56. data/test/integration/fixtures/vcr_cassettes/pulp_repository_sync.yml +0 -215
  57. data/test/integration/fixtures/vcr_cassettes/pulp_role.yml +0 -193
  58. data/test/integration/fixtures/vcr_cassettes/pulp_roles.yml +0 -120
  59. data/test/integration/fixtures/vcr_cassettes/pulp_task.yml +0 -943
  60. data/test/integration/fixtures/vcr_cassettes/pulp_user.yml +0 -664
  61. data/test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml +0 -683
  62. data/test/integration/resources/helpers/consumer_helper.rb +0 -49
  63. data/test/integration/resources/helpers/filter_helper.rb +0 -44
  64. data/test/integration/resources/helpers/repository_helper.rb +0 -127
  65. data/test/integration/resources/pulp_consumer_group_test.rb +0 -182
  66. data/test/integration/resources/pulp_consumer_test.rb +0 -200
  67. data/test/integration/resources/pulp_distribution_test.rb +0 -55
  68. data/test/integration/resources/pulp_errata_test.rb +0 -60
  69. data/test/integration/resources/pulp_filter_test.rb +0 -92
  70. data/test/integration/resources/pulp_package_group_category_test.rb +0 -55
  71. data/test/integration/resources/pulp_package_group_test.rb +0 -56
  72. data/test/integration/resources/pulp_package_test.rb +0 -79
  73. data/test/integration/resources/pulp_ping_test.rb +0 -31
  74. data/test/integration/resources/pulp_repository_test.rb +0 -307
  75. data/test/integration/resources/pulp_role_test.rb +0 -62
  76. data/test/integration/resources/pulp_task_test.rb +0 -79
  77. data/test/integration/resources/pulp_user_test.rb +0 -105
  78. data/test/integration/test_runner.rb +0 -121
  79. data/test/integration/vcr_setup.rb +0 -22
  80. data/test/unit/test_base.rb +0 -62
@@ -1,3 +1,3 @@
1
1
  module Runcible
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runcible
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric D Helms
@@ -28,92 +28,14 @@ extensions: []
28
28
  extra_rdoc_files: []
29
29
 
30
30
  files:
31
- - .gitignore
32
- - Gemfile
33
- - LICENSE
34
- - README.md
35
- - Rakefile
36
31
  - lib/runcible.rb
37
32
  - lib/runcible/base.rb
38
33
  - lib/runcible/extensions/repository.rb
39
- - lib/runcible/resources/repository.rb
40
- - lib/runcible/resources/role.rb
34
+ - lib/runcible/version.rb
41
35
  - lib/runcible/resources/task.rb
42
36
  - lib/runcible/resources/user.rb
43
- - lib/runcible/version.rb
44
- - rel-eng/packages/.readme
45
- - rel-eng/packages/rubygem-runcible
46
- - rel-eng/tito.props
47
- - runcible.gemspec
48
- - runcible.spec
49
- - test/.gitkeep
50
- - test/integration/extensions/repository_test.rb
51
- - test/integration/fixtures/repositories/zoo5/.treeinfo
52
- - test/integration/fixtures/repositories/zoo5/CHANGESET
53
- - test/integration/fixtures/repositories/zoo5/PULP_MANIFEST
54
- - test/integration/fixtures/repositories/zoo5/cheetah-0.3-0.8.noarch.rpm
55
- - test/integration/fixtures/repositories/zoo5/create.sh
56
- - test/integration/fixtures/repositories/zoo5/elephant-0.3-0.8.noarch.rpm
57
- - test/integration/fixtures/repositories/zoo5/empty.iso
58
- - test/integration/fixtures/repositories/zoo5/giraffe-0.3-0.8.noarch.rpm
59
- - test/integration/fixtures/repositories/zoo5/images/test1.img
60
- - test/integration/fixtures/repositories/zoo5/images/test2.img
61
- - test/integration/fixtures/repositories/zoo5/lion-0.3-0.8.noarch.rpm
62
- - test/integration/fixtures/repositories/zoo5/monkey-0.3-0.8.noarch.rpm
63
- - test/integration/fixtures/repositories/zoo5/penguin-0.3-0.8.noarch.rpm
64
- - test/integration/fixtures/repositories/zoo5/repodata/06661e2a9839cf0beebcf409410ca4f93c09081f4e772fd0d03e1faf62705a11-comps.xml
65
- - test/integration/fixtures/repositories/zoo5/repodata/0c4d57a68f9a3b13dabc6f8b01ca8958aa796167cececee04717edfc26d02f2d-other.xml.gz
66
- - test/integration/fixtures/repositories/zoo5/repodata/298ce23f48b3613e030d19f3d9c2ff2df31c2f08479bdf94cebb87c208e48c0e-filelists.xml.gz
67
- - test/integration/fixtures/repositories/zoo5/repodata/32c0e38317aade0c057b173ff62344e912e1bd650409c6ac31aecee78e3413af-comps.xml.gz
68
- - test/integration/fixtures/repositories/zoo5/repodata/34d954906c7ce7aa2254e24d7be0a9049e0a2f436add023ca056123a2d48e30e-updateinfo.xml.gz
69
- - test/integration/fixtures/repositories/zoo5/repodata/63aedd074d9f0daf7c6be8c61f91d76a962bb6ceda86b9abd2140f154c320fa2-other.sqlite.bz2
70
- - test/integration/fixtures/repositories/zoo5/repodata/69d65cdebffc6199d3adb3e38b06ca9abaae6c1c7366805099987b28f182178d-filelists.sqlite.bz2
71
- - test/integration/fixtures/repositories/zoo5/repodata/799241a518a4a6b11a68f8e6fbdb719875f87832f60accc0851ced0d6a0497c6-updateinfo.xml.gz
72
- - test/integration/fixtures/repositories/zoo5/repodata/a4ea9fcdce31dc8673c7a9ba66c086bd6a16e1eff717e3896dd1cac444a1423c-primary.xml.gz
73
- - test/integration/fixtures/repositories/zoo5/repodata/fb9b9508e148368d0edf7e03dc905b343937fd958e6531cce6380933d18c3455-primary.sqlite.bz2
74
- - test/integration/fixtures/repositories/zoo5/repodata/repomd.xml
75
- - test/integration/fixtures/repositories/zoo5/squirrel-0.3-0.8.noarch.rpm
76
- - test/integration/fixtures/repositories/zoo5/updateinfo.xml
77
- - test/integration/fixtures/repositories/zoo5/walrus-0.3-0.8.noarch.rpm
78
- - test/integration/fixtures/vcr_cassettes/extensions/pulp_repository_extensions.yml
79
- - test/integration/fixtures/vcr_cassettes/pulp_consumer.yml
80
- - test/integration/fixtures/vcr_cassettes/pulp_consumer_group.yml
81
- - test/integration/fixtures/vcr_cassettes/pulp_consumer_helper.yml
82
- - test/integration/fixtures/vcr_cassettes/pulp_distribution.yml
83
- - test/integration/fixtures/vcr_cassettes/pulp_errata.yml
84
- - test/integration/fixtures/vcr_cassettes/pulp_filter.yml
85
- - test/integration/fixtures/vcr_cassettes/pulp_filter_helper.yml
86
- - test/integration/fixtures/vcr_cassettes/pulp_package.yml
87
- - test/integration/fixtures/vcr_cassettes/pulp_package_group.yml
88
- - test/integration/fixtures/vcr_cassettes/pulp_package_group_category.yml
89
- - test/integration/fixtures/vcr_cassettes/pulp_ping.yml
90
- - test/integration/fixtures/vcr_cassettes/pulp_repository.yml
91
- - test/integration/fixtures/vcr_cassettes/pulp_repository_helper.yml
92
- - test/integration/fixtures/vcr_cassettes/pulp_repository_sync.yml
93
- - test/integration/fixtures/vcr_cassettes/pulp_role.yml
94
- - test/integration/fixtures/vcr_cassettes/pulp_roles.yml
95
- - test/integration/fixtures/vcr_cassettes/pulp_task.yml
96
- - test/integration/fixtures/vcr_cassettes/pulp_user.yml
97
- - test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml
98
- - test/integration/resources/helpers/consumer_helper.rb
99
- - test/integration/resources/helpers/filter_helper.rb
100
- - test/integration/resources/helpers/repository_helper.rb
101
- - test/integration/resources/pulp_consumer_group_test.rb
102
- - test/integration/resources/pulp_consumer_test.rb
103
- - test/integration/resources/pulp_distribution_test.rb
104
- - test/integration/resources/pulp_errata_test.rb
105
- - test/integration/resources/pulp_filter_test.rb
106
- - test/integration/resources/pulp_package_group_category_test.rb
107
- - test/integration/resources/pulp_package_group_test.rb
108
- - test/integration/resources/pulp_package_test.rb
109
- - test/integration/resources/pulp_ping_test.rb
110
- - test/integration/resources/pulp_repository_test.rb
111
- - test/integration/resources/pulp_role_test.rb
112
- - test/integration/resources/pulp_task_test.rb
113
- - test/integration/resources/pulp_user_test.rb
114
- - test/integration/test_runner.rb
115
- - test/integration/vcr_setup.rb
116
- - test/unit/test_base.rb
37
+ - lib/runcible/resources/role.rb
38
+ - lib/runcible/resources/repository.rb
117
39
  homepage: https://github.com/Katello/runcible
118
40
  licenses: []
119
41
 
@@ -147,72 +69,5 @@ rubygems_version: 1.8.11
147
69
  signing_key:
148
70
  specification_version: 3
149
71
  summary: ""
150
- test_files:
151
- - test/.gitkeep
152
- - test/integration/extensions/repository_test.rb
153
- - test/integration/fixtures/repositories/zoo5/.treeinfo
154
- - test/integration/fixtures/repositories/zoo5/CHANGESET
155
- - test/integration/fixtures/repositories/zoo5/PULP_MANIFEST
156
- - test/integration/fixtures/repositories/zoo5/cheetah-0.3-0.8.noarch.rpm
157
- - test/integration/fixtures/repositories/zoo5/create.sh
158
- - test/integration/fixtures/repositories/zoo5/elephant-0.3-0.8.noarch.rpm
159
- - test/integration/fixtures/repositories/zoo5/empty.iso
160
- - test/integration/fixtures/repositories/zoo5/giraffe-0.3-0.8.noarch.rpm
161
- - test/integration/fixtures/repositories/zoo5/images/test1.img
162
- - test/integration/fixtures/repositories/zoo5/images/test2.img
163
- - test/integration/fixtures/repositories/zoo5/lion-0.3-0.8.noarch.rpm
164
- - test/integration/fixtures/repositories/zoo5/monkey-0.3-0.8.noarch.rpm
165
- - test/integration/fixtures/repositories/zoo5/penguin-0.3-0.8.noarch.rpm
166
- - test/integration/fixtures/repositories/zoo5/repodata/06661e2a9839cf0beebcf409410ca4f93c09081f4e772fd0d03e1faf62705a11-comps.xml
167
- - test/integration/fixtures/repositories/zoo5/repodata/0c4d57a68f9a3b13dabc6f8b01ca8958aa796167cececee04717edfc26d02f2d-other.xml.gz
168
- - test/integration/fixtures/repositories/zoo5/repodata/298ce23f48b3613e030d19f3d9c2ff2df31c2f08479bdf94cebb87c208e48c0e-filelists.xml.gz
169
- - test/integration/fixtures/repositories/zoo5/repodata/32c0e38317aade0c057b173ff62344e912e1bd650409c6ac31aecee78e3413af-comps.xml.gz
170
- - test/integration/fixtures/repositories/zoo5/repodata/34d954906c7ce7aa2254e24d7be0a9049e0a2f436add023ca056123a2d48e30e-updateinfo.xml.gz
171
- - test/integration/fixtures/repositories/zoo5/repodata/63aedd074d9f0daf7c6be8c61f91d76a962bb6ceda86b9abd2140f154c320fa2-other.sqlite.bz2
172
- - test/integration/fixtures/repositories/zoo5/repodata/69d65cdebffc6199d3adb3e38b06ca9abaae6c1c7366805099987b28f182178d-filelists.sqlite.bz2
173
- - test/integration/fixtures/repositories/zoo5/repodata/799241a518a4a6b11a68f8e6fbdb719875f87832f60accc0851ced0d6a0497c6-updateinfo.xml.gz
174
- - test/integration/fixtures/repositories/zoo5/repodata/a4ea9fcdce31dc8673c7a9ba66c086bd6a16e1eff717e3896dd1cac444a1423c-primary.xml.gz
175
- - test/integration/fixtures/repositories/zoo5/repodata/fb9b9508e148368d0edf7e03dc905b343937fd958e6531cce6380933d18c3455-primary.sqlite.bz2
176
- - test/integration/fixtures/repositories/zoo5/repodata/repomd.xml
177
- - test/integration/fixtures/repositories/zoo5/squirrel-0.3-0.8.noarch.rpm
178
- - test/integration/fixtures/repositories/zoo5/updateinfo.xml
179
- - test/integration/fixtures/repositories/zoo5/walrus-0.3-0.8.noarch.rpm
180
- - test/integration/fixtures/vcr_cassettes/extensions/pulp_repository_extensions.yml
181
- - test/integration/fixtures/vcr_cassettes/pulp_consumer.yml
182
- - test/integration/fixtures/vcr_cassettes/pulp_consumer_group.yml
183
- - test/integration/fixtures/vcr_cassettes/pulp_consumer_helper.yml
184
- - test/integration/fixtures/vcr_cassettes/pulp_distribution.yml
185
- - test/integration/fixtures/vcr_cassettes/pulp_errata.yml
186
- - test/integration/fixtures/vcr_cassettes/pulp_filter.yml
187
- - test/integration/fixtures/vcr_cassettes/pulp_filter_helper.yml
188
- - test/integration/fixtures/vcr_cassettes/pulp_package.yml
189
- - test/integration/fixtures/vcr_cassettes/pulp_package_group.yml
190
- - test/integration/fixtures/vcr_cassettes/pulp_package_group_category.yml
191
- - test/integration/fixtures/vcr_cassettes/pulp_ping.yml
192
- - test/integration/fixtures/vcr_cassettes/pulp_repository.yml
193
- - test/integration/fixtures/vcr_cassettes/pulp_repository_helper.yml
194
- - test/integration/fixtures/vcr_cassettes/pulp_repository_sync.yml
195
- - test/integration/fixtures/vcr_cassettes/pulp_role.yml
196
- - test/integration/fixtures/vcr_cassettes/pulp_roles.yml
197
- - test/integration/fixtures/vcr_cassettes/pulp_task.yml
198
- - test/integration/fixtures/vcr_cassettes/pulp_user.yml
199
- - test/integration/fixtures/vcr_cassettes/pulp_user_helper.yml
200
- - test/integration/resources/helpers/consumer_helper.rb
201
- - test/integration/resources/helpers/filter_helper.rb
202
- - test/integration/resources/helpers/repository_helper.rb
203
- - test/integration/resources/pulp_consumer_group_test.rb
204
- - test/integration/resources/pulp_consumer_test.rb
205
- - test/integration/resources/pulp_distribution_test.rb
206
- - test/integration/resources/pulp_errata_test.rb
207
- - test/integration/resources/pulp_filter_test.rb
208
- - test/integration/resources/pulp_package_group_category_test.rb
209
- - test/integration/resources/pulp_package_group_test.rb
210
- - test/integration/resources/pulp_package_test.rb
211
- - test/integration/resources/pulp_ping_test.rb
212
- - test/integration/resources/pulp_repository_test.rb
213
- - test/integration/resources/pulp_role_test.rb
214
- - test/integration/resources/pulp_task_test.rb
215
- - test/integration/resources/pulp_user_test.rb
216
- - test/integration/test_runner.rb
217
- - test/integration/vcr_setup.rb
218
- - test/unit/test_base.rb
72
+ test_files: []
73
+
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- *.sw*
data/Gemfile DELETED
@@ -1,19 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in runcible.gemspec
4
- gemspec
5
-
6
- gem 'json'
7
- gem 'rest-client', '>= 1.6.1'
8
- gem 'oauth'
9
-
10
- group :development, :test do
11
- gem 'ruby-debug'
12
- end
13
-
14
- group :test do
15
- gem 'vcr'
16
- gem 'webmock'
17
- gem 'minitest'
18
- gem 'parseconfig'
19
- end
data/LICENSE DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2012 Eric D Helms
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,29 +0,0 @@
1
- # Runcible
2
-
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'runcible'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install runcible
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Added some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
data/Rakefile DELETED
@@ -1,37 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
3
- require "rake/testtask"
4
-
5
- namespace :test do
6
- Rake::TestTask.new :unit do |t|
7
- t.pattern = 'test/unit/test_*.rb'
8
- end
9
-
10
- task :integration do
11
- options = {}
12
-
13
- options[:mode] = ENV['mode']
14
- options[:test_name] = ENV['test']
15
- options[:auth_type] = ENV['auth_type']
16
-
17
- if !['recorded', 'live'].include?(options[:mode])
18
- puts "Invalid test mode"
19
- else
20
- require "test/integration/test_runner"
21
-
22
- test_runner = PulpMiniTestRunner.new
23
-
24
- if options[:test_name]
25
- puts "Running tests for: #{options[:test_name]}"
26
- puts "Using #{options[:mode]} Pulp."
27
-
28
- test_runner.run_tests(options)
29
- else
30
- puts "Running full test suite."
31
- puts "Using #{options[:mode]} data."
32
-
33
- test_runner.run_tests(options)
34
- end
35
- end
36
- end
37
- end
@@ -1,3 +0,0 @@
1
- the rel-eng/packages directory contains metadata files
2
- named after their packages. Each file has the latest tagged
3
- version and the project's relative directory.
@@ -1 +0,0 @@
1
- 0.0.3-1 /
data/rel-eng/tito.props DELETED
@@ -1,5 +0,0 @@
1
- [globalconfig]
2
- default_builder = tito.builder.Builder
3
- default_tagger = tito.tagger.VersionTagger
4
- changelog_do_not_remove_cherrypick = 0
5
- changelog_format = %s (%ae)
data/runcible.gemspec DELETED
@@ -1,17 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/runcible/version', __FILE__)
3
-
4
- Gem::Specification.new do |gem|
5
- gem.authors = ["Eric D Helms"]
6
- gem.email = ["ehelms@redhat.com"]
7
- gem.description = "ExposingPpulp's juiciest components to the Ruby world."
8
- gem.summary = ""
9
- gem.homepage = "https://github.com/Katello/runcible"
10
-
11
- gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.name = "runcible"
15
- gem.require_paths = ["lib"]
16
- gem.version = Runcible::VERSION
17
- end
data/runcible.spec DELETED
@@ -1,66 +0,0 @@
1
- # vim: sw=4:ts=4:et
2
- #
3
- # Copyright 2011 Red Hat, Inc.
4
- #
5
- # This software is licensed to you under the GNU General Public
6
- # License as published by the Free Software Foundation; either version
7
- # 2 of the License (GPLv2) or (at your option) any later version.
8
- # There is NO WARRANTY for this software, express or implied,
9
- # including the implied warranties of MERCHANTABILITY,
10
- # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
11
- # have received a copy of GPLv2 along with this software; if not, see
12
- # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13
-
14
- %global gemname runcible
15
-
16
- %global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
17
- %global geminstdir %{gemdir}/gems/%{gemname}-%{version}
18
- %global rubyabi 1.8
19
-
20
- Name: rubygem-%{gemname}
21
- Summary: A gem to expose Pulp's juiciest parts.
22
- Group: Applications/System
23
- License: MIT
24
- Version: 0.0.3
25
- Release: 1%{?dist}
26
- Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
27
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
28
- Requires: ruby(abi) = %{rubyabi}
29
- Requires: ruby(rubygems)
30
- Requires: rubygem(json)
31
- Requires: rubygem(rest-client) >= 1.6.1
32
- Requires: rubygem(oauth)
33
- Requires: ruby
34
- BuildRequires: ruby(abi) = %{rubyabi}
35
- BuildRequires: ruby(rubygems)
36
- BuildRequires: ruby
37
- BuildArch: noarch
38
- Provides: rubygem(%{gemname}) = %{version}
39
-
40
- %description
41
- A gem to expose Pulp's juiciest parts.
42
-
43
- %prep
44
- %setup -q -c -T
45
- mkdir -p .%{gemdir}
46
- gem install --local --install-dir .%{gemdir} \
47
- --force %{SOURCE0}
48
-
49
- %build
50
-
51
- %install
52
- mkdir -p %{buildroot}%{gemdir}
53
- cp -a .%{gemdir}/* \
54
- %{buildroot}%{gemdir}/
55
-
56
-
57
- %files
58
- %dir %{geminstdir}
59
- %{geminstdir}/lib
60
- %exclude %{gemdir}/cache/%{gemname}-%{version}.gem
61
- %{gemdir}/specifications/%{gemname}-%{version}.gemspec
62
-
63
- %changelog
64
- * Fri Sep 14 2012 Eric D. Helms <ehelms@redhat.com> 0.0.3-1
65
- - new package built with tito
66
-
data/test/.gitkeep DELETED
File without changes
@@ -1,117 +0,0 @@
1
- # Copyright 2012 Red Hat, Inc.
2
- #
3
- # This software is licensed to you under the GNU General Public
4
- # License as published by the Free Software Foundation; either version
5
- # 2 of the License (GPLv2) or (at your option) any later version.
6
- # There is NO WARRANTY for this software, express or implied,
7
- # including the implied warranties of MERCHANTABILITY,
8
- # NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
9
- # have received a copy of GPLv2 along with this software; if not, see
10
- # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
11
-
12
- require 'rubygems'
13
- require 'minitest/autorun'
14
-
15
- require './test/integration/resources/helpers/repository_helper'
16
- require './lib/runcible/extensions/repository'
17
-
18
-
19
- module TestPulpRepositoryExtensionBase
20
- include RepositoryHelper
21
-
22
- def setup
23
- @extension = Runcible::Pulp::RepositoryExtension
24
- VCR.insert_cassette('extensions/pulp_repository_extensions')
25
- end
26
-
27
- def teardown
28
- VCR.eject_cassette
29
- end
30
-
31
- end
32
-
33
- class TestPulpRepositoryExtensionCreate < MiniTest::Unit::TestCase
34
- include TestPulpRepositoryExtensionBase
35
-
36
- def teardown
37
- super
38
- RepositoryHelper.destroy_repo
39
- end
40
-
41
- def test_create_with_importer
42
- response = @extension.create_with_importer(RepositoryHelper.repo_id, "yum_importer", {})
43
- assert response.code == 201
44
-
45
- response = @extension.retrieve(RepositoryHelper.repo_id, {:details => true})
46
- assert response['id'] == RepositoryHelper.repo_id
47
- assert response['importers'].first['importer_type_id'] == 'yum_importer'
48
- end
49
-
50
- def test_create_with_distributors
51
- distributors = [{:distributor_type_id => 'yum_distributor', :distributor_config => {"relative_url" => "/", "http" => true, "https" => true}}]
52
-
53
- response = @extension.create_with_distributors(RepositoryHelper.repo_id, distributors)
54
- assert response.code == 201
55
- assert response['id'] == RepositoryHelper.repo_id
56
- end
57
-
58
- def test_create_with_importer_and_distributors
59
- distributors = [{:distributor_type_id => 'yum_distributor', :distributor_config => {"relative_url" => "/", "http" => true, "https" => true}}]
60
-
61
- response = @extension.create_with_importer_and_distributors(RepositoryHelper.repo_id, "yum_importer", {}, distributors)
62
- assert response.code == 201
63
-
64
- response = @extension.retrieve(RepositoryHelper.repo_id, {:details => true})
65
- assert response['id'] == RepositoryHelper.repo_id
66
- assert response['importers']['importer_type_id'] == 'yum_importer'
67
- end
68
-
69
- end
70
-
71
- class TestPulpRepositoryExtensionSearch < MiniTest::Unit::TestCase
72
- include TestPulpRepositoryExtensionBase
73
-
74
- def self.before_suite
75
- RepositoryHelper.create_repo
76
- end
77
-
78
- def self.after_suite
79
- RepositoryHelper.destroy_repo
80
- end
81
-
82
- def test_search_by_repository_ids
83
- response = @extension.search_by_repository_ids([RepositoryHelper.repo_id])
84
- assert response.code == 200
85
- assert response.collect{ |repo| repo["display_name"] == RepositoryHelper.repo_id }.length > 0
86
- end
87
-
88
- end
89
-
90
-
91
- class TestPulpRepositoryExtensionUnitCopy < MiniTest::Unit::TestCase
92
- include TestPulpRepositoryExtensionBase
93
-
94
- def setup
95
- super
96
- @clone_name = RepositoryHelper.repo_id + "_clone"
97
- RepositoryHelper.destroy_repo(@clone_name)
98
- RepositoryHelper.destroy_repo
99
- RepositoryHelper.create_and_sync_repo(:importer => true)
100
- @extension.create_with_importer(@clone_name, "yum_importer", {})
101
- end
102
-
103
- def teardown
104
- RepositoryHelper.destroy_repo(@clone_name)
105
- RepositoryHelper.destroy_repo
106
- super
107
- end
108
-
109
- def test_package_copy
110
- response = @extension.rpm_copy(@clone_name, RepositoryHelper.repo_id)
111
- RepositoryHelper.task = response
112
- assert response.code == 202
113
- assert response['tags'].include?('pulp:action:associate')
114
- end
115
-
116
- end
117
-