JasonKing-inline_attachment 0.4.2 → 0.4.3

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.
Files changed (3) hide show
  1. data/README.markdown +17 -1
  2. data/rails/init.rb +1 -0
  3. metadata +3 -2
data/README.markdown CHANGED
@@ -7,6 +7,8 @@ through ActionMailer.
7
7
  Installation
8
8
  ------------
9
9
 
10
+ ### As a Gem ###
11
+
10
12
  To perform a system wide installation:
11
13
 
12
14
  gem source -a http://gems.github.com
@@ -18,6 +20,19 @@ config/environment.rb:
18
20
  config.gem 'JasonKing-inline_attachment', :lib => 'inline_attachment'
19
21
 
20
22
 
23
+ ### As a Rails Plugin ###
24
+
25
+ Use this to install as a plugin in a Ruby on Rails app:
26
+
27
+ $ script/plugin install git://github.com/JasonKing/inline_attachment.git
28
+
29
+ ### As a Rails Plugin (using git submodules) ###
30
+
31
+ Use this if you prefer the idea of being able to easily switch between using edge or a tagged version:
32
+
33
+ $ git submodule add git://github.com/JasonKing/inline_attachment.git vendor/plugins/inline_attachment
34
+
35
+
21
36
  Usage
22
37
  -----
23
38
 
@@ -77,4 +92,5 @@ Contributors
77
92
  ------------
78
93
 
79
94
  * Jason King (JasonKing)
80
- * Matt Griffin (betamatt)
95
+ * Matt Griffin (betamatt) - file:// and chaining cleanup
96
+ * Logan Raarup (logandk) - pluginified
data/rails/init.rb ADDED
@@ -0,0 +1 @@
1
+ require "inline_attachment"
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.2
4
+ version: 0.4.3
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-03-18 00:00:00 -07:00
12
+ date: 2009-03-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -31,6 +31,7 @@ extensions: []
31
31
  extra_rdoc_files: []
32
32
 
33
33
  files:
34
+ - rails/init.rb
34
35
  - README.markdown
35
36
  - lib/inline_attachment.rb
36
37
  has_rdoc: true