fatigue 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/fatigue.gemspec +2 -2
- data/lib/fatigue/garmin.rb +2 -1
- data/lib/fatigue.rb +1 -1
- metadata +4 -4
data/fatigue.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'fatigue'
|
16
|
-
s.version = '0.0.
|
17
|
-
s.date = '2010-
|
16
|
+
s.version = '0.0.3'
|
17
|
+
s.date = '2010-12-02'
|
18
18
|
s.rubyforge_project = 'fatigue'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/fatigue/garmin.rb
CHANGED
@@ -53,7 +53,8 @@ module Fatigue
|
|
53
53
|
form.field_with(:name => 'activityTimeZoneDecoration:activityTimeZone').
|
54
54
|
options.select { |option|
|
55
55
|
# select option where our timezones are equal (-07:00, etc)
|
56
|
-
|
56
|
+
zone = run.started_at.getlocal.strftime('%z').gsub('+','\+')
|
57
|
+
option.text.gsub(':','') =~ /#{zone}/
|
57
58
|
}.first.select
|
58
59
|
form['activityNameDecoration:activityName'] = run.formatted_name
|
59
60
|
form.field_with(:name => 'activityTypeDecoration:activityType').
|
data/lib/fatigue.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fatigue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Zach Holman
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-02 00:00:00 -08:00
|
19
19
|
default_executable: fatigue
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|