arduino_firmata 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 17dc3e201378fa154ef0af296464a1db5ac20087
4
+ data.tar.gz: 5798ab035257df5d3d2824a56e0079eb2f42fcf3
5
+ SHA512:
6
+ metadata.gz: bb4527e0a44a9770c79de5cd30eef13d21075f59b5cd8069365262ffdd332efdfa50410cca1ce7f0818841be84dd8ccc7dae62185d23f6e15a8d00fa8177ec19
7
+ data.tar.gz: 0e35730b59afac125beef3afc431e534d30e878290fd10afd2701a3602ad6d270c2d8e04c1d25232933f34093020348e50f7a34b526b09375824ca12608a14c6
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.2.9 2013-06-14
2
+
3
+ * modify initialize process to share an arduino between multiple ruby processes
4
+
1
5
  === 0.2.8 2013-03-21
2
6
 
3
7
  * throw error if default arduino not found
data/README.md CHANGED
@@ -16,7 +16,7 @@ Requirements
16
16
 
17
17
  * Ruby 1.8.7 or 1.9.2 or 1.9.3 or 2.0.0
18
18
  * Arduino (http://arduino.cc)
19
- * testing with Arduino Duemillanove, UNO, Leonardo, Micro, Seeduino v2.
19
+ * testing with Arduino Diecimila, Duemillanove, UNO, Leonardo, Micro and Seeduino v2.
20
20
  * Arduino Standard Firmata v2.2
21
21
  * Arduino IDE -> [File] -> [Examples] -> [Firmata] -> [StandardFirmata]
22
22
 
@@ -65,10 +65,10 @@ module ArduinoFirmata
65
65
  write 1
66
66
  end
67
67
 
68
- write REPORT_VERSION
69
68
  loop do
69
+ write REPORT_VERSION
70
+ sleep 0.5
70
71
  break if @version
71
- sleep 0.3
72
72
  end
73
73
  sleep 0.5
74
74
  end
@@ -1,3 +1,3 @@
1
1
  module ArduinoFirmata
2
- VERSION = '0.2.8'
2
+ VERSION = '0.2.9'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require File.expand_path 'test_helper', File.dirname(__FILE__)
2
2
 
3
- class TestArduinoFirmata < MiniTest::Unit::TestCase
3
+ class TestArduinoFirmata < MiniTest::Test
4
4
 
5
5
  def setup
6
6
  @arduino = ArduinoFirmata.connect ENV['ARDUINO']
data/test/test_block.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require File.expand_path 'test_helper', File.dirname(__FILE__)
2
2
 
3
- class TestBlock < MiniTest::Unit::TestCase
3
+ class TestBlock < MiniTest::Test
4
4
 
5
5
  def test_block
6
6
  version_ = nil
@@ -1,6 +1,6 @@
1
1
  require File.expand_path 'test_helper', File.dirname(__FILE__)
2
2
 
3
- class TestClassMethods < MiniTest::Unit::TestCase
3
+ class TestClassMethods < MiniTest::Test
4
4
 
5
5
  def test_arduino_list
6
6
  assert ArduinoFirmata::list.class == Array
@@ -1,6 +1,6 @@
1
1
  require File.expand_path 'test_helper', File.dirname(__FILE__)
2
2
 
3
- class TestDeviceNotFound < MiniTest::Unit::TestCase
3
+ class TestDeviceNotFound < MiniTest::Test
4
4
 
5
5
  def test_nodevice
6
6
  err = nil
data/test/test_sysex.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require File.expand_path 'test_helper', File.dirname(__FILE__)
4
4
 
5
- class TestSysex < MiniTest::Unit::TestCase
5
+ class TestSysex < MiniTest::Test
6
6
 
7
7
  def setup
8
8
  @arduino = ArduinoFirmata.connect ENV['ARDUINO']
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arduino_firmata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
5
- prerelease:
4
+ version: 0.2.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sho Hashimoto
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
11
+ date: 2013-06-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: serialport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: args_parser
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.1.4
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 0.1.4
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: event_emitter
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: 0.2.4
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: 0.2.4
62
55
  description: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.
@@ -106,27 +99,26 @@ files:
106
99
  - test/test_sysex.rb
107
100
  homepage: http://shokai.github.com/arduino_firmata
108
101
  licenses: []
102
+ metadata: {}
109
103
  post_install_message:
110
104
  rdoc_options: []
111
105
  require_paths:
112
106
  - lib
113
107
  required_ruby_version: !ruby/object:Gem::Requirement
114
- none: false
115
108
  requirements:
116
- - - ! '>='
109
+ - - '>='
117
110
  - !ruby/object:Gem::Version
118
111
  version: '0'
119
112
  required_rubygems_version: !ruby/object:Gem::Requirement
120
- none: false
121
113
  requirements:
122
- - - ! '>='
114
+ - - '>='
123
115
  - !ruby/object:Gem::Version
124
116
  version: '0'
125
117
  requirements: []
126
118
  rubyforge_project:
127
- rubygems_version: 1.8.24
119
+ rubygems_version: 2.0.3
128
120
  signing_key:
129
- specification_version: 3
121
+ specification_version: 4
130
122
  summary: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.
131
123
  test_files:
132
124
  - test/test_arduino_firmata.rb
@@ -135,3 +127,4 @@ test_files:
135
127
  - test/test_device_not_found.rb
136
128
  - test/test_helper.rb
137
129
  - test/test_sysex.rb
130
+ has_rdoc: