maildir 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maildir/message.rb +1 -3
- data/lib/maildir/version.rb +1 -1
- metadata +14 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efbd522270f3b5117699a34ecc2770d7b8ae99adfef53f5b4583d44751a793f8
|
4
|
+
data.tar.gz: '08fe926a74261382c5ab07b2f870d0a90e26743f14c2038b4f05a03b9cf939dc'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44229a540b0c1397fed9787375608798ad5420fb76bee795ede3b8920d28695eea18a25451c963dc96bbcdd58e6b1345a7395188e760b431fe93a383247325b4
|
7
|
+
data.tar.gz: dccdb7449eb51f0a4fc9de41f522a57fc6f08a0811481a980d355295e0da051fef8b6f2978a511165b78097e7ad8301ab63e2399c27a4ff8e81cc22815e56a32
|
data/lib/maildir/message.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'active_support/core_ext/object/blank'
|
2
|
-
|
3
1
|
class Maildir::Message
|
4
2
|
# COLON seperates the unique name from the info
|
5
3
|
COLON = ':'
|
@@ -142,7 +140,7 @@ class Maildir::Message
|
|
142
140
|
#
|
143
141
|
# flags:: String or Array
|
144
142
|
def remove_flag(flags)
|
145
|
-
return self.flags if flags.
|
143
|
+
return self.flags if !flags || flags.empty?
|
146
144
|
self.flags = self.flags.reject { |f| f =~ /[#{Array(flags).join}]/i }
|
147
145
|
end
|
148
146
|
|
data/lib/maildir/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maildir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Suggs
|
8
8
|
- Todd A. Jacobs
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date:
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -90,27 +90,24 @@ executables: []
|
|
90
90
|
extensions: []
|
91
91
|
extra_rdoc_files: []
|
92
92
|
files:
|
93
|
-
- LICENSE
|
94
|
-
- README.rdoc
|
95
|
-
- Rakefile
|
96
93
|
- lib/maildir.rb
|
97
|
-
- lib/maildir
|
94
|
+
- lib/maildir
|
95
|
+
- lib/maildir/serializer
|
98
96
|
- lib/maildir/serializer/base.rb
|
99
97
|
- lib/maildir/serializer/json.rb
|
100
|
-
- lib/maildir/serializer/mail.rb
|
101
|
-
- lib/maildir/serializer/marshal.rb
|
102
98
|
- lib/maildir/serializer/yaml.rb
|
99
|
+
- lib/maildir/serializer/marshal.rb
|
100
|
+
- lib/maildir/serializer/mail.rb
|
101
|
+
- lib/maildir/message.rb
|
103
102
|
- lib/maildir/unique_name.rb
|
104
103
|
- lib/maildir/version.rb
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
- test/test_serializers.rb
|
109
|
-
- test/test_unique_name.rb
|
104
|
+
- LICENSE
|
105
|
+
- README.rdoc
|
106
|
+
- Rakefile
|
110
107
|
homepage: http://github.com/ktheory/maildir
|
111
108
|
licenses: []
|
112
109
|
metadata: {}
|
113
|
-
post_install_message:
|
110
|
+
post_install_message:
|
114
111
|
rdoc_options:
|
115
112
|
- "--charset=UTF-8"
|
116
113
|
require_paths:
|
@@ -126,9 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
123
|
- !ruby/object:Gem::Version
|
127
124
|
version: 1.3.5
|
128
125
|
requirements: []
|
129
|
-
|
130
|
-
|
131
|
-
signing_key:
|
126
|
+
rubygems_version: 3.1.2
|
127
|
+
signing_key:
|
132
128
|
specification_version: 4
|
133
129
|
summary: Read & write messages in the maildir format
|
134
130
|
test_files:
|