openagent 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module OpenAgent
2
- VERSION = '0.8.0' unless defined?(OpenAgent::VERSION)
2
+ VERSION = '0.8.1' unless defined?(OpenAgent::VERSION)
3
3
  end
@@ -29,7 +29,7 @@ module SIF
29
29
  end
30
30
 
31
31
  def first_email
32
- emails.map{ |email| email.value.split(/[,;\s]\s?/) }.flatten.first
32
+ emails && emails.map{ |email| email.value.split(/[,;\s]\s?/) }.flatten.first
33
33
  end
34
34
 
35
35
  def email
@@ -17,6 +17,7 @@ module SIF
17
17
  def username
18
18
  find_element("USERNAME")
19
19
  end
20
+
20
21
  def password
21
22
  find_element("PASSWORD")
22
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-12-11 00:00:00.000000000 Z
14
+ date: 2013-12-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake