packet 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/packet/packet_master.rb +1 -1
  2. data/lib/packet.rb +1 -1
  3. metadata +18 -18
@@ -108,7 +108,7 @@ module Packet
108
108
  [master_write_end,master_read_end].each { |x| x.close }
109
109
  [worker_read_end,worker_write_end].each { |x| enable_nonblock(x) }
110
110
  begin
111
- if(ARGV[0] == 'start')
111
+ if(ARGV[0] == 'start' && !worker_options[:disable_log])
112
112
  log_file = File.open("log/#{worker_name_key}.log","w")
113
113
  [STDIN, STDOUT, STDERR].each {|desc| desc.reopen(log_file)}
114
114
  end
data/lib/packet.rb CHANGED
@@ -29,5 +29,5 @@ require "packet/packet_worker"
29
29
  PACKET_APP = File.expand_path'../' unless defined?(PACKET_APP)
30
30
 
31
31
  module Packet
32
- VERSION='0.1.12'
32
+ VERSION='0.1.13'
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hemant Kumar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-03 00:00:00 +05:30
12
+ date: 2008-09-09 00:00:00 +05:30
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -30,34 +30,34 @@ files:
30
30
  - TODO
31
31
  - lib/packet
32
32
  - lib/packet/disconnect_error.rb
33
- - lib/packet/packet_pimp.rb
34
- - lib/packet/packet_invalid_worker.rb
35
- - lib/packet/packet_connection.rb
36
- - lib/packet/packet_guid.rb
37
- - lib/packet/double_keyed_hash.rb
38
- - lib/packet/packet_master.rb
33
+ - lib/packet/packet_nbio.rb
34
+ - lib/packet/packet_event.rb
35
+ - lib/packet/packet_mongrel.rb
36
+ - lib/packet/packet_core.rb
37
+ - lib/packet/packet_helper.rb
39
38
  - lib/packet/packet_parser.rb
39
+ - lib/packet/packet_guid.rb
40
40
  - lib/packet/packet_periodic_event.rb
41
41
  - lib/packet/packet_callback.rb
42
+ - lib/packet/timer_store.rb
43
+ - lib/packet/packet_pimp.rb
44
+ - lib/packet/packet_master.rb
42
45
  - lib/packet/packet_worker.rb
43
- - lib/packet/packet_core.rb
46
+ - lib/packet/packet_connection.rb
47
+ - lib/packet/packet_invalid_worker.rb
44
48
  - lib/packet/packet_meta_pimp.rb
45
- - lib/packet/packet_mongrel.rb
46
- - lib/packet/packet_helper.rb
47
- - lib/packet/timer_store.rb
48
- - lib/packet/packet_event.rb
49
- - lib/packet/packet_nbio.rb
50
- - lib/packet.rb
49
+ - lib/packet/double_keyed_hash.rb
51
50
  - lib/packet_mongrel.rb
52
- - examples/concurrent_thread.c
51
+ - lib/packet.rb
52
+ - examples/extconf.rb
53
53
  - examples/sample_server.rb
54
+ - examples/concurrent_thread.c
54
55
  - examples/write_bulk.rb
55
56
  - examples/asteroid.h
56
57
  - examples/persistent_print.rb
57
58
  - examples/use_stuff.rb
58
- - examples/extconf.h
59
59
  - examples/asteroid.c
60
- - examples/extconf.rb
60
+ - examples/extconf.h
61
61
  has_rdoc: true
62
62
  homepage: http://code.google.com/p/packet/
63
63
  post_install_message: