lib/fit4ruby/FitDataRecord.rb in fit4ruby-3.9.0 vs lib/fit4ruby/FitDataRecord.rb in fit4ruby-3.10.0
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
#
# = FitDataRecord.rb -- Fit4Ruby - FIT file processing library for Ruby
#
-# Copyright (c) 2014, 2015, 2020 by Chris Schlaeger <cs@taskjuggler.org>
+# Copyright (c) 2014, 2015, 2020, 2021 by Chris Schlaeger <cs@taskjuggler.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
@@ -19,10 +19,10 @@
class FitDataRecord
include Converters
include BDFieldNameTranslator
- RecordOrder = [ 'user_data', 'user_profile',
+ RecordOrder = [ 'user_data', 'user_profile', 'workout', 'workout_set',
'device_info', 'data_sources', 'event',
'record', 'lap', 'length', 'session', 'heart_rate_zones',
'personal_records' ]
attr_reader :message, :timestamp