diff --git a/README.md b/README.md index 4a648c1..ead9b2f 100644 --- a/README.md +++ b/README.md @@ -72,15 +72,16 @@ There are also noscript styles for Browsers with Javascript disabled, to use the The `jquery.iframe-transport` fallback transport has some special caveats regarding the response data type, http status, and character encodings. `jquery-fileupload-rails` includes a middleware that handles these inconsistencies seamlessly. If you decide to use it, create an initializer that adds the middleware to your application's middleware stack. - Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware +```ruby +Rails.application.config.middleware.use JQuery::FileUpload::Rails::Middleware +``` ## Example apps [jquery-fileupload-rails-paperclip-example](https://github.com/tors/jquery-fileupload-rails-paperclip-example): jQuery File Upload in Rails 3.2 with Paperclip and Bootstrap [rails-resumable-jquery-fileupload](https://github.com/vgantchev/rails-resumable-jquery-fileupload): resumable (chunked) uploads with jQuery File Upload in Rails 4.2 using Paperclip -You can also check out Ryan Bate's RailsCast [jQuery File Upload episode](http://railscasts.com/episodes/381-jquery-file-upload). You will -need a pro account to watch it though. +You can also check out Ryan Bate's RailsCast [jQuery File Upload episode](http://railscasts.com/episodes/381-jquery-file-upload). ## Thanks diff --git a/jquery-fileupload-rails.gemspec b/jquery-fileupload-rails.gemspec index cb88ca0..1ea0b7f 100644 --- a/jquery-fileupload-rails.gemspec +++ b/jquery-fileupload-rails.gemspec @@ -21,5 +21,5 @@ Gem::Specification.new do |s| s.add_dependency 'railties', '>= 3.1' s.add_dependency 'actionpack', '>= 3.1' s.add_development_dependency 'rails', '>= 3.1' - s.add_runtime_dependency 'sass', '>= 3.2' + s.add_dependency 'sassc' end diff --git a/lib/jquery/fileupload/rails/version.rb b/lib/jquery/fileupload/rails/version.rb index da27428..83e8d80 100644 --- a/lib/jquery/fileupload/rails/version.rb +++ b/lib/jquery/fileupload/rails/version.rb @@ -1,7 +1,7 @@ module JQuery module FileUpload module Rails - VERSION = "0.4.6" + VERSION = "1.0.0" end end end