Skip to content
This repository
Browse code

rename Paperclippped => Radiant Assets Extension

  • Loading branch information...
commit f5103295c75bf368a2328418c09258d4f3d1b7d8 1 parent ab37c55
John W. Long authored
10  HELP_admin.markdown
Source Rendered
... ...
@@ -1,12 +1,12 @@
1  
-Paperclipped
2  
----
  1
+Radiant Assets Extension
  2
+------------------------
3 3
 
4  
-Paperclip is a new file management plugin from Thoughtbot which has a  few advantages over attachment_fu: it doesn't use RMagick, which uses a lot of RAM and is a bit of overkill for just making thumbnails. Instead it directly uses ImageMagick, making it much easier to install. 
  4
+Paperclip is a new file management plugin from Thoughtbot which has a few advantages over attachment_fu: it doesn't use RMagick, which uses a lot of RAM and is a bit of overkill for just making thumbnails. Instead it directly uses ImageMagick, making it much easier to install. 
5 5
 
6 6
 
7 7
 ###Installation
8 8
 
9  
-To install paperclipped, just run 
  9
+To install the Radiant assets extension, just run 
10 10
  
11 11
 	rake production db:migrate:extensions
12 12
 	rake production radiant:extensions:paperclipped:update
@@ -19,7 +19,7 @@ If you install the Setting Extension (highly recommended), you can also easily a
19 19
 
20 20
 The configuration settings also enable a list of the allowed file types, maximum file size and should you need it, the path to your installation of Image Magick (this should not be needed, but I sometimes had a problem when using mod_rails).
21 21
 
22  
-###Using Paperclipped
  22
+###Usage
23 23
 
24 24
 Once installed, you get a new Tab with the entire assets library, a Bucket à la Mephisto (though only the concept is stolen) and a search. You can also easily attach assets to any page and directly upload them to a page.
25 25
 
5  LICENSE
... ...
@@ -1,5 +1,6 @@
1 1
 == MIT License
2  
- 
  2
+
  3
+Copyright (c) 2011 Keith Bingman, Benny Degezelle, William Ross, and John W. Long
3 4
 Copyright (c) 2008-2010, Keith Bingman
4 5
  
5 6
 Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 19
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 20
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 21
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  
-SOFTWARE.
  22
+SOFTWARE.
12  Rakefile
... ...
@@ -1,12 +1,12 @@
1 1
 begin
2 2
   require 'jeweler'
3 3
   Jeweler::Tasks.new do |gem|
4  
-    gem.name = "radiant-paperclipped-extension"
5  
-    gem.summary = %Q{Paperclipped extension for Radiant CMS}
6  
-    gem.description = %Q{Assets extension based on the lightweight Paperclip plugin.}
7  
-    gem.email = "benny@gorilla-webdesign.be"
8  
-    gem.homepage = "https://github.com/jomz/paperclipped"
9  
-    gem.authors = ["Keith Bingman"]
  4
+    gem.name = "radiant-assets-extension"
  5
+    gem.summary = %Q{Assets extension for Radiant CMS}
  6
+    gem.description = %Q{Assets extension based Keith Bingman's excellent Paperclipped extension.}
  7
+    gem.email = "me@johnwlong.com"
  8
+    gem.homepage = "https://github.com/radiant/paperclipped"
  9
+    gem.authors = ["Keith Bingman", "Benny Degezelle", "William Ross", "John W. Long"]
10 10
     gem.add_dependency 'radiant', ">=0.9.1"
11 11
     # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
12 12
   end
7  paperclipped_extension.rb → assets_extension.rb
@@ -2,13 +2,12 @@
2 2
 require File.dirname(__FILE__) + '/lib/url_additions'
3 3
 include UrlAdditions
4 4
 
5  
-class PaperclippedExtension < Radiant::Extension
  5
+class AssetsExtension < Radiant::Extension
6 6
   version "0.8.1"
7  
-  description "Assets extension based on the lightweight Paperclip plugin."
8  
-  url "http://github.com/kbingman/paperclipped"
  7
+  description "Assets extension based Keith Bingman's original Paperclipped extension."
  8
+  url "http://github.com/radiant/radiant-assets-extension"
9 9
   
10 10
   def activate
11  
-    
12 11
     Radiant::AdminUI.send :include, AssetsAdminUI unless defined? admin.asset # UI is a singleton and already loaded
13 12
     admin.asset = Radiant::AdminUI.load_default_asset_regions
14 13
     

0 notes on commit f510329

Please sign in to comment.
Something went wrong with that request. Please try again.