README.md in paperclip-globalize3-2.2.0 vs README.md in paperclip-globalize3-2.3.0
- old
+ new
@@ -1,34 +1,36 @@
# Paperclip::Globalize3
-[![Build Status](https://travis-ci.org/emjot/paperclip-globalize3.png?branch=master)](https://travis-ci.org/emjot/paperclip-globalize3)
+[![Build Status](https://travis-ci.org/emjot/paperclip-globalize3.png?branch=2.x-stable)](https://travis-ci.org/emjot/paperclip-globalize3)
Use locale-specific attachments in your Rails app with [paperclip](https://github.com/thoughtbot/paperclip) and
[globalize](https://github.com/globalize/globalize).
You can transparently read and write your attachments in context of the current locale. E.g. `my_model.my_attachment` returns a different attachment when your current locale is 'en' compared to when your current locale is 'de'.
Note that this implementation patches some methods in the `Paperclip::Attachment` class, so make sure you are okay with that.
## Compatibility
-Currently, paperclip 4.1/4.2 and globalize 4.0/5.0 are supported.
+This is a maintenance branch for previous (2.x) versions.
+Here, paperclip 4.1/4.2 and globalize 4.0/5.0 and rails 4.x are supported.
+
For paperclip 3.x with globalize3 support please use the 1.x versions of this gem.
## Installation
Add this line to your application's Gemfile:
- gem 'paperclip-globalize3'
+ gem 'paperclip-globalize3', '~> 2.3'
And then execute:
$ bundle
Or install it yourself as:
- $ gem install paperclip-globalize3
+ $ gem install paperclip-globalize3 -v '~> 2.3'
## Usage
For each of your attachments which should have support for different locales, set up the following: