fit_parser 1.0.1 → 1.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/fit_parser/file/data.rb +1 -1
- data/lib/fit_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6b323c9b7d256650f64a66bf1510c6de9e02130
|
4
|
+
data.tar.gz: d4a588c1f97dfedc0eaeebb10bd6a05705083273
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08c55bf7f7cb8211083030dc9bb288d0bc8fbd9e0cc54aacb8d96e0897b0d572bb577caaceb425a9989b659dac7a8fe64bbbd183dfc2197f78d91fe695d53c4b
|
7
|
+
data.tar.gz: 8e06348bf350995c2961ef981e0269f48f4d21105828f37736d26e4676b9a8ab2ccfbe5ee37cb7e6f0dc584cf581cfa35f317cbdc72eb49f34ea8a1c5153eb04
|
data/lib/fit_parser/file/data.rb
CHANGED
@@ -64,7 +64,7 @@ module FitParser
|
|
64
64
|
definition.dev_fields_arr.each do |field|
|
65
65
|
data = dev_definitions[field[:developer_data_index].to_s][field[:field_number].to_s]
|
66
66
|
field.base_type_number = data[:raw_field_2]
|
67
|
-
field.name = data[:raw_field_3].downcase.gsub(' ', '_')
|
67
|
+
field.name = data[:raw_field_3].downcase.gsub(' ', '_').gsub('.', '')
|
68
68
|
field.scale = data[:raw_field_6] && data[:raw_field_6] != 255 ? data[:raw_field_6] : nil
|
69
69
|
code = ''
|
70
70
|
|
data/lib/fit_parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fit_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dima Mescheryakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|