mail-gpg 0.0.3 → 0.0.4

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/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.0.4 2013-08-27
2
+
3
+ * better ActionMailer integration
4
+
1
5
  == 0.0.3 2013-08-20
2
6
 
3
7
  * better ActionMailer integration
data/lib/mail/gpg.rb CHANGED
@@ -43,7 +43,7 @@ module Mail
43
43
  add_part EncryptedPart.new(cleartext_mail,
44
44
  options.merge({recipients: receivers}))
45
45
  content_type "multipart/encrypted; protocol=\"application/pgp-encrypted\"; boundary=#{boundary}"
46
- body.preamble = "This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)"
46
+ body.preamble = options[:preamble] || "This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)"
47
47
  end
48
48
  end
49
49
 
@@ -1,5 +1,5 @@
1
1
  module Mail
2
2
  module Gpg
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-gpg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-23 00:00:00.000000000 Z
12
+ date: 2013-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail