dsu 3.0.0.alpha.8 → 3.0.0.alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dsu/migration/service_20230613121411.rb +13 -0
- 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: 5c82838e693a4a2797cda661ac0bc7ef5be19e91255a04faf71d31d72f73aa92
|
4
|
+
data.tar.gz: 0bfab2b26ee8a8511c14584d6ef795bd1db375dc4a89925f0bf3fc8fca6b0ed1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889a0d8e5f67dc712740e54f332d1ea456f4c6b6e72d521ea6df2a87cd1e0085dd39f4c9db7fa8b4f8b20e325abed2262e6b9d7643849fced7ee58aeea02589e
|
7
|
+
data.tar.gz: 954934798247acd94d6c0f4ceb292bd2ec4baf6e5ada5ab4981a80bedc85b14820da547755bfdf7589928a0868c92df1a2d99f89c6ac17d338ddacfdf82e3463
|
@@ -36,6 +36,7 @@ module Dsu
|
|
36
36
|
update_configuration
|
37
37
|
update_entry_groups
|
38
38
|
update_color_themes
|
39
|
+
update_migration_version
|
39
40
|
delete_old_entry_folder
|
40
41
|
delete_old_theme_folder
|
41
42
|
|
@@ -134,6 +135,18 @@ module Dsu
|
|
134
135
|
end
|
135
136
|
end
|
136
137
|
|
138
|
+
def update_migration_version
|
139
|
+
puts 'Updating migration version...'
|
140
|
+
puts
|
141
|
+
|
142
|
+
return if pretend? || migration_version == Migration::VERSION
|
143
|
+
|
144
|
+
Models::MigrationVersion.new.tap do |migration_version|
|
145
|
+
migration_version.version = Migration::VERSION
|
146
|
+
migration_version.save!
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
137
150
|
def delete_old_entry_folder
|
138
151
|
puts 'Cleaning up old entries...'
|
139
152
|
puts
|
data/lib/dsu/version.rb
CHANGED