fitbit-to-graphite 0.1.0 → 0.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.
- data/bin/fitbit-to-graphite.rb +1 -1
- data/fitbit-to-graphite.gemspec +2 -1
- metadata +3 -2
data/bin/fitbit-to-graphite.rb
CHANGED
|
@@ -10,7 +10,7 @@ require 'yaml'
|
|
|
10
10
|
require 'choice'
|
|
11
11
|
require 'fitgem'
|
|
12
12
|
|
|
13
|
-
PROGRAM_VERSION = "0.1.
|
|
13
|
+
PROGRAM_VERSION = "0.1.1"
|
|
14
14
|
SLEEP_STATE_TYPES = ['deep', 'light', 'awake']
|
|
15
15
|
# this is just to be compatible with jawbone data
|
|
16
16
|
JAWBONE_SLEEP_STATES = { 'awake' => 1, 'light' => 2, 'deep' => 3 }
|
data/fitbit-to-graphite.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |gem|
|
|
2
2
|
gem.name = 'fitbit-to-graphite'
|
|
3
|
-
gem.version = '0.1.
|
|
3
|
+
gem.version = '0.1.1'
|
|
4
4
|
gem.authors = ["Daniel Schauenberg"]
|
|
5
5
|
gem.email = 'd@unwiredcouch.com'
|
|
6
6
|
gem.homepage = 'https://github.com/mrtazz/fitbit-to-graphite'
|
|
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
|
|
|
9
9
|
gem.license = 'MIT'
|
|
10
10
|
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
|
12
|
+
gem.executables << 'fitbit-to-graphite.rb'
|
|
12
13
|
gem.name = "fitbit-to-graphite"
|
|
13
14
|
|
|
14
15
|
gem.add_runtime_dependency "fitgem"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fitbit-to-graphite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -45,7 +45,8 @@ dependencies:
|
|
|
45
45
|
version: '0'
|
|
46
46
|
description: script to import fitbit sleep data into graphite
|
|
47
47
|
email: d@unwiredcouch.com
|
|
48
|
-
executables:
|
|
48
|
+
executables:
|
|
49
|
+
- fitbit-to-graphite.rb
|
|
49
50
|
extensions: []
|
|
50
51
|
extra_rdoc_files: []
|
|
51
52
|
files:
|