joule 1.0.1 → 1.0.2

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/Rakefile CHANGED
@@ -20,8 +20,8 @@ spec = Gem::Specification.new do |s|
20
20
  s.description = "Joule parses and does some basic analyzing of powermeter data. Supported formats include SRM(.srm), Saris PowerTap(.csv), iBike(.csv), and Garmin(.tcx)"
21
21
  s.homepage = "http://github.com/anolson/joule"
22
22
 
23
- s.version = "1.0.1"
24
- s.date = "2010-9-15"
23
+ s.version = "1.0.2"
24
+ s.date = "2010-9-16"
25
25
 
26
26
  s.authors = ["Andrew Olson"]
27
27
  s.email = "anolson@gmail.com"
@@ -32,7 +32,7 @@ module Joule
32
32
  end
33
33
 
34
34
  if(options[:calculate_peak_power_values])
35
- calculate_peak_power_values(:durations => options[:durations], :total_duration => @markers.first.duration_seconds)
35
+ calculate_peak_power_values(:durations => options[:durations], :total_duration => @workout.markers.first.duration_seconds)
36
36
  end
37
37
  @workout
38
38
  end
@@ -13,7 +13,7 @@ module Joule
13
13
  if duration > total_duration
14
14
  PeakPower.new(duration)
15
15
  else
16
- Joule::PowerCalculator::peak_power(array, duration, (duration/@workout.properties.record_interval))
16
+ Joule::Calculator::PowerCalculator::peak_power(array, duration, (duration/@workout.properties.record_interval))
17
17
  end
18
18
 
19
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joule
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Olson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-15 00:00:00 -04:00
18
+ date: 2010-09-16 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency