pi-sys 1.1.0 → 1.1.1

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: 46b112b42f371da35306d1290c0df6f53131abc3
4
- data.tar.gz: c3cbd134adfdd906b581616f59bc4ae0ff35b68c
3
+ metadata.gz: e53c6282914eaf4bf324a84b0e72cc7070271dca
4
+ data.tar.gz: 3ec2e4e34e09296ef0c2235fed5e68e9de3a7f2a
5
5
  SHA512:
6
- metadata.gz: 82a7a0a3d294bdbc8b5d33a6f58f52d7516349abcfff72137ed7080e9740dce02b1b4109a902d3fb9f7b546d8d136c67dd28efd7120b19e18ded3f3b0e8ad0ef
7
- data.tar.gz: 39e5b3e09d5bf263488c44a55ea5d3f5631ef134e644f5c8de4edce1d9689a89ed5beffe2cfa25d41d4f3c2c519dd828b099c4f56c7781059eed04a100844337
6
+ metadata.gz: a961cdb1bf062253dcb8ff9d31c816fb4bf5559aba45d6d27165f3c12ebec88d48a7d5e14b9088de3394b480a8a8a0961bdbc35edd4ec4dbba642269532a6698
7
+ data.tar.gz: ee047796efa51480cdbc8f562ac4a7ea240461f1f4618b9d1fe18f32a83b982247f9fd6325d0cf2af0f2929d10348aad77197a4e8067460c6cad694a5b6cd5c3
data/README.md CHANGED
@@ -3,3 +3,10 @@
3
3
  [![Build Status](https://travis-ci.org/joseairosa/pi-sys.png?branch=master)](https://travis-ci.org/joseairosa/pi-sys)
4
4
 
5
5
  Retrieve Raspbian OS system resource status
6
+
7
+
8
+ ## Quick Usage
9
+
10
+ In order to retreive data from your raspberypi simply add `require 'pi-sys'` to your ruby script.
11
+
12
+ From there call `PiSys.fetch`.
@@ -8,7 +8,7 @@ module PiSys
8
8
  end
9
9
 
10
10
  def fetch
11
- super
11
+ STATS[KEY] = super
12
12
  end
13
13
  end
14
- end
14
+ end
@@ -8,7 +8,7 @@ module PiSys
8
8
  end
9
9
 
10
10
  def fetch
11
- super
11
+ STATS[KEY] = super
12
12
  end
13
13
  end
14
- end
14
+ end
@@ -8,7 +8,7 @@ module PiSys
8
8
  end
9
9
 
10
10
  def fetch
11
- super
11
+ STATS[KEY] = super
12
12
  end
13
13
  end
14
- end
14
+ end
@@ -8,7 +8,7 @@ module PiSys
8
8
  end
9
9
 
10
10
  def fetch
11
- super
11
+ STATS[KEY] = super
12
12
  end
13
13
  end
14
- end
14
+ end
@@ -8,7 +8,7 @@ module PiSys
8
8
  end
9
9
 
10
10
  def fetch
11
- super
11
+ STATS[KEY] = super
12
12
  end
13
13
  end
14
- end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module PiSys
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pi-sys
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Airosa
@@ -72,6 +72,10 @@ executables: []
72
72
  extensions: []
73
73
  extra_rdoc_files: []
74
74
  files:
75
+ - LICENSE
76
+ - README.md
77
+ - lib/pi-sys.rb
78
+ - lib/pi-sys/stats.rb
75
79
  - lib/pi-sys/stats/bandwidth.rb
76
80
  - lib/pi-sys/stats/clock.rb
77
81
  - lib/pi-sys/stats/codec.rb
@@ -84,11 +88,7 @@ files:
84
88
  - lib/pi-sys/stats/uptime.rb
85
89
  - lib/pi-sys/stats/vcgencmd.rb
86
90
  - lib/pi-sys/stats/voltage.rb
87
- - lib/pi-sys/stats.rb
88
91
  - lib/pi-sys/version.rb
89
- - lib/pi-sys.rb
90
- - LICENSE
91
- - README.md
92
92
  homepage: https://github.com/joseairosa/pi-sys
93
93
  licenses:
94
94
  - LICENSE
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.0.14
112
+ rubygems_version: 2.2.2
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Raspbian system status