rover 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rover.rb +6 -5
- metadata +1 -17
data/lib/rover.rb
CHANGED
@@ -48,7 +48,7 @@ class Rover
|
|
48
48
|
include Logging
|
49
49
|
include Utils
|
50
50
|
|
51
|
-
attr_accessor :start_directory
|
51
|
+
attr_accessor :start_directory, :pids_created
|
52
52
|
|
53
53
|
CONFIG_FILE_NAMES = {
|
54
54
|
"npm" => 'package.json',
|
@@ -58,6 +58,7 @@ class Rover
|
|
58
58
|
|
59
59
|
def initialize
|
60
60
|
@start_directory = Dir.pwd
|
61
|
+
@pids_created = []
|
61
62
|
|
62
63
|
puts "Rover is starting in #{@start_directory}"
|
63
64
|
end
|
@@ -106,10 +107,8 @@ class Rover
|
|
106
107
|
discovered_config_files = discover_config_files
|
107
108
|
|
108
109
|
if discovered_config_files.empty?
|
109
|
-
|
110
|
+
puts "Rover did not find any configuration files in this project"
|
110
111
|
else
|
111
|
-
logger.info "Rover found the following configuration files:"
|
112
|
-
|
113
112
|
puts "Rover found #{discovered_config_files.size} configuration files".underline
|
114
113
|
puts "\n"
|
115
114
|
|
@@ -143,6 +142,7 @@ class Rover
|
|
143
142
|
end
|
144
143
|
end
|
145
144
|
|
145
|
+
=begin
|
146
146
|
def run_servers procfile_location = nil
|
147
147
|
if procfile_location && !procfile_location.end_with?('/')
|
148
148
|
procfile_location = "#{procfile_location}/"
|
@@ -168,8 +168,9 @@ class Rover
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
-
|
171
|
+
exec_cmd('foreman start')
|
172
172
|
end
|
173
|
+
=end
|
173
174
|
|
174
175
|
private
|
175
176
|
|
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: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -27,22 +27,6 @@ dependencies:
|
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: foreman
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
30
|
description: orchestrate the dependency installations of a project that uses npm +-
|
47
31
|
bundler +- pip requirements
|
48
32
|
email: mfrosengarten@gmail.com
|