JasonKing-inline_attachment 0.4.1 → 0.4.2
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/README.markdown +5 -2
- metadata +2 -2
data/README.markdown
CHANGED
@@ -15,7 +15,7 @@ To perform a system wide installation:
|
|
15
15
|
To use inline_attachment in your project, add the following line to your project's
|
16
16
|
config/environment.rb:
|
17
17
|
|
18
|
-
config.gem 'inline_attachment'
|
18
|
+
config.gem 'JasonKing-inline_attachment', :lib => 'inline_attachment'
|
19
19
|
|
20
20
|
|
21
21
|
Usage
|
@@ -43,7 +43,7 @@ so little code required!
|
|
43
43
|
end
|
44
44
|
|
45
45
|
Oh yeah baby! Read it and weep! So how's this work? Well, you'll need
|
46
|
-
your templates named properly - see the
|
46
|
+
your templates named properly - see the _Multipart email_ section of the
|
47
47
|
ActionMailer::Base docs.
|
48
48
|
|
49
49
|
#### signup.text.plain.erb
|
@@ -61,6 +61,9 @@ That's it! InlineAttachment will look for
|
|
61
61
|
inline into the HTML version of the email. ActionMailer will do the right thing
|
62
62
|
and offer the recipient both the `text/plain` and `text/html` parts as alternatives.
|
63
63
|
|
64
|
+
**Note the filenames include the (unusual) major.minor MIME type, look above at
|
65
|
+
the filenames closely.**
|
66
|
+
|
64
67
|
|
65
68
|
Note, that you should still be able to use this in the 0.3.0 way if you have
|
66
69
|
code that uses that. But there were a lot of alternatives, and the examples in
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: JasonKing-inline_attachment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason King
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|