schema-evolution-manager 0.9.25 → 0.9.26
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.rb +0 -1
- data/lib/schema-evolution-manager/ask.rb +4 -11
- data/lib/schema-evolution-manager/sem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b4cb17ab1361191fd71e849c6f8a3e61c40c4e
|
4
|
+
data.tar.gz: 2950c4de8f4f7e941b12a6125847aedb37dde99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28eb81154e70497be33d0c155156ab7d5b5b88ecaa11eed6656d934f9e3d4ef80d9ba5b964b53c8a2eb5da9d5b2bfadb71f2b1dbd394dee3900c3cb86734626c
|
7
|
+
data.tar.gz: 642ad94982d6fae8702fb9f53d12f6e85209060d42e41eb4b047337525e5a721ebd095e7cb53059549ea7d1d25f3d9b1920ac7e47fff7405137c7640d0672187
|
data/README.md
CHANGED
@@ -127,7 +127,7 @@ There are two ways to install schema evolution manager:
|
|
127
127
|
|
128
128
|
git clone git://github.com/mbryzek/schema-evolution-manager.git
|
129
129
|
cd schema-evolution-manager
|
130
|
-
git checkout 0.9.
|
130
|
+
git checkout 0.9.26
|
131
131
|
ruby ./configure.rb
|
132
132
|
sudo ./install.rb
|
133
133
|
|
@@ -9,11 +9,8 @@ module SchemaEvolutionManager
|
|
9
9
|
# Asks the user a question. Expects a string back.
|
10
10
|
#
|
11
11
|
# @param default: A default value
|
12
|
-
# @param echo: If true (the default), we echo what the user types
|
13
|
-
# to the screen. If false, we do NOT echo.
|
14
12
|
def Ask.for_string(message, opts={})
|
15
13
|
default = opts.delete(:default)
|
16
|
-
echo = opts[:echo].nil? ? true : opts.delete(:echo)
|
17
14
|
Preconditions.assert_empty_opts(opts)
|
18
15
|
|
19
16
|
final_message = message.dup
|
@@ -24,7 +21,7 @@ module SchemaEvolutionManager
|
|
24
21
|
value = nil
|
25
22
|
while value.to_s == ""
|
26
23
|
print final_message
|
27
|
-
value = get_input
|
24
|
+
value = get_input.strip
|
28
25
|
if value.to_s == "" && default
|
29
26
|
value = default.to_s.strip
|
30
27
|
end
|
@@ -40,16 +37,12 @@ module SchemaEvolutionManager
|
|
40
37
|
end
|
41
38
|
|
42
39
|
def Ask.for_password(message)
|
43
|
-
Ask.for_string(message
|
40
|
+
Ask.for_string(message)
|
44
41
|
end
|
45
42
|
|
46
43
|
# here to help with tests
|
47
|
-
def Ask.get_input
|
48
|
-
|
49
|
-
STDIN.gets
|
50
|
-
else
|
51
|
-
STDIN.noecho(&:gets)
|
52
|
-
end
|
44
|
+
def Ask.get_input
|
45
|
+
STDIN.gets
|
53
46
|
end
|
54
47
|
|
55
48
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bryzek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: '["Michael Bryzek"]'
|
14
14
|
email: mbryzek@alum.mit.edu
|