dohutil 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/doh/app/util.rb CHANGED
@@ -3,6 +3,7 @@ require 'doh/root'
3
3
  module DohApp
4
4
 
5
5
  def self.require_custom_config
6
+ raise Doh::DohRootNotFoundException if !Doh::root
6
7
  path = File.expand_path(File::join(Doh::root, 'config/dohapp.rb'))
7
8
  require(path) if File.exist?(path)
8
9
  end
@@ -4,10 +4,10 @@ require 'highline'
4
4
 
5
5
  module Doh
6
6
  class PasswordHelper
7
- @@highline = HighLine.new
7
+ @highline = HighLine.new
8
8
 
9
9
  def self.prompt_password(prompt = "Password: ")
10
- @@highline.ask(prompt) {|q| q.echo = false}
10
+ @highline.ask(prompt) {|q| q.echo = false}
11
11
  end
12
12
 
13
13
  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.6
4
+ version: 0.2.7
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-08-14 00:00:00.000000000 Z
13
+ date: 2012-09-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dohroot
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.1.0
22
+ version: 0.1.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ! '>='
29
29
  - !ruby/object:Gem::Version
30
- version: 0.1.0
30
+ version: 0.1.1
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: highline
33
33
  requirement: !ruby/object:Gem::Requirement