dsu 3.0.0.alpha.8 → 3.0.0.alpha.10
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 +10 -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: ce84d173477ceb44ac5b67381021a90a9cb58a3932eb96495c61a5b19d28d933
|
4
|
+
data.tar.gz: adf82c4687ea359e0a413d3cc4831eac00ae104e170aa9d6f0ecff5601df7f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83f99ee53f3b636199574b70b54a922c9930e48a97fd86ad1eb164fd1737a420d32f77b202d1c7a3bf7cca14f03a16e61da3c728cda3a6b1bc9a2cc88f3839d9
|
7
|
+
data.tar.gz: 8ef49bdfa10fe384e417bff98395dfb702c043c3b203b2a92520af6b062975e7ad32bf1e81d6a3c094cb7499497683e5d11df237dd7aa64f58bad15445cb6653
|
@@ -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,15 @@ 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(version: Migration::VERSION).save!
|
145
|
+
end
|
146
|
+
|
137
147
|
def delete_old_entry_folder
|
138
148
|
puts 'Cleaning up old entries...'
|
139
149
|
puts
|
data/lib/dsu/version.rb
CHANGED