garmin_connect 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/garmin_connect/activity.rb +1 -1
- data/lib/garmin_connect/version.rb +1 -1
- metadata +17 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a59398a40d6890358784dee1cb71a73f1b5ffa4
|
4
|
+
data.tar.gz: c14b7d80cf7c1e3e6950b8e1049aa9803ce5c545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df4d15f9357dbe9bdbfbd6bcec3f546d802cab114bba8ef0b2c20802d311e311fabfc67f3d5d2e031890202b34a5cb10dfaaa63f94765614ee5a0796ba35082
|
7
|
+
data.tar.gz: fcf3f9b1d221034d8941c4aa8e92e1fd66a085ca1f39f63ff79fcf6dfa103c1617a794dba6413d12e83ccca786931327caff88f70ff12b46c66798c4677ac949
|
@@ -89,7 +89,7 @@ module GarminConnect
|
|
89
89
|
activitySummary.has_key? 'WeightedMeanHeartRate'
|
90
90
|
end
|
91
91
|
def avg_hr
|
92
|
-
hr_data? and self.activitySummary.WeightedMeanHeartRate.value.to_i
|
92
|
+
hr_data? and self.activitySummary.WeightedMeanHeartRate.bpm.value.to_i
|
93
93
|
end
|
94
94
|
def distance
|
95
95
|
activitySummary.SumDistance.value.to_f.round(2)
|
metadata
CHANGED
@@ -1,27 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garmin_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Hoffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 4.0.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4.0'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
32
|
version: 4.0.0
|
27
33
|
description: Work with Garmin Connect data easily
|
@@ -31,13 +37,13 @@ executables: []
|
|
31
37
|
extensions: []
|
32
38
|
extra_rdoc_files: []
|
33
39
|
files:
|
34
|
-
- lib/garmin_connect/activity.rb
|
35
|
-
- lib/garmin_connect/base.rb
|
36
|
-
- lib/garmin_connect/version.rb
|
37
|
-
- lib/garmin_connect.rb
|
38
40
|
- LICENSE.txt
|
39
41
|
- README.md
|
40
42
|
- Rakefile
|
43
|
+
- lib/garmin_connect.rb
|
44
|
+
- lib/garmin_connect/activity.rb
|
45
|
+
- lib/garmin_connect/base.rb
|
46
|
+
- lib/garmin_connect/version.rb
|
41
47
|
homepage: http://github.com/phoffer/garmin_connect
|
42
48
|
licenses:
|
43
49
|
- MIT
|
@@ -48,17 +54,17 @@ require_paths:
|
|
48
54
|
- lib
|
49
55
|
required_ruby_version: !ruby/object:Gem::Requirement
|
50
56
|
requirements:
|
51
|
-
- -
|
57
|
+
- - ">="
|
52
58
|
- !ruby/object:Gem::Version
|
53
59
|
version: '0'
|
54
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
61
|
requirements:
|
56
|
-
- -
|
62
|
+
- - ">="
|
57
63
|
- !ruby/object:Gem::Version
|
58
64
|
version: '0'
|
59
65
|
requirements: []
|
60
66
|
rubyforge_project:
|
61
|
-
rubygems_version: 2.
|
67
|
+
rubygems_version: 2.2.2
|
62
68
|
signing_key:
|
63
69
|
specification_version: 4
|
64
70
|
summary: Work with Garmin Connect data easily
|