simple_data_migrations 0.2.0 → 0.2.1

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: 921613636477da12bf615c10012a25b94d2f3929e22c6959688de8325d6bc209
4
- data.tar.gz: 5e2c9e1a1cee5b69303c1cf01e18603a530fcf913b92ae1f248a40305dfffd9f
3
+ metadata.gz: f19f2cdffba07e8023beaaa7877e874b47c66b54deeef30e8f084167afea50f8
4
+ data.tar.gz: 9a23110a7f04dc03953ffb20ed9e8d23a1ae0a37c4afab1634396d80073ec69d
5
5
  SHA512:
6
- metadata.gz: 5a79a24b40aa650d434154ff9072e39e46192de666f70847a5cd984095a82c69f8cf8252bd743cdc1a7269c5ead89c5b0aab37b663a6884f46d4dc7e9dee82f5
7
- data.tar.gz: dd95745c38e08e4ea18332cab21ac32a8148d97257a7b0c2bd63f5055407719e441a24561746079437e7370f9e08a7d4b5f4adcebb5d14280cb52bf4311a392f
6
+ metadata.gz: 64f91832387f2e742c5f7b89beb044d665d0a37b19a60e4ccf891f36868d6634ccfcc1e906137e91b1026f6c7323ffd17e44dd19e0c4e5950ccada60a683d7ab
7
+ data.tar.gz: 07d30ea14c1c4683a12ce9841079e1cb21f00f80f3f38fea4f5f33852dbb01ab15f473962d521056b4a94039097001bf047ed7ac84c66d0c6fd943331a2b0f89
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.2.1] - 2022-01-11
2
+
3
+ - Fixed printing duplicates in status command
4
+
1
5
  ## [0.2.0] - 2022-01-11
2
6
 
3
7
  - Add support for locked migrations to ensure script is run only once in the app.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleDataMigrations
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
@@ -13,7 +13,7 @@ module SimpleDataMigrations
13
13
  def self.status
14
14
  ran_versions = Utils.ran_versions
15
15
  files = Utils.script_files
16
- all_versions = (ran_versions | files).map { |filename| Utils.version(filename) }
16
+ all_versions = ran_versions | files.map { |filename| Utils.version(filename) }
17
17
 
18
18
  result = all_versions.sort.map do |version|
19
19
  filename = files.find { |file| file.start_with?(version) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_data_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Wnętrzak