fit_js 0.94.9 → 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: b2b71ad79d02fde4e8bee8d7f11a2615dce2e72d41e2629696f0bdd290f68b22
4
- data.tar.gz: 18c95d304bde02b68bd26126853629ba09ac99d6e30e616af72c6cc23081c27b
3
+ metadata.gz: '08226e4f4afbae74c55f61e823fe1952fd3c5333f4cc26dbaa79dd050e666f8d'
4
+ data.tar.gz: 50a9cd789404a10ed47af53352f3ed741b5248fcee513c7cf56579b80dc39162
5
5
  SHA512:
6
- metadata.gz: c849d463d6f3fbe169e17ab7f6a32f609c2322031a5e2b8eb8e853d86ca2c2112976b4361ed2a7247255406878ca4d8be955efa88e278436905613ddaa1a306b
7
- data.tar.gz: e400ae98147f3fed44414e3ed72e1846a7a426f67db1b2537b54412dafa220fe31165784318528692953afc4f3e736bf3f95adc2b2e120948b95c23b8e979bb2
6
+ metadata.gz: 136f4bd542f214b95b7afe737f1a1c9b945e3aabfdcc21ead1de5fea010548175cac317092d34aa717e1fbdde48e7906a253339950d1740ef2669f11370c993a
7
+ data.tar.gz: 67def842cd7144302ed26e9a4d54a9de0a660a6cf363a7082c1674daa88d14bc9aa42fd4ea223a9b9fbceec0703e27923ae0fb29deddfd60ef9323321736d8bf
data/fit_js.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "fit_js"
7
- s.version = "0.94.9"
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"]
@@ -1,5 +1,5 @@
1
1
  module Fitjs
2
2
  module Rails
3
- VERSION = "0.94.9"
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.9
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