flukso4r 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of flukso4r might be problematic. Click here for more details.
- data/README.rdoc +11 -2
- data/Rakefile +2 -2
- data/VERSION +1 -1
- metadata +2 -22
data/README.rdoc
CHANGED
@@ -5,13 +5,22 @@ This is the Flukso4R library, available from
|
|
5
5
|
http://gonium.net/md/flukso4r
|
6
6
|
|
7
7
|
You can use it to query the Flukso
|
8
|
-
webservice. Have a look at the bin/flukso_query script.
|
8
|
+
webservice. Have a look at the bin/flukso_query script. It allows you to
|
9
|
+
query the Flukso API and retrieve the latest readings from your Flukso
|
10
|
+
meter. A simple call to retrieve the readings of the last day is:
|
11
|
+
|
12
|
+
flukso_query -t day -u watt -a <your-sensor-alias>
|
9
13
|
|
10
14
|
The code in lib is a cheap knockoff of the twitter ruby gem - many
|
11
15
|
thanks to John Nunemaker! You can find the twitter ruby gem here:
|
12
16
|
|
13
17
|
http://twitter.rubyforge.org/
|
14
18
|
|
19
|
+
== TODO
|
20
|
+
|
21
|
+
* There is no authentication implemented currently.
|
22
|
+
* Tests of the internals are needed.
|
23
|
+
|
15
24
|
== Note on Patches/Pull Requests
|
16
25
|
|
17
26
|
* Fork the project.
|
@@ -24,4 +33,4 @@ http://twitter.rubyforge.org/
|
|
24
33
|
|
25
34
|
== Copyright
|
26
35
|
|
27
|
-
Copyright (c) 2010 Mathias Dalheimer. See LICENSE for details.
|
36
|
+
Copyright (c) 2010 Mathias Dalheimer (md.AT.gonium.net). See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -15,9 +15,9 @@ begin
|
|
15
15
|
gem.default_executable = 'flukso_query'
|
16
16
|
gem.files = FileList["[A-Z]*", "{bin,lib,test}/**/*"]
|
17
17
|
|
18
|
-
gem.add_dependency('oauth', '~> 0.3.6')
|
18
|
+
#gem.add_dependency('oauth', '~> 0.3.6')
|
19
19
|
gem.add_dependency('httparty', '~> 0.4.3')
|
20
|
-
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
20
|
+
#gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
21
21
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
22
22
|
end
|
23
23
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flukso4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Dalheimer
|
@@ -9,19 +9,9 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-07 00:00:00 +01:00
|
13
13
|
default_executable: flukso_query
|
14
14
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: oauth
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.3.6
|
24
|
-
version:
|
25
15
|
- !ruby/object:Gem::Dependency
|
26
16
|
name: httparty
|
27
17
|
type: :runtime
|
@@ -32,16 +22,6 @@ dependencies:
|
|
32
22
|
- !ruby/object:Gem::Version
|
33
23
|
version: 0.4.3
|
34
24
|
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: thoughtbot-shoulda
|
37
|
-
type: :development
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: "0"
|
44
|
-
version:
|
45
25
|
description: This gem provides a library for the Flukso API. See http://flukso.net for more information.
|
46
26
|
email: md@gonium.net
|
47
27
|
executables:
|