cluster_management 0.7.9 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
- data/readme.md +1 -1
- data/spec/cluster_spec.rb +2 -2
- metadata +54 -64
data/readme.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Simple Cluster Management Tool
|
2
2
|
|
3
|
-
It may be **usefull if Your claster has about 1-10 boxes**, and tools like Chef, Puppet, Capistrano are too complex and proprietary for
|
3
|
+
It may be **usefull if Your claster has about 1-10 boxes**, and tools like Chef, Puppet, Capistrano are too complex and proprietary for Your needs.
|
4
4
|
**It's very easy**, there are only a 3 concept - Box, Cluster and Service.
|
5
5
|
|
6
6
|
Usage:
|
data/spec/cluster_spec.rb
CHANGED
@@ -6,7 +6,7 @@ describe "Cluster" do
|
|
6
6
|
@cluster.config = Config.new
|
7
7
|
end
|
8
8
|
|
9
|
-
it "should return service by
|
9
|
+
it "should return service by its name" do
|
10
10
|
service_class = mock
|
11
11
|
service_class.should_receive(:new).and_return('mongo_db')
|
12
12
|
Service.stub!(:service_class).and_return(service_class)
|
@@ -15,7 +15,7 @@ describe "Cluster" do
|
|
15
15
|
@cluster.services.mongo_db.should == 'mongo_db'
|
16
16
|
end
|
17
17
|
|
18
|
-
it "should return box by
|
18
|
+
it "should return box by its name" do
|
19
19
|
box = mock
|
20
20
|
box.should_receive(:open)
|
21
21
|
Box.stub!(:new).and_return(box)
|
metadata
CHANGED
@@ -1,82 +1,77 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cluster_management
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Alexey Petrushin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-09-22 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: tilt
|
18
|
-
requirement: &
|
16
|
+
requirement: &2832720 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *2832720
|
25
|
+
- !ruby/object:Gem::Dependency
|
28
26
|
name: ruby_ext
|
29
|
-
requirement: &
|
27
|
+
requirement: &2832480 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
35
33
|
type: :runtime
|
36
34
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *2832480
|
36
|
+
- !ruby/object:Gem::Dependency
|
39
37
|
name: vos
|
40
|
-
requirement: &
|
38
|
+
requirement: &2832240 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
46
44
|
type: :runtime
|
47
45
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *2832240
|
47
|
+
- !ruby/object:Gem::Dependency
|
50
48
|
name: vfs
|
51
|
-
requirement: &
|
49
|
+
requirement: &2832000 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
57
55
|
type: :runtime
|
58
56
|
prerelease: false
|
59
|
-
version_requirements: *
|
60
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *2832000
|
58
|
+
- !ruby/object:Gem::Dependency
|
61
59
|
name: class_loader
|
62
|
-
requirement: &
|
60
|
+
requirement: &2831760 !ruby/object:Gem::Requirement
|
63
61
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
68
66
|
type: :runtime
|
69
67
|
prerelease: false
|
70
|
-
version_requirements: *
|
68
|
+
version_requirements: *2831760
|
71
69
|
description:
|
72
70
|
email:
|
73
71
|
executables: []
|
74
|
-
|
75
72
|
extensions: []
|
76
|
-
|
77
73
|
extra_rdoc_files: []
|
78
|
-
|
79
|
-
files:
|
74
|
+
files:
|
80
75
|
- Rakefile
|
81
76
|
- readme.md
|
82
77
|
- lib/cluster_management/cluster.rb
|
@@ -94,33 +89,28 @@ files:
|
|
94
89
|
- spec/dependency_spec.rb
|
95
90
|
- spec/service_spec.rb
|
96
91
|
- spec/spec_helper.rb
|
97
|
-
has_rdoc: true
|
98
92
|
homepage: http://github.com/alexeypetrushin/cluster_management
|
99
93
|
licenses: []
|
100
|
-
|
101
94
|
post_install_message:
|
102
95
|
rdoc_options: []
|
103
|
-
|
104
|
-
require_paths:
|
96
|
+
require_paths:
|
105
97
|
- lib
|
106
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
99
|
none: false
|
108
|
-
requirements:
|
109
|
-
- -
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
105
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version:
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
118
110
|
requirements: []
|
119
|
-
|
120
111
|
rubyforge_project:
|
121
|
-
rubygems_version: 1.
|
112
|
+
rubygems_version: 1.8.6
|
122
113
|
signing_key:
|
123
114
|
specification_version: 3
|
124
115
|
summary: Simple Cluster Management Tools
|
125
116
|
test_files: []
|
126
|
-
|