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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e4a0626d7dc357a005a4d97dacedc55df48d1cb324a078aff98e2e5362748a0
4
- data.tar.gz: ed98ea52941fa760ce2d925f3e9d0a47ab0321aa5b5fcb47e485257f4b58536a
3
+ metadata.gz: 812175c2e2ea145d2e820cc915f04687d4e9e5a74734d9980643d321a5d0a607
4
+ data.tar.gz: 3c8767ddd862812fa013e2e80bcd7593cbe1b4570440234d3e7c7e5c08c3ff32
5
5
  SHA512:
6
- metadata.gz: 61bc3ed143c2cb9f4ca022ea46a767da2c9fb17198a58921dc0381f3a8ac7f52bf34a9bba43c4120699343334b1a080806b0180a694aaf7cddacfafe70948b85
7
- data.tar.gz: 823692ad6762e0a536107d6674a19f2839cae118f9bfab1151696fc317c348a48f94e240ae06f755ff113485df61a215d452f0fa439f84b5f25aca56adce9692
6
+ metadata.gz: 42795f8550f63e6a1497ee8650912ba6d395baf76be2c83289b5f97f42a4644881843d3c748c5f79525fdf16b424a1e653f47dbcb43c487dc60024a35c6b4ffd
7
+ data.tar.gz: 9ed860a6d453b5901f7b472a12b7182f464eaad536897e281b9c816df360e85e3d46c8c0e4e1e9ef3d40dfae68dfdeb0e888ac95551876150231f35f91a89997
data/.gitignore CHANGED
@@ -3,3 +3,4 @@ node_modules
3
3
  Gemfile.lock
4
4
  .idea/
5
5
  gemfiles/*.gemfile.lock
6
+ gemfiles/.bundle
@@ -24,6 +24,7 @@ gemfile:
24
24
  - gemfiles/i18n_0_7.gemfile
25
25
  - gemfiles/i18n_0_8.gemfile
26
26
  - gemfiles/i18n_0_9.gemfile
27
+ - gemfiles/i18n_1_0.gemfile
27
28
  matrix:
28
29
  fast_finish: true
29
30
  allow_failures:
data/Appraisals CHANGED
@@ -14,3 +14,7 @@ end
14
14
  appraise "i18n_0_9" do
15
15
  gem "i18n", "~> 0.9.0"
16
16
  end
17
+
18
+ appraise "i18n_1_0" do
19
+ gem "i18n", "~> 1.0.0"
20
+ end
@@ -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.4...HEAD
282
- [3.0.3]: https://github.com/fnando/i18n-js/compare/v3.0.3...v3.0.4
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.
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "i18n", "~> 0.6.0", ">= 0.6.6"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "i18n", "~> 0.7.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "i18n", "~> 0.8.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -4,4 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "i18n", "~> 0.9.0"
6
6
 
7
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "i18n", "~> 1.0.0"
6
+
7
+ gemspec path: "../"
@@ -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", "~> 0.6", ">= 0.6.6"
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"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module I18n
4
4
  module JS
5
- VERSION = "3.0.4"
5
+ VERSION = "3.0.5"
6
6
  end
7
7
  end
@@ -4,7 +4,9 @@
4
4
  "description": "A javascript library similar to Ruby on Rails i18n gem",
5
5
  "author": "Nando Vieira",
6
6
  "license": "MIT",
7
- "keywords": ["i18n"],
7
+ "keywords": [
8
+ "i18n"
9
+ ],
8
10
  "devDependencies": {
9
11
  "jasmine-node": "^1.14.5"
10
12
  },
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
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-01-26 00:00:00.000000000 Z
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.3
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.