postal 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -20,7 +20,7 @@ module Postal
20
20
  class CouldNotSendMailing < StandardError; end;
21
21
  class WouldDeleteAllMembers < StandardError; end;
22
22
 
23
- VERSION = '0.1.0'
23
+ VERSION = '0.1.5'
24
24
  LOGGER = Logger.new(STDOUT)
25
25
 
26
26
  DEFAULT_OPTIONS = { :debug => false }
@@ -35,7 +35,7 @@ module Postal
35
35
  # Make a driver instance available at Postal.driver
36
36
  def driver
37
37
  unless @driver
38
- @driver = Postal::Lmapi::Soap.new
38
+ @driver = Postal::Lmapi::Soap.new(@options[:wsdl])
39
39
  @driver.options['protocol.http.basic_auth'] << [@options[:wsdl], @options[:username], @options[:password]]
40
40
  end
41
41
  return @driver
@@ -8,7 +8,7 @@ require 'soap/rpc/driver'
8
8
  module Postal
9
9
  module Lmapi
10
10
  class Soap < ::SOAP::RPC::Driver
11
- DefaultEndpointUrl = "http://mail.active.com:82/"
11
+ DefaultEndpointUrl = "http://www.mymailserver.com/"
12
12
  NsLmapi = "http://www.lyris.com/lmapi"
13
13
 
14
14
  Methods = [
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{postal}
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Rob Cameron"]
9
- s.date = %q{2009-08-31}
9
+ s.date = %q{2009-10-29}
10
10
  s.description = %q{Lyris is an enterprise email service. Postal makes it easy for Ruby to talk to Lyris's API.}
11
11
  s.email = %q{cannikinn@gmail.com}
12
12
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Cameron
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-31 00:00:00 -07:00
12
+ date: 2009-10-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency