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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb6f13a7ee9457b87783a853e81388457ae38297
4
- data.tar.gz: 6450ab24e9348ee9e21881256ba26081e97ddd8b
3
+ metadata.gz: 95b4cb17ab1361191fd71e849c6f8a3e61c40c4e
4
+ data.tar.gz: 2950c4de8f4f7e941b12a6125847aedb37dde99a
5
5
  SHA512:
6
- metadata.gz: 41f4a519bcb140564587b6f2faa2749be390523f86cac6520bb0b0f0af08ef213ec8b58ed58fbd74f607e92e4323f5ecb7ba44a1fd1f04e4602d834e5a6ffcb7
7
- data.tar.gz: 9945e8b898c84a54ea1db077d862142cfa957b062d5d03f4268fb020f65b2b0f4cef1144cc123adc99a022ae8ed05c19f8ec7bc0b910202e7deb522074719840
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.25
130
+ git checkout 0.9.26
131
131
  ruby ./configure.rb
132
132
  sudo ./install.rb
133
133
 
@@ -1,6 +1,5 @@
1
1
  require 'fileutils'
2
2
  require 'pathname'
3
- require 'io/console'
4
3
 
5
4
  dir = File.dirname(__FILE__)
6
5
  lib_dir = File.join(dir, "schema-evolution-manager")
@@ -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(echo).strip
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, :echo => false)
40
+ Ask.for_string(message)
44
41
  end
45
42
 
46
43
  # here to help with tests
47
- def Ask.get_input(echo)
48
- if echo
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
@@ -2,7 +2,7 @@ module SchemaEvolutionManager
2
2
 
3
3
  module SemVersion
4
4
 
5
- VERSION = '0.9.25' # Automatically updated by util/create-release.rb
5
+ VERSION = '0.9.26' # Automatically updated by util/create-release.rb
6
6
 
7
7
  end
8
8
 
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.25
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-03-28 00:00:00.000000000 Z
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