gemsonrails 0.7.1 → 0.7.2
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 +4 -0
- data/lib/gemsonrails/version.rb +1 -1
- data/templates/init.rb +6 -1
- data/website/index.html +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/lib/gemsonrails/version.rb
CHANGED
data/templates/init.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
gems = Dir[File.join(RAILS_ROOT, "vendor/gems/*")]
|
2
2
|
if gems.any?
|
3
|
-
gems
|
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
|
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.7.
|
36
|
+
<a href="http://rubyforge.org/projects/gemsonrails" class="numbers">0.7.2</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘gemsonrails’</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.
|
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:
|
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.
|
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.
|