i18n-js 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/Appraisals +4 -0
- data/CHANGELOG.md +11 -2
- data/README.md +1 -1
- data/gemfiles/i18n_0_6.gemfile +1 -1
- data/gemfiles/i18n_0_7.gemfile +1 -1
- data/gemfiles/i18n_0_8.gemfile +1 -1
- data/gemfiles/i18n_0_9.gemfile +1 -1
- data/gemfiles/i18n_1_0.gemfile +7 -0
- data/i18n-js.gemspec +1 -1
- data/lib/i18n/js/version.rb +1 -1
- data/package.json +3 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 812175c2e2ea145d2e820cc915f04687d4e9e5a74734d9980643d321a5d0a607
|
4
|
+
data.tar.gz: 3c8767ddd862812fa013e2e80bcd7593cbe1b4570440234d3e7c7e5c08c3ff32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42795f8550f63e6a1497ee8650912ba6d395baf76be2c83289b5f97f42a4644881843d3c748c5f79525fdf16b424a1e653f47dbcb43c487dc60024a35c6b4ffd
|
7
|
+
data.tar.gz: 9ed860a6d453b5901f7b472a12b7182f464eaad536897e281b9c816df360e85e3d46c8c0e4e1e9ef3d40dfae68dfdeb0e888ac95551876150231f35f91a89997
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -18,6 +18,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
18
18
|
- Nothing
|
19
19
|
|
20
20
|
|
21
|
+
## [3.0.5] - 2018-02-26
|
22
|
+
|
23
|
+
### Changed
|
24
|
+
|
25
|
+
- [Ruby] Support `I18n` `1.0.x`
|
26
|
+
(PR: https://github.com/fnando/i18n-js/pull/492)
|
27
|
+
|
28
|
+
|
21
29
|
## [3.0.4] - 2018-01-26
|
22
30
|
|
23
31
|
### Fixed
|
@@ -278,8 +286,9 @@ And today is not April Fools' Day
|
|
278
286
|
|
279
287
|
|
280
288
|
|
281
|
-
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.
|
282
|
-
[3.0.
|
289
|
+
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.5...HEAD
|
290
|
+
[3.0.5]: https://github.com/fnando/i18n-js/compare/v3.0.4...v3.0.5
|
291
|
+
[3.0.4]: https://github.com/fnando/i18n-js/compare/v3.0.3...v3.0.4
|
283
292
|
[3.0.3]: https://github.com/fnando/i18n-js/compare/v3.0.2...v3.0.3
|
284
293
|
[3.0.2]: https://github.com/fnando/i18n-js/compare/v3.0.1...v3.0.2
|
285
294
|
[3.0.1]: https://github.com/fnando/i18n-js/compare/v3.0.0...v3.0.1
|
data/README.md
CHANGED
@@ -64,7 +64,7 @@ Then get the JS files following the instructions below.
|
|
64
64
|
<%= javascript_include_tag "translations", skip_pipeline: true %>
|
65
65
|
```
|
66
66
|
|
67
|
-
**There are two ways to get `translations.js
|
67
|
+
**There are two ways to get `translations.js` (For Rails app without Asset Pipeline).**
|
68
68
|
|
69
69
|
1. This `translations.js` file can be automatically generated by the `I18n::JS::Middleware`.
|
70
70
|
Just add `config.middleware.use I18n::JS::Middleware` to your `config/application.rb` file.
|
data/gemfiles/i18n_0_6.gemfile
CHANGED
data/gemfiles/i18n_0_7.gemfile
CHANGED
data/gemfiles/i18n_0_8.gemfile
CHANGED
data/gemfiles/i18n_0_9.gemfile
CHANGED
data/i18n-js.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_dependency "i18n", "
|
21
|
+
s.add_dependency "i18n", ">= 0.6.6", "< 2"
|
22
22
|
|
23
23
|
s.add_development_dependency "appraisal", "~> 2.0"
|
24
24
|
s.add_development_dependency "rspec", "~> 3.0"
|
data/lib/i18n/js/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.6'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 0.6.6
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.6'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 0.6.6
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: appraisal
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- gemfiles/i18n_0_7.gemfile
|
111
111
|
- gemfiles/i18n_0_8.gemfile
|
112
112
|
- gemfiles/i18n_0_9.gemfile
|
113
|
+
- gemfiles/i18n_1_0.gemfile
|
113
114
|
- i18n-js.gemspec
|
114
115
|
- lib/i18n-js.rb
|
115
116
|
- lib/i18n/js.rb
|
@@ -198,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
199
|
version: '0'
|
199
200
|
requirements: []
|
200
201
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.7.
|
202
|
+
rubygems_version: 2.7.5
|
202
203
|
signing_key:
|
203
204
|
specification_version: 4
|
204
205
|
summary: It's a small library to provide the Rails I18n translations on the Javascript.
|