Skip to content

gensen/spring-paperclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Paperclip

This is a little library providing some hooks for Spring applications to use Paperclip resources. You just need to add the interface Paperclipped to your Java class files and then you can instantiate a new Resource by specifying your asset host and the model:

new PaperclipResource("http://my-awesome-bucket.s3.amazon.com", myPaperClipResource);

It doesn't handle any special customizations that you could make to your Paperclip models. It just handles the basics out of the box and it relies on your name of your models to agree on the Java and Ruby side.

Requirements

Currently, the library depends on Spring 3.1.1, SLF4J 1.6.4 and the Inflector library (don't have a canonical URL for this one).

License

Spring-Paperclip is Copyright © 2012 General Sensing LTD. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.

About

Wrappers around the Spring ResourceLoader to comply with the Ruby Paperclip library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors