fixture_fox 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/fox +10 -3
- data/lib/fixture_fox/ast.rb +0 -9
- data/lib/fixture_fox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50051aef4f91108da08251be8bed03837c44b2fcc39c0a28156601ac8c36ddff
|
|
4
|
+
data.tar.gz: 329e39a3220f4b9503d3a25a09bafcb0ad1605bfb8e38203a8ab89766a6607eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f97dbaa8de152779d9b9b3d092b8b4ea10121d2ef79250b92f59e5a9aa9ab984108d6cb565d039e68a6c23ca6f164b243d985b0e7d855a789fe2bce5848592e
|
|
7
|
+
data.tar.gz: 19671da5508132d13cfc5a3c9c5e796ad729e1daedae4eafe63e42911c36d9cbe9f89148aaa1e0e237ee560164970f28fa9cf0ae11f75d813a236b888b5bfdde
|
data/exe/fox
CHANGED
|
@@ -44,6 +44,11 @@ SPEC = %(
|
|
|
44
44
|
-x,exec
|
|
45
45
|
Execute the generated SQL instead of printing it on standard output
|
|
46
46
|
|
|
47
|
+
+e,exclude=SCHEMA,
|
|
48
|
+
Exclude the given schemas. The schemas are passed on to PgGraph to
|
|
49
|
+
exclude schemas that doesn't comply with PgGraph's naming conventions,
|
|
50
|
+
typically FDW schemas. This option can be repeated
|
|
51
|
+
|
|
47
52
|
-t,time
|
|
48
53
|
Emit timings for sub-processes
|
|
49
54
|
|
|
@@ -67,7 +72,7 @@ begin
|
|
|
67
72
|
|
|
68
73
|
opts.format ||= 'psql'
|
|
69
74
|
|
|
70
|
-
if opts.state?
|
|
75
|
+
if opts.state?
|
|
71
76
|
opts.state = File.expand_path(opts.state || DEFAULT_STATE_FILE)
|
|
72
77
|
FileUtils.touch(opts.state) if !File.exist?(opts.state)
|
|
73
78
|
end
|
|
@@ -103,8 +108,10 @@ begin
|
|
|
103
108
|
reflector = tg.time("reflections") { PgGraph::Reflector.new }
|
|
104
109
|
end
|
|
105
110
|
|
|
106
|
-
#
|
|
107
|
-
type = tg.time("type") { PgGraph::Type.new(meta, reflector) }
|
|
111
|
+
# Load types
|
|
112
|
+
type = tg.time("type") { PgGraph::Type.new(meta, reflector, ignore: opts.exclude || []) }
|
|
113
|
+
|
|
114
|
+
# Dump types?
|
|
108
115
|
if opts.dump == "type"
|
|
109
116
|
type.dump
|
|
110
117
|
exit
|
data/lib/fixture_fox/ast.rb
CHANGED
data/lib/fixture_fox/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fixture_fox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Claus Rasmussen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pg
|