rubber 1.5.11 → 1.6.0
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
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.6.0
|
|
@@ -80,7 +80,7 @@ cloud_providers:
|
|
|
80
80
|
#
|
|
81
81
|
# m1.small or m1.large or m1.xlarge
|
|
82
82
|
image_type: m1.small
|
|
83
|
-
image_id: "#{ %w{m1.small
|
|
83
|
+
image_id: "#{ %w{m1.small c1.medium}.include?(image_type) ? 'ami-1437dd7d' : 'ami-4234de2b' }"
|
|
84
84
|
|
|
85
85
|
# OPTIONAL: EC2 spot instance request support.
|
|
86
86
|
#
|
|
@@ -80,7 +80,7 @@ cloud_providers:
|
|
|
80
80
|
#
|
|
81
81
|
# m1.small or m1.large or m1.xlarge
|
|
82
82
|
image_type: m1.small
|
|
83
|
-
image_id: "#{ %w{m1.small
|
|
83
|
+
image_id: "#{ %w{m1.small c1.medium}.include?(image_type) ? 'ami-1437dd7d' : 'ami-4234de2b' }"
|
|
84
84
|
|
|
85
85
|
# OPTIONAL: EC2 spot instance request support.
|
|
86
86
|
#
|
data/lib/rubber.rb
CHANGED
|
@@ -12,13 +12,6 @@ module Rubber
|
|
|
12
12
|
Object.const_set('RUBBER_ENV', project_env)
|
|
13
13
|
Object.const_set('RUBBER_ROOT', File.expand_path(project_root))
|
|
14
14
|
|
|
15
|
-
# pull in basic rails env. rubber only needs RAILS_ROOT and RAILS_ENV.
|
|
16
|
-
# We actually do NOT want the entire rails environment because it
|
|
17
|
-
# complicates bootstrap (i.e. can't run config to create db because full
|
|
18
|
-
# rails env needs db to exist as some plugin accesses model or something)
|
|
19
|
-
rails_boot_file = File.join(RUBBER_ROOT, 'config', 'boot.rb')
|
|
20
|
-
require(rails_boot_file) if File.exists? rails_boot_file
|
|
21
|
-
|
|
22
15
|
if defined?(Rails.logger) && Rails.logger
|
|
23
16
|
@@logger = Rails.logger
|
|
24
17
|
else
|
metadata
CHANGED
|
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 1
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
version: 1.
|
|
7
|
+
- 6
|
|
8
|
+
- 0
|
|
9
|
+
version: 1.6.0
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Matt Conway
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-09-
|
|
17
|
+
date: 2010-09-11 00:00:00 -06:00
|
|
18
18
|
default_executable: vulcanize
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|