spitball 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/spitball +2 -1
- data/bin/spitball-server +2 -0
- data/lib/spitball/version.rb +1 -1
- metadata +4 -4
data/bin/spitball
CHANGED
data/bin/spitball-server
CHANGED
@@ -64,12 +64,14 @@ post '/create' do
|
|
64
64
|
status 202
|
65
65
|
|
66
66
|
i,o = IO.pipe
|
67
|
+
o.sync = true
|
67
68
|
|
68
69
|
# fork twice. once so we can have a pid to detach from in order to clean up,
|
69
70
|
# twice in order to properly redirect stdout for underlying shell commands.
|
70
71
|
pid = fork do
|
71
72
|
baller = open("|-")
|
72
73
|
if baller == nil # child
|
74
|
+
$stdout.sync = true
|
73
75
|
begin
|
74
76
|
ball.cache!
|
75
77
|
rescue Object => e
|
data/lib/spitball/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spitball
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 2
|
10
|
+
version: 0.4.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Freels
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-11-
|
20
|
+
date: 2010-11-15 00:00:00 -08:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|