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
@@ -1,6 +0,0 @@
1
- <div id="copy-tuner-bar" class="copy-tuner-hidden">
2
- <%= link_to 'CopyTuner', CopyTunerClient.configuration.project_url, class: 'copy-tuner-bar-button', target: '_blank' %>
3
- <a href="/copytuner" target="_blank" class="copy-tuner-bar-button">Sync</a>
4
- <a href="javascript:void(0)" class="copy-tuner-bar-open-log copy-tuner-bar-button js-copy-tuner-bar-open-log">Translations in this page</a>
5
- <input type="text" class="copy-tuner-bar__search js-copy-tuner-bar-search" placeholder="search">
6
- </div>
data/gemfiles/6.0.gemfile DELETED
@@ -1,5 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- gem "rails", "~> 6.0"
4
-
5
- gemspec :path => "../"