i18n-js 3.5.1 → 3.8.1

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.5.1
4
+ version: 3.8.1
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: 2019-12-21 00:00:00.000000000 Z
11
+ date: 2021-02-25 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
@@ -126,7 +127,9 @@ files:
126
127
  - gemfiles/i18n_1_5.gemfile
127
128
  - gemfiles/i18n_1_6.gemfile
128
129
  - gemfiles/i18n_1_7.gemfile
130
+ - gemfiles/i18n_1_8.gemfile
129
131
  - i18n-js.gemspec
132
+ - i18njs.png
130
133
  - lib/i18n-js.rb
131
134
  - lib/i18n/js.rb
132
135
  - lib/i18n/js/dependencies.rb
@@ -136,6 +139,7 @@ files:
136
139
  - lib/i18n/js/formatters/js.rb
137
140
  - lib/i18n/js/formatters/json.rb
138
141
  - lib/i18n/js/middleware.rb
142
+ - lib/i18n/js/private/config_store.rb
139
143
  - lib/i18n/js/private/hash_with_symbol_keys.rb
140
144
  - lib/i18n/js/segment.rb
141
145
  - lib/i18n/js/utils.rb
@@ -207,7 +211,7 @@ homepage: http://rubygems.org/gems/i18n-js
207
211
  licenses:
208
212
  - MIT
209
213
  metadata: {}
210
- post_install_message:
214
+ post_install_message:
211
215
  rdoc_options: []
212
216
  require_paths:
213
217
  - lib
@@ -222,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
226
  - !ruby/object:Gem::Version
223
227
  version: '0'
224
228
  requirements: []
225
- rubygems_version: 3.1.1
226
- signing_key:
229
+ rubygems_version: 3.2.11
230
+ signing_key:
227
231
  specification_version: 4
228
232
  summary: It's a small library to provide the Rails I18n translations on the Javascript.
229
233
  test_files:
data/.travis.yml DELETED
@@ -1,37 +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
- - ruby-head
16
- before_install:
17
- # Needed to test JS
18
- - yarn install
19
- gemfile:
20
- - gemfiles/i18n_0_6.gemfile
21
- - gemfiles/i18n_0_7.gemfile
22
- - gemfiles/i18n_0_8.gemfile
23
- - gemfiles/i18n_0_9.gemfile
24
- - gemfiles/i18n_1_0.gemfile
25
- - gemfiles/i18n_1_1.gemfile
26
- - gemfiles/i18n_1_2.gemfile
27
- - gemfiles/i18n_1_3.gemfile
28
- - gemfiles/i18n_1_4.gemfile
29
- - gemfiles/i18n_1_5.gemfile
30
- - gemfiles/i18n_1_6.gemfile
31
- - gemfiles/i18n_1_7.gemfile
32
- matrix:
33
- fast_finish: true
34
- allow_failures:
35
- - rvm: ruby-head
36
- notifications:
37
- webhooks: https://www.travisbuddy.com/?insertMode=update