fit_js 0.94.3 → 0.94.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fitjs.rb +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b18a556436365501e7a2b98f41678c5dd5437f3b7a97ec815ae978d4a335ee5
|
4
|
+
data.tar.gz: 6fa8521ad54416b4f4048a1ddd16420d3ebcbaa609e1e2356a16a23fb0f9fe48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb7ff35867e95ca3ab2e8b0aac5aaf8d3d57c25f2f0b7aca3eb58b5552c2081d1cb8968355ab5987ce1201e5d26e67111a170f6044f6716702a93a868f3f7f1f
|
7
|
+
data.tar.gz: bfc67a8e56a9038dcc667bbd1c04f80091c445bc0f0be5bd5f5499fb0d0adf0aab86a02c74c1068032036e97f23ef0070fa3a427ffaf7f8ab1a9950347450e75
|
data/lib/fitjs.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
require "fitjs/rails/version"
|
2
2
|
|
3
|
-
module
|
3
|
+
module Fitjs
|
4
|
+
class Fitjs < Rails::Railtie
|
5
|
+
end
|
6
|
+
|
4
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")
|
11
|
+
end
|
5
12
|
end
|
6
13
|
end
|