easy_ml 0.2.0.pre.rc24 → 0.2.0.pre.rc26

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: 8aafd321534a466c3949661c88defb35c09e2f50e64ecbe5d2e98dc22c1b2eda
4
- data.tar.gz: be664f72d3076272aca2341152efafc04b0d50251a975491e7095179bbf64599
3
+ metadata.gz: 3f577a0c71824e4041031e46e9e32126930814b5a3f5e808a21d5c20475520b1
4
+ data.tar.gz: 44d57d7d320b24705dbe85acc645f8570125c441f7fd3634bbf66f821a37860d
5
5
  SHA512:
6
- metadata.gz: 0a7dc15ffaa8e9b6bbe09e56ac4024db97803b9af3e67b92088bb8aad1da7c17dec23d10912b27ee0ae0e228c858421cfabecfc46c733db18b0a295cec9842c8
7
- data.tar.gz: c1bf5ab4fc4e12a5b2efd04b70ec5598e99eff69e2f5a2a3c758193cccc26dbb2b37d9e62da0f51f9fa3cf86c559da7e24decd750c8a7f162ea902bf07855406
6
+ metadata.gz: ff805d949b60ec0504efcf4c3c105e655278c460e1f308a27cfa0adcb17bee170480f7b1e4489e050deb7877e48f8ee4d0e2252a593da9dbef77ca340071523b
7
+ data.tar.gz: 4b39bc1cd971a8c1b9d2fea4f66c7cf3e6068471dad233a2762812a89cf9fa74ae659a9ca2df72e6913fdc3518fbd033969eddab8b02c4f0b060bdc3470ed3e0
@@ -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-rc26"
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.rc26
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