dohutil 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ require 'doh/app/util'
2
+
3
+ Doh::find_root_from_prog
4
+ DohApp::require_custom_config
@@ -0,0 +1,2 @@
1
+ require 'doh/app/init_from_prog'
2
+ require 'doh/options'
@@ -0,0 +1,14 @@
1
+ require 'highline'
2
+
3
+ #thin wrapper around HighLine, in case we decide to use something else in the future
4
+
5
+ module Doh
6
+ class PasswordHelper
7
+ @@highline = HighLine.new
8
+
9
+ def self.prompt_password(prompt = "Password: ")
10
+ @@highline.ask(prompt) {|q| q.echo = false}
11
+ end
12
+
13
+ end
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-03 00:00:00.000000000 Z
13
+ date: 2012-07-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dohroot
@@ -53,7 +53,9 @@ extra_rdoc_files:
53
53
  - MIT-LICENSE
54
54
  files:
55
55
  - lib/doh/app/cli.rb
56
+ - lib/doh/app/init_from_prog.rb
56
57
  - lib/doh/app/init_from_pwd.rb
58
+ - lib/doh/app/origin.rb
57
59
  - lib/doh/app/util.rb
58
60
  - lib/doh/array_to_hash.rb
59
61
  - lib/doh/class_basename.rb
@@ -71,6 +73,7 @@ files:
71
73
  - lib/doh/env.rb
72
74
  - lib/doh/http_helper.rb
73
75
  - lib/doh/log/stub.rb
76
+ - lib/doh/password_helper.rb
74
77
  - lib/doh/to_display.rb
75
78
  - test/core_ext/bigdecimal.dt.rb
76
79
  - test/core_ext/date.dt.rb