fit_js 0.94.2 → 0.94.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fitjs.rb +13 -0
  3. metadata +2 -2
  4. data/lib/rails.rb +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62a600ebb9bbc81e45eb73e3d788883404e1b5cdee76324836384a9e4babd223
4
- data.tar.gz: d44197412f9358a76cdfc6450b2f3a2723acec1301beb002ca651d7debe87dda
3
+ metadata.gz: 0b18a556436365501e7a2b98f41678c5dd5437f3b7a97ec815ae978d4a335ee5
4
+ data.tar.gz: 6fa8521ad54416b4f4048a1ddd16420d3ebcbaa609e1e2356a16a23fb0f9fe48
5
5
  SHA512:
6
- metadata.gz: ac7006ab796fe5b4569d7990cb49d05a4de3fb24cbff417254ea8468c2505d3639dffd3570992bdd27e47f962445c4c06c688415cc5cfc6d9fad758bf10d8f3d
7
- data.tar.gz: 750ece75234d97fead9809efc2cdf113076f9fc8d03452585b36ef1424709e877794766ec6f07bb4f2ed5fd34b23bf80ec8afb782cf434e18d4022f95bd8c552
6
+ metadata.gz: bb7ff35867e95ca3ab2e8b0aac5aaf8d3d57c25f2f0b7aca3eb58b5552c2081d1cb8968355ab5987ce1201e5d26e67111a170f6044f6716702a93a868f3f7f1f
7
+ data.tar.gz: bfc67a8e56a9038dcc667bbd1c04f80091c445bc0f0be5bd5f5499fb0d0adf0aab86a02c74c1068032036e97f23ef0070fa3a427ffaf7f8ab1a9950347450e75
data/lib/fitjs.rb ADDED
@@ -0,0 +1,13 @@
1
+ require "fitjs/rails/version"
2
+
3
+ module Fitjs
4
+ class Fitjs < Rails::Railtie
5
+ end
6
+
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
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fit_js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.2
4
+ version: 0.94.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Dunn
@@ -16,7 +16,7 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
- - lib/rails.rb
19
+ - lib/fitjs.rb
20
20
  homepage: https://rubygems.org/gems/fit_js
21
21
  licenses:
22
22
  - MIT
data/lib/rails.rb DELETED
@@ -1,8 +0,0 @@
1
- require "fitjs/rails/version"
2
-
3
- module Fitjs
4
- module Rails
5
- class Engine < ::Rails::Engine
6
- end
7
- end
8
- end