rack_direct 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rack_direct/service.rb +2 -2
- data/lib/rack_direct/version.rb +1 -1
- metadata +3 -3
data/lib/rack_direct/service.rb
CHANGED
@@ -23,7 +23,7 @@ module RackDirect
|
|
23
23
|
tmppath = generate_rackup_file options[:env]
|
24
24
|
|
25
25
|
# TODO: check path to make sure a Rails app exists there
|
26
|
-
print "
|
26
|
+
print "rack-direct: starting service #{name}..."
|
27
27
|
cmd = "cd #{path} && rake db:test:prepare && rackup --server #{RACK_DIRECT_ALIAS} #{tmppath} 2>&1"
|
28
28
|
# puts cmd
|
29
29
|
@@services[name] = IO.popen cmd, "w+"
|
@@ -69,7 +69,7 @@ module RackDirect
|
|
69
69
|
|
70
70
|
def self.stop name
|
71
71
|
if @@services[name]
|
72
|
-
print "
|
72
|
+
print "rack-direct: stopping service #{name}..."
|
73
73
|
@@services[name].puts "EXIT"
|
74
74
|
@@services[name].puts ""
|
75
75
|
@@services[name] = nil
|
data/lib/rack_direct/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack_direct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Sharon
|