README.rdoc in attached-0.5.9 vs README.rdoc in attached-0.6.0
- old
+ new
@@ -4,10 +4,11 @@
== Requirements
The gem is tested with:
+* Ruby on Rails 4.0.0.rc
* Ruby on Rails 3.1.9
* Ruby on Rails 3.2.10
* Ruby (MRI) 2.0.0
* Ruby (MRI) 1.9.3
* Ruby (MRI) 1.9.2
@@ -157,18 +158,23 @@
rake attached:process[Audio,file]
=== Aliases
# app/initializer/attached.rb
- Attached::Attachment.options[:alias] = https://storage.ksylvest.com/
+ Attached::Attachment.options[:alias] = "https://storage.ksylvest.com/"
# app/initializer/attached.rb
Attached::Attachment.options[:aliases] = %w(
https://a.storage.ksylvest.com/
https://b.storage.ksylvest.com/
https://c.storage.ksylvest.com/
https://d.storage.ksylvest.com/
)
+
+=== Metadata
+
+ # app/initializers/attached.rb
+ Attached::Attachment.options[:metadata] = { 'Cache-Control' => 'max-age=3153600' }
== Status
{<img src="https://travis-ci.org/ksylvest/attached.png" />}[https://travis-ci.org/ksylvest/attached]
{<img src="https://codeclimate.com/github/ksylvest/attached.png" />}[https://codeclimate.com/github/ksylvest/attached]