the-maestro 0.3.5 → 0.3.6
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/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/maestro/cloud/aws.rb +4 -2
- data/the-maestro.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -22,7 +22,7 @@ Add the following gem dependency to your Rails project's <code>config/environmen
|
|
|
22
22
|
|
|
23
23
|
Rails::Initializer.run do |config|
|
|
24
24
|
|
|
25
|
-
config.gem "the-maestro", :lib => "maestro", :version => "0.3.
|
|
25
|
+
config.gem "the-maestro", :lib => "maestro", :version => "0.3.6", :source => "http://gemcutter.org"
|
|
26
26
|
|
|
27
27
|
end
|
|
28
28
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.6
|
data/lib/maestro/cloud/aws.rb
CHANGED
|
@@ -686,8 +686,10 @@ module Maestro
|
|
|
686
686
|
|
|
687
687
|
# ensures the project's Chef cookbooks and roles are deployed to the configured S3 Bucket
|
|
688
688
|
def upload_chef_assets
|
|
689
|
-
bucket =
|
|
690
|
-
|
|
689
|
+
bucket = nil
|
|
690
|
+
begin
|
|
691
|
+
bucket = AWS::S3::Bucket.find(chef_bucket)
|
|
692
|
+
rescue AWS::S3::ResponseError
|
|
691
693
|
@logger.info "Creating S3 Bucket '#{chef_bucket}'..."
|
|
692
694
|
bucket = AWS::S3::Bucket.create(chef_bucket, :access => :private)
|
|
693
695
|
@logger.info "Created S3 Bucket '#{chef_bucket}'" if !bucket.nil?
|
data/the-maestro.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{the-maestro}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Brian Ploetz"]
|
|
12
|
-
s.date = %q{2010-06-
|
|
12
|
+
s.date = %q{2010-06-28}
|
|
13
13
|
s.description = %q{Maestro is a cloud provisioning, configuration, and management utility for your Ruby and Ruby On Rails applications.}
|
|
14
14
|
s.extra_rdoc_files = [
|
|
15
15
|
"LICENSE",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: the-maestro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Ploetz
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-06-
|
|
12
|
+
date: 2010-06-28 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|