postmark 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/postmark.rb +4 -4
  3. data/postmark.gemspec +3 -3
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/lib/postmark.rb CHANGED
@@ -8,7 +8,7 @@ require 'postmark/tmail_mail_extension'
8
8
 
9
9
  module Postmark
10
10
 
11
- class InvalidApiKeyError < StandardError; end
11
+ class InvalidApiKeyError < StandardError; end
12
12
  class UnknownError < StandardError; end
13
13
  class InvalidMessageError < StandardError; end
14
14
  class InternalServerError < StandardError; end
@@ -42,9 +42,9 @@ module Postmark
42
42
  @http_open_timeout ||= 2
43
43
  end
44
44
 
45
- # The HTTP read timeout (defaults to 5 seconds).
45
+ # The HTTP read timeout (defaults to 15 seconds).
46
46
  def http_read_timeout
47
- @http_read_timeout ||= 5
47
+ @http_read_timeout ||= 15
48
48
  end
49
49
 
50
50
  def configure
@@ -96,7 +96,7 @@ module Postmark
96
96
  # not always true, but should work I guess
97
97
  html = message.body_html
98
98
  text = message.body_text
99
- if message.multipart?
99
+ if message.multipart?
100
100
  hash["HtmlBody"] = html
101
101
  hash["TextBody"] = text
102
102
  elsif html
data/postmark.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{postmark}
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 = ["Petyo Ivanov"]
12
- s.date = %q{2009-11-16}
12
+ s.date = %q{2009-11-17}
13
13
  s.description = %q{Ruby gem for sending emails through http://postmarkapp.com HTTP API. It relieas on TMail::Mail for message construction.}
14
14
  s.email = %q{underlog@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
38
38
  s.homepage = %q{http://postmarkapp.com}
39
39
  s.rdoc_options = ["--charset=UTF-8"]
40
40
  s.require_paths = ["lib"]
41
- s.rubygems_version = %q{1.3.4}
41
+ s.rubygems_version = %q{1.3.5}
42
42
  s.summary = %q{Ruby gem for sending emails through http://postmarkapp.com HTTP API}
43
43
  s.test_files = [
44
44
  "spec/postmark_spec.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petyo Ivanov
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-16 00:00:00 +02:00
12
+ date: 2009-11-17 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements: []
93
93
 
94
94
  rubyforge_project:
95
- rubygems_version: 1.3.4
95
+ rubygems_version: 1.3.5
96
96
  signing_key:
97
97
  specification_version: 3
98
98
  summary: Ruby gem for sending emails through http://postmarkapp.com HTTP API