schema-evolution-manager 0.9.64 → 0.9.66
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/README.md +1 -1
- data/lib/schema-evolution-manager/db.rb +6 -2
- data/lib/schema-evolution-manager/sem_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: 709387c773757f32a9fd932a7495214b6c62ec1ea3af459089ab509b64bca993
|
|
4
|
+
data.tar.gz: 373243bfa679abd0e19a446796a1119db027b4b1b8bf711586b9373e23f65d33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 463d7d1965fea48256a74bfd1185e00d0b9d7f976f841e70c7b59536e1a9e768f9f4558bc0a1b6ac72aad0e2fd81b20706fe807d8f4946cef22e7c2f999d62bd
|
|
7
|
+
data.tar.gz: b665598a8d269ecadf55e1798475c545a497dcc9b1e15b4ad01fbd7342edb5d9dc9c64b03486c8e6ec7fe24ae0617719514902340a5818fde5caf6275e7d7013
|
data/README.md
CHANGED
|
@@ -149,7 +149,7 @@ There are three ways to install schema evolution manager:
|
|
|
149
149
|
|
|
150
150
|
git clone git@github.com:mbryzek/schema-evolution-manager.git
|
|
151
151
|
cd schema-evolution-manager
|
|
152
|
-
git checkout 0.9.
|
|
152
|
+
git checkout 0.9.66
|
|
153
153
|
ruby ./configure.rb
|
|
154
154
|
sudo ./install.rb
|
|
155
155
|
|
|
@@ -100,10 +100,14 @@ module SchemaEvolutionManager
|
|
|
100
100
|
@psql_args + PSQL_ISOLATION_OPTIONS + ["--set", "ON_ERROR_STOP=1", "--file", path] + Db.attribute_values(path) + [@url]
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
# True if the specific schema exists; false otherwise
|
|
103
|
+
# True if the specific schema exists; false otherwise. Once seen the
|
|
104
|
+
# answer is kept: every pending-script check asks it, and nothing sem
|
|
105
|
+
# runs drops the schema. An absent schema is asked again, since a
|
|
106
|
+
# bootstrap or an upgrade script can create it mid-run
|
|
104
107
|
def schema_schema_evolution_manager_exists?
|
|
108
|
+
return true if @schema_exists
|
|
105
109
|
sql = "select count(*) from pg_namespace where nspname='%s'" % Db.schema_name
|
|
106
|
-
psql_command(sql).to_i > 0
|
|
110
|
+
@schema_exists = psql_command(sql).to_i > 0
|
|
107
111
|
end
|
|
108
112
|
|
|
109
113
|
# Parses command line arguments returning an instance of
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: schema-evolution-manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.66
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bryzek
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-11-03 00:00:00.000000000 Z
|
|
11
11
|
dependencies: []
|
|
12
12
|
description: '["Michael Bryzek"]'
|
|
13
13
|
email: mbryzek@alum.mit.edu
|