-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Multiple attachments supported * JS simplified * Testing against Rails 3.2 and Rails 4 * Refactored updating into Updater class * Removed most helpers * Convered link helper to form helper * Updated Readme
- Loading branch information
Showing
30 changed files
with
1,220 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
appraise "rails3_2" do | ||
gem "rails", "~> 3.2.17" | ||
end | ||
|
||
appraise "rails4" do | ||
gem "rails", "~> 4.0.3" | ||
end | ||
|
||
appraise "paperclip3_5" do | ||
gem "paperclip", "~> 3.5.1" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
source "http://rubygems.org" | ||
|
||
gemspec | ||
|
||
gem 'byebug' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
require "rubygems" | ||
require "bundler/setup" | ||
|
||
require 'appraisal' | ||
|
||
require "bundler/gem_tasks" | ||
require "rspec/core" | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
# spec is default task | ||
task :default => :spec | ||
desc 'Default: run tests.' | ||
task :default => ['appraisal:install', :all] | ||
|
||
desc "Run tests for all rails versions" | ||
task :all do | ||
exec('rake appraisal spec') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
TODO: | ||
### TODO: | ||
|
||
Frontend: | ||
* Eliminate need for jQuery | ||
* Handle all filepicker options | ||
# extensions config | ||
# store location (s3) | ||
# drag/drop ? | ||
# Secure filepicker policy/signature | ||
|
||
Backend: | ||
* handle multiple attachments on a model, prefix column with attachment name | ||
* create generator for migration | ||
* create generator for intializer | ||
* Normalize filenames | ||
|
||
Frontend: | ||
* Eliminate need for jQuery | ||
* make it a form builder function that can accept a different url name | ||
|
||
Extra features: | ||
* Work with DelayedJob | ||
* Fallback to filepicker url if paperclip url doesn't exist | ||
* Filepicker converts to match paperclip styles | ||
* FilePicker droppane support | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "http://rubygems.org" | ||
|
||
gem "byebug" | ||
gem "paperclip", "~> 3.5.1" | ||
|
||
gemspec :path=>"../" |
Oops, something went wrong.