simpleMailer 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/lib/simpleMailer.rb +1 -1
- data/simpleMailer.gemspec +4 -5
- metadata +6 -4
data/README.rdoc
CHANGED
@@ -8,16 +8,16 @@ SimpleMailer is a very simple wrapper for Ruby's net::smtp
|
|
8
8
|
require "simpleMailer"
|
9
9
|
|
10
10
|
mail=SimpleMailer.new("some.smtp.com",port=25)
|
11
|
-
mail.to("foo@bar.com")
|
11
|
+
mail.to(["foo@bar.com","john.doe@foobar.org"])
|
12
12
|
mail.from("simple@mailer.com")
|
13
|
-
mail.
|
13
|
+
mail.title("That's some title for you")
|
14
14
|
mail.message("Later you will be able to use HTML")
|
15
|
-
mail.
|
15
|
+
mail.attach_files(["/tmp/awesome.file","~/archive.tbz2"])
|
16
16
|
mail.send # Nothing is really done before this point
|
17
17
|
|
18
18
|
But you could have :
|
19
19
|
|
20
|
-
mail.to("foo@bar").from("foo@bar").
|
20
|
+
mail.to(["foo@bar"]).from("foo@bar").title("title").message("message").send
|
21
21
|
|
22
22
|
== Testing
|
23
23
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
data/lib/simpleMailer.rb
CHANGED
data/simpleMailer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{simpleMailer}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Yoann LE TOUCHE"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-09-04}
|
13
13
|
s.description = %q{SimpleMailer is a simple wrapper for net::smtp that let you attach files}
|
14
14
|
s.email = %q{kurotoshiro@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -28,11 +28,10 @@ Gem::Specification.new do |s|
|
|
28
28
|
"test/simpleMailer_test.rb",
|
29
29
|
"test/test_helper.rb"
|
30
30
|
]
|
31
|
-
s.has_rdoc = true
|
32
31
|
s.homepage = %q{http://github.com/Kurotoshiro/simpleMailer}
|
33
32
|
s.rdoc_options = ["--charset=UTF-8"]
|
34
33
|
s.require_paths = ["lib"]
|
35
|
-
s.rubygems_version = %q{1.3.
|
34
|
+
s.rubygems_version = %q{1.3.5}
|
36
35
|
s.summary = %q{A simple mailer gem}
|
37
36
|
s.test_files = [
|
38
37
|
"test/test_helper.rb",
|
@@ -41,7 +40,7 @@ Gem::Specification.new do |s|
|
|
41
40
|
|
42
41
|
if s.respond_to? :specification_version then
|
43
42
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
44
|
-
s.specification_version =
|
43
|
+
s.specification_version = 3
|
45
44
|
|
46
45
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
47
46
|
s.add_runtime_dependency(%q<shared-mime-info>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpleMailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoann LE TOUCHE
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-04 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -54,6 +54,8 @@ files:
|
|
54
54
|
- test/test_helper.rb
|
55
55
|
has_rdoc: true
|
56
56
|
homepage: http://github.com/Kurotoshiro/simpleMailer
|
57
|
+
licenses: []
|
58
|
+
|
57
59
|
post_install_message:
|
58
60
|
rdoc_options:
|
59
61
|
- --charset=UTF-8
|
@@ -74,9 +76,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
76
|
requirements: []
|
75
77
|
|
76
78
|
rubyforge_project:
|
77
|
-
rubygems_version: 1.3.
|
79
|
+
rubygems_version: 1.3.5
|
78
80
|
signing_key:
|
79
|
-
specification_version:
|
81
|
+
specification_version: 3
|
80
82
|
summary: A simple mailer gem
|
81
83
|
test_files:
|
82
84
|
- test/test_helper.rb
|