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: 1f7575de661babb9fecdf0bf9512bc9083a2cfdb070365e1cb18340750477d54
4
- data.tar.gz: d9ec1b60da75422ae4cb759fa35cc53476339e3897a7a8862f27aba615080144
3
+ metadata.gz: '0905fda59690adca5f6e22a44b96de5c870f15a3933c9ad5c78fdc1615d47d8d'
4
+ data.tar.gz: f87ce6f5a77950c2a429128db23846d9a082b527721aed0cc363a5d8618d8be1
5
5
  SHA512:
6
- metadata.gz: 652bdbc6a201da2c09185856c7eb2cc64c39cb4d61a25bf05e7f23acfed20eec0943573757848f9de6d34563308d8e3283001b1dace42e31cd80617cc52140ca
7
- data.tar.gz: c5f1d9b19c1842cfec629410bf3703ef5ce6b748e18f04602c7cf53f08970f5680dc808a0352437510c7e1f36365ec81ad9fc3d5d92a8f0b614e24b6385a7b7e
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 << "<script type=\"module\" src=\"/easy_ml/assets/#{application_js}\"></script>"
18
+ tags << javascript_include_tag("/easy_ml/assets/#{application_js}", type: "module")
19
19
  css_files.each do |css_file|
20
- tags << "<link rel=\"stylesheet\" href=\"/easy_ml/assets/#{css_file}\" />"
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
@@ -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
@@ -11,6 +11,7 @@ module EasyML
11
11
  inflect.acronym "GBTree"
12
12
  inflect.acronym "EST"
13
13
  inflect.acronym "UTC"
14
+ inflect.acronym "HTML"
14
15
  end
15
16
  end
16
17
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyML
4
- VERSION = "0.2.0-rc6"
4
+ VERSION = "0.2.0-rc8"
5
5
 
6
6
  module Version
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_ml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.rc6
4
+ version: 0.2.0.pre.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger