puggernaut 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -30,7 +30,7 @@ Run the <code>puggernaut</code> binary with optional port numbers:
30
30
  puggernaut &lt;http port&gt; &lt;tcp port&gt;
31
31
  </pre>
32
32
 
33
- The default HTTP and TCP ports are 8000 and 8001, respectively.
33
+ The default HTTP and TCP ports are 8100 and 8101, respectively.
34
34
 
35
35
  Set up proxy pass
36
36
  -----------------
@@ -44,8 +44,8 @@ If you do not see your web server below, [Google](http://google.com) is your fri
44
44
  *http.conf*
45
45
 
46
46
  <pre>
47
- ProxyPass /long_poll http://localhost:8000/
48
- ProxyPassReverse /long_poll http://localhost:8000/
47
+ ProxyPass /long_poll http://localhost:8100/
48
+ ProxyPassReverse /long_poll http://localhost:8100/
49
49
  </pre>
50
50
 
51
51
  ### Nginx
@@ -54,7 +54,7 @@ ProxyPassReverse /long_poll http://localhost:8000/
54
54
 
55
55
  <pre>
56
56
  location /long_poll {
57
- proxy_pass http://localhost:8000/;
57
+ proxy_pass http://localhost:8100/;
58
58
  }
59
59
  </pre>
60
60
 
@@ -64,7 +64,7 @@ Send push messages
64
64
  <pre>
65
65
  require 'puggernaut'
66
66
 
67
- client = Puggernaut::Client.new("localhost:8001", "localhost:9001")
67
+ client = Puggernaut::Client.new("localhost:8101", "localhost:9101")
68
68
  client.push :channel => "message"
69
69
  client.push :channel => [ "message 1", "message 2" ], :channel_2 => "message"
70
70
  </pre>
@@ -109,7 +109,7 @@ server {
109
109
  passenger_enabled on;
110
110
 
111
111
  location /long_poll {
112
- proxy_pass http://localhost:8000/;
112
+ proxy_pass http://localhost:8100/;
113
113
  }
114
114
  }
115
115
  </pre>
data/config/gemspec.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: puggernaut
2
- version: 0.1.3
2
+ version: 0.1.4
3
3
  authors:
4
4
  - Winton Welsh
5
5
  email: mail@wintoni.us
@@ -7,7 +7,7 @@ module Puggernaut
7
7
 
8
8
  include Logger
9
9
 
10
- def initialize(http_port=8000, tcp_port=http_port+1)
10
+ def initialize(http_port=8100, tcp_port=http_port.to_i+1)
11
11
  puts "\nPuggernaut is starting on #{http_port} (HTTP) and #{tcp_port} (TCP)"
12
12
  puts "*snort*\n\n"
13
13
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Winton Welsh
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-21 00:00:00 -08:00
17
+ date: 2011-01-24 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency