gemtronics 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gemtronics +1 -1
- data/lib/gemtronics/manager.rb +4 -0
- metadata +2 -2
data/bin/gemtronics
CHANGED
@@ -25,7 +25,7 @@ case command
|
|
25
25
|
when 'install'
|
26
26
|
path = ARGV[2] || File.join('config', 'gemtronics.rb')
|
27
27
|
Gemtronics.load(path)
|
28
|
-
Gemtronics.install_gems(ARGV[1] || '
|
28
|
+
Gemtronics.install_gems(ARGV[1] || 'everything!')
|
29
29
|
when 'generate'
|
30
30
|
path = ARGV[1] || 'config'
|
31
31
|
FileUtils.mkdir_p(path)
|
data/lib/gemtronics/manager.rb
CHANGED
@@ -128,6 +128,10 @@ module Gemtronics
|
|
128
128
|
# # gem install gem2 --source=http://gems.rubyforge.org --version=1.2.3
|
129
129
|
# # gem install gem6 --source=http://gems.example.com
|
130
130
|
def install_gems(group = :default)
|
131
|
+
if group == 'everything!'
|
132
|
+
install_all_gems
|
133
|
+
return
|
134
|
+
end
|
131
135
|
group = self.groups[group.to_sym]
|
132
136
|
return if group.nil?
|
133
137
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemtronics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-18 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|