mail 2.4.3 → 2.4.4

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.

@@ -1,5 +1,9 @@
1
1
  == HEAD
2
2
 
3
+ == Version 2.4.4 - Wed Mar 14 22:44:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
4
+
5
+ * Fix security vulnerability allowing command line exploit when using file delivery method
6
+
3
7
  == Version 2.4.3 - Tue Mar 6 19:38:00 UTC 2012 Mikel Lindsaar <mikel@reinteractive.net>
4
8
 
5
9
  * Fix security vulnerability allowing command line exploit when using exim or sendmail from the command line
@@ -1,28 +1,23 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- ZenTest (4.4.2)
5
4
  activesupport (3.0.6)
6
- columnize (0.3.6)
5
+ bouncy-castle-java (1.5.0146.1)
7
6
  diff-lcs (1.1.3)
8
7
  i18n (0.5.0)
9
- linecache (0.46)
10
- rbx-require-relative (> 0.0.4)
8
+ jruby-openssl (0.7.4)
9
+ bouncy-castle-java
11
10
  mime-types (1.16)
12
11
  polyglot (0.3.3)
13
- rake (0.8.7)
14
- rbx-require-relative (0.0.5)
15
- rspec (1.3.2)
16
- rspec-core (2.4.0)
17
- rspec-expectations (2.4.0)
12
+ rake (0.9.2.2)
13
+ rspec (2.8.0)
14
+ rspec-core (~> 2.8.0)
15
+ rspec-expectations (~> 2.8.0)
16
+ rspec-mocks (~> 2.8.0)
17
+ rspec-core (2.8.0)
18
+ rspec-expectations (2.8.0)
18
19
  diff-lcs (~> 1.1.2)
19
- rspec-mocks (2.4.0)
20
- ruby-debug (0.10.4)
21
- columnize (>= 0.1)
22
- ruby-debug-base (~> 0.10.4.0)
23
- ruby-debug-base (0.10.4)
24
- linecache (>= 0.3)
25
- ruby-debug-base (0.10.4-java)
20
+ rspec-mocks (2.8.0)
26
21
  treetop (1.4.10)
27
22
  polyglot
28
23
  polyglot (>= 0.3.1)
@@ -32,16 +27,10 @@ PLATFORMS
32
27
  ruby
33
28
 
34
29
  DEPENDENCIES
35
- ZenTest (~> 4.4.0)
36
30
  activesupport (>= 2.3.6)
37
- bundler
38
- diff-lcs
39
31
  i18n (>= 0.4.0)
32
+ jruby-openssl
40
33
  mime-types (~> 1.16)
41
- rake (~> 0.8.7)
42
- rspec (~> 1.3.0)
43
- rspec-core (~> 2.4.0)
44
- rspec-expectations (~> 2.4.0)
45
- rspec-mocks (~> 2.4.0)
46
- ruby-debug
47
- treetop (~> 1.4.8)
34
+ rake (> 0.8.7)
35
+ rspec (~> 2.8.0)
36
+ treetop (~> 1.4.10)
@@ -1,4 +1,4 @@
1
1
  major:2
2
2
  minor:4
3
- patch:3
3
+ patch:4
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,82 +1,59 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mail
3
- version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease: false
6
- segments:
7
- - 2
8
- - 4
9
- - 3
10
- version: 2.4.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.4.4
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: &70305676450460 !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: *70305676450460
25
+ - !ruby/object:Gem::Dependency
26
+ name: treetop
27
+ requirement: &70305676449980 !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: *70305676449980
36
+ - !ruby/object:Gem::Dependency
37
+ name: i18n
38
+ requirement: &70305676449520 !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: *70305676449520
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.md
76
53
  - CONTRIBUTING.md
77
54
  - CHANGELOG.rdoc
78
55
  - TODO.rdoc
79
- files:
56
+ files:
80
57
  - README.md
81
58
  - CONTRIBUTING.md
82
59
  - CHANGELOG.rdoc
@@ -217,39 +194,28 @@ files:
217
194
  - lib/tasks/corpus.rake
218
195
  - lib/tasks/treetop.rake
219
196
  - lib/VERSION
220
- has_rdoc: true
221
197
  homepage: http://github.com/mikel/mail
222
198
  licenses: []
223
-
224
199
  post_install_message:
225
200
  rdoc_options: []
226
-
227
- require_paths:
201
+ require_paths:
228
202
  - lib
229
- required_ruby_version: !ruby/object:Gem::Requirement
203
+ required_ruby_version: !ruby/object:Gem::Requirement
230
204
  none: false
231
- requirements:
232
- - - ">="
233
- - !ruby/object:Gem::Version
234
- hash: 3
235
- segments:
236
- - 0
237
- version: "0"
238
- required_rubygems_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ! '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
239
210
  none: false
240
- requirements:
241
- - - ">="
242
- - !ruby/object:Gem::Version
243
- hash: 3
244
- segments:
245
- - 0
246
- version: "0"
211
+ requirements:
212
+ - - ! '>='
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
247
215
  requirements: []
248
-
249
216
  rubyforge_project:
250
- rubygems_version: 1.3.7
217
+ rubygems_version: 1.8.15
251
218
  signing_key:
252
219
  specification_version: 3
253
220
  summary: Mail provides a nice Ruby DSL for making, sending and reading emails.
254
221
  test_files: []
255
-