awsborn 0.9.0 → 0.9.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.
- data/DEVELOPMENT.mdown +8 -0
- data/VERSION +1 -1
- data/awsborn.gemspec +3 -2
- data/lib/awsborn/server_cluster.rb +2 -1
- metadata +5 -4
data/DEVELOPMENT.mdown
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
To release a gem
|
|
2
|
+
----------------
|
|
3
|
+
|
|
4
|
+
1. Commit everything, make sure that your working directory is clean
|
|
5
|
+
2. Decide on what the new version number will be
|
|
6
|
+
3. Update documentation and changes in README.mdown
|
|
7
|
+
4. rake version:bump:{major,minor,patch}
|
|
8
|
+
5. rake release
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.9.
|
|
1
|
+
0.9.1
|
data/awsborn.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{awsborn}
|
|
8
|
-
s.version = "0.9.
|
|
8
|
+
s.version = "0.9.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["David Vrensk", "Jean-Louis Giordano"]
|
|
12
|
-
s.date = %q{2011-11-
|
|
12
|
+
s.date = %q{2011-11-14}
|
|
13
13
|
s.description = %q{Awsborn lets you define and launch a server cluster on Amazon EC2.}
|
|
14
14
|
s.email = %q{david@icehouse.se}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.files = [
|
|
20
20
|
".document",
|
|
21
21
|
".gitignore",
|
|
22
|
+
"DEVELOPMENT.mdown",
|
|
22
23
|
"Gemfile",
|
|
23
24
|
"Gemfile.lock",
|
|
24
25
|
"LICENSE",
|
|
@@ -60,7 +60,8 @@ module Awsborn
|
|
|
60
60
|
running, missing = requested.partition { |e| e.running? }
|
|
61
61
|
refresh_running(running) if running.any?
|
|
62
62
|
start_missing_instances(missing) if missing.any?
|
|
63
|
-
|
|
63
|
+
all_running = @instances.select{ |i| i.running? }
|
|
64
|
+
update_load_balancing(all_running) unless @load_balancers.empty?
|
|
64
65
|
end
|
|
65
66
|
|
|
66
67
|
def refresh_running (instances)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awsborn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 57
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
|
-
-
|
|
10
|
-
version: 0.9.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.9.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Vrensk
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2011-11-
|
|
19
|
+
date: 2011-11-14 00:00:00 +01:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -109,6 +109,7 @@ extra_rdoc_files:
|
|
|
109
109
|
files:
|
|
110
110
|
- .document
|
|
111
111
|
- .gitignore
|
|
112
|
+
- DEVELOPMENT.mdown
|
|
112
113
|
- Gemfile
|
|
113
114
|
- Gemfile.lock
|
|
114
115
|
- LICENSE
|