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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b4fbe4221a983911e0672d89434c9c67c8bedf8
4
- data.tar.gz: fd66e8af6b76de035d8024baa5b02fbab772a4ed
3
+ metadata.gz: 3d97ee402994bbd28b01e412ce044c9516bba4ac
4
+ data.tar.gz: 13530a99dae8385b4ad2995798018f2f3abcd687
5
5
  SHA512:
6
- metadata.gz: 73753bc27af51fb36633bb610f940b7965c6b684c930e096c10772922169a0f324b182c6201becc951a3c8709678d6092374eac5f772055b3f470c13da8cef1d
7
- data.tar.gz: aace4fff860cce4195ef4842fa5ece8551668b03da414a3946e4b500aef55fd0a1497c211328e2735827086a832559749a305c73fe90c7e78bb0a0a4b920f640
6
+ metadata.gz: 5101c3939cf69be096183846ed147f699fbcc77d08380fdd92788f91324ea6299f104b76d6af19d8daf180a7d570a61554a7bc003e6178e59258c9be30b72cef
7
+ data.tar.gz: 21d7ff7bbcd1812a2793f4f1b5f442af74938191998cd9ff08881b3638b8fabe1ec52a9f7f97f657476cbf93c078b36f7fd3cf7ee1de6abc659bd10acd3de399
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- artoo-pebble (1.0.0.pre)
4
+ artoo-pebble (1.0.0.rc1)
5
5
  artoo (~> 1.0.0.rc2)
6
6
  hybridgroup-pebblewatch (~> 0.1.2)
7
7
 
data/README.md CHANGED
@@ -11,7 +11,7 @@ For more information abut Artoo, check out our repo at https://github.com/hybrid
11
11
  ## Installing
12
12
 
13
13
  ```
14
- gem install artoo-pebble
14
+ gem install artoo-pebble --pre
15
15
  ```
16
16
 
17
17
  ## Using
@@ -1,5 +1,5 @@
1
1
  module Artoo
2
2
  module Pebble
3
- VERSION = '1.0.0.pre'
3
+ VERSION = '1.0.0.rc1'
4
4
  end
5
5
  end
@@ -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.pre
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-26 00:00:00.000000000 Z
11
+ date: 2013-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: artoo