dsu 3.0.0.alpha.0 → 3.0.0.alpha.2

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: 2588c231eb86067d69a619e6d0abb2d4bf2bcaef6c5b98fe7d6a33f34ff49241
4
- data.tar.gz: 5cf24d7762067a3d57aa9219ac0e176e5520c5a18a71e0af0b9dad31f670d040
3
+ metadata.gz: dce8208e7ad012e4f3bc4753b3f709d7023c4976111d14d3d899a3d29aabadf2
4
+ data.tar.gz: a57075abfd43517705fa2f72514c7ae314fc3b53bcf444d125a493b37be23129
5
5
  SHA512:
6
- metadata.gz: edf0a827764efa759ec4194badd79fcf9b2734ec9fa4d6d96f90ddcce12b29d9c33e436c1ea7914249f609eae354640c8693ce0d0c5e14a9d8d1d5329126575f
7
- data.tar.gz: 19f9864924cfa053385e72da1ff7dda211a6dac1c8f14798bbbc10e39e420581a35e760fae11124fd45913d317cc5a2f3f74334a4c23856fb5e35d289d5e6aaa
6
+ metadata.gz: e9f590141263781a56a266eb43f7442e2424c359e768a49f6f520f8797b82bbc6137bfecc2389033d34d49cfdc51c5391d6208215f7d06117874931178b24238
7
+ data.tar.gz: 52b8d0f13d6f894f64294235156534d7ab5bc9e026a267c2e9312d774fa1a73f0cc97571c89c0912662a8a1a3bc2c23be676786c5d60edb87b382997590c184b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dsu (3.0.0.alpha.0)
4
+ dsu (3.0.0.alpha.2)
5
5
  activemodel (>= 7.0.8, < 8.0)
6
6
  activesupport (>= 7.0.8, < 8.0)
7
7
  colorize (>= 1.1, < 2.0)
@@ -31,7 +31,7 @@ module Dsu
31
31
 
32
32
  class << self
33
33
  def run_migrations?
34
- Models::MigrationVersion.new.version < Dsu::Migration::VERSION
34
+ Models::MigrationVersion.new.version < 20230613121411 # rubocop:disable Style/NumericLiterals
35
35
  end
36
36
  end
37
37
 
@@ -66,6 +66,8 @@ module Dsu
66
66
  # Base folders
67
67
 
68
68
  def root_folder
69
+ return File.join(gem_dir, '.development_home') if Dsu.env.development?
70
+
69
71
  Dir.home
70
72
  end
71
73
 
data/lib/dsu/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Dsu
4
4
  VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|rc)\.\d+)?\z/
5
- VERSION = '3.0.0.alpha.0'
5
+ VERSION = '3.0.0.alpha.2'
6
6
  end
data/lib/dsu.rb CHANGED
@@ -34,5 +34,6 @@ unless Dsu.env.test? || Dsu.env.development?
34
34
  end
35
35
  end
36
36
 
37
- Migration::Factory.migrate_if!
37
+ require_relative 'dsu/migration/factory'
38
+ Dsu::Migration::Factory.migrate_if!
38
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.alpha.0
4
+ version: 3.0.0.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.