winever 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,7 +32,7 @@ module Winever
32
32
  end
33
33
 
34
34
  def password
35
- return @password.presence if @password
35
+ return @password.empty? ? nil : @password if @password
36
36
  require 'highline/import'
37
37
  prompt = <<-PRMP.gsub(/^ +/, '')
38
38
  To setup tasks correctly, the password of the current user account is needed.
@@ -58,7 +58,7 @@ module Winever
58
58
  # validate_password(password)
59
59
 
60
60
  @password = pw
61
- pw.presence
61
+ pw.empty? ? nil : pw
62
62
  end
63
63
 
64
64
  def create_tasks
@@ -1,3 +1,3 @@
1
1
  module Winever
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winever
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: 2464518562927042211
151
+ hash: 1699128231675029553
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: 2464518562927042211
160
+ hash: 1699128231675029553
161
161
  requirements: []
162
162
  rubyforge_project:
163
163
  rubygems_version: 1.8.25