i18n-backend-advanced 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/i18n-backend-advanced.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 938cb24ab244e9f2c80517d36e306a45158620e9
|
4
|
+
data.tar.gz: f84d24a3904bb0e612d33558e73731bf98c00e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad380b14a3514f7c0054c0829a94880f34398ac581db50881ed068b66fd1a7e67f140781876e11c8eb4bcd4ca0771448b5fd5e602fad2213230951b9cc737f3
|
7
|
+
data.tar.gz: cfa7c4088149a2f1e7198634e959a65cc8291837b0213a985263aef9bb36f05e9677a75ef153dd3e6dc128bd00b77677e936ba6b06af7972ae7441952d32235d
|
data/README.md
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
[![Test Coverage](https://codeclimate.com/github/msievers/i18n-backend-advanced/badges/coverage.svg)](https://codeclimate.com/github/msievers/i18n-backend-advanced/coverage)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/msievers/i18n-backend-advanced/badges/gpa.svg)](https://codeclimate.com/github/msievers/i18n-backend-advanced)
|
5
5
|
|
6
|
-
This is a drop-in replacement for `I18n::Backend::Simple` which allows inline references to other keys (in other files). References are expanded during `init_translations`. This way, it also works
|
6
|
+
This is a drop-in replacement for `I18n::Backend::Simple` which allows inline references to other keys (in other files). References are expanded during `init_translations`. This way, it also works with packages like `i18n-js`.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
10
|
Add this line to your application's Gemfile:
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
gem
|
13
|
+
gem "i18n-backend-advanced"
|
14
14
|
```
|
15
15
|
|
16
16
|
And then execute:
|
@@ -60,9 +60,9 @@ de:
|
|
60
60
|
|
61
61
|
## Development
|
62
62
|
|
63
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
63
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
64
64
|
|
65
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `
|
65
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `i18n-backend-advanced.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
66
66
|
|
67
67
|
## Contributing
|
68
68
|
|
@@ -4,9 +4,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "i18n-backend-advanced"
|
7
|
-
spec.version = "0.1.
|
7
|
+
spec.version = "0.1.2"
|
8
8
|
spec.authors = ["Michael Sievers"]
|
9
|
-
spec.summary = %q{
|
9
|
+
spec.summary = %q{A slightly advanced drop-in replacement for I18n::Backend::Simple with support for references (across files)}
|
10
10
|
spec.homepage = "http://github.com/msievers/i18n-backend-advanced"
|
11
11
|
spec.license = "MIT"
|
12
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-backend-advanced
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Sievers
|
@@ -66,6 +66,7 @@ rubyforge_project:
|
|
66
66
|
rubygems_version: 2.4.8
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
|
-
summary:
|
69
|
+
summary: A slightly advanced drop-in replacement for I18n::Backend::Simple with support
|
70
|
+
for references (across files)
|
70
71
|
test_files: []
|
71
72
|
has_rdoc:
|