require 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/require.rb +4 -2
- data/lib/require/spec_helper.rb +1 -1
- data/lib/require/tasks.rb +1 -1
- data/require.rb +1 -1
- metadata +2 -2
data/lib/require.rb
CHANGED
@@ -94,8 +94,10 @@ class Require
|
|
94
94
|
else
|
95
95
|
Kernel.send :gem, name.to_s
|
96
96
|
end
|
97
|
-
|
98
|
-
require
|
97
|
+
if overwrite_dsl || gem.dsl
|
98
|
+
(overwrite_dsl || gem.dsl).all(:require).each do |dsl|
|
99
|
+
require! dsl.path
|
100
|
+
end
|
99
101
|
end
|
100
102
|
end
|
101
103
|
end
|
data/lib/require/spec_helper.rb
CHANGED
data/lib/require/tasks.rb
CHANGED
@@ -72,7 +72,7 @@ namespace :gems do
|
|
72
72
|
task :install do
|
73
73
|
Require::Tasks.set :ask_docs, :ask_sudo
|
74
74
|
Require.all(:gem).sort { |a,b| a.name.to_s <=> b.name.to_s }.each do |dsl|
|
75
|
-
Require::Tasks.run "gem install #{dsl.name} -v '#{dsl.version}'"
|
75
|
+
Require::Tasks.run "gem install #{dsl.name}#{" -v '#{dsl.version}'" if dsl.version}"
|
76
76
|
end
|
77
77
|
end
|
78
78
|
end
|
data/require.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: require
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Winton Welsh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-03 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|