i18n-js 3.0.3 → 3.0.4

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: cf663bf5df9a67831d1c4990bbe6dfe643ee3295032e0acb3daf3da73848206b
4
- data.tar.gz: 3a7b7747572c76a3917c2ea93d327d8018bd53b038fbb0df57e5ce7ef8c5918d
3
+ metadata.gz: 5e4a0626d7dc357a005a4d97dacedc55df48d1cb324a078aff98e2e5362748a0
4
+ data.tar.gz: ed98ea52941fa760ce2d925f3e9d0a47ab0321aa5b5fcb47e485257f4b58536a
5
5
  SHA512:
6
- metadata.gz: 8a57c84a20c207670352bad0f45fcaf206eff8c698fc5ad03d1f75931dac7c6ab8da7dce677a75414c85120a9f448546451cd710107342aab26337080d606dc7
7
- data.tar.gz: fbd08b7587afb1271e5ba9217ebeab00be5f1ad8df87a32ded2ac51a3d7e82eddc8e1f05fbd4c0c83280c9aac22b9d6cc1569ee01a39b9f3c564fcf87002b79f
6
+ metadata.gz: 61bc3ed143c2cb9f4ca022ea46a767da2c9fb17198a58921dc0381f3a8ac7f52bf34a9bba43c4120699343334b1a080806b0180a694aaf7cddacfafe70948b85
7
+ data.tar.gz: 823692ad6762e0a536107d6674a19f2839cae118f9bfab1151696fc317c348a48f94e240ae06f755ff113485df61a215d452f0fa439f84b5f25aca56adce9692
data/.travis.yml CHANGED
@@ -9,12 +9,16 @@ rvm:
9
9
  - 2.2.8
10
10
  # Since the Travis Build Env does not recognize `2.3` alias yet
11
11
  # We need to specify the version precisely
12
- - 2.3.5
13
- - 2.4.2
12
+ - 2.3.6
13
+ - 2.4.3
14
+ - 2.5.0
14
15
  - ruby-head
15
16
  before_install:
16
17
  # Need to install something extra to test JS
17
18
  - npm install
19
+ # Bundler 1.16.1 and rubygems 2.7.3 got issue
20
+ # https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-354036443
21
+ - gem update --system
18
22
  gemfile:
19
23
  - gemfiles/i18n_0_6.gemfile
20
24
  - gemfiles/i18n_0_7.gemfile
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.4] - 2018-01-26
22
+
23
+ ### Fixed
24
+
25
+ - [Ruby] Fix `JS::Dependencies.using_asset_pipeline?` returning true when sprockets installed but disabled
26
+ (PR: https://github.com/fnando/i18n-js/pull/488)
27
+
28
+
21
29
  ## [3.0.3] - 2018-01-02
22
30
 
23
31
  ### Fixed
@@ -270,7 +278,8 @@ And today is not April Fools' Day
270
278
 
271
279
 
272
280
 
273
- [Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.3...HEAD
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
274
283
  [3.0.3]: https://github.com/fnando/i18n-js/compare/v3.0.2...v3.0.3
275
284
  [3.0.2]: https://github.com/fnando/i18n-js/compare/v3.0.1...v3.0.2
276
285
  [3.0.1]: https://github.com/fnando/i18n-js/compare/v3.0.0...v3.0.1
@@ -20,7 +20,7 @@ module I18n
20
20
  assets_pipeline_available =
21
21
  (rails3? || rails4? || rails5?) &&
22
22
  Rails.respond_to?(:application) &&
23
- Rails.application.respond_to?(:assets)
23
+ Rails.application.config.respond_to?(:assets)
24
24
  rails3_assets_enabled =
25
25
  rails3? &&
26
26
  assets_pipeline_available &&
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module I18n
2
4
  module JS
3
- VERSION = "3.0.3"
5
+ VERSION = "3.0.4"
4
6
  end
5
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18n-js",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "A javascript library similar to Ruby on Rails i18n gem",
5
5
  "author": "Nando Vieira",
6
6
  "license": "MIT",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
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-02 00:00:00.000000000 Z
11
+ date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n