Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using encode64 instead of b64encode.

No more Base64 noise on STDOUT, yeah !
  • Loading branch information...
commit da1dc1f7fd1bfe727229cf74a1b528597f84c5f0 1 parent d2856f9
@kurotoshiro authored
Showing with 5 additions and 6 deletions.
  1. +1 −1  lib/simpleMailer.rb
  2. +4 −5 simpleMailer.gemspec
View
2  lib/simpleMailer.rb
@@ -57,7 +57,7 @@ def generate_file_part(file)
filename=File.basename(file)
part=String.new
File.open(file) do |f|
- b64file=Base64.b64encode(f.read)
+ b64file=Base64.encode64(f.read)
end
part =<<EOF
--#{MARKER}
View
9 simpleMailer.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{simpleMailer}
- s.version = "0.1.6"
+ s.version = "0.1.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Yoann LE TOUCHE"]
- s.date = %q{2009-08-31}
+ s.date = %q{2009-09-04}
s.description = %q{SimpleMailer is a simple wrapper for net::smtp that let you attach files}
s.email = %q{kurotoshiro@gmail.com}
s.extra_rdoc_files = [
@@ -28,11 +28,10 @@ Gem::Specification.new do |s|
"test/simpleMailer_test.rb",
"test/test_helper.rb"
]
- s.has_rdoc = true
s.homepage = %q{http://github.com/Kurotoshiro/simpleMailer}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.1}
+ s.rubygems_version = %q{1.3.5}
s.summary = %q{A simple mailer gem}
s.test_files = [
"test/test_helper.rb",
@@ -41,7 +40,7 @@ Gem::Specification.new do |s|
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
+ s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<shared-mime-info>, [">= 0"])
Please sign in to comment.
Something went wrong with that request. Please try again.