fit_js 0.94.7 → 0.94.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd06e9f51c57a1cd572b7fcdbafb883d7a076a0378d8ffd9903b9bf360c143f6
4
- data.tar.gz: 8ba6da44125bf5865921b6431a3f2249016effe4366e147f1302c07bf29d5fcc
3
+ metadata.gz: '08226e4f4afbae74c55f61e823fe1952fd3c5333f4cc26dbaa79dd050e666f8d'
4
+ data.tar.gz: 50a9cd789404a10ed47af53352f3ed741b5248fcee513c7cf56579b80dc39162
5
5
  SHA512:
6
- metadata.gz: 85082c86e2e81206c6f0ec124ccf89817b8392c23775d86be54efa8ad88f9eb3680058536f3b7ef6bb284bdb2b2e6b79f9c427658cac0e9873e6dbe190ee8ba0
7
- data.tar.gz: cc6580b8ae9f06e29a843e7e9014bafcccf2d441df5e69baa52473f32688b1229ae7f8576e0297157ecdfec4a4a6e955f66b802eef58887c0ced6e4dc511e3e0
6
+ metadata.gz: 136f4bd542f214b95b7afe737f1a1c9b945e3aabfdcc21ead1de5fea010548175cac317092d34aa717e1fbdde48e7906a253339950d1740ef2669f11370c993a
7
+ data.tar.gz: 67def842cd7144302ed26e9a4d54a9de0a660a6cf363a7082c1674daa88d14bc9aa42fd4ea223a9b9fbceec0703e27923ae0fb29deddfd60ef9323321736d8bf
data/fit_js.gemspec CHANGED
@@ -1,10 +1,10 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
2
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "fitjs/rails/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "fit_js"
7
- s.version = Fitjs::Rails::VERSION
7
+ s.version = "0.94.10"
8
8
  s.summary = "Javascript Wrapper for FIT Files"
9
9
  s.description = "The javascript library for the Garmin FIT file format"
10
10
  s.authors = ["Justin Dunn"]
@@ -13,8 +13,6 @@ Gem::Specification.new do |s|
13
13
  s.homepage =
14
14
  "https://rubygems.org/gems/fit_js"
15
15
  s.license = "MIT"
16
- # Specify which files should be added to the gem when it is released.
17
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
16
  s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
17
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
18
  end
@@ -24,4 +22,5 @@ Gem::Specification.new do |s|
24
22
 
25
23
  s.add_development_dependency "bundler", "~> 1.16"
26
24
  s.add_development_dependency "rake", "~> 10.0"
25
+ s.add_runtime_dependency 'autoprefixer-rails', '~> 9.1', '>= 9.1.0'
27
26
  end
@@ -1,5 +1,5 @@
1
1
  module Fitjs
2
2
  module Rails
3
- VERSION = "0.94.7"
3
+ VERSION = "0.94.10"
4
4
  end
5
5
  end
data/lib/fitjs.rb CHANGED
@@ -5,9 +5,10 @@ module Fitjs
5
5
  end
6
6
 
7
7
  class Engine < ::Rails::Engine
8
- initializer :assets do |config|
9
- Rails.application.config.assets.precompile += %w{ accumulator.js bit-stream.js crc-calculator.js decoder.js fit.js index.js profile.js stream.js utils-hr-mesg.js utils-internal.js utils.js }
10
- Rails.application.config.assets.paths << root.join("app", "assets", "javascripts")
8
+ initializer 'fitjs.assets.precompile' do |app|
9
+ %w(javascripts).each do |sub|
10
+ app.config.assets.paths << root.join('assets', sub).to_s
11
+ end
11
12
  end
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fit_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.7
4
+ version: 0.94.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Dunn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,26 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: autoprefixer-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '9.1'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 9.1.0
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '9.1'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 9.1.0
41
61
  description: The javascript library for the Garmin FIT file format
42
62
  email: axeouse@gmail.com
43
63
  executables: []