easy_ml 0.2.0.pre.rc6 → 0.2.0.pre.rc8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0905fda59690adca5f6e22a44b96de5c870f15a3933c9ad5c78fdc1615d47d8d'
|
4
|
+
data.tar.gz: f87ce6f5a77950c2a429128db23846d9a082b527721aed0cc363a5d8618d8be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59db01918299d4fe7d5926d5ccb91e8b042ffd38a578d71359afd35114603683b6bbf327b3eb1bc656ea84d41cadf71d2ec2b8b47ee3e29fed7229c33cb46267
|
7
|
+
data.tar.gz: dbac440e70336be9774d533258b3b3f4a960d1cc3e542c01c74fd602fb04da73297e8ef3df097a54814d37fe53be2f65e40acfecd245c14e407020e92fb85e43
|
@@ -13,13 +13,12 @@ module EasyML
|
|
13
13
|
application_js = entrypoint.dig("file")
|
14
14
|
css_files = entrypoint.dig("css")
|
15
15
|
|
16
|
-
# Create HTML tags for the JavaScript and CSS
|
16
|
+
# Create HTML tags for the JavaScript and CSS using Rails tag helpers
|
17
17
|
tags = []
|
18
|
-
tags << "
|
18
|
+
tags << javascript_include_tag("/easy_ml/assets/#{application_js}", type: "module")
|
19
19
|
css_files.each do |css_file|
|
20
|
-
tags << "
|
20
|
+
tags << stylesheet_link_tag("/easy_ml/assets/#{css_file}")
|
21
21
|
end
|
22
|
-
|
23
22
|
tags.join("\n").html_safe
|
24
23
|
end
|
25
24
|
end
|
data/lib/easy_ml/engine.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require "aws-sdk"
|
2
2
|
require "awesome_print"
|
3
|
-
require "action_controller"
|
4
3
|
require "inertia_rails"
|
5
4
|
require "jsonapi/serializer"
|
6
5
|
require "numo/narray"
|
@@ -15,6 +14,7 @@ require "rails/engine"
|
|
15
14
|
require "activerecord-import"
|
16
15
|
require "historiographer"
|
17
16
|
require "resque-batched-job"
|
17
|
+
require "action_view/template/handlers/erb"
|
18
18
|
|
19
19
|
module EasyML
|
20
20
|
class Engine < Rails::Engine
|
data/lib/easy_ml/version.rb
CHANGED