schleuder 2.2.2 → 2.2.3

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.tar.gz.sig CHANGED
Binary file
@@ -113,7 +113,11 @@ module Schleuder
113
113
  end
114
114
  # If all parts are equally encrypted and signed mark the whole message as such
115
115
  self.in_encrypted = self.parts.map{ |p| p.in_encrypted }.uniq == [true]
116
- if self.parts.map { |p| p.in_signed.fpr }.uniq.size == 1
116
+ partsigs = self.parts.map do |p|
117
+ # Can't use to_s here, gpgme bombs.
118
+ p.in_signed.respond_to?(:fpr) ? p.in_signed.fpr : p.in_signed
119
+ end
120
+ if partsigs.uniq.size == 1
117
121
  self.in_signed = self.parts.first.in_signed
118
122
  end
119
123
  else
@@ -1,3 +1,3 @@
1
1
  module Schleuder
2
- VERSION = '2.2.2'
2
+ VERSION = '2.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schleuder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -38,7 +38,7 @@ cert_chain:
38
38
  Zi9BZ3l3UVdGZDRGV2VNV0xQeXRkK1VndzZCSmZSSXY2VC9OTVJKWWRIUDJW
39
39
  M1RTUVJyTApSYXNUTTVlUzIrK3EwQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
40
40
  LS0tLS0K
41
- date: 2012-07-01 00:00:00.000000000 Z
41
+ date: 2012-07-04 00:00:00.000000000 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: gpgme
metadata.gz.sig CHANGED
Binary file