copy_tuner_client 0.10.0 → 0.13.0

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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc.js +12 -0
  3. data/.gitattributes +2 -0
  4. data/.github/workflows/rspec.yml +22 -30
  5. data/.ruby-version +1 -1
  6. data/.vscode/settings.json +7 -0
  7. data/CHANGELOG.md +13 -0
  8. data/Gemfile +1 -1
  9. data/Gemfile.lock +168 -145
  10. data/README.md +8 -10
  11. data/app/assets/javascripts/main.js +388 -0
  12. data/app/assets/stylesheets/style.css +1 -0
  13. data/copy_tuner_client.gemspec +3 -3
  14. data/gemfiles/6.1.gemfile +5 -0
  15. data/gemfiles/7.0.gemfile +5 -0
  16. data/gemfiles/main.gemfile +5 -0
  17. data/index.html +34 -0
  18. data/lib/copy_tuner_client/configuration.rb +9 -1
  19. data/lib/copy_tuner_client/copyray_middleware.rb +15 -29
  20. data/lib/copy_tuner_client/engine.rb +6 -31
  21. data/lib/copy_tuner_client/errors.rb +3 -0
  22. data/lib/copy_tuner_client/helper_extension.rb +34 -0
  23. data/lib/copy_tuner_client/i18n_backend.rb +6 -0
  24. data/lib/copy_tuner_client/version.rb +1 -1
  25. data/package.json +14 -15
  26. data/spec/copy_tuner_client/helper_extension_spec.rb +40 -0
  27. data/spec/copy_tuner_client/i18n_backend_spec.rb +2 -0
  28. data/{app/assets/stylesheets → src}/copyray.css +0 -0
  29. data/src/copyray.ts +130 -0
  30. data/src/copytuner_bar.ts +115 -0
  31. data/src/main.ts +58 -0
  32. data/src/specimen.ts +84 -0
  33. data/src/util.ts +38 -0
  34. data/src/vite-env.d.ts +1 -0
  35. data/tsconfig.json +26 -0
  36. data/vite.config.ts +18 -0
  37. data/yarn.lock +2251 -0
  38. metadata +36 -27
  39. data/.eslintrc +0 -4
  40. data/app/assets/javascripts/copyray.js +0 -1069
  41. data/app/views/_copy_tuner_bar.html.erb +0 -6
  42. data/gemfiles/5.2.gemfile +0 -7
  43. data/gemfiles/6.0.gemfile +0 -7
  44. data/package-lock.json +0 -4341
  45. data/rollup.config.js +0 -16
  46. data/src/copyray.js +0 -112
  47. data/src/copytuner_bar.js +0 -96
  48. data/src/main.js +0 -42
  49. data/src/specimen.js +0 -63
  50. data/src/util.js +0 -32
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.10.0
4
+ version: 0.13.0
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-09-03 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 5.2.4.2
61
+ version: '6.1'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 5.2.4.2
68
+ version: '6.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 3.8.0
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 3.8.0
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sham_rack
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -178,30 +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
204
+ - gemfiles/6.1.gemfile
205
+ - gemfiles/7.0.gemfile
206
+ - gemfiles/main.gemfile
207
+ - index.html
205
208
  - lib/copy_tuner_client.rb
206
209
  - lib/copy_tuner_client/cache.rb
207
210
  - lib/copy_tuner_client/client.rb
@@ -211,6 +214,7 @@ files:
211
214
  - lib/copy_tuner_client/dotted_hash.rb
212
215
  - lib/copy_tuner_client/engine.rb
213
216
  - lib/copy_tuner_client/errors.rb
217
+ - lib/copy_tuner_client/helper_extension.rb
214
218
  - lib/copy_tuner_client/i18n_backend.rb
215
219
  - lib/copy_tuner_client/i18n_compat.rb
216
220
  - lib/copy_tuner_client/poller.rb
@@ -223,14 +227,13 @@ files:
223
227
  - lib/copy_tuner_client/translation_log.rb
224
228
  - lib/copy_tuner_client/version.rb
225
229
  - lib/tasks/copy_tuner_client_tasks.rake
226
- - package-lock.json
227
230
  - package.json
228
- - rollup.config.js
229
231
  - spec/copy_tuner_client/cache_spec.rb
230
232
  - spec/copy_tuner_client/client_spec.rb
231
233
  - spec/copy_tuner_client/configuration_spec.rb
232
234
  - spec/copy_tuner_client/copyray_spec.rb
233
235
  - spec/copy_tuner_client/dotted_hash_spec.rb
236
+ - spec/copy_tuner_client/helper_extension_spec.rb
234
237
  - spec/copy_tuner_client/i18n_backend_spec.rb
235
238
  - spec/copy_tuner_client/poller_spec.rb
236
239
  - spec/copy_tuner_client/prefixed_logger_spec.rb
@@ -249,17 +252,22 @@ files:
249
252
  - spec/support/fake_unicorn.rb
250
253
  - spec/support/middleware_stack.rb
251
254
  - spec/support/writing_cache.rb
252
- - src/copyray.js
253
- - src/copytuner_bar.js
254
- - src/main.js
255
- - src/specimen.js
256
- - src/util.js
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
257
263
  - ui/views/copytuner/index.html.erb
258
264
  - ui/views/layouts/copytuner_default.html.erb
265
+ - vite.config.ts
266
+ - yarn.lock
259
267
  homepage: https://github.com/SonicGarden/copy-tuner-ruby-client
260
268
  licenses: []
261
269
  metadata: {}
262
- post_install_message:
270
+ post_install_message:
263
271
  rdoc_options: []
264
272
  require_paths:
265
273
  - lib
@@ -267,15 +275,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
275
  requirements:
268
276
  - - ">="
269
277
  - !ruby/object:Gem::Version
270
- version: 2.5.0
278
+ version: 2.7.0
271
279
  required_rubygems_version: !ruby/object:Gem::Requirement
272
280
  requirements:
273
281
  - - ">="
274
282
  - !ruby/object:Gem::Version
275
283
  version: '0'
276
284
  requirements: []
277
- rubygems_version: 3.1.2
278
- signing_key:
285
+ rubygems_version: 3.2.33
286
+ signing_key:
279
287
  specification_version: 4
280
288
  summary: Client for the CopyTuner copy management service
281
289
  test_files:
@@ -284,6 +292,7 @@ test_files:
284
292
  - spec/copy_tuner_client/configuration_spec.rb
285
293
  - spec/copy_tuner_client/copyray_spec.rb
286
294
  - spec/copy_tuner_client/dotted_hash_spec.rb
295
+ - spec/copy_tuner_client/helper_extension_spec.rb
287
296
  - spec/copy_tuner_client/i18n_backend_spec.rb
288
297
  - spec/copy_tuner_client/poller_spec.rb
289
298
  - spec/copy_tuner_client/prefixed_logger_spec.rb
data/.eslintrc DELETED
@@ -1,4 +0,0 @@
1
- ---
2
- extends: airbnb-base
3
- env:
4
- browser: true