mobility

Pluggable Ruby translation framework

MIT License

Downloads
3.8M
Stars
998
Committers
30
mobility - 1.0.4

Published by shioyama over 3 years ago

  • Correctly override default backend options, fixes #492 (#495)
mobility - 1.0.3

Published by shioyama over 3 years ago

  • Fix Mobility.default_backend (#497)
mobility - 1.0.1

Published by shioyama over 3 years ago

  • Make Mobility::Plugins::ActiveRecord::Query::VirtualRow and Mobility::Plugins::ActiveRecord::Query::QueryExtension (#471) public
  • Fix typo in initializer template (#474)
mobility - 1.0.0

Published by shioyama almost 4 years ago

1.0 is a rewrite of many internals of the gem. The following is a brief list of some changes, but please see the wiki page on v1.0 for more details on how to upgrade.

  • Fix setting a locale from Rails config (#468)
  • Fixes validations with validates_uniqueness_of (#470)

Plus many other changes in earlier pre-releases.

mobility - 1.0.0.rc1

Published by shioyama almost 4 years ago

1.0 is a rewrite of many internals of the gem. The following is a brief list of some changes, but please see the wiki page on v1.0 for more details on how to upgrade.

This is the first release candidate for 1.0. If there are no issues reported in a few days, I will release this as 1.0.0.

  • Remove Mobility::ActiveRecord, Mobility::Sequel and Mobility::Arel, and general cleanup (#464)
mobility - 1.0.0.beta2

Published by shioyama almost 4 years ago

1.0 is a rewrite of many internals of the gem. The following is a brief list of some changes, but please see the wiki page on v1.0 for more details on how to upgrade. (Note that this is still pre-release.)

  • Refactor attributes & backend plugins and make mobility_attributes public (#462)
  • Make attribute_methods plugin depend on attributes (#461)
mobility - 1.0.0.beta1

Published by shioyama almost 4 years ago

1.0 is a rewrite of many internals of the gem. The following is a brief list of some changes, but please see the wiki page on v1.0 for more details on how to upgrade. (Note that this is still pre-release.)

  • Remove Mobility::Backend#apply_plugin (#454)
  • Instance exec configure block if it takes no arguments (#456)
  • Raise an exception if invalid options are passed to Translations initializer (#457)
  • Fix Ruby 2.7 deprecation warnings (#460)
mobility - 1.0.0.alpha

Published by shioyama about 4 years ago

1.0 is a rewrite of many internals of the gem. The following is a brief list of some changes, but please see the wiki page on v1.0 for more details on how to upgrade. (Note that this is still pre-release.)

  • Default fallbacks plugin to true when enabled (#447)
  • Remove Mobility::Backend.method_name (#400)
  • Remove translated_attribute_names as alias for mobility_attributes (#402)
  • Move _backend methods into backend_reader plugin (#403)
  • Replace Configuration#query_method configuration with Query plugin option (#414)
  • Remove Mobility::Configuration#default_accessor_locales. Use plugin option to configure global default instead. (#424)
  • Pass model_class to Mobility::Backend#configure via class method rather than on options hash (#429)
  • Remove Mobility.new_fallbacks and Configuration#fallbacks_generator (#433)
  • Rename backend_name to backend (#443)
  • Remove Configuration#accessor_method (#450)
  • Rename Mobility::Attributes to Mobility::Translations
  • Remove Mobility::Configuration altogether (#452)
mobility - 0.8.13

Published by shioyama over 4 years ago

  • Fix fallthrough accessor method_missing not passing all options to super (#364, #384, #377)
mobility - 0.8.12 (yanked)

Published by shioyama over 4 years ago

  • Fix fallthrough accessor method_missing not passing all options to super (#364)
mobility - 0.8.11

Published by shioyama over 4 years ago

  • Handle select with block (#359)
mobility - 0.8.10

Published by shioyama over 4 years ago

  • Enforce case_sensitive comparison for Rails 6.1 (#333)
mobility - 0.8.9

Published by shioyama about 5 years ago

  • Fix Dirty plugin to work with Rails 6
    (#343, #348, #352, #351).
mobility - 0.8.8

Published by shioyama about 5 years ago

  • Accept any number of arguments to Arel::Visitors::Visitor#visit #339
mobility - 0.8.7

Published by shioyama almost 6 years ago

  • Handle case when attribute name passed to has_attribute is not a string #309
mobility - 0.8.6

Published by shioyama almost 6 years ago

Highlights:

mobility - 0.8.5

Published by shioyama almost 6 years ago

Highlights:

mobility - 0.8.4

Published by shioyama about 6 years ago

mobility - 0.8.3

Published by shioyama about 6 years ago

mobility - 0.8.2

Published by shioyama about 6 years ago

Highlight: support pluck, select and group on queries with translated attributes (ActiveRecord).

Package Rankings
Top 2.28% on Rubygems.org
Badges
Extracted from project README
Gem Version Build Status Code Climate
Related Projects