rubber 1.6.0 → 1.6.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/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ 1.6.0
2
+ -----
3
+
4
+ Merge branch 'master' of github.com:wr0ngway/rubber <51a016c> [Matt Conway]
5
+ stop loading rails within rubber as bundler in rails3 breaks everything by setting ENV[GEM_PATH], you may need to update your templates to use RUBBER_ENV/ROOT instead of RAILS_ENV/ROOT <8f4a0db> [Matt Conway]
6
+ fix changelog gen <c5a8d83> [Matt Conway]
7
+ Fix the API name for 32-bit medium CPU instance. <ec415ce> [Kevin Menard]
8
+
1
9
  1.5.11
2
10
  -----
3
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.6.1
@@ -2,6 +2,8 @@ require 'rake'
2
2
  require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
 
5
+ RAILS_LOADER
6
+
5
7
  env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'development')
6
8
  RAILS_ENV = ENV['RAILS_ENV'] = env
7
9
  root = File.dirname(__FILE__)
@@ -7,7 +7,7 @@ namespace :rubber do
7
7
  task :install_rvm do
8
8
  rubber.sudo_script "install_rvm", <<-ENDSCRIPT
9
9
  if [[ `rvm --version 2> /dev/null` == "" ]]; then
10
- echo "rvm_prefix=/usr/local" > /etc/rvmrc
10
+ echo "rvm_prefix=/usr/local/" > /etc/rvmrc
11
11
  echo "#{rubber_env.rvm_prepare}" > /etc/profile.d/rvm.sh
12
12
 
13
13
  # Copied below from http://rvm.beginrescueend.com/releases/rvm-install-latest
@@ -12,7 +12,7 @@
12
12
  packages: [build-essential, git-core, subversion, curl, autoconf, bison, ruby, zlib1g-dev, libssl-dev, libreadline5-dev, libxml2-dev]
13
13
 
14
14
  # REQUIRED: the version of rvm itself
15
- rvm_version: 1.0.1
15
+ rvm_version: 1.0.5
16
16
 
17
17
  # REQUIRED: Set to the rvm version string for the ruby version you wish to use
18
18
  # Run "rvm list known" to see the list of possible options
@@ -2,8 +2,10 @@ gem "rubber", Rubber.version if Rubber::Util::is_bundler? && ! Rubber::Util::rub
2
2
 
3
3
  if Rubber::Util::is_rails2?
4
4
  m.gsub_file('script/cron-runner', /RAILS_RUNNER/, 'script/runner')
5
+ m.gsub_file('Rakefile', /RAILS_LOADER/, "require(File.join(File.dirname(__FILE__), 'config', 'boot'))")
5
6
  m.gsub_file('Rakefile', /RAILS_TASKS/, "require 'tasks/rails'")
6
7
  else
7
8
  gsub_file('script/cron-runner', /RAILS_RUNNER/, 'rails runner')
9
+ gsub_file('Rakefile', /RAILS_LOADER/, '')
8
10
  gsub_file('Rakefile', /RAILS_TASKS/, '')
9
11
  end
@@ -2,6 +2,8 @@ require 'rake'
2
2
  require 'rake/testtask'
3
3
  require 'rake/rdoctask'
4
4
 
5
+ RAILS_LOADER
6
+
5
7
  env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'development')
6
8
  RAILS_ENV = ENV['RAILS_ENV'] = env
7
9
  root = File.dirname(__FILE__)
@@ -7,7 +7,7 @@ namespace :rubber do
7
7
  task :install_rvm do
8
8
  rubber.sudo_script "install_rvm", <<-ENDSCRIPT
9
9
  if [[ `rvm --version 2> /dev/null` == "" ]]; then
10
- echo "rvm_prefix=/usr/local" > /etc/rvmrc
10
+ echo "rvm_prefix=/usr/local/" > /etc/rvmrc
11
11
  echo "#{rubber_env.rvm_prepare}" > /etc/profile.d/rvm.sh
12
12
 
13
13
  # Copied below from http://rvm.beginrescueend.com/releases/rvm-install-latest
@@ -12,7 +12,7 @@
12
12
  packages: [build-essential, git-core, subversion, curl, autoconf, bison, ruby, zlib1g-dev, libssl-dev, libreadline5-dev, libxml2-dev]
