rover 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rover.rb +0 -39
- metadata +3 -4
data/lib/rover.rb
CHANGED
@@ -38,13 +38,6 @@ module Logging
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
# Rover.new
|
42
|
-
# rover.list_configs #=> hash
|
43
|
-
# rover.install_configs #=> execute on hash above
|
44
|
-
# TODO rover.run
|
45
|
-
# TODO rover.update_from_git
|
46
|
-
# TODO rover.authors_from_git
|
47
|
-
|
48
41
|
class Rover
|
49
42
|
include Logging
|
50
43
|
include Utils
|
@@ -208,38 +201,6 @@ class Rover
|
|
208
201
|
end
|
209
202
|
end
|
210
203
|
|
211
|
-
=begin
|
212
|
-
def run_servers procfile_location = nil
|
213
|
-
require 'foreman'
|
214
|
-
|
215
|
-
if procfile_location && !procfile_location.end_with?('/')
|
216
|
-
procfile_location = "#{procfile_location}/"
|
217
|
-
end
|
218
|
-
|
219
|
-
specified_procfile = "#{procfile_location}Procfile"
|
220
|
-
if procfile_location
|
221
|
-
if File.exists?(specified_procfile)
|
222
|
-
puts "Loading Procfile found in #{specified_procfile}"
|
223
|
-
change_dir procfile_location
|
224
|
-
else
|
225
|
-
puts "No Procfile found at #{procfile_location}"
|
226
|
-
return false
|
227
|
-
end
|
228
|
-
else
|
229
|
-
puts "No Procfile location specified, defaulting to #{@start_directory}"
|
230
|
-
change_dir @start_directory
|
231
|
-
if File.exists?('Procfile')
|
232
|
-
puts "Profile exists... running foreman"
|
233
|
-
else
|
234
|
-
puts "No Procfile found. Rover can not run servers without a Procfile"
|
235
|
-
return false
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
exec_cmd('foreman start')
|
240
|
-
end
|
241
|
-
=end
|
242
|
-
|
243
204
|
private
|
244
205
|
|
245
206
|
def exec_cmd cmd
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -43,8 +43,7 @@ dependencies:
|
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
|
-
description: discovery and installation of
|
47
|
-
requirements
|
46
|
+
description: discovery and installation of projects that use npm / bundler / pip requirements
|
48
47
|
email: mfrosengarten@gmail.com
|
49
48
|
executables:
|
50
49
|
- rover
|