gemsonrails 0.6.0 → 0.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/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ +++ 0.6.1 2007-05-11
2
+
3
+ + 1 minor enhancement:
4
+ + ENV['RAILS_ENV'] defaults to 'development' if not specified, but required for ONLY test
5
+
1
6
  +++ 0.6.0 2007-05-11
2
7
 
3
8
  + 1 major enhancement:
@@ -2,7 +2,7 @@ module GemsOnRails #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -14,7 +14,10 @@ eos
14
14
 
15
15
  # ONLY=development[,test] etc
16
16
  only_list = (ENV['ONLY'] || "").split(',')
17
- only_if_begin = only_list.size == 0 ? "" : "if %w[#{only_list.join(' ')}].include?(ENV['RAILS_ENV'])"
17
+ only_if_begin = only_list.size == 0 ? "" : <<-EOS
18
+ ENV['RAILS_ENV'] ||= 'development'
19
+ if %w[#{only_list.join(' ')}].include?(ENV['RAILS_ENV'])"
20
+ EOS
18
21
  only_if_end = only_list.size == 0 ? "" : "end"
19
22
 
20
23
  require 'rubygems'
@@ -13,7 +13,10 @@ eos
13
13
 
14
14
  # ONLY=development[,test] etc
15
15
  only_list = (ENV['ONLY'] || "").split(',')
16
- only_if_begin = only_list.size == 0 ? "" : "if %w[#{only_list.join(' ')}].include?(ENV['RAILS_ENV'])"
16
+ only_if_begin = only_list.size == 0 ? "" : <<-EOS
17
+ ENV['RAILS_ENV'] ||= 'development'
18
+ if %w[#{only_list.join(' ')}].include?(ENV['RAILS_ENV'])"
19
+ EOS
17
20
  only_if_end = only_list.size == 0 ? "" : "end"
18
21
 
19
22
  require 'rubygems'
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>Gems On Rails</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/gemsonrails"; return false'>
35
35
  Get Version
36
- <a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.5.0</a>
36
+ <a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.6.1</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;gemsonrails&#8217;</h1>
39
39
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: gemsonrails
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.6.0
6
+ version: 0.6.1
7
7
  date: 2007-05-11 00:00:00 +02:00
8
8
  summary: Link or freeze RubyGems into your rails apps, instead of plugins
9
9
  require_paths: