i18n_proofreading 0.9.0 → 0.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +3 -3
- data/Rakefile +11 -1
- data/lib/i18n_proofreading/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e12e98fe3e32eab4dae56415912d4fed0568efa383f84750cd40e47735f216bf
|
|
4
|
+
data.tar.gz: b9f9fff4ecbe7f6ff3a1189ad8ce7e234f45c7350b41c44b6ebcf027010f4f12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10c800c066572e20ce3b3f650ded68b86758a8b0401aca97b5738220c2d38792decd0c804db4ab19bc5d2a8253b9bc3aeec5ef22ab3204d5666e915962d1454d
|
|
7
|
+
data.tar.gz: 5393883b7d37a4ef85bda0611ab34a9663330ec14adec2e02bfadc5b69a78e3f72ba8a7dc656a6a98b2721c58de4257f22d7f9f6532345fccbd4e14d3e4a8bb7
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.9.1]
|
|
6
|
+
|
|
7
|
+
- Add Minitest **system tests** that drive the widget in headless Chrome
|
|
8
|
+
(Capybara + Selenium): entering suggest mode, marker stripping, opening the
|
|
9
|
+
popover, submitting a suggestion, and Escape to exit. Run with
|
|
10
|
+
`rake test:system`; `rake test` stays browser-free. Dev/test only — no runtime
|
|
11
|
+
change and no new runtime dependencies.
|
|
12
|
+
|
|
5
13
|
## [0.9.0]
|
|
6
14
|
|
|
7
15
|
- **Renamed the gem `i18n_feedback` → `i18n_proofreading`.** The name now says
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/i18n_proofreading)
|
|
4
4
|
[](https://rubygems.org/gems/i18n_proofreading)
|
|
5
|
-
[](https://github.com/yshmarov/i18n_proofreading/actions/workflows/ci.yml)
|
|
6
6
|
[](MIT-LICENSE)
|
|
7
7
|
|
|
8
8
|
In-context translation proofreading for Rails.
|
|
@@ -14,9 +14,9 @@ It is meant for development and staging, never production.
|
|
|
14
14
|
|
|
15
15
|

|
|
16
16
|
|
|
17
|
-
<video src="https://github.com/yshmarov/
|
|
17
|
+
<video src="https://github.com/yshmarov/i18n_proofreading/raw/main/i18n-proofreading-demo-640-high.mp4" controls muted playsinline width="640">
|
|
18
18
|
Your browser can't play this video —
|
|
19
|
-
<a href="https://github.com/yshmarov/
|
|
19
|
+
<a href="https://github.com/yshmarov/i18n_proofreading/raw/main/i18n-proofreading-demo-640-high.mp4">download it here</a>.
|
|
20
20
|
</video>
|
|
21
21
|
|
|
22
22
|
- **Zero UI dependencies.** The widget is plain JavaScript and styles itself. No
|
data/Rakefile
CHANGED
|
@@ -6,9 +6,19 @@ require 'bundler/setup'
|
|
|
6
6
|
require 'bundler/gem_tasks'
|
|
7
7
|
|
|
8
8
|
require 'rake/testtask'
|
|
9
|
+
|
|
10
|
+
# Unit/integration tests — no browser, runs on every Ruby x Rails combo.
|
|
9
11
|
Rake::TestTask.new(:test) do |t|
|
|
10
12
|
t.libs << 'test'
|
|
11
|
-
t.
|
|
13
|
+
t.test_files = FileList['test/**/*_test.rb'].exclude('test/system/**/*')
|
|
14
|
+
t.warning = false
|
|
15
|
+
t.verbose = false
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# System tests — drive the widget in headless Chrome (needs a browser).
|
|
19
|
+
Rake::TestTask.new('test:system') do |t|
|
|
20
|
+
t.libs << 'test'
|
|
21
|
+
t.test_files = FileList['test/system/**/*_test.rb']
|
|
12
22
|
t.warning = false
|
|
13
23
|
t.verbose = false
|
|
14
24
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n_proofreading
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Shmarov
|
|
@@ -83,12 +83,12 @@ files:
|
|
|
83
83
|
- lib/i18n_proofreading/version.rb
|
|
84
84
|
- lib/i18n_proofreading/widget.js
|
|
85
85
|
- lib/i18n_proofreading/widget.rb
|
|
86
|
-
homepage: https://github.com/yshmarov/
|
|
86
|
+
homepage: https://github.com/yshmarov/i18n_proofreading
|
|
87
87
|
licenses:
|
|
88
88
|
- MIT
|
|
89
89
|
metadata:
|
|
90
|
-
source_code_uri: https://github.com/yshmarov/
|
|
91
|
-
changelog_uri: https://github.com/yshmarov/
|
|
90
|
+
source_code_uri: https://github.com/yshmarov/i18n_proofreading
|
|
91
|
+
changelog_uri: https://github.com/yshmarov/i18n_proofreading/blob/main/CHANGELOG.md
|
|
92
92
|
rubygems_mfa_required: 'true'
|
|
93
93
|
rdoc_options: []
|
|
94
94
|
require_paths:
|
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
104
|
- !ruby/object:Gem::Version
|
|
105
105
|
version: '0'
|
|
106
106
|
requirements: []
|
|
107
|
-
rubygems_version:
|
|
107
|
+
rubygems_version: 3.6.9
|
|
108
108
|
specification_version: 4
|
|
109
109
|
summary: 'In-context i18n proofreading for Rails: click any translated string and
|
|
110
110
|
suggest a fix.'
|