artoo-pebble 1.0.0.pre → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/artoo-pebble/version.rb +1 -1
- data/lib/artoo/adaptors/pebble.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d97ee402994bbd28b01e412ce044c9516bba4ac
|
4
|
+
data.tar.gz: 13530a99dae8385b4ad2995798018f2f3abcd687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5101c3939cf69be096183846ed147f699fbcc77d08380fdd92788f91324ea6299f104b76d6af19d8daf180a7d570a61554a7bc003e6178e59258c9be30b72cef
|
7
|
+
data.tar.gz: 21d7ff7bbcd1812a2793f4f1b5f442af74938191998cd9ff08881b3638b8fabe1ec52a9f7f97f657476cbf93c078b36f7fd3cf7ee1de6abc659bd10acd3de399
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/artoo-pebble/version.rb
CHANGED
@@ -14,9 +14,7 @@ module Artoo
|
|
14
14
|
# Closes connection with device if connected
|
15
15
|
# @return [Boolean]
|
16
16
|
def finalize
|
17
|
-
if connected?
|
18
|
-
pebble.disconnect
|
19
|
-
end
|
17
|
+
pebble.disconnect if connected?
|
20
18
|
end
|
21
19
|
|
22
20
|
# Creates a connection with device
|
@@ -45,7 +43,7 @@ module Artoo
|
|
45
43
|
# Closes connection with device
|
46
44
|
# @return [Boolean]
|
47
45
|
def disconnect
|
48
|
-
pebble.disconnect
|
46
|
+
pebble.disconnect if connected?
|
49
47
|
super
|
50
48
|
end
|
51
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artoo-pebble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ron Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: artoo
|