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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d9394110802161aba64390e9a68f845adb26f5438f37c1a41d1b75d4ecb95a0
4
- data.tar.gz: 6a8ffe4bd1e194f791f67916648097907f3dd842bff5cd1482b1edc2904a2a38
3
+ metadata.gz: 709387c773757f32a9fd932a7495214b6c62ec1ea3af459089ab509b64bca993
4
+ data.tar.gz: 373243bfa679abd0e19a446796a1119db027b4b1b8bf711586b9373e23f65d33
5
5
  SHA512:
6
- metadata.gz: a24d357e87d12ba19228eee60827f640c1bb10b696280ac7c2a872e54497e3ee9741969937568fd4bc0e5c22d9b9d4f6015564e260b5f71603f1102b14918c6b
7
- data.tar.gz: d3475db67f244c1a9b2d9bd1d5dcf2d87c7b7336db44d6a355dee110b01e9f4e66c74d13e28a8ff5b9fd91db3e93633b1702366c81fea577a7e8c5c09cbe7ff0
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.64
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
@@ -3,7 +3,7 @@ module SchemaEvolutionManager
3
3
 
4
4
  module SemVersion
5
5
 
6
- VERSION ||= '0.9.64'
6
+ VERSION ||= '0.9.66'
7
7
 
8
8
  end
9
9
 
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.64
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-31 00:00:00.000000000 Z
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