simpleMailer 0.1.7 → 0.1.8

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/lib/simpleMailer.rb CHANGED
@@ -82,9 +82,8 @@ Content-Type: multipart/mixed; boundary=#{MARKER}
82
82
  Content-Type: text/plain
83
83
  Content-Transfer-Encoding:8bit
84
84
 
85
- #{@message}
86
-
87
85
  EOF
86
+ @body+=@message+"\n\n"
88
87
  # Time to process our files
89
88
  @files.each do |file|
90
89
  @body+=generate_file_part(file)
data/simpleMailer.gemspec CHANGED
@@ -1,48 +1,46 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{simpleMailer}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
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-09-04}
12
+ s.date = %q{2010-11-18}
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 = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "lib/simpleMailer.rb",
27
- "simpleMailer.gemspec",
28
- "test/simpleMailer_test.rb",
29
- "test/test_helper.rb"
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "lib/simpleMailer.rb",
26
+ "simpleMailer.gemspec",
27
+ "test/simpleMailer_test.rb",
28
+ "test/test_helper.rb"
30
29
  ]
31
30
  s.homepage = %q{http://github.com/Kurotoshiro/simpleMailer}
32
- s.rdoc_options = ["--charset=UTF-8"]
33
31
  s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.5}
32
+ s.rubygems_version = %q{1.3.7}
35
33
  s.summary = %q{A simple mailer gem}
36
34
  s.test_files = [
37
- "test/test_helper.rb",
38
- "test/simpleMailer_test.rb"
35
+ "test/simpleMailer_test.rb",
36
+ "test/test_helper.rb"
39
37
  ]
40
38
 
41
39
  if s.respond_to? :specification_version then
42
40
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
41
  s.specification_version = 3
44
42
 
45
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
46
44
  s.add_runtime_dependency(%q<shared-mime-info>, [">= 0"])
47
45
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
48
46
  else
@@ -54,3 +52,4 @@ Gem::Specification.new do |s|
54
52
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
55
53
  end
56
54
  end
55
+
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpleMailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ hash: 11
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 8
10
+ version: 0.1.8
5
11
  platform: ruby
6
12
  authors:
7
13
  - Yoann LE TOUCHE
@@ -9,29 +15,37 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-09-04 00:00:00 +02:00
18
+ date: 2010-11-18 00:00:00 +01:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: shared-mime-info
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
23
32
  version: "0"
24
- version:
33
+ type: :runtime
34
+ version_requirements: *id001
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: thoughtbot-shoulda
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
30
40
  requirements:
31
41
  - - ">="
32
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
33
46
  version: "0"
34
- version:
47
+ type: :development
48
+ version_requirements: *id002
35
49
  description: SimpleMailer is a simple wrapper for net::smtp that let you attach files
36
50
  email: kurotoshiro@gmail.com
37
51
  executables: []
@@ -43,7 +57,6 @@ extra_rdoc_files:
43
57
  - README.rdoc
44
58
  files:
45
59
  - .document
46
- - .gitignore
47
60
  - LICENSE
48
61
  - README.rdoc
49
62
  - Rakefile
@@ -57,29 +70,35 @@ homepage: http://github.com/Kurotoshiro/simpleMailer
57
70
  licenses: []
58
71
 
59
72
  post_install_message:
60
- rdoc_options:
61
- - --charset=UTF-8
73
+ rdoc_options: []
74
+
62
75
  require_paths:
63
76
  - lib
64
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
65
79
  requirements:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
68
85
  version: "0"
69
- version:
70
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
71
88
  requirements:
72
89
  - - ">="
73
90
  - !ruby/object:Gem::Version
91
+ hash: 3
92
+ segments:
93
+ - 0
74
94
  version: "0"
75
- version:
76
95
  requirements: []
77
96
 
78
97
  rubyforge_project:
79
- rubygems_version: 1.3.5
98
+ rubygems_version: 1.3.7
80
99
  signing_key:
81
100
  specification_version: 3
82
101
  summary: A simple mailer gem
83
102
  test_files:
84
- - test/test_helper.rb
85
103
  - test/simpleMailer_test.rb
104
+ - test/test_helper.rb
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg