schema-evolution-manager 0.9.47 → 0.9.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/schema-evolution-manager/apply_util.rb +17 -3
- data/scripts/20130318-105456.sql +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: c1ebef51ccd28b9694b2799876ecaa9e6f79fb9dcfa69ddd12359c363a44154e
|
4
|
+
data.tar.gz: 821166a2c3237ccf910b6c4f434f425040bbc73d20b7209eba6aae5232814346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc1295f1c05354de9f8f85bc00691773433cfd25bc398776343970110d0de9c0305d1bd939a1b8b380da75d0aaba995a481183cc50b5e7f61430da315770990a
|
7
|
+
data.tar.gz: f2c776e3ea0b813d1db1b8aa12331fa06ffe6b7a033f2647d4dc4f17cbd7c2b475939e562542244b7ffb4006188b7b45a1c821ea619694e487442638c8436a3b
|
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.50
|
137
137
|
ruby ./configure.rb
|
138
138
|
sudo ./install.rb
|
139
139
|
|
@@ -21,9 +21,23 @@ module SchemaEvolutionManager
|
|
21
21
|
Preconditions.check_state(File.directory?(dir),
|
22
22
|
"Dir[%s] does not exist" % dir)
|
23
23
|
|
24
|
-
|
24
|
+
pending_scripts = []
|
25
25
|
@scripts.each_pending(dir) do |filename, path|
|
26
|
-
|
26
|
+
pending_scripts << [filename, path]
|
27
|
+
end
|
28
|
+
|
29
|
+
if pending_scripts.size > 1 && !@dry_run
|
30
|
+
puts "Please confirm that you would like to apply all (#{pending_scripts.size}) of the pending scripts:"
|
31
|
+
pending_scripts.each do |filename, path|
|
32
|
+
puts " #{filename}"
|
33
|
+
end
|
34
|
+
continue = SchemaEvolutionManager::Ask.for_boolean("Continue?")
|
35
|
+
if !continue
|
36
|
+
return 0
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
pending_scripts.each do |filename, path|
|
27
41
|
if @dry_run
|
28
42
|
puts "[DRY RUN] Applying #{filename}"
|
29
43
|
puts path
|
@@ -35,7 +49,7 @@ module SchemaEvolutionManager
|
|
35
49
|
puts " Done"
|
36
50
|
end
|
37
51
|
end
|
38
|
-
|
52
|
+
pending_scripts.size
|
39
53
|
end
|
40
54
|
|
41
55
|
end
|
data/scripts/20130318-105456.sql
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bryzek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: '["Michael Bryzek"]'
|
14
14
|
email: mbryzek@alum.mit.edu
|