goat 0.3.2 → 0.3.3
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/bin/channel-srv +8 -10
- data/bin/state-srv +3 -5
- data/goat.gemspec +1 -1
- metadata +3 -3
data/bin/channel-srv
CHANGED
|
@@ -136,15 +136,13 @@ module Goat
|
|
|
136
136
|
end
|
|
137
137
|
end
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
end
|
|
139
|
+
app = Rack::Builder.app do |builder|
|
|
140
|
+
use Rack::CommonLogger
|
|
141
|
+
use Rack::ShowExceptions
|
|
142
|
+
run Goat::ChannelSrv::Srv
|
|
143
|
+
end
|
|
145
144
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
end
|
|
145
|
+
EM.run do
|
|
146
|
+
Goat::ChannelSrv::ChannelStateConnection.connect
|
|
147
|
+
Rack::Handler::Thin.run(app, :Port => (ARGV.first ? ARGV.first.to_i : 8050))
|
|
150
148
|
end
|
data/bin/state-srv
CHANGED
data/goat.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: goat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.3.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Patrick Collison
|