Skip to content

Commit b0c76b7

Browse files
committed
remove warning
1 parent a23d2cc commit b0c76b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pony.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def set_content_type(mail, user_content_type)
313313

314314
def add_attachments(mail, attachments)
315315
attachments.each do |name, body|
316-
name = name.gsub /\s+/, ' '
316+
name = name.gsub(/\s+/, ' ')
317317

318318
# mime-types wants to send these as "quoted-printable"
319319
if name =~ /\.xlsx$/

pony.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'pony'
3-
s.version = "1.13"
3+
s.version = "1.13.1"
44

55
s.summary = "Send email in one command: Pony.mail(:to => '[email protected]', :body => 'hello')"
66
s.description = s.summary

0 commit comments

Comments
 (0)