artoo-raspi 0.6.1 → 0.7.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1894b181048e5a15f70119d9a78c2e4a684383bc
4
- data.tar.gz: 9ec572728d3ebef231e148d1a25f3a19fc7dc9ec
3
+ metadata.gz: 33ff012c4ae4e9e15dddf1794dd8e035282193bb
4
+ data.tar.gz: 1ed597e05f4f5322d7927ce266992fec155c6c45
5
5
  SHA512:
6
- metadata.gz: 49736ec2f3cdd06dec3d3c0bd2cbfd4c7e63c16436acf88d2c184af144b851da147bbf2ff8486ed1928ca36d2b6754309442977e70ee951fef82cad29dec2eed
7
- data.tar.gz: 398210e8d1110284b9114c04fe0ce05197fbc3f6c7947b54ae569a3902dee244ee97a8fe6560413fd68200d42bafffb717d8f7fb9f0e68ebf7815170e5a7acd2
6
+ metadata.gz: 82ea59838d6c9be4a5742fb0f8c30414fde4814d8b0ebb33c474e7830892e77b5b3854d1a7e8668e807d253a0003f3b5807394096b5d91316c52741ecf352050
7
+ data.tar.gz: baee010d98adf44cda47c236d0209e5157f557b9ea0071cf15119027b4987340edd33e68a83cf9c6d4f174e3dd748c39dece8f12581db5e63dd421fb70c6f33f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo-raspi (0.6.1)
4
+ artoo-raspi (0.7.0)
5
5
  artoo (>= 1.6.0)
6
6
  artoo-gpio
7
7
  artoo-i2c
@@ -9,27 +9,29 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- artoo (1.6.0)
13
- celluloid (~> 0.15.0)
14
- celluloid-io (~> 0.15.0)
15
- multi_json (~> 1.6)
16
- pry (~> 0.9)
12
+ artoo (1.8.1)
13
+ celluloid (~> 0.16.0)
14
+ celluloid-io (~> 0.16.0)
15
+ http (~> 0.6.1)
16
+ multi_json (~> 1.10.1)
17
+ pry (~> 0.9.0)
17
18
  rake
18
- reel (~> 0.4.0)
19
- robeaux (~> 0.0.3)
20
- thor (~> 0.18.1)
19
+ reel (~> 0.5.0)
20
+ robeaux (= 0.4.1)
21
+ thor (~> 0.19.1)
21
22
  artoo-gpio (0.4.0)
22
23
  artoo (>= 1.6.0)
23
24
  artoo-i2c (0.5.0)
24
25
  artoo (>= 1.6.0)
25
- celluloid (0.15.2)
26
- timers (~> 1.1.0)
27
- celluloid-io (0.15.0)
28
- celluloid (>= 0.15.0)
29
- nio4r (>= 0.5.0)
26
+ celluloid (0.16.0)
27
+ timers (~> 4.0.0)
28
+ celluloid-io (0.16.2)
29
+ celluloid (>= 0.16.0)
30
+ nio4r (>= 1.1.0)
30
31
  coderay (1.1.0)
31
- http (0.5.0)
32
- http_parser.rb
32
+ hitimes (1.2.3)
33
+ http (0.6.4)
34
+ http_parser.rb (~> 0.6.0)
33
35
  http_parser.rb (0.6.0)
34
36
  metaclass (0.0.1)
35
37
  method_source (0.8.2)
@@ -37,23 +39,24 @@ GEM
37
39
  minitest-happy (1.0.0)
38
40
  mocha (0.14.0)
39
41
  metaclass (~> 0.0.1)
40
- multi_json (1.8.4)
41
- nio4r (1.0.0)
42
+ multi_json (1.10.1)
43
+ nio4r (1.2.1)
42
44
  pry (0.9.12.6)
43
45
  coderay (~> 1.0)
44
46
  method_source (~> 0.8)
45
47
  slop (~> 3.4)
46
48
  rake (10.1.1)
47
- reel (0.4.0)
49
+ reel (0.5.0)
48
50
  celluloid (>= 0.15.1)
49
51
  celluloid-io (>= 0.15.0)
50
- http (>= 0.5.0)
51
- http_parser.rb (>= 0.6.0.beta.2)
52
- websocket_parser (>= 0.1.4)
53
- robeaux (0.0.3)
52
+ http (>= 0.6.0.pre)
53
+ http_parser.rb (>= 0.6.0)
54
+ websocket_parser (>= 0.1.6)
55
+ robeaux (0.4.1)
54
56
  slop (3.4.7)
55
- thor (0.18.1)
56
- timers (1.1.0)
57
+ thor (0.19.1)
58
+ timers (4.0.4)
59
+ hitimes
57
60
  websocket_parser (0.1.6)
58
61
 
59
62
  PLATFORMS
data/README.md CHANGED
@@ -108,4 +108,4 @@ Need more help? Just want to say "Hello"? Come visit us on IRC freenode #artoo
108
108
  * For git help see [progit](http://git-scm.com/book) which is an awesome (and free) book on git
109
109
 
110
110
 
111
- (c) 2012-2015 The Hybrid Group
111
+ (c) 2012-2016 The Hybrid Group
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  module Raspi
3
- VERSION = '0.6.1'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
@@ -46,6 +46,8 @@ module Artoo
46
46
  def disconnect
47
47
  puts "Disconnecting all PWM pins..."
48
48
  release_all_pwm_pins
49
+ puts "Disconnecting all Raspi pins..."
50
+ close_all_raspi_pins
49
51
  super
50
52
  end
51
53
 
@@ -103,6 +105,10 @@ module Artoo
103
105
  pwm_pins.each_value { |pwm_pin| pwm_pin.release }
104
106
  end
105
107
 
108
+ def close_all_raspi_pins
109
+ pins.each_value { |pin| pin.close }
110
+ end
111
+
106
112
  # Uses method missing to call device actions
107
113
  # @see device documentation
108
114
  def method_missing(method_name, *arguments, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artoo-raspi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ron Evans
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-11-12 00:00:00.000000000 Z
13
+ date: 2016-02-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: artoo