From f85dd7b74eb861daaa380540d1faf726e1419df6 Mon Sep 17 00:00:00 2001 From: Chris Salzberg Date: Sat, 25 Feb 2017 11:25:03 +0900 Subject: [PATCH] Release 0.1.3 --- CHANGELOG.md | 10 +++++++++- README.md | 8 ++++---- lib/mobility/version.rb | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc9c5e38..88f9170b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Mobility Changelog -## 0.1.2 +## 0.1 + +### 0.1.3 + +* Add homepage to gemspec +* Pass backend class as context to `translates` + ([adf93e3c6bb314b73fbd43b221819310a1407c4d](https://github.com/shioyama/mobility/commit/adf93e3c6bb314b73fbd43b221819310a1407c4d)) + +### 0.1.2 * Fix issues with querying in ActiveRecord jsonb and hstore backends ([527908d9317daee6bf91e3e1a188fb64365f7bab](https://github.com/shioyama/mobility/commit/527908d9317daee6bf91e3e1a188fb64365f7bab) diff --git a/README.md b/README.md index a0667ea49..7aeff0476 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ features, including: Add this line to your application's Gemfile: ```ruby -gem 'mobility', '~> 0.1.2' +gem 'mobility', '~> 0.1.3' ``` To translate attributes on a model, you must include (or extend) `Mobility`, @@ -567,7 +567,7 @@ To this end, Mobility backends strictly enforce the rule that *no backend should modify a parent class in any way which would interfere with other backends operating on the same class*. This is done using a heavy dose of metaprogramming, details of which can be found in the [API -documentation](http://www.rubydoc.info/gems/mobility/0.1.1) and in the actual code. +documentation](http://www.rubydoc.info/gems/mobility/0.1.3) and in the actual code. In practice, this means that you can use different backends for different attributes *on the same class* without any conflict, e.g. (assuming we @@ -647,7 +647,7 @@ end For details on how to define a backend class, see the {Mobility::Backend} module and other classes defined in the [API -documentation](http://www.rubydoc.info/gems/mobility/0.1.1). +documentation](http://www.rubydoc.info/gems/mobility/0.1.3). ### Testing Backends @@ -692,7 +692,7 @@ particular implementations. ## More Information - [Github repository](https://www.github.com/shioyama/mobility) -- [API documentation](http://www.rubydoc.info/gems/mobility/0.1.1) +- [API documentation](http://www.rubydoc.info/gems/mobility/0.1.3) ## License diff --git a/lib/mobility/version.rb b/lib/mobility/version.rb index 81a226df3..613651d39 100644 --- a/lib/mobility/version.rb +++ b/lib/mobility/version.rb @@ -1,3 +1,3 @@ module Mobility - VERSION = "0.1.2" + VERSION = "0.1.3" end