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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1ebef51ccd28b9694b2799876ecaa9e6f79fb9dcfa69ddd12359c363a44154e
4
- data.tar.gz: 821166a2c3237ccf910b6c4f434f425040bbc73d20b7209eba6aae5232814346
3
+ metadata.gz: 5607ce9ddb40b0da1972de8ddc6352fd52d0ddecfcf4e12a22eaf8c5df2b9cb2
4
+ data.tar.gz: 4fc5721b5020371c23f6fa98bb0659660e95d602d9c90ceaf8deb03f7356a95b
5
5
  SHA512:
6
- metadata.gz: dc1295f1c05354de9f8f85bc00691773433cfd25bc398776343970110d0de9c0305d1bd939a1b8b380da75d0aaba995a481183cc50b5e7f61430da315770990a
7
- data.tar.gz: f2c776e3ea0b813d1db1b8aa12331fa06ffe6b7a033f2647d4dc4f17cbd7c2b475939e562542244b7ffb4006188b7b45a1c821ea619694e487442638c8436a3b
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.50
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
- pending_scripts = []
24
+ count = 0
25
25
  @scripts.each_pending(dir) do |filename, path|
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|
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
- pending_scripts.size
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.50
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-08 00:00:00.000000000 Z
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