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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329486c59e46c066a3118166afb1bad16ba1af95d21acf90fece6fa2fd160106
4
- data.tar.gz: 80ee018dab2ea67779a34214b6acc1b68421992da7e9752a72396036d0d7ef73
3
+ metadata.gz: 5c82838e693a4a2797cda661ac0bc7ef5be19e91255a04faf71d31d72f73aa92
4
+ data.tar.gz: 0bfab2b26ee8a8511c14584d6ef795bd1db375dc4a89925f0bf3fc8fca6b0ed1
5
5
  SHA512:
6
- metadata.gz: bb5f2d8e6341ce26f5e41adc7e8aa83690eb7884747ad8d0a1da898519deb7015f0f2349a9b66e8e9b7d0e2ec049adad2bbcd6314fa9805ba7523cb4e533f86f
7
- data.tar.gz: 95f3a70c35e3fd955162c2c58c7298c33cbb2322bccc222c96385944049b3ccdb6fb3abba1a3037c2562de624c34abe98842e4f422f6658554f566bddf24ca68
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
@@ -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.9'
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.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.