ruby-gmail 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.0.6 / 2009-12-21
2
+
3
+ * 1 bugfix
4
+
5
+ * Fixed multipart parsing for when the boundary is marked in quotes.
6
+
1
7
  === 0.0.5 / 2009-12-16
2
8
 
3
9
  * 1 bugfix
data/lib/gmail.rb CHANGED
@@ -3,7 +3,7 @@ require 'net/smtp'
3
3
  require 'smtp_tls'
4
4
 
5
5
  class Gmail
6
- VERSION = '0.0.5'
6
+ VERSION = '0.0.6'
7
7
 
8
8
  class NoLabel < RuntimeError; end
9
9
 
data/lib/ietf/rfc2045.rb CHANGED
@@ -4,7 +4,7 @@ module IETF
4
4
  def self.parse_rfc2045_from(raw)
5
5
  headers, raw = IETF::RFC822.parse_rfc822_from(raw)
6
6
 
7
- if headers['content-type'] =~ /multipart\/(\w+); boundary=(.*)/
7
+ if headers['content-type'] =~ /multipart\/(\w+); boundary=([\"\']?)(.*)\2/
8
8
  content = {}
9
9
  content[:type] = $1
10
10
  content[:boundary] = $2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-gmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Parker
@@ -30,7 +30,7 @@ cert_chain:
30
30
  teST6sOe8lUhZQ==
31
31
  -----END CERTIFICATE-----
32
32
 
33
- date: 2009-12-16 00:00:00 -05:00
33
+ date: 2009-12-21 00:00:00 -05:00
34
34
  default_executable:
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file