copy_tuner_client 0.11.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc.js +12 -0
  3. data/.gitattributes +2 -0
  4. data/.github/workflows/rspec.yml +4 -8
  5. data/.ruby-version +1 -1
  6. data/.vscode/settings.json +7 -0
  7. data/CHANGELOG.md +8 -0
  8. data/Gemfile.lock +117 -116
  9. data/README.md +5 -10
  10. data/app/assets/javascripts/main.js +388 -0
  11. data/app/assets/stylesheets/style.css +1 -0
  12. data/copy_tuner_client.gemspec +1 -1
  13. data/gemfiles/{5.2.gemfile → 7.0.gemfile} +1 -1
  14. data/index.html +34 -0
  15. data/lib/copy_tuner_client/configuration.rb +9 -1
  16. data/lib/copy_tuner_client/copyray_middleware.rb +15 -29
  17. data/lib/copy_tuner_client/engine.rb +2 -2
  18. data/lib/copy_tuner_client/errors.rb +3 -0
  19. data/lib/copy_tuner_client/i18n_backend.rb +6 -0
  20. data/lib/copy_tuner_client/version.rb +1 -1
  21. data/package.json +14 -15
  22. data/spec/copy_tuner_client/i18n_backend_spec.rb +2 -0
  23. data/{app/assets/stylesheets → src}/copyray.css +0 -0
  24. data/src/copyray.ts +130 -0
  25. data/src/copytuner_bar.ts +115 -0
  26. data/src/main.ts +58 -0
  27. data/src/specimen.ts +84 -0
  28. data/src/util.ts +38 -0
  29. data/src/vite-env.d.ts +1 -0
  30. data/tsconfig.json +26 -0
  31. data/vite.config.ts +18 -0
  32. data/yarn.lock +2251 -0
  33. metadata +25 -22
  34. data/.eslintrc +0 -4
  35. data/app/assets/javascripts/copyray.js +0 -1069
  36. data/app/views/_copy_tuner_bar.html.erb +0 -6
  37. data/gemfiles/6.0.gemfile +0 -5
  38. data/package-lock.json +0 -4341
  39. data/rollup.config.js +0 -16
  40. data/src/copyray.js +0 -112
  41. data/src/copytuner_bar.js +0 -96
  42. data/src/main.js +0 -42
  43. data/src/specimen.js +0 -63
  44. data/src/util.js +0 -32
  45. data/test.sh +0 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SonicGarden
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -178,32 +178,33 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
- description:
181
+ description:
182
182
  email: info@sonicgarden.jp
183
183
  executables: []
184
184
  extensions: []
185
185
  extra_rdoc_files: []
186
186
  files:
187
187
  - ".babelrc"
188
- - ".eslintrc"
188
+ - ".eslintrc.js"
189
+ - ".gitattributes"
189
190
  - ".github/workflows/rspec.yml"
190
191
  - ".gitignore"
191
192
  - ".rspec"
192
193
  - ".rubocop.yml"
193
194
  - ".ruby-version"
195
+ - ".vscode/settings.json"
194
196
  - CHANGELOG.md
195
197
  - Gemfile
196
198
  - Gemfile.lock
197
199
  - README.md
198
200
  - Rakefile
199
- - app/assets/javascripts/copyray.js
200
- - app/assets/stylesheets/copyray.css
201
- - app/views/_copy_tuner_bar.html.erb
201
+ - app/assets/javascripts/main.js
202
+ - app/assets/stylesheets/style.css
202
203
  - copy_tuner_client.gemspec
203
- - gemfiles/5.2.gemfile
204
- - gemfiles/6.0.gemfile
205
204
  - gemfiles/6.1.gemfile
205
+ - gemfiles/7.0.gemfile
206
206
  - gemfiles/main.gemfile
207
+ - index.html
207
208
  - lib/copy_tuner_client.rb
208
209
  - lib/copy_tuner_client/cache.rb
209
210
  - lib/copy_tuner_client/client.rb
@@ -226,9 +227,7 @@ files:
226
227
  - lib/copy_tuner_client/translation_log.rb
227
228
  - lib/copy_tuner_client/version.rb
228
229
  - lib/tasks/copy_tuner_client_tasks.rake
229
- - package-lock.json
230
230
  - package.json
231
- - rollup.config.js
232
231
  - spec/copy_tuner_client/cache_spec.rb
233
232
  - spec/copy_tuner_client/client_spec.rb
234
233
  - spec/copy_tuner_client/configuration_spec.rb
@@ -253,18 +252,22 @@ files:
253
252
  - spec/support/fake_unicorn.rb
254
253
  - spec/support/middleware_stack.rb
255
254
  - spec/support/writing_cache.rb
256
- - src/copyray.js
257
- - src/copytuner_bar.js
258
- - src/main.js
259
- - src/specimen.js
260
- - src/util.js
261
- - test.sh
255
+ - src/copyray.css
256
+ - src/copyray.ts
257
+ - src/copytuner_bar.ts
258
+ - src/main.ts
259
+ - src/specimen.ts
260
+ - src/util.ts
261
+ - src/vite-env.d.ts
262
+ - tsconfig.json
262
263
  - ui/views/copytuner/index.html.erb
263
264
  - ui/views/layouts/copytuner_default.html.erb
265
+ - vite.config.ts
266
+ - yarn.lock
264
267
  homepage: https://github.com/SonicGarden/copy-tuner-ruby-client
265
268
  licenses: []
266
269
  metadata: {}
267
- post_install_message:
270
+ post_install_message:
268
271
  rdoc_options: []
269
272
  require_paths:
270
273
  - lib
@@ -272,15 +275,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
272
275
  requirements:
273
276
  - - ">="
274
277
  - !ruby/object:Gem::Version
275
- version: 2.5.0
278
+ version: 2.7.0
276
279
  required_rubygems_version: !ruby/object:Gem::Requirement
277
280
  requirements:
278
281
  - - ">="
279
282
  - !ruby/object:Gem::Version
280
283
  version: '0'
281
284
  requirements: []
282
- rubygems_version: 3.1.6
283
- signing_key:
285
+ rubygems_version: 3.2.33
286
+ signing_key:
284
287
  specification_version: 4
285
288
  summary: Client for the CopyTuner copy management service
286
289
  test_files:
data/.eslintrc DELETED
@@ -1,4 +0,0 @@
1
- ---
2
- extends: airbnb-base
3
- env:
4
- browser: true