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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d68f8c618073554bf5b567868ee99e180d09caa6e9a8b157a55c3963206eccc
4
- data.tar.gz: 1eeb22f0bf9cd1665f5d196adbe0f0c4f728d61b615afa2bc0b910ce3c7c0d59
3
+ metadata.gz: efbd522270f3b5117699a34ecc2770d7b8ae99adfef53f5b4583d44751a793f8
4
+ data.tar.gz: '08fe926a74261382c5ab07b2f870d0a90e26743f14c2038b4f05a03b9cf939dc'
5
5
  SHA512:
6
- metadata.gz: c78e30bebe10847627ba55b71da721eae6180d53dba1b65524650060b575350e4ece1f563579061a2803481dc0bb2db90392345e938b285f7ec61780c8ce7d68
7
- data.tar.gz: 2cff0b191670306a19444f571827fe5511beb129eb0e6940189c003e6dfbfc38378c3152694e8c6e86965c700b48cc6da9a19158de9300b5db33351bff49e977
6
+ metadata.gz: 44229a540b0c1397fed9787375608798ad5420fb76bee795ede3b8920d28695eea18a25451c963dc96bbcdd58e6b1345a7395188e760b431fe93a383247325b4
7
+ data.tar.gz: dccdb7449eb51f0a4fc9de41f522a57fc6f08a0811481a980d355295e0da051fef8b6f2978a511165b78097e7ad8301ab63e2399c27a4ff8e81cc22815e56a32
@@ -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.blank?
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
 
@@ -1,3 +1,3 @@
1
1
  class Maildir
2
- VERSION = '2.2.2'
2
+ VERSION = '2.2.3'
3
3
  end
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.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: 2020-04-04 00:00:00.000000000 Z
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/message.rb
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
- - test/helper.rb
106
- - test/test_maildir.rb
107
- - test/test_message.rb
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
- rubyforge_project:
130
- rubygems_version: 2.7.6.2
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: