rubber 1.1.4 → 1.1.5
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/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
1.1.5
|
2
|
+
-----
|
3
|
+
|
4
|
+
strip out blank security_groups to make it easier to conditionally define them in rubber.yml <f75f1a3> [Matt Conway]
|
5
|
+
add some feedback for add/remove role <bafe1bb> [Matt Conway]
|
6
|
+
prevent backup from sometimes trying to upload a directory to s3 <f8c7951> [Matt Conway]
|
7
|
+
make passenger template depend on apache <b970183> [Matt Conway]
|
8
|
+
|
1
9
|
1.1.4
|
2
10
|
-----
|
3
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
@@ -87,6 +87,8 @@ namespace :rubber do
|
|
87
87
|
|
88
88
|
instance.roles = (instance.roles + ir).uniq
|
89
89
|
rubber_instances.save()
|
90
|
+
logger.info "Roles for #{instance_alias} are now:"
|
91
|
+
logger.info instance.role_names.sort.join("\n")
|
90
92
|
end
|
91
93
|
|
92
94
|
desc <<-DESC
|
@@ -109,6 +111,8 @@ namespace :rubber do
|
|
109
111
|
|
110
112
|
instance.roles = (instance.roles - ir).uniq
|
111
113
|
rubber_instances.save()
|
114
|
+
logger.info "Roles for #{instance_alias} are now:"
|
115
|
+
logger.info instance.role_names.sort.join("\n")
|
112
116
|
end
|
113
117
|
|
114
118
|
desc <<-DESC
|
@@ -36,7 +36,7 @@ namespace :rubber do
|
|
36
36
|
security_groups << host
|
37
37
|
security_groups += roles
|
38
38
|
end
|
39
|
-
security_groups = security_groups.uniq.compact
|
39
|
+
security_groups = security_groups.uniq.compact.reject {|x| x.empty? }
|
40
40
|
security_groups = security_groups.collect {|x| isolate_group_name(x) } if env.isolate_security_groups
|
41
41
|
return security_groups
|
42
42
|
end
|
data/lib/rubber/tasks/rubber.rb
CHANGED
@@ -130,7 +130,7 @@ namespace :rubber do
|
|
130
130
|
unless AWS::S3::Bucket.list.find { |b| b.name == backup_bucket }
|
131
131
|
AWS::S3::Bucket.create(backup_bucket)
|
132
132
|
end
|
133
|
-
newest = Dir.entries(dir).sort_by {|f| File.mtime(File.join(dir,f))}.last
|
133
|
+
newest = Dir.entries(dir).grep(/^[^.]/).sort_by {|f| File.mtime(File.join(dir,f))}.last
|
134
134
|
dest = "#{s3_prefix}#{newest}"
|
135
135
|
puts "Saving backup to S3: #{backup_bucket}:#{dest}"
|
136
136
|
AWS::S3::S3Object.store(dest, open(File.join(dir, newest)), backup_bucket)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Conway
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-06 00:00:00 -05:00
|
13
13
|
default_executable: vulcanize
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|