schema-evolution-manager 0.9.50 → 0.9.51
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 +3 -17
- 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: 5607ce9ddb40b0da1972de8ddc6352fd52d0ddecfcf4e12a22eaf8c5df2b9cb2
|
4
|
+
data.tar.gz: 4fc5721b5020371c23f6fa98bb0659660e95d602d9c90ceaf8deb03f7356a95b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f3328ba25b7d215d84594d54286f899a16066dfdfcac74ffca6a022f8296e1cd1f1ce299080c4cd351b0634a6434f670a5eac282eb374454a8505450267614
|
7
|
+
data.tar.gz: 25a09aa167990b08a2fa62b2f8ec1113880fc9a9a600c378f0f89321767ec90b09b22596661f27443eb08415e79b52ee33169b28e834842298fe3fc8136a06e2
|
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.51
|
137
137
|
ruby ./configure.rb
|
138
138
|
sudo ./install.rb
|
139
139
|
|
@@ -21,23 +21,9 @@ module SchemaEvolutionManager
|
|
21
21
|
Preconditions.check_state(File.directory?(dir),
|
22
22
|
"Dir[%s] does not exist" % dir)
|
23
23
|
|
24
|
-
|
24
|
+
count = 0
|
25
25
|
@scripts.each_pending(dir) do |filename, path|
|
26
|
-
|
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|
|
26
|
+
count += 1
|
41
27
|
if @dry_run
|
42
28
|
puts "[DRY RUN] Applying #{filename}"
|
43
29
|
puts path
|
@@ -49,7 +35,7 @@ module SchemaEvolutionManager
|
|
49
35
|
puts " Done"
|
50
36
|
end
|
51
37
|
end
|
52
|
-
|
38
|
+
count
|
53
39
|
end
|
54
40
|
|
55
41
|
end
|
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.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bryzek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: '["Michael Bryzek"]'
|
14
14
|
email: mbryzek@alum.mit.edu
|