fit4ruby 3.3.0 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +30 -6
- data/fit4ruby.gemspec +4 -2
- data/lib/fit4ruby/Activity.rb +145 -58
- data/lib/fit4ruby/BDFieldNameTranslator.rb +36 -0
- data/lib/fit4ruby/DeviceInfo.rb +37 -0
- data/lib/fit4ruby/FDR_DevField_Extension.rb +81 -0
- data/lib/fit4ruby/FieldDescription.rb +26 -8
- data/lib/fit4ruby/FileId.rb +2 -1
- data/lib/fit4ruby/FitDataRecord.rb +86 -33
- data/lib/fit4ruby/FitDefinition.rb +11 -4
- data/lib/fit4ruby/FitDefinitionField.rb +6 -6
- data/lib/fit4ruby/FitDefinitionFieldBase.rb +15 -6
- data/lib/fit4ruby/FitDeveloperDataFieldDefinition.rb +1 -1
- data/lib/fit4ruby/FitFile.rb +2 -0
- data/lib/fit4ruby/FitMessageRecord.rb +26 -21
- data/lib/fit4ruby/FitRecord.rb +2 -1
- data/lib/fit4ruby/FitTypeDefs.rb +2 -2
- data/lib/fit4ruby/GlobalFitDictionaries.rb +278 -22
- data/lib/fit4ruby/GlobalFitMessage.rb +84 -14
- data/lib/fit4ruby/GlobalFitMessages.rb +104 -10
- data/lib/fit4ruby/Lap.rb +38 -3
- data/lib/fit4ruby/Length.rb +53 -0
- data/lib/fit4ruby/Record.rb +11 -2
- data/lib/fit4ruby/version.rb +1 -1
- data/spec/FitFile_spec.rb +233 -89
- metadata +43 -13
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fit4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Schlaeger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.4.8
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.4.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: yard
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 12.0.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 12.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,34 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.6.4
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.8'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.8'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.12'
|
69
97
|
description: |
|
70
98
|
This library can read and write FIT files and convert them into a Ruby data
|
71
99
|
structure for easy processing. This library was written for Garmin devices
|
@@ -84,6 +112,7 @@ files:
|
|
84
112
|
- fit4ruby.gemspec
|
85
113
|
- lib/fit4ruby.rb
|
86
114
|
- lib/fit4ruby/Activity.rb
|
115
|
+
- lib/fit4ruby/BDFieldNameTranslator.rb
|
87
116
|
- lib/fit4ruby/CRC16.rb
|
88
117
|
- lib/fit4ruby/Converters.rb
|
89
118
|
- lib/fit4ruby/DataSources.rb
|
@@ -92,6 +121,7 @@ files:
|
|
92
121
|
- lib/fit4ruby/DumpedField.rb
|
93
122
|
- lib/fit4ruby/EPO_Data.rb
|
94
123
|
- lib/fit4ruby/Event.rb
|
124
|
+
- lib/fit4ruby/FDR_DevField_Extension.rb
|
95
125
|
- lib/fit4ruby/FieldDescription.rb
|
96
126
|
- lib/fit4ruby/FileCreator.rb
|
97
127
|
- lib/fit4ruby/FileId.rb
|
@@ -118,6 +148,7 @@ files:
|
|
118
148
|
- lib/fit4ruby/HRV.rb
|
119
149
|
- lib/fit4ruby/HeartRateZones.rb
|
120
150
|
- lib/fit4ruby/Lap.rb
|
151
|
+
- lib/fit4ruby/Length.rb
|
121
152
|
- lib/fit4ruby/Log.rb
|
122
153
|
- lib/fit4ruby/Metrics.rb
|
123
154
|
- lib/fit4ruby/Monitoring.rb
|
@@ -145,7 +176,7 @@ homepage: https://github.com/scrapper/fit4ruby
|
|
145
176
|
licenses:
|
146
177
|
- GNU GPL version 2
|
147
178
|
metadata: {}
|
148
|
-
post_install_message:
|
179
|
+
post_install_message:
|
149
180
|
rdoc_options: []
|
150
181
|
require_paths:
|
151
182
|
- lib
|
@@ -160,9 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
191
|
- !ruby/object:Gem::Version
|
161
192
|
version: '0'
|
162
193
|
requirements: []
|
163
|
-
|
164
|
-
|
165
|
-
signing_key:
|
194
|
+
rubygems_version: 3.2.3
|
195
|
+
signing_key:
|
166
196
|
specification_version: 4
|
167
197
|
summary: Library to read and write GARMIN FIT files.
|
168
198
|
test_files:
|