arduino_firmata 0.3.6 → 0.3.7

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: 69707c79dd76c49a994b409b2d851d8b1efda32d
4
- data.tar.gz: 085a7a2e407f6c844c68bab794f4560b7caa5e6e
3
+ metadata.gz: c0474a63d988206511506cebc23f9f386f2f1177
4
+ data.tar.gz: 9f165b2b02ec6c73a2081eb07ca68d3616cedb4b
5
5
  SHA512:
6
- metadata.gz: 2147b27f71082dc32ceedaf0215928087d79008fbb590ff27b12020bb5796de67eb96f028f9335d4dbf3d04db7e82724aced6df0e234d13a2f1242ea821033e1
7
- data.tar.gz: 3994d4c4d371e011b7b7e4ac5126a11dcbe23f2ea82d67a49ffb9435e6af2d8b0a8a0a5d1d94eb6ce6e77159d2a5867959e732c4b5fd06bd98d099c6a2aea36a
6
+ metadata.gz: 123e21cd9d5d6b44dd05a37c64393e0944a0778acd49b6ef41e5dcd2b750025856445ed3c9aa186750b7eb7773b581c029362e4338737df91c8021beb91b45e5
7
+ data.tar.gz: 5e35bc83df98a7d6629c0eb6d8202d09d388d5db724a228e6ad6219c853cff7ba1ba8d3b87cb5bcd83163688072ea3bda94462b3cb634115b8846f5156b9fbe1
@@ -1,3 +1,7 @@
1
+ === 0.3.7 2014-02-02
2
+
3
+ * fix regexp of function Arduino#old_arduino_device?
4
+
1
5
  === 0.3.6 2013-11-18
2
6
 
3
7
  * bugfix detection of old_arduino_device?
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2013 Sho Hashimoto
1
+ Copyright (c) 2012-2014 Sho Hashimoto
2
2
 
3
3
  MIT License
4
4
 
@@ -49,7 +49,7 @@ module ArduinoFirmata
49
49
  sleep 0.5
50
50
  break if @version
51
51
  end
52
- sleep 0.5 if old_arduino_device?
52
+ sleep 3 if old_arduino_device?
53
53
 
54
54
  (0...6).each do |i|
55
55
  write(REPORT_ANALOG | i)
@@ -71,7 +71,7 @@ module ArduinoFirmata
71
71
  end
72
72
 
73
73
  def old_arduino_device?
74
- File.basename(@serialport_name) =~ /^tty\.usbserial/ ? true : false
74
+ File.basename(@serialport_name) =~ /tty\.usbserial|ttyUSB/ ? true : false
75
75
  end
76
76
 
77
77
  def close
@@ -1,3 +1,3 @@
1
1
  module ArduinoFirmata
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require 'rubygems'
2
+ require 'bundler/setup'
2
3
  require 'minitest/autorun'
3
4
  require 'backports'
4
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arduino_firmata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
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-11-18 00:00:00.000000000 Z
11
+ date: 2014-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -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.1.5
176
+ rubygems_version: 2.0.3
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: Arduino Firmata protocol (http://firmata.org) implementation on Ruby.