arduino_firmata 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/History.txt +4 -0
- data/lib/arduino_firmata/arduino.rb +6 -1
- data/lib/arduino_firmata/version.rb +1 -1
- metadata +103 -74
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 87e21383fdc0053837691237c377c338776f7faa
|
4
|
+
data.tar.gz: 05f23f9a008c7a612f87770060264d57090b6068
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 61e0ef9f5cdc0adab8ba9095c8de85a3819fba6c849a386c97d83077971ca7344af60050ad1870b5c1c54bf18806447d48391f446eaadd66a1c4246c0b5f1afb
|
7
|
+
data.tar.gz: fc8b15465cf376a04abe433d4baec6fe2eac4b23560aee5d4535dcf6d33443098ca62c98b16b139d1b36b3759b3ed8f7eb63559722afa399737a0055d26ab941
|
data/History.txt
CHANGED
@@ -166,7 +166,12 @@ module ArduinoFirmata
|
|
166
166
|
def write(cmd)
|
167
167
|
return if status == Status::CLOSE
|
168
168
|
if nonblock_io
|
169
|
-
|
169
|
+
begin
|
170
|
+
@serial.write_nonblock cmd.chr
|
171
|
+
rescue Errno::EAGAIN
|
172
|
+
sleep 0.1
|
173
|
+
retry
|
174
|
+
end
|
170
175
|
else
|
171
176
|
@serial.write cmd.chr
|
172
177
|
end
|
metadata
CHANGED
@@ -1,93 +1,121 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: arduino_firmata
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Sho Hashimoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-09-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
23
20
|
type: :development
|
24
|
-
version_requirements: *id001
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: bundler
|
27
21
|
prerelease: false
|
28
|
-
|
29
|
-
requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
30
31
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
33
34
|
type: :development
|
34
|
-
version_requirements: *id002
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: minitest
|
37
35
|
prerelease: false
|
38
|
-
|
39
|
-
requirements:
|
40
|
-
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
41
48
|
type: :development
|
42
|
-
version_requirements: *id004
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: backports
|
45
49
|
prerelease: false
|
46
|
-
|
47
|
-
requirements:
|
48
|
-
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: backports
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
49
62
|
type: :development
|
50
|
-
version_requirements: *id005
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: serialport
|
53
63
|
prerelease: false
|
54
|
-
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: serialport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
58
75
|
version: 1.1.0
|
59
76
|
type: :runtime
|
60
|
-
version_requirements: *id006
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: args_parser
|
63
77
|
prerelease: false
|
64
|
-
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.1.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: args_parser
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
68
89
|
version: 0.1.4
|
69
90
|
type: :runtime
|
70
|
-
version_requirements: *id007
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: event_emitter
|
73
91
|
prerelease: false
|
74
|
-
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.1.4
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: event_emitter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
78
103
|
version: 0.2.4
|
79
104
|
type: :runtime
|
80
|
-
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.2.4
|
81
111
|
description: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.
|
82
|
-
email:
|
112
|
+
email:
|
83
113
|
- hashimoto@shokai.org
|
84
|
-
executables:
|
114
|
+
executables:
|
85
115
|
- arduino_firmata
|
86
116
|
extensions: []
|
87
|
-
|
88
117
|
extra_rdoc_files: []
|
89
|
-
|
90
|
-
files:
|
118
|
+
files:
|
91
119
|
- .gitignore
|
92
120
|
- Gemfile
|
93
121
|
- History.txt
|
@@ -126,29 +154,30 @@ files:
|
|
126
154
|
- test/test_helper.rb
|
127
155
|
- test/test_sysex.rb
|
128
156
|
homepage: http://shokai.github.com/arduino_firmata
|
129
|
-
licenses:
|
157
|
+
licenses:
|
130
158
|
- MIT
|
131
159
|
metadata: {}
|
132
|
-
|
133
160
|
post_install_message:
|
134
161
|
rdoc_options: []
|
135
|
-
|
136
|
-
require_paths:
|
162
|
+
require_paths:
|
137
163
|
- lib
|
138
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
-
|
141
|
-
|
142
|
-
|
143
|
-
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - '>='
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
144
174
|
requirements: []
|
145
|
-
|
146
175
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.0.
|
176
|
+
rubygems_version: 2.0.5
|
148
177
|
signing_key:
|
149
178
|
specification_version: 4
|
150
179
|
summary: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.
|
151
|
-
test_files:
|
180
|
+
test_files:
|
152
181
|
- test/test_arduino_firmata.rb
|
153
182
|
- test/test_block.rb
|
154
183
|
- test/test_classmethods.rb
|