proxylocal 0.2.2 → 0.2.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/lib/client.rb CHANGED
@@ -4,7 +4,7 @@ require 'eventmachine'
4
4
  require 'bert'
5
5
 
6
6
  module ProxyLocal
7
- VERSION = '0.2.2'
7
+ VERSION = '0.2.3'
8
8
 
9
9
  module Serializer
10
10
  def self.dump(object)
@@ -93,7 +93,7 @@ module ProxyLocal
93
93
  @connections[id] = connection
94
94
  when :stream
95
95
  _, id, data = message
96
- @connections[id].send_data(data)
96
+ @connections[id].send_data(data) if @connections[id]
97
97
  when :close
98
98
  _, id = message
99
99
  connection = @connections.delete(id)
data/proxylocal.gemspec CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{proxylocal}
5
- s.version = "0.2.2"
5
+ s.version = "0.2.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Just Lest"]
9
9
  s.cert_chain = ["/Users/lest/.gem/gem-public_cert.pem"]
10
- s.date = %q{2010-12-12}
10
+ s.date = %q{2010-12-16}
11
11
  s.default_executable = %q{proxylocal}
12
12
  s.description = %q{Proxy your local web-server and make it publicly available over the internet}
13
13
  s.email = %q{just.lest@gmail.com}
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxylocal
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Just Lest
@@ -36,7 +36,7 @@ cert_chain:
36
36
  9HkV98wF6vQ=
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2010-12-12 00:00:00 +02:00
39
+ date: 2010-12-16 00:00:00 +02:00
40
40
  default_executable:
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- �ȑ��
2
- ��7���ᨵpr������V\��]7+�3u��Ο�2@�VUL'D�ُ7j;`���ɁI����Sr��� �& ��^k�%
3
- dת�ڦ��f�w����������t>3ӣ�}ɹs��a~���g�����E�+ڰr�����òf�Փ�c���ܐ�_��V0��8���
1
+ U^~�P+����+�q��6�x��!�l
2
+ ~���"���1��~�w��[Gxq����hiXl�C� I���*�
3
+ Q����]��87�\�ߡ7��Ȱ,����eL��