cobbler 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +5 -5
- data/Gemfile.lock +67 -18
- data/Rakefile +2 -2
- data/cobbler.gemspec +95 -0
- data/lib/cobbler/common/debug.rb +2 -2
- data/lib/cobbler/common/lifecycle.rb +1 -1
- data/rubygem-cobbler.spec +4 -1
- data/spec/unit/cobbler/connection/handling_spec.rb +19 -22
- metadata +109 -135
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 38385289fb0c297085950841ed566e8b2c41672f
|
|
4
|
+
data.tar.gz: 0ae7db566f03eb5cf10f94f860ec18d1cf4e2a1f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 8c1e20ca8074d92908ea39897f31155adc78ba07897a1c21f656cf8d11ffcf732ad6f15ecebb730e3404555728451434740fa13eaef714eef04d7cf803920463
|
|
7
|
+
data.tar.gz: b2db7d96e9c1e40a37f69a4f77038c5819d85d82d5af9659b5f7f0979f0b6f884829792a1e4cfe88f42d930419ed9e211565ef277cc4d5b4a267ac7abba245ad
|
data/Gemfile
CHANGED
|
@@ -3,15 +3,15 @@ source "http://rubygems.org"
|
|
|
3
3
|
# Example:
|
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
|
5
5
|
|
|
6
|
-
gem '
|
|
6
|
+
gem 'activesupport'
|
|
7
7
|
|
|
8
8
|
# Add dependencies to develop your gem here.
|
|
9
9
|
# Include everything needed to run rake, tests, features, etc.
|
|
10
10
|
group :development do
|
|
11
11
|
gem "rspec", "~> 2.5.0"
|
|
12
12
|
gem "rdoc", "~> 3.8"
|
|
13
|
-
gem "mocha"
|
|
14
|
-
gem "bundler"
|
|
15
|
-
gem "jeweler"
|
|
16
|
-
gem "
|
|
13
|
+
gem "mocha", "~> 0.10.0"
|
|
14
|
+
gem "bundler"
|
|
15
|
+
gem "jeweler"
|
|
16
|
+
gem "simplecov"
|
|
17
17
|
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,40 +1,89 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
activesupport (4.1.1)
|
|
5
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
6
|
+
json (~> 1.7, >= 1.7.7)
|
|
7
|
+
minitest (~> 5.1)
|
|
8
|
+
thread_safe (~> 0.1)
|
|
9
|
+
tzinfo (~> 1.1)
|
|
10
|
+
addressable (2.3.6)
|
|
11
|
+
builder (3.2.2)
|
|
12
|
+
descendants_tracker (0.0.4)
|
|
13
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
|
7
14
|
diff-lcs (1.1.3)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
docile (1.1.3)
|
|
16
|
+
faraday (0.9.0)
|
|
17
|
+
multipart-post (>= 1.2, < 3)
|
|
18
|
+
git (1.2.6)
|
|
19
|
+
github_api (0.11.3)
|
|
20
|
+
addressable (~> 2.3)
|
|
21
|
+
descendants_tracker (~> 0.0.1)
|
|
22
|
+
faraday (~> 0.8, < 0.10)
|
|
23
|
+
hashie (>= 1.2)
|
|
24
|
+
multi_json (>= 1.7.5, < 2.0)
|
|
25
|
+
nokogiri (~> 1.6.0)
|
|
26
|
+
oauth2
|
|
27
|
+
hashie (2.1.1)
|
|
28
|
+
highline (1.6.21)
|
|
29
|
+
i18n (0.6.9)
|
|
30
|
+
jeweler (2.0.1)
|
|
31
|
+
builder
|
|
32
|
+
bundler (>= 1.0)
|
|
11
33
|
git (>= 1.2.5)
|
|
34
|
+
github_api
|
|
35
|
+
highline (>= 1.6.15)
|
|
36
|
+
nokogiri (>= 1.5.10)
|
|
12
37
|
rake
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
38
|
+
rdoc
|
|
39
|
+
json (1.8.1)
|
|
40
|
+
jwt (0.1.11)
|
|
41
|
+
multi_json (>= 1.5)
|
|
42
|
+
metaclass (0.0.4)
|
|
43
|
+
mini_portile (0.5.3)
|
|
44
|
+
minitest (5.3.3)
|
|
45
|
+
mocha (0.10.5)
|
|
16
46
|
metaclass (~> 0.0.1)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
47
|
+
multi_json (1.10.0)
|
|
48
|
+
multi_xml (0.5.5)
|
|
49
|
+
multipart-post (2.0.0)
|
|
50
|
+
nokogiri (1.6.1)
|
|
51
|
+
mini_portile (~> 0.5.0)
|
|
52
|
+
oauth2 (0.9.3)
|
|
53
|
+
faraday (>= 0.8, < 0.10)
|
|
54
|
+
jwt (~> 0.1.8)
|
|
55
|
+
multi_json (~> 1.3)
|
|
56
|
+
multi_xml (~> 0.5)
|
|
57
|
+
rack (~> 1.2)
|
|
58
|
+
rack (1.5.2)
|
|
59
|
+
rake (10.3.1)
|
|
60
|
+
rdoc (3.12.2)
|
|
20
61
|
json (~> 1.4)
|
|
21
62
|
rspec (2.5.0)
|
|
22
63
|
rspec-core (~> 2.5.0)
|
|
23
64
|
rspec-expectations (~> 2.5.0)
|
|
24
65
|
rspec-mocks (~> 2.5.0)
|
|
25
|
-
rspec-core (2.5.
|
|
66
|
+
rspec-core (2.5.2)
|
|
26
67
|
rspec-expectations (2.5.0)
|
|
27
68
|
diff-lcs (~> 1.1.2)
|
|
28
69
|
rspec-mocks (2.5.0)
|
|
70
|
+
simplecov (0.8.2)
|
|
71
|
+
docile (~> 1.1.0)
|
|
72
|
+
multi_json
|
|
73
|
+
simplecov-html (~> 0.8.0)
|
|
74
|
+
simplecov-html (0.8.0)
|
|
75
|
+
thread_safe (0.3.3)
|
|
76
|
+
tzinfo (1.1.0)
|
|
77
|
+
thread_safe (~> 0.1)
|
|
29
78
|
|
|
30
79
|
PLATFORMS
|
|
31
80
|
ruby
|
|
32
81
|
|
|
33
82
|
DEPENDENCIES
|
|
34
|
-
|
|
35
|
-
bundler
|
|
36
|
-
jeweler
|
|
37
|
-
mocha
|
|
38
|
-
rcov
|
|
83
|
+
activesupport
|
|
84
|
+
bundler
|
|
85
|
+
jeweler
|
|
86
|
+
mocha (~> 0.10.0)
|
|
39
87
|
rdoc (~> 3.8)
|
|
40
88
|
rspec (~> 2.5.0)
|
|
89
|
+
simplecov
|
data/Rakefile
CHANGED
|
@@ -37,7 +37,7 @@ require 'cobbler'
|
|
|
37
37
|
Jeweler::Tasks.new do |gem|
|
|
38
38
|
# gem is a Gem::Specification... see http://docgem.rubygems.org/read/chapter/20 for more options
|
|
39
39
|
gem.name = 'cobbler'
|
|
40
|
-
gem.version = "2.0.
|
|
40
|
+
gem.version = "2.0.1"
|
|
41
41
|
gem.author = 'duritong'
|
|
42
42
|
gem.email = 'peter.meier@immerda.ch'
|
|
43
43
|
gem.homepage = 'http://github.com/duritong/ruby-cobbler/'
|
|
@@ -66,7 +66,7 @@ task :default => :spec
|
|
|
66
66
|
gem 'rdoc'
|
|
67
67
|
require 'rdoc/task'
|
|
68
68
|
RDoc::Task.new do |rdoc|
|
|
69
|
-
version = '2.0.
|
|
69
|
+
version = '2.0.1'
|
|
70
70
|
rdoc.rdoc_dir = 'rdoc'
|
|
71
71
|
rdoc.title = "iuid #{version}"
|
|
72
72
|
rdoc.rdoc_files.include('README*')
|
data/cobbler.gemspec
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
# stub: cobbler 2.0.1 ruby lib
|
|
6
|
+
|
|
7
|
+
Gem::Specification.new do |s|
|
|
8
|
+
s.name = "cobbler"
|
|
9
|
+
s.version = "2.0.1"
|
|
10
|
+
|
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
|
+
s.require_paths = ["lib"]
|
|
13
|
+
s.authors = ["duritong"]
|
|
14
|
+
s.date = "2014-05-08"
|
|
15
|
+
s.description = " Provides Ruby bindings to interact with a Cobbler server.\n"
|
|
16
|
+
s.email = "peter.meier@immerda.ch"
|
|
17
|
+
s.extra_rdoc_files = [
|
|
18
|
+
"ChangeLog",
|
|
19
|
+
"README.rdoc",
|
|
20
|
+
"TODO"
|
|
21
|
+
]
|
|
22
|
+
s.files = [
|
|
23
|
+
".document",
|
|
24
|
+
"COPYING",
|
|
25
|
+
"ChangeLog",
|
|
26
|
+
"Gemfile",
|
|
27
|
+
"Gemfile.lock",
|
|
28
|
+
"NEWS",
|
|
29
|
+
"README.rdoc",
|
|
30
|
+
"Rakefile",
|
|
31
|
+
"TODO",
|
|
32
|
+
"cobbler.gemspec",
|
|
33
|
+
"config/cobbler.yml",
|
|
34
|
+
"examples/example_distros.rb",
|
|
35
|
+
"examples/example_version.rb",
|
|
36
|
+
"examples/utils.rb",
|
|
37
|
+
"lib/cobbler.rb",
|
|
38
|
+
"lib/cobbler/base.rb",
|
|
39
|
+
"lib/cobbler/common/debug.rb",
|
|
40
|
+
"lib/cobbler/common/finders.rb",
|
|
41
|
+
"lib/cobbler/common/lifecycle.rb",
|
|
42
|
+
"lib/cobbler/connection/common.rb",
|
|
43
|
+
"lib/cobbler/connection/handling.rb",
|
|
44
|
+
"lib/cobbler/distro.rb",
|
|
45
|
+
"lib/cobbler/image.rb",
|
|
46
|
+
"lib/cobbler/profile.rb",
|
|
47
|
+
"lib/cobbler/repo.rb",
|
|
48
|
+
"lib/cobbler/system.rb",
|
|
49
|
+
"rubygem-cobbler.spec",
|
|
50
|
+
"spec/spec.opts",
|
|
51
|
+
"spec/spec_helper.rb",
|
|
52
|
+
"spec/unit/cobbler/base_spec.rb",
|
|
53
|
+
"spec/unit/cobbler/common/debug_spec.rb",
|
|
54
|
+
"spec/unit/cobbler/common/finders_spec.rb",
|
|
55
|
+
"spec/unit/cobbler/common/lifecycle_spec.rb",
|
|
56
|
+
"spec/unit/cobbler/connection/common_spec.rb",
|
|
57
|
+
"spec/unit/cobbler/connection/handling_spec.rb",
|
|
58
|
+
"spec/unit/cobbler/system_spec.rb"
|
|
59
|
+
]
|
|
60
|
+
s.homepage = "http://github.com/duritong/ruby-cobbler/"
|
|
61
|
+
s.licenses = ["GPLv2"]
|
|
62
|
+
s.rubygems_version = "2.2.1"
|
|
63
|
+
s.summary = "An interface for interacting with a Cobbler server."
|
|
64
|
+
|
|
65
|
+
if s.respond_to? :specification_version then
|
|
66
|
+
s.specification_version = 4
|
|
67
|
+
|
|
68
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
69
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
|
70
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.5.0"])
|
|
71
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.8"])
|
|
72
|
+
s.add_development_dependency(%q<mocha>, ["~> 0.10.0"])
|
|
73
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
|
74
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
|
75
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
|
76
|
+
else
|
|
77
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
|
78
|
+
s.add_dependency(%q<rspec>, ["~> 2.5.0"])
|
|
79
|
+
s.add_dependency(%q<rdoc>, ["~> 3.8"])
|
|
80
|
+
s.add_dependency(%q<mocha>, ["~> 0.10.0"])
|
|
81
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
|
82
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
|
83
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
|
84
|
+
end
|
|
85
|
+
else
|
|
86
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
|
87
|
+
s.add_dependency(%q<rspec>, ["~> 2.5.0"])
|
|
88
|
+
s.add_dependency(%q<rdoc>, ["~> 3.8"])
|
|
89
|
+
s.add_dependency(%q<mocha>, ["~> 0.10.0"])
|
|
90
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
|
91
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
|
92
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
data/lib/cobbler/common/debug.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
#
|
|
4
4
|
# Copyright (C) 2008,2009 Red Hat, Inc.
|
|
5
5
|
# Written by Darryl L. Pierce <dpierce@redhat.com>
|
|
6
|
-
#
|
|
6
|
+
# Extended 2012 by duritong <peter.meier@immerda.ch>
|
|
7
7
|
#
|
|
8
8
|
# This file is part of rubygem-cobbler.
|
|
9
9
|
#
|
|
@@ -56,4 +56,4 @@ module Cobbler
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
|
-
end
|
|
59
|
+
end
|
data/rubygem-cobbler.spec
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Summary: An interface for interacting with a Cobbler server
|
|
9
9
|
Name: rubygem-%{gemname}
|
|
10
|
-
Version: 2.0.
|
|
10
|
+
Version: 2.0.1
|
|
11
11
|
Release: 1%{?dist}
|
|
12
12
|
Group: Development/Languages
|
|
13
13
|
License: LGPLv2+
|
|
@@ -58,6 +58,9 @@ rm -rf %{buildroot}
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
%changelog
|
|
61
|
+
* Thu May 08 2014 duritong <peter.meier@immerda.ch> - 2.0.1-1
|
|
62
|
+
- Fix #1 - should not depend on active_support
|
|
63
|
+
|
|
61
64
|
* Thu Jan 05 2012 duritong <peter.meier@immerda.ch> - 2.0.0-1
|
|
62
65
|
- Fix all issues when API returns ~ on a nonexisting system
|
|
63
66
|
- Add some missing fields to the System model
|
|
@@ -17,33 +17,33 @@ describe Cobbler::Connection::Handling do
|
|
|
17
17
|
it "should provide a way to query the version of the cobbler server" do
|
|
18
18
|
TestConnection.should respond_to(:remote_version)
|
|
19
19
|
end
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
describe "querying remote version" do
|
|
22
22
|
before(:each) do
|
|
23
23
|
connection = Object.new
|
|
24
24
|
TestConnection.expects(:connect).returns(connection)
|
|
25
25
|
TestConnection.expects(:connection).returns(nil)
|
|
26
|
-
end
|
|
27
|
-
|
|
26
|
+
end
|
|
27
|
+
|
|
28
28
|
it "should return the version" do
|
|
29
29
|
TestConnection.expects(:make_call).with('version').returns("2.0")
|
|
30
30
|
TestConnection.remote_version.should == "2.0"
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
it "should provide a way to login to the cobbler server" do
|
|
35
35
|
TestConnection.should respond_to(:login)
|
|
36
36
|
end
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
describe "logging into cobbler server" do
|
|
39
|
-
|
|
39
|
+
|
|
40
40
|
it "should call the login server" do
|
|
41
41
|
TestConnection.username = 'foobar'
|
|
42
42
|
TestConnection.password = 'password'
|
|
43
43
|
TestConnection.expects(:make_call).with('login','foobar','password')
|
|
44
44
|
TestConnection.login
|
|
45
45
|
end
|
|
46
|
-
|
|
46
|
+
|
|
47
47
|
it "should not relogin if we are still logged in" do
|
|
48
48
|
TestConnection.username = 'foobar'
|
|
49
49
|
TestConnection.password = 'password'
|
|
@@ -53,26 +53,23 @@ describe Cobbler::Connection::Handling do
|
|
|
53
53
|
TestConnection.username = 'foobar2'
|
|
54
54
|
TestConnection.password = 'password2'
|
|
55
55
|
TestConnection.expects(:make_call).with('login','foobar2','password2').never
|
|
56
|
-
TestConnection.login
|
|
56
|
+
TestConnection.login
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
|
-
|
|
60
|
-
TestConnection.should respond_to(:connect)
|
|
61
|
-
end
|
|
62
|
-
|
|
59
|
+
|
|
63
60
|
it "should connect to the cobbler server" do
|
|
64
61
|
TestConnection.hostname = 'localhost'
|
|
65
62
|
@connection = Object.new
|
|
66
63
|
XMLRPC::Client.expects(:new2).with('http://localhost/cobbler_api').returns(@connection)
|
|
67
64
|
TestConnection.send(:connect)
|
|
68
65
|
end
|
|
69
|
-
|
|
66
|
+
|
|
70
67
|
describe "making a call" do
|
|
71
68
|
it "should raise an exception if no connection have been established so far" do
|
|
72
69
|
TestConnection.expects(:connection).returns(nil)
|
|
73
70
|
lambda { TestConnection.make_call('foobar') }.should raise_error(Exception)
|
|
74
71
|
end
|
|
75
|
-
|
|
72
|
+
|
|
76
73
|
it "should pass all arguments to the connection and return the resul" do
|
|
77
74
|
connection = Object.new
|
|
78
75
|
connection.expects(:call).with('foo','bar').returns('juhu')
|
|
@@ -80,16 +77,16 @@ describe Cobbler::Connection::Handling do
|
|
|
80
77
|
TestConnection.make_call('foo','bar')
|
|
81
78
|
end
|
|
82
79
|
end
|
|
83
|
-
|
|
80
|
+
|
|
84
81
|
describe "handling transactions" do
|
|
85
82
|
it "should initialze and end a connection" do
|
|
86
83
|
TestConnection.expects(:begin_transaction)
|
|
87
84
|
TestConnection.expects(:end_transaction)
|
|
88
85
|
TestConnection.send(:in_transaction) do
|
|
89
|
-
#
|
|
86
|
+
#
|
|
90
87
|
end
|
|
91
88
|
end
|
|
92
|
-
|
|
89
|
+
|
|
93
90
|
it "should cleanup the connection" do
|
|
94
91
|
TestConnection.expects(:connect).returns('foobar')
|
|
95
92
|
TestConnection.in_transaction do
|
|
@@ -97,7 +94,7 @@ describe Cobbler::Connection::Handling do
|
|
|
97
94
|
end
|
|
98
95
|
TestConnection.send(:connection).should be_nil
|
|
99
96
|
end
|
|
100
|
-
|
|
97
|
+
|
|
101
98
|
it "should login if you want a login and pass the token into the transaction and logout" do
|
|
102
99
|
connection = Object.new
|
|
103
100
|
TestConnection.expects(:login).returns('token')
|
|
@@ -105,15 +102,15 @@ describe Cobbler::Connection::Handling do
|
|
|
105
102
|
TestConnection.expects(:connect).returns('foobar')
|
|
106
103
|
TestConnection.in_transaction(true) do |token|
|
|
107
104
|
token.should == 'token'
|
|
108
|
-
end
|
|
105
|
+
end
|
|
109
106
|
end
|
|
110
|
-
|
|
107
|
+
|
|
111
108
|
it "should ensure that the connection is cleaned up" do
|
|
112
109
|
TestConnection.expects(:connect).returns('foobar')
|
|
113
110
|
lambda { TestConnection.in_transaction do
|
|
114
111
|
raise "foobar"
|
|
115
112
|
end }.should raise_error(Exception)
|
|
116
|
-
TestConnection.send(:connection).should be_nil
|
|
113
|
+
TestConnection.send(:connection).should be_nil
|
|
117
114
|
end
|
|
118
115
|
end
|
|
119
|
-
end
|
|
116
|
+
end
|
metadata
CHANGED
|
@@ -1,140 +1,124 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cobbler
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 2
|
|
8
|
-
- 0
|
|
9
|
-
- 0
|
|
10
|
-
version: 2.0.0
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 2.0.1
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
6
|
+
authors:
|
|
13
7
|
- duritong
|
|
14
8
|
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
-
none: false
|
|
25
|
-
requirements:
|
|
11
|
+
date: 2014-05-08 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: activesupport
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
26
17
|
- - ">="
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
- 0
|
|
31
|
-
version: "0"
|
|
32
|
-
version_requirements: *id001
|
|
33
|
-
name: active_support
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
34
21
|
prerelease: false
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
hash: 27
|
|
43
|
-
segments:
|
|
44
|
-
- 2
|
|
45
|
-
- 5
|
|
46
|
-
- 0
|
|
47
|
-
version: 2.5.0
|
|
48
|
-
version_requirements: *id002
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
49
28
|
name: rspec
|
|
50
|
-
|
|
51
|
-
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 2.5.0
|
|
52
34
|
type: :development
|
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
|
54
|
-
none: false
|
|
55
|
-
requirements:
|
|
56
|
-
- - ~>
|
|
57
|
-
- !ruby/object:Gem::Version
|
|
58
|
-
hash: 23
|
|
59
|
-
segments:
|
|
60
|
-
- 3
|
|
61
|
-
- 8
|
|
62
|
-
version: "3.8"
|
|
63
|
-
version_requirements: *id003
|
|
64
|
-
name: rdoc
|
|
65
35
|
prerelease: false
|
|
66
|
-
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 2.5.0
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rdoc
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '3.8'
|
|
67
48
|
type: :development
|
|
68
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
|
69
|
-
none: false
|
|
70
|
-
requirements:
|
|
71
|
-
- - ">="
|
|
72
|
-
- !ruby/object:Gem::Version
|
|
73
|
-
hash: 3
|
|
74
|
-
segments:
|
|
75
|
-
- 0
|
|
76
|
-
version: "0"
|
|
77
|
-
version_requirements: *id004
|
|
78
|
-
name: mocha
|
|
79
49
|
prerelease: false
|
|
80
|
-
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '3.8'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: mocha
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.10.0
|
|
81
62
|
type: :development
|
|
82
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
|
83
|
-
none: false
|
|
84
|
-
requirements:
|
|
85
|
-
- - ~>
|
|
86
|
-
- !ruby/object:Gem::Version
|
|
87
|
-
hash: 23
|
|
88
|
-
segments:
|
|
89
|
-
- 1
|
|
90
|
-
- 0
|
|
91
|
-
- 0
|
|
92
|
-
version: 1.0.0
|
|
93
|
-
version_requirements: *id005
|
|
94
|
-
name: bundler
|
|
95
63
|
prerelease: false
|
|
96
|
-
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 0.10.0
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: bundler
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
97
76
|
type: :development
|
|
98
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
|
99
|
-
none: false
|
|
100
|
-
requirements:
|
|
101
|
-
- - ~>
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
hash: 7
|
|
104
|
-
segments:
|
|
105
|
-
- 1
|
|
106
|
-
- 6
|
|
107
|
-
- 4
|
|
108
|
-
version: 1.6.4
|
|
109
|
-
version_requirements: *id006
|
|
110
|
-
name: jeweler
|
|
111
77
|
prerelease: false
|
|
112
|
-
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: jeweler
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
113
90
|
type: :development
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
requirements:
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
117
94
|
- - ">="
|
|
118
|
-
- !ruby/object:Gem::Version
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: simplecov
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - ">="
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
125
105
|
prerelease: false
|
|
126
|
-
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - ">="
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
description: |2
|
|
112
|
+
Provides Ruby bindings to interact with a Cobbler server.
|
|
127
113
|
email: peter.meier@immerda.ch
|
|
128
114
|
executables: []
|
|
129
|
-
|
|
130
115
|
extensions: []
|
|
131
|
-
|
|
132
|
-
extra_rdoc_files:
|
|
116
|
+
extra_rdoc_files:
|
|
133
117
|
- ChangeLog
|
|
134
118
|
- README.rdoc
|
|
135
119
|
- TODO
|
|
136
|
-
files:
|
|
137
|
-
- .document
|
|
120
|
+
files:
|
|
121
|
+
- ".document"
|
|
138
122
|
- COPYING
|
|
139
123
|
- ChangeLog
|
|
140
124
|
- Gemfile
|
|
@@ -143,6 +127,7 @@ files:
|
|
|
143
127
|
- README.rdoc
|
|
144
128
|
- Rakefile
|
|
145
129
|
- TODO
|
|
130
|
+
- cobbler.gemspec
|
|
146
131
|
- config/cobbler.yml
|
|
147
132
|
- examples/example_distros.rb
|
|
148
133
|
- examples/example_version.rb
|
|
@@ -169,39 +154,28 @@ files:
|
|
|
169
154
|
- spec/unit/cobbler/connection/common_spec.rb
|
|
170
155
|
- spec/unit/cobbler/connection/handling_spec.rb
|
|
171
156
|
- spec/unit/cobbler/system_spec.rb
|
|
172
|
-
has_rdoc: true
|
|
173
157
|
homepage: http://github.com/duritong/ruby-cobbler/
|
|
174
|
-
licenses:
|
|
158
|
+
licenses:
|
|
175
159
|
- GPLv2
|
|
160
|
+
metadata: {}
|
|
176
161
|
post_install_message:
|
|
177
162
|
rdoc_options: []
|
|
178
|
-
|
|
179
|
-
require_paths:
|
|
163
|
+
require_paths:
|
|
180
164
|
- lib
|
|
181
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
|
-
|
|
183
|
-
requirements:
|
|
165
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
|
+
requirements:
|
|
184
167
|
- - ">="
|
|
185
|
-
- !ruby/object:Gem::Version
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
version: "0"
|
|
190
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
|
-
none: false
|
|
192
|
-
requirements:
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '0'
|
|
170
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
|
+
requirements:
|
|
193
172
|
- - ">="
|
|
194
|
-
- !ruby/object:Gem::Version
|
|
195
|
-
|
|
196
|
-
segments:
|
|
197
|
-
- 0
|
|
198
|
-
version: "0"
|
|
173
|
+
- !ruby/object:Gem::Version
|
|
174
|
+
version: '0'
|
|
199
175
|
requirements: []
|
|
200
|
-
|
|
201
176
|
rubyforge_project:
|
|
202
|
-
rubygems_version:
|
|
177
|
+
rubygems_version: 2.2.1
|
|
203
178
|
signing_key:
|
|
204
|
-
specification_version:
|
|
179
|
+
specification_version: 4
|
|
205
180
|
summary: An interface for interacting with a Cobbler server.
|
|
206
181
|
test_files: []
|
|
207
|
-
|