gemsonrails 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.7.2 2008-01-29
2
+
3
+ * Loads vendored gems lib path into LOAD_PATH first, then runs any gem init.rb files [thx Chris Kampmeier]
4
+
1
5
  == 0.7.1 2007-11-29
2
6
 
3
7
  * Using RubyGems 0.9.5? Use these upgraded tasks to support RubyGems 0.9.5 [thx Brent Beardsley]
@@ -2,7 +2,7 @@ module GemsOnRails #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,8 +1,13 @@
1
1
  gems = Dir[File.join(RAILS_ROOT, "vendor/gems/*")]
2
2
  if gems.any?
3
- gems.sort.each do |dir|
3
+ # Prepend load paths first so that gems can depend on eachother
4
+ gems.each do |dir|
4
5
  lib = File.join(dir, 'lib')
5
6
  $LOAD_PATH.unshift(lib) if File.directory?(lib)
7
+ end
8
+
9
+ # Require each gem
10
+ gems.each do |dir|
6
11
  init_rb = File.join(dir, 'init.rb')
7
12
  require init_rb if File.file?(init_rb)
8
13
  end
@@ -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.7.1</a>
36
+ <a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.7.2</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;gemsonrails&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsonrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
5
- platform: ""
4
+ version: 0.7.2
5
+ platform: ruby
6
6
  authors:
7
7
  - nicwilliams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2007-11-29 00:00:00 +10:00
12
+ date: 2008-01-29 00:00:00 +10:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  requirements: []
70
70
 
71
71
  rubyforge_project: gemsonrails
72
- rubygems_version: 0.9.5
72
+ rubygems_version: 1.0.1
73
73
  signing_key:
74
74
  specification_version: 2
75
75
  summary: Link or freeze RubyGems into your rails apps, instead of plugins To reinstall, run "gemsonrails" in rails app folder.