fit_parser 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fit_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dima Mescheryakov
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: 2.2.0
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.1.0
26
+ version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -39,49 +39,35 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.10'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec-its
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
52
+ - - ~>
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '1.10'
69
55
  - !ruby/object:Gem::Dependency
70
- name: yard
56
+ name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - '>='
59
+ - - ~>
74
60
  - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: '10.0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - '>='
66
+ - - ~>
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: '10.0'
83
69
  - !ruby/object:Gem::Dependency
84
- name: bundler
70
+ name: rspec
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - '>='
@@ -95,7 +81,7 @@ dependencies:
95
81
  - !ruby/object:Gem::Version
96
82
  version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
- name: jeweler
84
+ name: rspec-its
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - '>='
@@ -109,7 +95,7 @@ dependencies:
109
95
  - !ruby/object:Gem::Version
110
96
  version: '0'
111
97
  - !ruby/object:Gem::Dependency
112
- name: simplecov
98
+ name: warder
113
99
  requirement: !ruby/object:Gem::Requirement
114
100
  requirements:
115
101
  - - '>='
@@ -123,7 +109,7 @@ dependencies:
123
109
  - !ruby/object:Gem::Version
124
110
  version: '0'
125
111
  - !ruby/object:Gem::Dependency
126
- name: i18n
112
+ name: pry
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
115
  - - '>='
@@ -137,7 +123,7 @@ dependencies:
137
123
  - !ruby/object:Gem::Version
138
124
  version: '0'
139
125
  - !ruby/object:Gem::Dependency
140
- name: pry
126
+ name: simplecov
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - '>='
@@ -150,19 +136,13 @@ dependencies:
150
136
  - - '>='
151
137
  - !ruby/object:Gem::Version
152
138
  version: '0'
153
- description: ''
154
- email: dima.mescheryakov@gmail.com
139
+ description: handles FIT files
140
+ email:
141
+ - dima.mescheryakov@gmail.com
155
142
  executables: []
156
143
  extensions: []
157
- extra_rdoc_files:
158
- - README.md
144
+ extra_rdoc_files: []
159
145
  files:
160
- - .document
161
- - .rspec
162
- - Gemfile
163
- - Gemfile.lock
164
- - README.md
165
- - Rakefile
166
146
  - lib/fit_parser.rb
167
147
  - lib/fit_parser/file.rb
168
148
  - lib/fit_parser/file/data.rb
@@ -185,6 +165,8 @@ files:
185
165
  - spec/file_spec.rb
186
166
  - spec/fit_parser_spec.rb
187
167
  - spec/spec_helper.rb
168
+ - spec/support/examples/file/3110334490
169
+ - spec/support/examples/file/3863374146
188
170
  - spec/support/examples/file/full_file_with_wrong_crc.fit
189
171
  - spec/support/examples/file/header
190
172
  - spec/support/examples/file/header_14b.fit
@@ -201,7 +183,7 @@ files:
201
183
  - spec/support/examples/record/message/definition_field_array.fit
202
184
  - spec/support/examples/record/message/definition_file_capabilities.fit
203
185
  - spec/support/examples/record/normal_header
204
- homepage: http://github.com/zhublik/fit_parser
186
+ homepage: https://github.com/zhublik/fit_parser
205
187
  licenses:
206
188
  - MIT
207
189
  metadata: {}
@@ -226,3 +208,4 @@ signing_key:
226
208
  specification_version: 4
227
209
  summary: ''
228
210
  test_files: []
