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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329486c59e46c066a3118166afb1bad16ba1af95d21acf90fece6fa2fd160106
4
- data.tar.gz: 80ee018dab2ea67779a34214b6acc1b68421992da7e9752a72396036d0d7ef73
3
+ metadata.gz: ce84d173477ceb44ac5b67381021a90a9cb58a3932eb96495c61a5b19d28d933
4
+ data.tar.gz: adf82c4687ea359e0a413d3cc4831eac00ae104e170aa9d6f0ecff5601df7f04
5
5
  SHA512:
6
- metadata.gz: bb5f2d8e6341ce26f5e41adc7e8aa83690eb7884747ad8d0a1da898519deb7015f0f2349a9b66e8e9b7d0e2ec049adad2bbcd6314fa9805ba7523cb4e533f86f
7
- data.tar.gz: 95f3a70c35e3fd955162c2c58c7298c33cbb2322bccc222c96385944049b3ccdb6fb3abba1a3037c2562de624c34abe98842e4f422f6658554f566bddf24ca68
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
@@ -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.8'
5
+ VERSION = '3.0.0.alpha.10'
6
6
  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.8
4
+ version: 3.0.0.alpha.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.