rails_data_fix 0.1.3 → 0.1.4

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: bc28a37226025ab6b7b8098bfa7efa7188ce820cd4a997df980c051e25dfba63
4
- data.tar.gz: d51ff37dfc9b938cef62401729d8f66ca12d92244f869da6511ed38e074c3947
3
+ metadata.gz: 07572a29bead134f69bff648317cfe5cb92d631610eb09eb25cdaacb1e642f12
4
+ data.tar.gz: 69f7ea6372a80a52ce4371465848f1dbca7cd3cc2ba282a9af12c252e9a7d0b7
5
5
  SHA512:
6
- metadata.gz: f7a8e0fad7689c3c6388daff2b92f8a2ca3647094f3e27f8351ac2a7a733dbd2ebf44d9cd90a504fb6f9af7271b48dc23191fdcb3d08926f149a25b765159518
7
- data.tar.gz: 630cef99f8dd1b1b6b780e500e39cfe18c5ba283ec48835bee70d5312dc4bdcaf8b45d4ccfcf67a49c16e38a415c1e16a9962d6bab8317f4dde1304306781f84
6
+ metadata.gz: 214d8fd1784d8939eb3a344a2b5dcfde3f92fe9cd9f58307ffc2c8be328549a765f6c2687a2e4b25a453710b5dba71328a6c29a49b59560631489b772df92347
7
+ data.tar.gz: ef2b215dfc2195a46149e7fb059d13b702ebb27f4ce32bc23abe44ee54a743d44762a24d458d0d07c38241d7762a99e750d1a122675a49ffcab6610c68696afa
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DataFix
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -76,9 +76,10 @@ namespace :data_fix do
76
76
  puts_and_log "backup performed and available as #{backup_db_name}."
77
77
  else
78
78
  puts "WARNING: I don't know how to backup for #{config[:adapter]})"
79
+ answer = ""
79
80
  while (answer != "Y" and answer != "n")
80
81
  puts "Proceed anyway? [Y/n]"
81
- read answer
82
+ answer = gets.chomp
82
83
  end
83
84
  exit unless answer == "Y"
84
85
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_data_fix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adolfo Villafiorita