merb-core 0.9.11 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/merb-core/core_ext/kernel.rb +6 -2
- data/lib/merb-core/version.rb +1 -1
- metadata +2 -2
@@ -25,8 +25,12 @@ module Kernel
|
|
25
25
|
|
26
26
|
deps = Merb::BootLoader::Dependencies.dependencies
|
27
27
|
|
28
|
-
deps.
|
29
|
-
|
28
|
+
idx = deps.each_with_index {|d,i| break i if d.name == new_dep.name}
|
29
|
+
|
30
|
+
idx = idx.is_a?(Array) ? deps.size + 1 : idx
|
31
|
+
deps.delete_at(idx)
|
32
|
+
deps.insert(idx - 1, new_dep)
|
33
|
+
|
30
34
|
new_dep
|
31
35
|
end
|
32
36
|
|
data/lib/merb-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezra Zygmuntowicz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-30 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|