erdb 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -0
- data/lib/erdb/cli.rb +3 -6
- data/lib/erdb/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: 290243fdf73ae67ca7e00a56eeb0ca349151d91a790b18239f48b21a21943ab4
|
4
|
+
data.tar.gz: 634235ef5e172d15966d58718199c3b990d0a056c56524a68c6b476fd5d90356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c96446fa6475e30215879bc5bf1a88fbff41740e99253f159df50142ce1c7702c28733ea6569fff70402140e71e9422991c5788f4ff1be4cf9c5fc434d4bb798
|
7
|
+
data.tar.gz: 0c8070088d064b59a71ee20f755e1407f1f5c382b616400b73dadb3b8badb25f1fff7b53c346348446fb78849665c6e18227b0300786614084aa08dc45d04b80
|
data/CHANGES.md
CHANGED
data/lib/erdb/cli.rb
CHANGED
@@ -22,19 +22,16 @@ module ERDB
|
|
22
22
|
db.connect
|
23
23
|
|
24
24
|
erd_builder.create(db.to_erdb)
|
25
|
+
rescue Interrupt
|
26
|
+
puts "\n\nThank you for using ERDB!"
|
27
|
+
exit 0
|
25
28
|
rescue ActiveRecord::NoDatabaseError
|
26
29
|
puts "\nError: Database not found."
|
27
30
|
puts "Please make sure the database exists."
|
28
31
|
exit 1
|
29
|
-
rescue RuntimeError => e
|
30
|
-
puts "Error: #{e.message}"
|
31
|
-
exit 1
|
32
32
|
rescue StandardError => e
|
33
33
|
puts "Error: #{e.message}"
|
34
34
|
exit 1
|
35
|
-
rescue Interrupt
|
36
|
-
puts "\n\nThank you for using ERDB!"
|
37
|
-
exit 0
|
38
35
|
end
|
39
36
|
|
40
37
|
private
|
data/lib/erdb/version.rb
CHANGED