easy_ml 0.2.0.pre.rc24 → 0.2.0.pre.rc25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8aafd321534a466c3949661c88defb35c09e2f50e64ecbe5d2e98dc22c1b2eda
4
- data.tar.gz: be664f72d3076272aca2341152efafc04b0d50251a975491e7095179bbf64599
3
+ metadata.gz: 61412c7afa488429225fc003a6ee9d3057e21e6bfad010f645d3fcd672710fe0
4
+ data.tar.gz: b456261b6d9c20c3b38c075a37a6d7e4a9f3940869f7797014fd57cf35c54127
5
5
  SHA512:
6
- metadata.gz: 0a7dc15ffaa8e9b6bbe09e56ac4024db97803b9af3e67b92088bb8aad1da7c17dec23d10912b27ee0ae0e228c858421cfabecfc46c733db18b0a295cec9842c8
7
- data.tar.gz: c1bf5ab4fc4e12a5b2efd04b70ec5598e99eff69e2f5a2a3c758193cccc26dbb2b37d9e62da0f51f9fa3cf86c559da7e24decd750c8a7f162ea902bf07855406
6
+ metadata.gz: 7db55091458d91a3ce5354ffc8cbda2f0a48b96be3c939f5ee315054e2bfa9647b1b0627e94c2cb779d20a23ad4c402572a6331ef4078354980dad29fd842ce7
7
+ data.tar.gz: 66341ea0787e4ae53e8c53a4d1748efc81f121eac9960e74d85925a79084a59c3c57b755710eb936d53b06df1c7eb355c7c65720b79dfce89f270efb38390140
@@ -2,6 +2,7 @@ module EasyML
2
2
  class HealthController < ApplicationController
3
3
  # No authentication or CSRF checks for this action
4
4
  skip_before_action :verify_authenticity_token
5
+ skip_before_action :force_ssl
5
6
 
6
7
  def up
7
8
  render json: { status: "OK" }, status: :ok
@@ -49,7 +49,9 @@ module EasyML
49
49
  Polars.enable_string_cache
50
50
  end
51
51
 
52
- unless %w[rake rails bin/rails].include?(File.basename($0)) && %w[generate db:migrate db:drop easy_ml:migration].include?(ARGV.first)
52
+ if %w[db:migrate db:migrate:status db:setup db:drop].include?(ARGV.first)
53
+ config.eager_load_paths = config.eager_load_paths.without(config.eager_load_paths.map(&:to_s).grep(/easy_ml/).map { |p| Pathname.new(p) })
54
+ else
53
55
  config.after_initialize do
54
56
  Dir.glob(File.expand_path("app/models/easy_ml/datasources/*.rb", EasyML::Engine.root)).each do |file|
55
57
  require file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyML
4
- VERSION = "0.2.0-rc24"
4
+ VERSION = "0.2.0-rc25"
5
5
 
6
6
  module Version
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_ml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.rc24
4
+ version: 0.2.0.pre.rc25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Shollenberger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-13 00:00:00.000000000 Z
11
+ date: 2025-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord