rupower 0.1.4 → 0.1.5
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/README.md +5 -3
- data/lib/rupower/version.rb +1 -1
- data/lib/rupower.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Rupower
|
|
2
2
|
|
|
3
|
-
Ruby interface to [UPower] tool available by default on Ubuntu and Debian distros.
|
|
3
|
+
Ruby interface to [UPower].[Device] tool available by default on Ubuntu and Debian distros.
|
|
4
4
|
|
|
5
5
|
## Example
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ Ruby interface to [UPower] tool available by default on Ubuntu and Debian distro
|
|
|
12
12
|
capacity: # => 100 # [%]
|
|
13
13
|
technology: # => 'lithium-ion'
|
|
14
14
|
|
|
15
|
-
See the UPower documentation for full list of
|
|
15
|
+
See the UPower [documentation] for full list of properties that can be used as methods, or look at the
|
|
16
16
|
acceptance tests.
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
@@ -37,4 +37,6 @@ Then run:
|
|
|
37
37
|
|
|
38
38
|
Released under the MIT license. Copyright (C) 2012 Karol Nowicki
|
|
39
39
|
|
|
40
|
-
[UPower]: http://upower.freedesktop.org
|
|
40
|
+
[UPower]: http://upower.freedesktop.org
|
|
41
|
+
[Device]: http://upower.freedesktop.org/docs/Device.html
|
|
42
|
+
[documentation]: http://upower.freedesktop.org/docs/Device.html#Device.properties
|
data/lib/rupower/version.rb
CHANGED
data/lib/rupower.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rupower
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-04-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! 'Rupower is UPower (http://upower.freedesktop.org) interface for Ruby,
|
|
15
15
|
working for Battery and AC supply.
|
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
57
57
|
version: '0'
|
|
58
58
|
segments:
|
|
59
59
|
- 0
|
|
60
|
-
hash:
|
|
60
|
+
hash: 151074513370215442
|
|
61
61
|
requirements: []
|
|
62
62
|
rubyforge_project:
|
|
63
63
|
rubygems_version: 1.8.17
|