211
+ has_rdoc:
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format documentation
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem "bindata", "~> 2.1.0"
4
- gem "activesupport"
5
-
6
- group :development do
7
- gem "rspec"
8
- gem "rspec-its"
9
- gem "yard"
10
- gem "bundler"
11
- gem "jeweler"
12
- gem "simplecov"
13
- gem "i18n"
14
- gem "pry"
15
- end
data/Gemfile.lock DELETED
@@ -1,105 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (4.2.0)
5
- i18n (~> 0.7)
6
- json (~> 1.7, >= 1.7.7)
7
- minitest (~> 5.1)
8
- thread_safe (~> 0.3, >= 0.3.4)
9
- tzinfo (~> 1.1)
10
- addressable (2.3.7)
11
- bindata (2.1.0)
12
- builder (3.2.2)
13
- coderay (1.1.0)
14
- descendants_tracker (0.0.4)
15
- thread_safe (~> 0.3, >= 0.3.1)
16
- diff-lcs (1.2.5)
17
- docile (1.1.5)
18
- faraday (0.9.1)
19
- multipart-post (>= 1.2, < 3)
20
- git (1.2.9.1)
21
- github_api (0.12.3)
22
- addressable (~> 2.3)
23
- descendants_tracker (~> 0.0.4)
24
- faraday (~> 0.8, < 0.10)
25
- hashie (>= 3.3)
26
- multi_json (>= 1.7.5, < 2.0)
27
- nokogiri (~> 1.6.3)
28
- oauth2
29
- hashie (3.4.0)
30
- highline (1.6.21)
31
- i18n (0.7.0)
32
- jeweler (2.0.1)
33
- builder
34
- bundler (>= 1.0)
35
- git (>= 1.2.5)
36
- github_api
37
- highline (>= 1.6.15)
38
- nokogiri (>= 1.5.10)
39
- rake
40
- rdoc
41
- json (1.8.2)
42
- jwt (1.2.1)
43
- method_source (0.8.2)
44
- mini_portile (0.6.2)
45
- minitest (5.5.1)
46
- multi_json (1.10.1)
47
- multi_xml (0.5.5)
48
- multipart-post (2.0.0)
49
- nokogiri (1.6.6.2)
50
- mini_portile (~> 0.6.0)
51
- oauth2 (1.0.0)
52
- faraday (>= 0.8, < 0.10)
53
- jwt (~> 1.0)
54
- multi_json (~> 1.3)
55
- multi_xml (~> 0.5)
56
- rack (~> 1.2)
57
- pry (0.10.1)
58
- coderay (~> 1.1.0)
59
- method_source (~> 0.8.1)
60
- slop (~> 3.4)
61
- rack (1.6.0)
62
- rake (10.4.2)
63
- rdoc (4.2.0)
64
- json (~> 1.4)
65
- rspec (3.2.0)
66
- rspec-core (~> 3.2.0)
67
- rspec-expectations (~> 3.2.0)
68
- rspec-mocks (~> 3.2.0)
69
- rspec-core (3.2.0)
70
- rspec-support (~> 3.2.0)
71
- rspec-expectations (3.2.0)
72
- diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.2.0)
74
- rspec-its (1.1.0)
75
- rspec-core (>= 3.0.0)
76
- rspec-expectations (>= 3.0.0)
77
- rspec-mocks (3.2.0)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.2.0)
80
- rspec-support (3.2.1)
81
- simplecov (0.9.1)
82
- docile (~> 1.1.0)
83
- multi_json (~> 1.0)
84
- simplecov-html (~> 0.8.0)
85
- simplecov-html (0.8.0)
86
- slop (3.6.0)
87
- thread_safe (0.3.4)
88
- tzinfo (1.2.2)
89
- thread_safe (~> 0.1)
90
- yard (0.8.7.6)
91
-
92
- PLATFORMS
93
- ruby
94
-
95
- DEPENDENCIES
96
- activesupport
97
- bindata (~> 2.1.0)
98
- bundler
99
- i18n
100
- jeweler
101
- pry
102
- rspec
103
- rspec-its
104
- simplecov
105
- yard
data/README.md DELETED
@@ -1,11 +0,0 @@
1
- # FitParser
2
-
3
- ## Example usage
4
-
5
- ```ruby
6
- require 'fit_parser'
7
-
8
- fit_file = FitParser.load_file(ARGV[0])
9
-
10
- records = fit_file.records.select{ |r| r.content.record_type != :definition }.map{ |r| r.content }
11
- ```
data/Rakefile DELETED
@@ -1,38 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
13
-
14
- require 'jeweler'
15
- require './lib/fit_parser/version'
16
- Jeweler::Tasks.new do |gem|
17
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
- gem.name = "fit_parser"
19
- gem.version = FitParser::VERSION
20
- gem.homepage = "http://github.com/zhublik/fit_parser"
21
- gem.license = "MIT"
22
- gem.summary = ""
23
- gem.description = ""
24
- gem.email = "dima.mescheryakov@gmail.com"
25
- gem.authors = ["Dima Mescheryakov"]
26
- end
27
- Jeweler::RubygemsDotOrgTasks.new
28
-
29
- require 'rspec/core'
30
- require 'rspec/core/rake_task'
31
- RSpec::Core::RakeTask.new(:spec) do |spec|
32
- spec.pattern = 'spec/**/*_spec.rb'
33
- end
34
-
35
- task :default => :spec
36
-
37
- require 'yard'
38
- YARD::Rake::YardocTask.new