i18n-js 3.7.0 → 3.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/spec_helper.rb CHANGED
@@ -64,6 +64,7 @@ RSpec.configure do |config|
64
64
 
65
65
  config.after do
66
66
  FileUtils.rm_rf(temp_path)
67
+ I18n::JS::Private::ConfigStore.instance.flush_cache
67
68
  end
68
69
 
69
70
  config.include Helpers
data/yarn.lock CHANGED
@@ -91,8 +91,8 @@ jasmine-reporters@~1.0.0:
91
91
  mkdirp "~0.3.5"
92
92
 
93
93
  lodash@~4.17.10:
94
- version "4.17.10"
95
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
94
+ version "4.17.20"
95
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
96
96
 
97
97
  minimatch@^3.0.4, minimatch@~3.0.2:
98
98
  version "3.0.4"
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.7.0
4
+ version: 3.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-29 00:00:00.000000000 Z
11
+ date: 2021-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
33
+ version: '2.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.0'
40
+ version: '2.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -102,9 +102,10 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".editorconfig"
105
+ - ".github/FUNDING.yml"
106
+ - ".github/workflows/tests.yaml"
105
107
  - ".gitignore"
106
108
  - ".npmignore"
107
- - ".travis.yml"
108
109
  - Appraisals
109
110
  - CHANGELOG.md
110
111
  - Gemfile
@@ -128,6 +129,7 @@ files:
128
129
  - gemfiles/i18n_1_7.gemfile
129
130
  - gemfiles/i18n_1_8.gemfile
130
131
  - i18n-js.gemspec
132
+ - i18njs.png
131
133
  - lib/i18n-js.rb
132
134
  - lib/i18n/js.rb
133
135
  - lib/i18n/js/dependencies.rb
@@ -137,6 +139,7 @@ files:
137
139
  - lib/i18n/js/formatters/js.rb
138
140
  - lib/i18n/js/formatters/json.rb
139
141
  - lib/i18n/js/middleware.rb
142
+ - lib/i18n/js/private/config_store.rb
140
143
  - lib/i18n/js/private/hash_with_symbol_keys.rb
141
144
  - lib/i18n/js/segment.rb
142
145
  - lib/i18n/js/utils.rb
@@ -186,6 +189,7 @@ files:
186
189
  - spec/js/jasmine/jasmine.css
187
190
  - spec/js/jasmine/jasmine.js
188
191
  - spec/js/jasmine/jasmine_favicon.png
192
+ - spec/js/json_parsable.spec.js
189
193
  - spec/js/locales.spec.js
190
194
  - spec/js/localization.spec.js
191
195
  - spec/js/numbers.spec.js
@@ -208,7 +212,7 @@ homepage: http://rubygems.org/gems/i18n-js
208
212
  licenses:
209
213
  - MIT
210
214
  metadata: {}
211
- post_install_message:
215
+ post_install_message:
212
216
  rdoc_options: []
213
217
  require_paths:
214
218
  - lib
@@ -223,8 +227,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
227
  - !ruby/object:Gem::Version
224
228
  version: '0'
225
229
  requirements: []
226
- rubygems_version: 3.1.3
227
- signing_key:
230
+ rubygems_version: 3.2.17
231
+ signing_key:
228
232
  specification_version: 4
229
233
  summary: It's a small library to provide the Rails I18n translations on the Javascript.
230
234
  test_files:
@@ -269,6 +273,7 @@ test_files:
269
273
  - spec/js/jasmine/jasmine.css
270
274
  - spec/js/jasmine/jasmine.js
271
275
  - spec/js/jasmine/jasmine_favicon.png
276
+ - spec/js/json_parsable.spec.js
272
277
  - spec/js/locales.spec.js
273
278
  - spec/js/localization.spec.js
274
279
  - spec/js/numbers.spec.js
data/.travis.yml DELETED
@@ -1,39 +0,0 @@
1
- # Send builds to container-based infrastructure
2
- # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
3
- sudo: false
4
- language: ruby
5
- cache:
6
- bundler: true
7
- yarn: true
8
- directories:
9
- - node_modules
10
- rvm:
11
- - 2.3
12
- - 2.4
13
- - 2.5
14
- - 2.6
15
- - 2.7
16
- - ruby-head
17
- before_install:
18
- # Needed to test JS
19
- - yarn install
20
- gemfile:
21
- - gemfiles/i18n_0_6.gemfile
22
- - gemfiles/i18n_0_7.gemfile
23
- - gemfiles/i18n_0_8.gemfile
24
- - gemfiles/i18n_0_9.gemfile
25
- - gemfiles/i18n_1_0.gemfile
26
- - gemfiles/i18n_1_1.gemfile
27
- - gemfiles/i18n_1_2.gemfile
28
- - gemfiles/i18n_1_3.gemfile
29
- - gemfiles/i18n_1_4.gemfile
30
- - gemfiles/i18n_1_5.gemfile
31
- - gemfiles/i18n_1_6.gemfile
32
- - gemfiles/i18n_1_7.gemfile
33
- - gemfiles/i18n_1_8.gemfile
34
- matrix:
35
- fast_finish: true
36
- allow_failures:
37
- - rvm: ruby-head
38
- notifications:
39
- webhooks: https://www.travisbuddy.com/?insertMode=update