dsu 3.0.0.alpha.10 → 3.0.0.alpha.12
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 +4 -4
- data/lib/dsu/migration/service_20230613121411.rb +6 -9
- data/lib/dsu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74b0eee10983a1ccd33981f635c7bc267dd8db84cfe8496c39fa5386c57096d2
|
|
4
|
+
data.tar.gz: f65368dfbb2de3512a73f766f82958de92255e4a72b3e5f58389d0db2ccd86ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c91fa9f3916538d244ffca9456ea089a258fb0701f182d6e40e0fad5c51deec986ac0835e611a3b042cf8c0dc84b27b0a7175a388a9ed38ee34bc34de0a865d
|
|
7
|
+
data.tar.gz: 940939975bb206402a13f5c4b1dd8a9f0308fe787fada7e0d59e70a6769eeb960755fd3d4aba7aa480b45cdf9a4c837dfda5382b284c7e5bbb4631d98d4f01ef
|
|
@@ -38,7 +38,6 @@ module Dsu
|
|
|
38
38
|
update_color_themes
|
|
39
39
|
update_migration_version
|
|
40
40
|
delete_old_entry_folder
|
|
41
|
-
delete_old_theme_folder
|
|
42
41
|
|
|
43
42
|
puts 'Migration completed successfully.'
|
|
44
43
|
end
|
|
@@ -88,7 +87,12 @@ module Dsu
|
|
|
88
87
|
puts 'Updating configuration...'
|
|
89
88
|
puts
|
|
90
89
|
|
|
91
|
-
|
|
90
|
+
return if pretend?
|
|
91
|
+
|
|
92
|
+
Models::Configuration.new.tap do |configuration|
|
|
93
|
+
configuration.version = Dsu::Migration::VERSION
|
|
94
|
+
configuration.write!
|
|
95
|
+
end
|
|
92
96
|
end
|
|
93
97
|
|
|
94
98
|
def update_entry_groups
|
|
@@ -151,13 +155,6 @@ module Dsu
|
|
|
151
155
|
FileUtils.rm_rf(File.join(dsu_folder, 'entries')) unless pretend?
|
|
152
156
|
end
|
|
153
157
|
|
|
154
|
-
def delete_old_theme_folder
|
|
155
|
-
puts 'Cleaning up old themes...'
|
|
156
|
-
puts
|
|
157
|
-
|
|
158
|
-
FileUtils.rm_rf(File.join(dsu_folder, 'themes')) unless pretend?
|
|
159
|
-
end
|
|
160
|
-
|
|
161
158
|
def backup_folder
|
|
162
159
|
@backup_folder ||= File.join(root_folder, "dsu-#{target_migration_version}-backup")
|
|
163
160
|
end
|
data/lib/dsu/version.rb
CHANGED