malone 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/malone.rb +3 -1
  3. data/malone.gemspec +2 -2
  4. metadata +9 -15
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 801ac23610ff25c73bfee7491db4e6dd3579bb9d
4
+ data.tar.gz: dee85dd144618ce9d31c6a68f3d1bd030cc7c950
5
+ SHA512:
6
+ metadata.gz: c4ffbd9bd6a2313c5955eef2af732b4af75b98d858e4ba1b282785c2fa8e7a2b98a98324519f39d2aea21ed3dcd853eae020342b2e8ce090ef95964de36ce6a8
7
+ data.tar.gz: e3180d5b36efcd71c50550356ea0c7c5b56401b64a14e94887faef1b123046db20688de3da6c1a52f11c7da5988341e2fd4a1199fc92c9fee98c663efcb141a7
@@ -60,7 +60,9 @@ class Malone
60
60
  envelope.rawhtml = dict[:html] if dict[:html]
61
61
  envelope.subject = dict[:subject]
62
62
 
63
- envelope.attach(dict[:attach]) if dict[:attach]
63
+ Array(dict[:attach]).each do |file|
64
+ envelope.attach(file)
65
+ end
64
66
 
65
67
  return envelope
66
68
  end
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'malone'
3
- s.version = "1.0.4"
3
+ s.version = "1.0.5"
4
4
  s.summary = %{Dead-simple Ruby mailing solution which always delivers.}
5
5
  s.date = "2011-01-10"
6
6
  s.author = "Cyril David"
7
- s.email = "me@cyrildavid.com"
7
+ s.email = "cyx@cyx.is"
8
8
  s.homepage = "http://github.com/cyx/malone"
9
9
 
10
10
  s.files = Dir[
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: malone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Cyril David
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: mailfactory
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,21 +27,19 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: cutest
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description:
47
- email: me@cyrildavid.com
42
+ email: cyx@cyx.is
48
43
  executables: []
49
44
  extensions: []
50
45
  extra_rdoc_files: []
@@ -59,26 +54,25 @@ files:
59
54
  - malone.gemspec
60
55
  homepage: http://github.com/cyx/malone
61
56
  licenses: []
57
+ metadata: {}
62
58
  post_install_message:
63
59
  rdoc_options: []
64
60
  require_paths:
65
61
  - lib
66
62
  required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
63
  requirements:
69
- - - ! '>='
64
+ - - '>='
70
65
  - !ruby/object:Gem::Version
71
66
  version: '0'
72
67
  required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
68
  requirements:
75
- - - ! '>='
69
+ - - '>='
76
70
  - !ruby/object:Gem::Version
77
71
  version: '0'
78
72
  requirements: []
79
73
  rubyforge_project:
80
- rubygems_version: 1.8.23
74
+ rubygems_version: 2.0.3
81
75
  signing_key:
82
- specification_version: 3
76
+ specification_version: 4
83
77
  summary: Dead-simple Ruby mailing solution which always delivers.
84
78
  test_files: []