mail 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mail might be problematic. Click here for more details.

data/lib/VERSION CHANGED
@@ -1,4 +1,4 @@
1
1
  major:2
2
2
  minor:3
3
- patch:2
3
+ patch:3
4
4
  build:
@@ -6,7 +6,7 @@ module Mail
6
6
  # So if you have an email going to fred@test, bob@test, joe@anothertest, and you
7
7
  # set your location path to /path/to/mails then FileDelivery will create the directory
8
8
  # if it does not exist, and put one copy of the email in three files, called
9
- # "fred@test", "bob@test" and "joe@anothertest"
9
+ # by their message id
10
10
  #
11
11
  # Make sure the path you specify with :location is writable by the Ruby process
12
12
  # running Mail.
@@ -32,7 +32,7 @@ module Mail
32
32
  end
33
33
 
34
34
  mail.destinations.uniq.each do |to|
35
- ::File.open(::File.join(settings[:location], to), 'a') { |f| "#{f.write(mail.encoded)}\r\n\r\n" }
35
+ ::File.open(::File.join(settings[:location], File.basename(to.to_s)), 'a') { |f| "#{f.write(mail.encoded)}\r\n\r\n" }
36
36
  end
37
37
  end
38
38
 
metadata CHANGED
@@ -1,81 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mail
3
- version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease: false
6
- segments:
7
- - 2
8
- - 3
9
- - 2
10
- version: 2.3.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Mikel Lindsaar
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-03-06 00:00:00 +11:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-14 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: mime-types
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70098729210260 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 47
30
- segments:
31
- - 1
32
- - 16
33
- version: "1.16"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.16'
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: treetop
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70098729210260
25
+ - !ruby/object:Gem::Dependency
26
+ name: treetop
27
+ requirement: &70098729209780 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 23
45
- segments:
46
- - 1
47
- - 4
48
- - 8
31
+ - !ruby/object:Gem::Version
49
32
  version: 1.4.8
50
33
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: i18n
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70098729209780
36
+ - !ruby/object:Gem::Dependency
37
+ name: i18n
38
+ requirement: &70098729209320 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 15
61
- segments:
62
- - 0
63
- - 4
64
- - 0
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
65
43
  version: 0.4.0
66
44
  type: :runtime
67
- version_requirements: *id003
45
+ prerelease: false
46
+ version_requirements: *70098729209320
68
47
  description: A really Ruby Mail handler.
69
48
  email: raasdnil@gmail.com
70
49
  executables: []
71
-
72
50
  extensions: []
73
-
74
- extra_rdoc_files:
51
+ extra_rdoc_files:
75
52
  - README.rdoc
76
53
  - CHANGELOG.rdoc
77
54
  - TODO.rdoc
78
- files:
55
+ files:
79
56
  - README.rdoc
80
57
  - CHANGELOG.rdoc
81
58
  - Dependencies.txt
@@ -213,39 +190,28 @@ files:
213
190
  - lib/tasks/corpus.rake
214
191
  - lib/tasks/treetop.rake
215
192
  - lib/VERSION
216
- has_rdoc: true
217
193
  homepage: http://github.com/mikel/mail
218
194
  licenses: []
219
-
220
195
  post_install_message:
221
196
  rdoc_options: []
222
-
223
- require_paths:
197
+ require_paths:
224
198
  - lib
225
- required_ruby_version: !ruby/object:Gem::Requirement
199
+ required_ruby_version: !ruby/object:Gem::Requirement
226
200
  none: false
227
- requirements:
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- hash: 3
231
- segments:
232
- - 0
233
- version: "0"
234
- required_rubygems_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ! '>='
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
206
  none: false
236
- requirements:
237
- - - ">="
238
- - !ruby/object:Gem::Version
239
- hash: 3
240
- segments:
241
- - 0
242
- version: "0"
207
+ requirements:
208
+ - - ! '>='
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
243
211
  requirements: []
244
-
245
212
  rubyforge_project:
246
- rubygems_version: 1.3.7
213
+ rubygems_version: 1.8.15
247
214
  signing_key:
248
215
  specification_version: 3
249
216
  summary: Mail provides a nice Ruby DSL for making, sending and reading emails.
250
217
  test_files: []
251
-