pg_meta 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/pg_meta +3 -1
- data/lib/pg_meta/version.rb +1 -1
- data/pg_meta.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b58a4f531bb7de0145b96bad4e39f8c7357d14e300c0d91b7fc5af44567974e4
|
4
|
+
data.tar.gz: 6e5144a8afc064666199f1c692e1eb8f3760ac7688f3d58a1ed168dcd4ab7ac4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f3c8c0c82a7099858decef204aaeb51116a2980ccf96960424d70864df0b8bd8e9f14269740bf94ec5aec5e9a4254def92b49bf7217599c83c712091e85d66c
|
7
|
+
data.tar.gz: 4d8237a0bf64240a222541b917f6c017afef72c863e3c18be20427060554d6fee903779c2c8f24cde23bde8b996b9ed0b51f8c45d7891ac0ae9c6245640c28c5
|
data/exe/pg_meta
CHANGED
@@ -13,13 +13,15 @@ SPEC = %(
|
|
13
13
|
-- DATABASE
|
14
14
|
)
|
15
15
|
|
16
|
-
opts, args = ShellOpts.process(SPEC, ARGV,
|
16
|
+
opts, args = ShellOpts.process(SPEC, ARGV, exception: false)
|
17
17
|
database = args.expect(1)
|
18
18
|
|
19
19
|
conn = PgConn.new(database)
|
20
20
|
meta = PgMeta.new(conn)
|
21
|
+
|
21
22
|
case opts.format
|
22
23
|
when "yaml"; puts meta.to_yaml
|
23
24
|
when "marshal"; puts meta.to_marshal
|
24
25
|
else meta.dump
|
25
26
|
end
|
27
|
+
|
data/lib/pg_meta/version.rb
CHANGED
data/pg_meta.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency "pg"
|
26
26
|
|
27
27
|
spec.add_dependency "pg_conn"
|
28
|
-
spec.add_dependency "shellopts", "~> 2.0.
|
28
|
+
spec.add_dependency "shellopts", "~> 2.0.23"
|
29
29
|
|
30
30
|
spec.add_development_dependency "bundler"
|
31
31
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.0.
|
61
|
+
version: 2.0.23
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.0.
|
68
|
+
version: 2.0.23
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|