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.
Files changed (4) hide show
  1. data/bin/channel-srv +8 -10
  2. data/bin/state-srv +3 -5
  3. data/goat.gemspec +1 -1
  4. metadata +3 -3
data/bin/channel-srv CHANGED
@@ -136,15 +136,13 @@ module Goat
136
136
  end
137
137
  end
138
138
 
139
- if $0 == __FILE__
140
- app = Rack::Builder.app do |builder|
141
- use Rack::CommonLogger
142
- use Rack::ShowExceptions
143
- run Goat::ChannelSrv::Srv
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
- EM.run do
147
- Goat::ChannelSrv::ChannelStateConnection.connect
148
- Rack::Handler::Thin.run(app, :Port => (ARGV.first ? ARGV.first.to_i : 8050))
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
@@ -382,9 +382,7 @@ module Goat
382
382
  end
383
383
  end
384
384
 
385
- if $0 == __FILE__
386
- EM.run do
387
- Goat::StateSrv::Sweeper.start
388
- Goat::StateSrv::RecvServer.start
389
- end
385
+ EM.run do
386
+ Goat::StateSrv::Sweeper.start
387
+ Goat::StateSrv::RecvServer.start
390
388
  end
data/goat.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'goat'
3
- s.version = '0.3.2'
3
+ s.version = '0.3.3'
4
4
  s.summary = 'Pre-release beta version of Goat'
5
5
  s.author = 'Patrick Collison'
6
6
  s.email = 'patrick@collison.ie'
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Collison