mattmatt-cijoe 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,13 +28,13 @@ class CIJoe
28
28
  :user => Config.email.user.to_s,
29
29
  :pass => Config.email.pass.to_s,
30
30
  :host => Config.email.host.to_s,
31
- :auth_type => Config.email.authtype.to_s,
32
- :enable_tls => Config.email.enabletls.to_i
31
+ :auth_type => Config.email.authtype.to_s,
32
+ :enable_tls => Config.email.enabletls.to_s
33
33
  }
34
34
  end
35
35
 
36
36
  def self.valid_config?
37
- %w( host user pass to ).all? do |key|
37
+ %w( host user pass to auth_type ).all? do |key|
38
38
  !config[key.intern].empty?
39
39
  end
40
40
  end
@@ -55,7 +55,7 @@ class CIJoe
55
55
  config.auth_pass = Email.config[:pass]
56
56
  config.auth_type = Email.config[:auth_type].to_sym
57
57
  config.host = Email.config[:host]
58
- config.enable_tls = Email.config[:enable_tls] == 1 ? true : false
58
+ config.enable_tls = Email.config[:enable_tls] == "1" ? true : false
59
59
  config
60
60
  end
61
61
 
@@ -1,3 +1,3 @@
1
1
  class CIJoe
2
- Version = "0.1.5"
2
+ Version = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mattmatt-cijoe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath