Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.0.0 #472

Merged
merged 1 commit into from
Dec 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1.0 is a rewrite of many internals of the gem. Please see the [wiki page on v1.0](https://github.com/shioyama/mobility/wiki/Introduction-to-Mobility-v1.0) for more details on how to upgrade.

## (unreleased)
## 1.0.0

- Fix setting a locale from Rails config
([#468](https://github.com/shioyama/mobility/pull/468)) thanks
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ Mobility
[docs]: http://www.rubydoc.info/gems/mobility
[wiki]: https://github.com/shioyama/mobility/wiki

**This is the readme for the [`master`](https://github.com/shioyama/mobility)
branch, which corresponds to v1.0.0.rc1, a pre-release version of Mobility.
If you are using an earlier version (0.8.x or earlier), you probably want the
readme on the [0-8-stable
**This is the readme for version 1.0 of Mobility. If you are using an earlier
version (0.8.x or earlier), you probably want the readme on the [0-8-stable
branch](https://github.com/shioyama/mobility/tree/0-8-stable).**

Mobility is a gem for storing and retrieving translations as attributes on a
Expand Down Expand Up @@ -58,7 +56,7 @@ To use the latest pre-version of Mobility 1.0, add this line to your
application's Gemfile:

```ruby
gem 'mobility', '~> 1.0.0.rc1'
gem 'mobility', '~> 1.0.0'
```

For the latest stable version of Mobility, see the readme on the
Expand Down
2 changes: 1 addition & 1 deletion lib/mobility/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module VERSION
MAJOR = 1
MINOR = 0
TINY = 0
PRE = "rc1"
PRE = nil

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
Expand Down
8 changes: 8 additions & 0 deletions mobility.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ Gem::Specification.new do |spec|

spec.cert_chain = ["certs/shioyama.pem"]
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/

spec.post_install_message = %q{
Warning: Mobility v1.0 includes backwards-incompatible changes (mostly around configuration).

If you are upgrading from an earlier version, please see:
- https://github.com/shioyama/mobility/releases/tag/v1.0.0
- https://github.com/shioyama/mobility/wiki/Introduction-to-Mobility-v1.0
}
end