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 +4 -4
- data/README.md +1 -1
- data/lib/schema-evolution-manager/db.rb +2 -2
- data/lib/schema-evolution-manager.rb +1 -0
- 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: bf9040fb91d5f77a65bf8d66751e709f5ed4fcd4356e619f99200fbae274d799
|
4
|
+
data.tar.gz: 8a2fb4ddf42dd870eb7023270d405df60032120db91cee7b59b4e50ce2cd533e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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.56
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bryzek
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-08
|
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
|