schema-evolution-manager 0.9.55 → 0.9.56

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: 13f084ac4b6a9429196469f2b1f52d04167aa443edbe7a65c68a160aab7fc041
4
- data.tar.gz: 3676fe675b11d5b718b655ac806f66a2986c9745cd63ea52938a030af4a88d22
3
+ metadata.gz: bf9040fb91d5f77a65bf8d66751e709f5ed4fcd4356e619f99200fbae274d799
4
+ data.tar.gz: 8a2fb4ddf42dd870eb7023270d405df60032120db91cee7b59b4e50ce2cd533e
5
5
  SHA512:
6
- metadata.gz: a94a3a279cc858c04637c3e0cb5c9b120699e7fac2091cce7d915bda06761b4eece3fa39c2d76b4d55ec65306ae72977ca204894f130b3a633eb8e331a87c3f5
7
- data.tar.gz: e7b3d5196adef32e19ed60f58bdcdeed6f377193ddc15f30e44f3a1018325b0ddbf2e4415269645965f24ee4cefa099e36c64cbf77722d5bacfdaed657b565b8
6
+ metadata.gz: eafbddd13e3382cee0688a63b6254ca4dff79f8bc8238266613f1f0f7a12a6e8c33906f644b236e3e0b3ccc8b0dc5396aff168867860f08217349ec6c03bcca2
7
+ data.tar.gz: b22ee708f59aa27bc39674bfcb031f490444db234e279fac9e3eb69ef8b836d94d05bc74260eb6017a89127eacb59cbfa506f288b58c28a7c33f52657760ad69
data/README.md CHANGED
@@ -133,7 +133,7 @@ There are three ways to install schema evolution manager:
133
133
 
134
134
  git clone git@github.com:mbryzek/schema-evolution-manager.git
135
135
  cd schema-evolution-manager
136
- git checkout 0.9.55
136
+ git checkout 0.9.56
137
137
  ruby ./configure.rb
138
138
  sudo ./install.rb
139
139
 
@@ -35,7 +35,7 @@ module SchemaEvolutionManager
35
35
  def psql_command(sql_command)
36
36
  Preconditions.assert_class(sql_command, String)
37
37
  template = "#{@psql_executable_with_options} --no-align --tuples-only --no-psqlrc --command \"%s\" %s"
38
- command = template % [sql_command, @url]
38
+ command = template % [sql_command, Shellwords.escape(@url)]
39
39
  command_to_log = template % [sql_command, sanitized_url]
40
40
  Library.system_or_error(command, command_to_log)
41
41
  end
@@ -79,7 +79,7 @@ module SchemaEvolutionManager
79
79
  out << IO.read(path)
80
80
  end
81
81
 
82
- command = "#{@psql_executable_with_options} --file \"%s\" #{options} %s" % [tmp, @url]
82
+ command = "#{@psql_executable_with_options} --file \"%s\" #{options} %s" % [tmp, Shellwords.escape(@url)]
83
83
 
84
84
  Library.with_temp_file do |output|
85
85
  result = `#{command} > #{output} 2>&1`.strip
@@ -1,6 +1,7 @@
1
1
  require 'fileutils'
2
2
  require 'pathname'
3
3
  require 'tempfile'
4
+ require 'shellwords'
4
5
 
5
6
  dir = File.dirname(__FILE__)
6
7
  lib_dir = File.join(dir, "schema-evolution-manager")
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.55
4
+ version: 0.9.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bryzek
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-08-25 00:00:00.000000000 Z
10
+ date: 2025-09-08 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: '["Michael Bryzek"]'
13
13
  email: mbryzek@alum.mit.edu