dsu 3.0.0.alpha.6 → 3.0.0.alpha.8

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: f4efd9846d0594686163447d7452fdf2e943707f13e7f6377e0b08090721fc0a
4
- data.tar.gz: 7063dfd1364021a623beed1aa2318c2536a88f7aca33af79a4915c49531ff1c4
3
+ metadata.gz: 329486c59e46c066a3118166afb1bad16ba1af95d21acf90fece6fa2fd160106
4
+ data.tar.gz: 80ee018dab2ea67779a34214b6acc1b68421992da7e9752a72396036d0d7ef73
5
5
  SHA512:
6
- metadata.gz: f5700fc27f2def9e4f5e6172ddb24e112ddc08b33923041537b72e282cb8ac2b1908668bbd6bb17bc082a86d9c047df51c4171dfab088f5621bb1eb6fcf7f7e9
7
- data.tar.gz: 6d32ae431fbcf5a17e05cb45e9b54364e754a4a9223aa7eda0e3f286b92d83dddb205aa5f68abb87714bce5c9da70aada072705c89300475bf592d31ff92cd32
6
+ metadata.gz: bb5f2d8e6341ce26f5e41adc7e8aa83690eb7884747ad8d0a1da898519deb7015f0f2349a9b66e8e9b7d0e2ec049adad2bbcd6314fa9805ba7523cb4e533f86f
7
+ data.tar.gz: 95f3a70c35e3fd955162c2c58c7298c33cbb2322bccc222c96385944049b3ccdb6fb3abba1a3037c2562de624c34abe98842e4f422f6658554f566bddf24ca68
@@ -31,7 +31,7 @@ module Dsu
31
31
  puts
32
32
 
33
33
  add_new_color_themes
34
- backup
34
+ create_backup
35
35
  create_default_project
36
36
  update_configuration
37
37
  update_entry_groups
@@ -64,7 +64,7 @@ module Dsu
64
64
  end
65
65
  end
66
66
 
67
- def backup
67
+ def create_backup
68
68
  return if Dir.exist?(backup_folder)
69
69
 
70
70
  puts 'Creating backup...'
@@ -149,7 +149,7 @@ module Dsu
149
149
  end
150
150
 
151
151
  def backup_folder
152
- @backup_folder ||= File.join(dsu_folder, target_migration_version.to_s)
152
+ @backup_folder ||= File.join(root_folder, "dsu-#{target_migration_version}-backup")
153
153
  end
154
154
 
155
155
  def target_migration_version
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.6'
5
+ VERSION = '3.0.0.alpha.8'
6
6
  end
data/lib/dsu.rb CHANGED
@@ -34,5 +34,5 @@ unless Dsu.env.test? || Dsu.env.development?
34
34
  end
35
35
  end
36
36
 
37
- Dsu::Migration::Factory.migrate_if!(options: { pretend: true })
37
+ Dsu::Migration::Factory.migrate_if!(options: { pretend: false })
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.alpha.6
4
+ version: 3.0.0.alpha.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-10 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport