easy_ml 0.2.0.pre.rc6 → 0.2.0.pre.rc7

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: 939e5f1e5b5e328d849ea8d1b2f02848a29f638a5cdbc26661abd702fbae37e6
4
+ data.tar.gz: d33d116fd6cc0b8b3f5f25886f203841930bfda63b66682dd3560147d5cf0ca2
5
5
  SHA512:
6
- metadata.gz: 652bdbc6a201da2c09185856c7eb2cc64c39cb4d61a25bf05e7f23acfed20eec0943573757848f9de6d34563308d8e3283001b1dace42e31cd80617cc52140ca
7
- data.tar.gz: c5f1d9b19c1842cfec629410bf3703ef5ce6b748e18f04602c7cf53f08970f5680dc808a0352437510c7e1f36365ec81ad9fc3d5d92a8f0b614e24b6385a7b7e
6
+ metadata.gz: 32ee68da33f6e8a8a373e254532584a7b97f8d2bbc56fffecbade419c65a487c3c1bdbfdaa7d2a99f3391890fe5029931381838365f84d63ac9d444a5ddb7dc8
7
+ data.tar.gz: caab7cbdcb4d7eb29ec8c6089cc427defae17e9933b89ff804d3c75ef9773e487dde8bb66eb5d195c797872d86049000f693e16edf7df6b9d49ae701ae900fcd
@@ -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
@@ -0,0 +1,3 @@
1
+ Rails.autoloaders.main.inflector.inflect(
2
+ "html" => "HTML"
3
+ )
@@ -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"
@@ -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-rc7"
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.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger
@@ -579,6 +579,7 @@ files:
579
579
  - app/serializers/easy_ml/settings_serializer.rb
580
580
  - app/views/layouts/easy_ml/application.html.erb
581
581
  - config/initializers/resque.rb
582
+ - config/initializers/zeitwerk.rb
582
583
  - config/resque-pool.yml
583
584
  - config/routes.rb
584
585
  - config/spring.rb