exacto_subscriber 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{exacto_subscriber}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Pickett"]
12
- s.date = %q{2010-08-31}
12
+ s.date = %q{2010-09-24}
13
13
  s.description = %q{Manage Exact Target List subscribers: more coming}
14
14
  s.email = %q{dpickett@enlightsolutions.com}
15
15
  s.extra_rdoc_files = [
@@ -24,7 +24,9 @@ module Exacto
24
24
  end
25
25
  end
26
26
 
27
- resp = parse_response(post("/integrate.asp", :body => {:xml => builder.to_xml}))
27
+ resp = parse_response(post("/integrate.asp",
28
+ :body => {:xml => builder.to_xml},
29
+ :timeout => Exacto.default_timeout))
28
30
  end
29
31
  end
30
32
 
@@ -19,6 +19,14 @@ module Exacto
19
19
  def self.password
20
20
  configatron.exacto.password
21
21
  end
22
+
23
+ def self.default_timeout=(timeout)
24
+ configatron.exacto.default_timeout = timeout
25
+ end
26
+
27
+ def self.default_timeout
28
+ configatron.exacto.default_timeout ||= 5
29
+ end
22
30
  end
23
31
 
24
32
  require "exacto_subscriber/ext/hacked_request"
@@ -29,9 +29,9 @@
29
29
  server:
30
30
  - Microsoft-IIS/6.0
31
31
  date:
32
- - Tue, 31 Aug 2010 16:03:07 GMT
32
+ - Fri, 24 Sep 2010 21:25:33 GMT
33
33
  set-cookie:
34
- - ASP.NET_SessionId=f0jwbg55z5yeom55t0moaojx; path=/; HttpOnly
34
+ - ASP.NET_SessionId=5ipxh5qn4lwj0m55u0vqzkur; path=/; HttpOnly
35
35
  cache-control:
36
36
  - private
37
37
  transfer-encoding:
@@ -29,9 +29,9 @@
29
29
  server:
30
30
  - Microsoft-IIS/6.0
31
31
  date:
32
- - Tue, 31 Aug 2010 16:03:08 GMT
32
+ - Fri, 24 Sep 2010 21:25:38 GMT
33
33
  set-cookie:
34
- - ASP.NET_SessionId=ucgyrv451ub3sw55feopvnqq; path=/; HttpOnly
34
+ - ASP.NET_SessionId=u5u1y345kopugn45n4rsmze0; path=/; HttpOnly
35
35
  cache-control:
36
36
  - private
37
37
  transfer-encoding:
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exacto_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Pickett
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-31 00:00:00 -04:00
18
+ date: 2010-09-24 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency