neutron-ruby-electron 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47b2476c98aa0a883af1c521c8f7c4e591c95563
4
- data.tar.gz: ab18e343f2a904cffb53ac22117a95c7ad4434c8
3
+ metadata.gz: a7ea76e96f30a1fc6def16d1979eee4c6307dbf6
4
+ data.tar.gz: 67caaa9d32bad16cff4a3c9f455d47203a938fc8
5
5
  SHA512:
6
- metadata.gz: 54f4e9754fa75c16eede4671e50bd65d147f3df4975dd115621263b616d94f70a1ac5a0e34cac043e41fe02ca88d0f4eca960791e7c9ea87343eeda472a7c035
7
- data.tar.gz: 89a2b830d17a1a5febd061f6639105acea0d290bae25d5aead4dd23f89fdc7cf229c4a3e659340bd4b33e8084292bfe451bdb65afc26a55c2b636c0c623d7d76
6
+ metadata.gz: 52f5360607ff4884390a7e368504456f4f9acff59f02bf5a80f3e2c6e4d9e2668b974418b2b9a5a268406a9e384fa5efb07a803211225dc2f471b6d24c73df28
7
+ data.tar.gz: 8afa698d08b061a9126dac6a79aec379f5624064d99c36f5e538432096f01e5187455c45a568d9bf82ea46d4d27fc4461c947f50dc0ffcc1f30672654b5bd061
@@ -87,7 +87,7 @@ module Neutron
87
87
  private
88
88
 
89
89
  def send_string(sock, s)
90
- while(s.length > 0)
90
+ while(s && s.length > 0)
91
91
  sent = sock.send(s, 0)
92
92
  s = s[sent..-1]
93
93
  end
@@ -1,3 +1,3 @@
1
1
  module Neutron
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neutron-ruby-electron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pioz