Skip to content

Commit

Permalink
rename Paperclippped => Radiant Assets Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jlong committed Mar 22, 2011
1 parent ab37c55 commit f510329
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions HELP_admin.markdown
@@ -1,12 +1,12 @@
Paperclipped
---
Radiant Assets Extension
------------------------

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.
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.


###Installation

To install paperclipped, just run
To install the Radiant assets extension, just run

rake production db:migrate:extensions
rake production radiant:extensions:paperclipped:update
Expand All @@ -19,7 +19,7 @@ If you install the Setting Extension (highly recommended), you can also easily a

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).

###Using Paperclipped
###Usage

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.

Expand Down
5 changes: 3 additions & 2 deletions LICENSE
@@ -1,5 +1,6 @@
== MIT License


Copyright (c) 2011 Keith Bingman, Benny Degezelle, William Ross, and John W. Long
Copyright (c) 2008-2010, Keith Bingman

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
12 changes: 6 additions & 6 deletions Rakefile
@@ -1,12 +1,12 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "radiant-paperclipped-extension"
gem.summary = %Q{Paperclipped extension for Radiant CMS}
gem.description = %Q{Assets extension based on the lightweight Paperclip plugin.}
gem.email = "benny@gorilla-webdesign.be"
gem.homepage = "https://github.com/jomz/paperclipped"
gem.authors = ["Keith Bingman"]
gem.name = "radiant-assets-extension"
gem.summary = %Q{Assets extension for Radiant CMS}
gem.description = %Q{Assets extension based Keith Bingman's excellent Paperclipped extension.}
gem.email = "me@johnwlong.com"
gem.homepage = "https://github.com/radiant/paperclipped"
gem.authors = ["Keith Bingman", "Benny Degezelle", "William Ross", "John W. Long"]
gem.add_dependency 'radiant', ">=0.9.1"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Expand Down
7 changes: 3 additions & 4 deletions paperclipped_extension.rb → assets_extension.rb
Expand Up @@ -2,13 +2,12 @@
require File.dirname(__FILE__) + '/lib/url_additions'
include UrlAdditions

class PaperclippedExtension < Radiant::Extension
class AssetsExtension < Radiant::Extension
version "0.8.1"
description "Assets extension based on the lightweight Paperclip plugin."
url "http://github.com/kbingman/paperclipped"
description "Assets extension based Keith Bingman's original Paperclipped extension."
url "http://github.com/radiant/radiant-assets-extension"

def activate

Radiant::AdminUI.send :include, AssetsAdminUI unless defined? admin.asset # UI is a singleton and already loaded
admin.asset = Radiant::AdminUI.load_default_asset_regions

Expand Down

0 comments on commit f510329

Please sign in to comment.