gurgitate-mail 1.10.10 → 1.10.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 578b870727d42aad907a83379eff2df9dab9c704
4
- data.tar.gz: f76eaacb28f9cbc0582241dacc17f82db06a5013
3
+ metadata.gz: ecd9c0e10ec0e29c3c5118cd621e0a7eb144a79d
4
+ data.tar.gz: 1ce4b2d62274f139cbf9a40d9b852e856b40b305
5
5
  SHA512:
6
- metadata.gz: b636bf531b2c0a5d217d9a673d9b52e3cd7fa01ae8306380f7a8d3e0cb97778dfcc0eec7e0b1774fb247c1b542da34899b5612bdb2e176f0ea7887ce08326434
7
- data.tar.gz: a99dacff953b461fce793845509976505e9e2840d272dd18a4c96e1427810c4d94a794b0d7d949250dedd6c9eeed273872d9a380e3db58a5034834ff2d1cf0cb
6
+ metadata.gz: 55693e5d10f2ae9159a675b74fa1a8e18ae8bb57829056fcb3ce858f65878a0827601885e0b09e0d57f7615f23086561a40fdd38dc79884db65deff4f3ce7b66
7
+ data.tar.gz: 449042f2f60c2432acfcb0e7923f3ea8e3e87dd667187c0c6ac2ce9ae41ed976fcb1e11532ad906cc3cc815f9dbe942b86dfe98152bfe39abcb90703a5619f39
@@ -89,7 +89,7 @@ module Gurgitate
89
89
  def self.attr_configparam(*syms)
90
90
  syms.each do |sym|
91
91
  class_eval %{
92
- def #{sym} (*vals)
92
+ def #{sym} *vals
93
93
  if vals.length == 1
94
94
  @#{sym} = vals[0]
95
95
  elsif vals.length == 0
@@ -58,14 +58,14 @@ module Gurgitate
58
58
  end
59
59
 
60
60
  # Extended header
61
- def << (text)
61
+ def << text
62
62
  @contents += "\n" + text
63
63
  end
64
64
 
65
65
  # Matches a header's contents.
66
66
  # regex::
67
67
  # The regular expression to match against the header's contents
68
- def matches (regex)
68
+ def matches regex
69
69
  if String === regex
70
70
  regex = Regexp.new(Regexp.escape(regex))
71
71
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gurgitate-mail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.10
4
+ version: 1.10.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Brown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2017-07-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  gurgitate-mail is a mail filter. It can be used as a module or
@@ -68,24 +68,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: '0'
69
69
  requirements: []
70
70
  rubyforge_project:
71
- rubygems_version: 2.4.5
71
+ rubygems_version: 2.6.11
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: gurgitate-mail is a mail filter (and a mail-delivery agent)
75
75
  test_files:
76
- - test/test_writing.rb
76
+ - test/gurgitate-test.rb
77
+ - test/test_gurgitate_delivery.rb
77
78
  - test/test_headers_meddling_with_headers.rb
79
+ - test/test_mail_headers_meddling_with_headers.rb
80
+ - test/test_headers.rb
81
+ - test/test_delivery.rb
82
+ - test/test_configuration.rb
83
+ - test/test_writing.rb
84
+ - test/test_headers_creating_from_hash.rb
78
85
  - test/test_rules.rb
79
86
  - test/test_execute_rules.rb
80
- - test/test_mail_headers.rb
81
- - test/test_gurgitate_delivery.rb
82
- - test/runtests.rb
83
87
  - test/test_deliver.rb
84
88
  - test/test_process.rb
85
- - test/test_mail_headers_meddling_with_headers.rb
86
- - test/test_configuration.rb
89
+ - test/runtests.rb
87
90
  - test/test_header.rb
88
- - test/test_delivery.rb
89
- - test/test_headers_creating_from_hash.rb
90
- - test/gurgitate-test.rb
91
- - test/test_headers.rb
91
+ - test/test_mail_headers.rb