arduino 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/arduino.gemspec +2 -2
- data/example_blink.rb +2 -2
- data/lib/arduino.rb +5 -9
- metadata +3 -3
data/arduino.gemspec
CHANGED
|
@@ -3,8 +3,8 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "arduino"
|
|
6
|
-
s.version = "0.3.
|
|
7
|
-
s.date = %q{
|
|
6
|
+
s.version = "0.3.2"
|
|
7
|
+
s.date = %q{2011-01-01}
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
|
9
9
|
s.authors = ["Akash Manohar"]
|
|
10
10
|
s.email = ["akash@akash.im"]
|
data/example_blink.rb
CHANGED
data/lib/arduino.rb
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# parameter from the first line of standard
|
|
4
|
-
# input). In then reads successive words or
|
|
5
|
-
# phrases from standard input and reports whether
|
|
6
|
-
# they are angrams of the first word.
|
|
1
|
+
# A ruby library to talk to Arduino without
|
|
2
|
+
# having to burn programs repeatedly to the board.
|
|
7
3
|
#
|
|
8
|
-
# Author::
|
|
9
|
-
# Copyright:: Copyright (c)
|
|
10
|
-
# License::
|
|
4
|
+
# Author:: Akash Manohar (akash@akash.im)
|
|
5
|
+
# Copyright:: Copyright (c) 2010 Akash Manohar
|
|
6
|
+
# License:: MIT License
|
|
11
7
|
|
|
12
8
|
require "serialport"
|
|
13
9
|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 0.3.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.3.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Akash Manohar
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2011-01-01 00:00:00 +05:30
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|