serialport-server 0.1.0 → 0.1.1

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: d7d590e373d175e5375e58cca8f7960baa86ffe9
4
- data.tar.gz: 2b030249ef0f2823b7d5890c52ee6a07eedd4eb9
3
+ metadata.gz: 86f7b3dc42fddabb3f716bbbf72d5baa8f35f92d
4
+ data.tar.gz: 29c61fd679acbde0d065bff0c07f646111337e6e
5
5
  SHA512:
6
- metadata.gz: 5cc3987c53e68129a8275a880cb50127fe942508aae540f3cb6f5fcf3f8a9dc7815bb37aee2f0ca1da7fdc76d7a06274598d8aaa884d41760358ca532b553f66
7
- data.tar.gz: 9d25cbcb3521c5cccddb583c2b1800aabe4367144fe304504d088eccfb9c07a9686dd9c0d9812bce5afcb728a4209161581e35fdccf767924b068e99df186e75
6
+ metadata.gz: 6ae1cad826e4ab15de576a010cc4d5225d5b6bc0c06777748f8575d93bb01928dc62cd898ae4f09580a1e9716eebdb486c959f4d3452dc530b3b8811dd31a7a2
7
+ data.tar.gz: 36cd7b6fbe94af2429b9d160f142d603c257754e41190508aa6a3a583d5172e98de2d5a2651c1c6bef1100268d887cab91f8fefae2f3725441749373ca00b2d9
@@ -1,3 +1,8 @@
1
+ === 0.1.1 2014-07-07
2
+
3
+ * Ignore Error from null STDIN
4
+ * thank you for contributing @aprikip
5
+
1
6
  === 0.1.0 2013-08-27
2
7
 
3
8
  * use Bundler gem template instead of Hoe
@@ -113,7 +113,7 @@ module SerialportServer
113
113
 
114
114
  EM::defer do
115
115
  loop do
116
- line = STDIN.gets.gsub(/[\r\n]/,'')
116
+ line = STDIN.gets.gsub(/[\r\n]/,'') rescue next
117
117
  next if !line or line.to_s.empty?
118
118
  @serialport.puts line rescue next
119
119
  end
@@ -1,3 +1,3 @@
1
1
  module SerialportServer
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serialport-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-26 00:00:00.000000000 Z
11
+ date: 2014-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: serialport
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  requirements: []
175
175
  rubyforge_project:
176
- rubygems_version: 2.0.5
176
+ rubygems_version: 2.0.3
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: SerialPort Server makes your Device (Arduino, mbed...) WebServer.