13
13
 
14
14
  # REQUIRED: the version of rvm itself
15
- rvm_version: 1.0.1
15
+ rvm_version: 1.0.5
16
16
 
17
17
  # REQUIRED: Set to the rvm version string for the ruby version you wish to use
18
18
  # Run "rvm list known" to see the list of possible options
@@ -2,8 +2,10 @@ gem "rubber", Rubber.version if Rubber::Util::is_bundler? && ! Rubber::Util::rub
2
2
 
3
3
  if Rubber::Util::is_rails2?
4
4
  m.gsub_file('script/cron-runner', /RAILS_RUNNER/, 'script/runner')
5
+ m.gsub_file('Rakefile', /RAILS_LOADER/, "require(File.join(File.dirname(__FILE__), 'config', 'boot'))")
5
6
  m.gsub_file('Rakefile', /RAILS_TASKS/, "require 'tasks/rails'")
6
7
  else
7
8
  gsub_file('script/cron-runner', /RAILS_RUNNER/, 'rails runner')
9
+ gsub_file('Rakefile', /RAILS_LOADER/, '')
8
10
  gsub_file('Rakefile', /RAILS_TASKS/, '')
9
11
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubber
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 13
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 6
8
- - 0
9
- version: 1.6.0
9
+ - 1
10
+ version: 1.6.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Matt Conway
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-11 00:00:00 -06:00
18
+ date: 2010-09-13 00:00:00 -04:00
18
19
  default_executable: vulcanize
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ">="
27
28
  - !ruby/object:Gem::Version
29
+ hash: 31
28
30
  segments:
29
31
  - 2
30
32
  - 4
@@ -40,6 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ">="
42
44
  - !ruby/object:Gem::Version
45
+ hash: 59
43
46
  segments:
44
47
  - 0
45
48
  - 9
@@ -55,6 +58,7 @@ dependencies:
55
58
  requirements:
56
59
  - - ">="
57
60
  - !ruby/object:Gem::Version
61
+ hash: 3
58
62
  segments:
59
63
  - 0
60
64
  version: "0"
@@ -68,6 +72,7 @@ dependencies:
68
72
  requirements:
69
73
  - - ">="
70
74
  - !ruby/object:Gem::Version
75
+ hash: 3
71
76
  segments:
72
77
  - 0
73
78
  version: "0"
@@ -475,14 +480,20 @@ has_rdoc: true
475
480
  homepage: http://github.com/wr0ngway/rubber
476
481
  licenses: []
477
482
 
478
- post_install_message: "\n\
479
- ********************************************************************************\n\n\
480
- Thank you for installing rubber. Please note that this is a major upgrade\n\
481
- and we've moved towards using RVM for Ruby configuration on your EC2 instances.\n\n\
482
- If you're upgrading rubber, please make sure to read the upgrade notes and\n\
483
- make the necessary configuration changes:\n\n\
484
- http://wiki.github.com/wr0ngway/rubber/upgrading\n\n\
485
- ********************************************************************************\n\n"
483
+ post_install_message: |+
484
+
485
+ ********************************************************************************
486
+
487
+ Thank you for installing rubber. Please note that this is a major upgrade
488
+ and we've moved towards using RVM for Ruby configuration on your EC2 instances.
489
+
490
+ If you're upgrading rubber, please make sure to read the upgrade notes and
491
+ make the necessary configuration changes:
492
+
493
+ http://wiki.github.com/wr0ngway/rubber/upgrading
494
+
495
+ ********************************************************************************
496
+
486
497
  rdoc_options:
487
498
  - --charset=UTF-8
488
499
  require_paths:
@@ -492,6 +503,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
492
503
  requirements:
493
504
  - - ">="
494
505
  - !ruby/object:Gem::Version
506
+ hash: 3
495
507
  segments:
496
508
  - 0
497
509
  version: "0"
@@ -500,6 +512,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
500
512
  requirements:
501
513
  - - ">="
502
514
  - !ruby/object:Gem::Version
515
+ hash: 3
503
516
  segments:
504
517
  - 0
505
518
  version: "0"