languagetool 1.2.0 → 1.3.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 +5 -5
- data/.github/workflows/test.yml +35 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +133 -76
- data/README.md +15 -5
- data/Rakefile +4 -4
- data/VERSION +1 -1
- data/languagetool.gemspec +29 -33
- data/lib/languagetool/actions/base.rb +1 -4
- data/lib/languagetool/actions/check.rb +0 -1
- data/lib/languagetool/actions/languages.rb +0 -1
- data/lib/languagetool/api.rb +2 -1
- data/test/{test_check.rb → check_test.rb} +2 -2
- data/test/{test_languages.rb → languages_test.rb} +2 -2
- metadata +16 -16
- /data/test/{helper.rb → test_helper.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 600c1f6211bb4bca84077a4c2f1b6777e5d2ff7a0e0a41bda0401e7ca903e6e1
|
4
|
+
data.tar.gz: bd73171ba022f2a16e4a0ec4050b0c14d29bf15b461fe4552129d44fb477379e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d830db7f0c523f60c335c4b3b4222881a2dee8b27a5ccb9f450f229f2b55f7e14dd597ba7e5987178aa75b3bf29d43c8e2836dfeb3789b87fd883e520b13496e
|
7
|
+
data.tar.gz: 611a9131920a8d6f00b67b5ee323c271fe58380c918992a5390b6ed8e0fcd9384cf4a14201dd7c268ef5d528086b4400f341f222f2897d3059811bb1c0905516
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby test
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ "master" ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ "master" ]
|
15
|
+
|
16
|
+
permissions:
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
test:
|
21
|
+
|
22
|
+
runs-on: ubuntu-latest
|
23
|
+
strategy:
|
24
|
+
matrix:
|
25
|
+
ruby-version: ['3.0', '3.1']
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v4
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby-version }}
|
33
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
34
|
+
- name: Run tests
|
35
|
+
run: bundle exec rake test
|
data/Gemfile
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
ruby '
|
3
|
+
ruby '>= 3.0.0'
|
4
4
|
|
5
5
|
gem 'rest-client'
|
6
6
|
|
7
7
|
group :development do
|
8
|
-
gem 'rdoc', '
|
9
|
-
gem 'bundler', '~>
|
10
|
-
gem '
|
8
|
+
gem 'rdoc', '>= 4'
|
9
|
+
gem 'bundler', '~> 2'
|
10
|
+
gem 'juwelier', '~> 2'
|
11
11
|
end
|
12
12
|
|
13
13
|
group :test do
|
data/Gemfile.lock
CHANGED
@@ -1,105 +1,162 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
4
|
+
activesupport (7.1.3.4)
|
5
|
+
base64
|
6
|
+
bigdecimal
|
5
7
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
connection_pool (>= 2.2.5)
|
9
|
+
drb
|
10
|
+
i18n (>= 1.6, < 2)
|
11
|
+
minitest (>= 5.1)
|
12
|
+
mutex_m
|
13
|
+
tzinfo (~> 2.0)
|
14
|
+
addressable (2.8.6)
|
15
|
+
public_suffix (>= 2.0.2, < 6.0)
|
16
|
+
base64 (0.2.0)
|
17
|
+
bigdecimal (3.1.8)
|
18
|
+
builder (3.3.0)
|
19
|
+
concurrent-ruby (1.3.3)
|
20
|
+
connection_pool (2.4.1)
|
21
|
+
crack (1.0.0)
|
22
|
+
bigdecimal
|
23
|
+
rexml
|
14
24
|
descendants_tracker (0.0.4)
|
15
25
|
thread_safe (~> 0.3, >= 0.3.1)
|
16
|
-
docile (1.
|
17
|
-
domain_name (0.
|
18
|
-
|
19
|
-
faraday (
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
26
|
+
docile (1.4.0)
|
27
|
+
domain_name (0.6.20240107)
|
28
|
+
drb (2.2.1)
|
29
|
+
faraday (1.10.3)
|
30
|
+
faraday-em_http (~> 1.0)
|
31
|
+
faraday-em_synchrony (~> 1.0)
|
32
|
+
faraday-excon (~> 1.1)
|
33
|
+
faraday-httpclient (~> 1.0)
|
34
|
+
faraday-multipart (~> 1.0)
|
35
|
+
faraday-net_http (~> 1.0)
|
36
|
+
faraday-net_http_persistent (~> 1.0)
|
37
|
+
faraday-patron (~> 1.0)
|
38
|
+
faraday-rack (~> 1.0)
|
39
|
+
faraday-retry (~> 1.0)
|
40
|
+
ruby2_keywords (>= 0.0.4)
|
41
|
+
faraday-em_http (1.0.0)
|
42
|
+
faraday-em_synchrony (1.0.0)
|
43
|
+
faraday-excon (1.1.0)
|
44
|
+
faraday-httpclient (1.0.1)
|
45
|
+
faraday-multipart (1.0.4)
|
46
|
+
multipart-post (~> 2)
|
47
|
+
faraday-net_http (1.0.1)
|
48
|
+
faraday-net_http_persistent (1.2.0)
|
49
|
+
faraday-patron (1.0.0)
|
50
|
+
faraday-rack (1.0.0)
|
51
|
+
faraday-retry (1.0.3)
|
52
|
+
git (2.1.1)
|
53
|
+
activesupport (>= 5.0)
|
54
|
+
addressable (~> 2.8)
|
55
|
+
process_executer (~> 1.1)
|
56
|
+
rchardet (~> 1.8)
|
57
|
+
github_api (0.19.0)
|
58
|
+
addressable (~> 2.4)
|
24
59
|
descendants_tracker (~> 0.0.4)
|
25
|
-
faraday (
|
26
|
-
hashie (>= 3.
|
27
|
-
mime-types (>= 1.16, < 3.0)
|
60
|
+
faraday (>= 0.8, < 2)
|
61
|
+
hashie (~> 3.5, >= 3.5.2)
|
28
62
|
oauth2 (~> 1.0)
|
29
|
-
hashdiff (
|
30
|
-
hashie (3.
|
31
|
-
highline (
|
32
|
-
http-
|
63
|
+
hashdiff (1.1.0)
|
64
|
+
hashie (3.6.0)
|
65
|
+
highline (3.0.1)
|
66
|
+
http-accept (1.7.0)
|
67
|
+
http-cookie (1.0.8)
|
33
68
|
domain_name (~> 0.5)
|
34
|
-
i18n (
|
35
|
-
|
69
|
+
i18n (1.14.5)
|
70
|
+
concurrent-ruby (~> 1.0)
|
71
|
+
juwelier (2.4.9)
|
36
72
|
builder
|
37
|
-
bundler
|
38
|
-
git
|
73
|
+
bundler
|
74
|
+
git
|
39
75
|
github_api
|
40
|
-
highline
|
41
|
-
|
76
|
+
highline
|
77
|
+
kamelcase (~> 0)
|
78
|
+
nokogiri
|
79
|
+
psych
|
42
80
|
rake
|
43
81
|
rdoc
|
44
|
-
|
45
|
-
jwt (
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
82
|
+
semver2
|
83
|
+
jwt (2.8.1)
|
84
|
+
base64
|
85
|
+
kamelcase (0.0.2)
|
86
|
+
semver2 (~> 3)
|
87
|
+
logger (1.6.5)
|
88
|
+
mime-types (3.6.0)
|
89
|
+
logger
|
90
|
+
mime-types-data (~> 3.2015)
|
91
|
+
mime-types-data (3.2025.0107)
|
92
|
+
mini_portile2 (2.8.7)
|
93
|
+
minitest (5.23.1)
|
94
|
+
multi_json (1.15.0)
|
50
95
|
multi_xml (0.6.0)
|
51
|
-
multipart-post (2.
|
96
|
+
multipart-post (2.4.1)
|
97
|
+
mutex_m (0.2.0)
|
52
98
|
netrc (0.11.0)
|
53
|
-
nokogiri (1.
|
54
|
-
mini_portile2 (~> 2.
|
55
|
-
|
56
|
-
|
57
|
-
|
99
|
+
nokogiri (1.16.6)
|
100
|
+
mini_portile2 (~> 2.8.2)
|
101
|
+
racc (~> 1.4)
|
102
|
+
oauth2 (1.4.11)
|
103
|
+
faraday (>= 0.17.3, < 3.0)
|
104
|
+
jwt (>= 1.0, < 3.0)
|
58
105
|
multi_json (~> 1.3)
|
59
106
|
multi_xml (~> 0.5)
|
60
|
-
rack (>= 1.2, <
|
61
|
-
power_assert (
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
107
|
+
rack (>= 1.2, < 4)
|
108
|
+
power_assert (2.0.3)
|
109
|
+
process_executer (1.1.0)
|
110
|
+
psych (5.1.2)
|
111
|
+
stringio
|
112
|
+
public_suffix (5.1.0)
|
113
|
+
racc (1.8.0)
|
114
|
+
rack (3.1.3)
|
115
|
+
rake (13.2.1)
|
116
|
+
rchardet (1.8.0)
|
117
|
+
rdoc (6.4.0)
|
118
|
+
psych (>= 4.0.0)
|
119
|
+
rest-client (2.1.0)
|
120
|
+
http-accept (>= 1.7.0, < 2.0)
|
67
121
|
http-cookie (>= 1.0.2, < 2.0)
|
68
122
|
mime-types (>= 1.16, < 4.0)
|
69
123
|
netrc (~> 0.8)
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
shoulda
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
124
|
+
rexml (3.3.0)
|
125
|
+
strscan
|
126
|
+
ruby2_keywords (0.0.5)
|
127
|
+
semver2 (3.4.2)
|
128
|
+
shoulda (4.0.0)
|
129
|
+
shoulda-context (~> 2.0)
|
130
|
+
shoulda-matchers (~> 4.0)
|
131
|
+
shoulda-context (2.0.0)
|
132
|
+
shoulda-matchers (4.5.1)
|
133
|
+
activesupport (>= 4.2.0)
|
134
|
+
simplecov (0.22.0)
|
135
|
+
docile (~> 1.1)
|
136
|
+
simplecov-html (~> 0.11)
|
137
|
+
simplecov_json_formatter (~> 0.1)
|
138
|
+
simplecov-html (0.12.3)
|
139
|
+
simplecov_json_formatter (0.1.4)
|
140
|
+
stringio (3.1.1)
|
141
|
+
strscan (3.1.0)
|
142
|
+
test-unit (3.6.2)
|
83
143
|
power_assert
|
84
144
|
thread_safe (0.3.6)
|
85
|
-
tzinfo (
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
vcr (3.0.3)
|
91
|
-
webmock (3.0.1)
|
92
|
-
addressable (>= 2.3.6)
|
145
|
+
tzinfo (2.0.6)
|
146
|
+
concurrent-ruby (~> 1.0)
|
147
|
+
vcr (6.2.0)
|
148
|
+
webmock (3.23.1)
|
149
|
+
addressable (>= 2.8.0)
|
93
150
|
crack (>= 0.3.2)
|
94
|
-
hashdiff
|
151
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
95
152
|
|
96
153
|
PLATFORMS
|
97
154
|
ruby
|
98
155
|
|
99
156
|
DEPENDENCIES
|
100
|
-
bundler (~>
|
101
|
-
|
102
|
-
rdoc (
|
157
|
+
bundler (~> 2)
|
158
|
+
juwelier (~> 2)
|
159
|
+
rdoc (>= 4)
|
103
160
|
rest-client
|
104
161
|
shoulda
|
105
162
|
simplecov
|
@@ -108,7 +165,7 @@ DEPENDENCIES
|
|
108
165
|
webmock
|
109
166
|
|
110
167
|
RUBY VERSION
|
111
|
-
ruby
|
168
|
+
ruby 3.3.3p89
|
112
169
|
|
113
170
|
BUNDLED WITH
|
114
|
-
|
171
|
+
2.5.9
|
data/README.md
CHANGED
@@ -1,14 +1,12 @@
|
|
1
|
-
[](https://badge.fury.io/rb/languagetool)
|
1
|
+
[](https://badge.fury.io/rb/languagetool) 
|
2
2
|
|
3
3
|
# languagetool
|
4
4
|
|
5
|
-
<img src="https://gitlab.com/uploads/project/avatar/1507736/languagetool-ruby.png" width="200">
|
6
|
-
|
7
5
|
A simple ruby wrapper for the LanguageTool HTTP API. This gem is only compatible with LanguageTool 3.4 and above.
|
8
6
|
|
9
7
|
Please visit the this [link](https://languagetool.org/http-api/swagger-ui/#/default) for more information about the public LanguageTool HTTP API, and its allowed parameters.
|
10
8
|
|
11
|
-
This project uses [`
|
9
|
+
This project uses [`juwelier`](https://github.com/technicalpickles/juwelier) for managing and releasing this gem.
|
12
10
|
|
13
11
|
## Installation
|
14
12
|
|
@@ -41,6 +39,18 @@ api = LanguageTool::API.new # Public LanguageTool API by default
|
|
41
39
|
|
42
40
|
Please bear in mind that Ruby uses underscore names (`long_code`), while the LanguageTool API uses camelcase names (`longCode`).
|
43
41
|
|
42
|
+
The gem also works with the [premium API](https://languagetool.org/http-api/) too, just set the username and the API key when initializing the API:
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
LanguageTool::API.new(
|
46
|
+
base_uri: 'https://api.languagetoolplus.com/v2',
|
47
|
+
common_query_params: {
|
48
|
+
username: '...',
|
49
|
+
api_key: '...'
|
50
|
+
}
|
51
|
+
)
|
52
|
+
```
|
53
|
+
|
44
54
|
### Available languages
|
45
55
|
|
46
56
|
You can retrieve the available languages with `languages` method:
|
@@ -91,7 +101,7 @@ Then, use your custom local or remote url in your ruby code:
|
|
91
101
|
|
92
102
|
```ruby
|
93
103
|
require 'languagetool'
|
94
|
-
api = LanguageTool::API.new base_uri: 'http://localhost:8081/v2
|
104
|
+
api = LanguageTool::API.new base_uri: 'http://localhost:8081/v2'
|
95
105
|
```
|
96
106
|
|
97
107
|
## Custom options
|
data/Rakefile
CHANGED
@@ -11,8 +11,8 @@ rescue Bundler::BundlerError => e
|
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
13
|
|
14
|
-
require '
|
15
|
-
|
14
|
+
require 'juwelier'
|
15
|
+
Juwelier::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
17
|
gem.name = "languagetool"
|
18
18
|
gem.homepage = "https://github.com/wikiti/languagetool-ruby"
|
@@ -22,12 +22,12 @@ Jeweler::Tasks.new do |gem|
|
|
22
22
|
gem.email = 'info@danielherzog.es'
|
23
23
|
gem.authors = ['Daniel Herzog']
|
24
24
|
end
|
25
|
-
|
25
|
+
Juwelier::RubygemsDotOrgTasks.new
|
26
26
|
|
27
27
|
require 'rake/testtask'
|
28
28
|
Rake::TestTask.new(:test) do |test|
|
29
29
|
test.libs << 'lib' << 'test'
|
30
|
-
test.pattern = 'test
|
30
|
+
test.pattern = 'test/**/*_test.rb'
|
31
31
|
test.verbose = true
|
32
32
|
end
|
33
33
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.1
|
data/languagetool.gemspec
CHANGED
@@ -1,25 +1,26 @@
|
|
1
|
-
# Generated by
|
1
|
+
# Generated by juwelier
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: languagetool 1.
|
5
|
+
# stub: languagetool 1.3.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name = "languagetool"
|
9
|
-
s.version = "1.
|
8
|
+
s.name = "languagetool".freeze
|
9
|
+
s.version = "1.3.1"
|
10
10
|
|
11
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.require_paths = ["lib"]
|
13
|
-
s.authors = ["Daniel Herzog"]
|
14
|
-
s.date = "
|
15
|
-
s.description = "Gem wrapper for the LanguageTool API (public or private). It allows to correct texts."
|
16
|
-
s.email = "info@danielherzog.es"
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Daniel Herzog".freeze]
|
14
|
+
s.date = "2025-02-04"
|
15
|
+
s.description = "Gem wrapper for the LanguageTool API (public or private). It allows to correct texts.".freeze
|
16
|
+
s.email = "info@danielherzog.es".freeze
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE.txt",
|
19
19
|
"README.md"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
+
".github/workflows/test.yml",
|
23
24
|
"Gemfile",
|
24
25
|
"Gemfile.lock",
|
25
26
|
"LICENSE.txt",
|
@@ -41,36 +42,31 @@ Gem::Specification.new do |s|
|
|
41
42
|
"lib/languagetool/resources/rule.rb",
|
42
43
|
"lib/languagetool/resources/rule_category.rb",
|
43
44
|
"lib/languagetool/resources/software.rb",
|
45
|
+
"test/check_test.rb",
|
44
46
|
"test/fixtures/vcr_cassettes/check.yml",
|
45
47
|
"test/fixtures/vcr_cassettes/languages.yml",
|
46
|
-
"test/
|
47
|
-
"test/
|
48
|
-
"test/test_languages.rb"
|
48
|
+
"test/languages_test.rb",
|
49
|
+
"test/test_helper.rb"
|
49
50
|
]
|
50
|
-
s.homepage = "https://github.com/wikiti/languagetool-ruby"
|
51
|
-
s.licenses = ["MIT"]
|
52
|
-
s.rubygems_version = "
|
53
|
-
s.summary = "Gem wrapper for the LanguageTool API (public or private)"
|
51
|
+
s.homepage = "https://github.com/wikiti/languagetool-ruby".freeze
|
52
|
+
s.licenses = ["MIT".freeze]
|
53
|
+
s.rubygems_version = "3.3.7".freeze
|
54
|
+
s.summary = "Gem wrapper for the LanguageTool API (public or private)".freeze
|
54
55
|
|
55
56
|
if s.respond_to? :specification_version then
|
56
57
|
s.specification_version = 4
|
58
|
+
end
|
57
59
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
else
|
64
|
-
s.add_dependency(%q<rest-client>, [">= 0"])
|
65
|
-
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
66
|
-
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
67
|
-
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
68
|
-
end
|
60
|
+
if s.respond_to? :add_runtime_dependency then
|
61
|
+
s.add_runtime_dependency(%q<rest-client>.freeze, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<rdoc>.freeze, [">= 4"])
|
63
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 2"])
|
64
|
+
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2"])
|
69
65
|
else
|
70
|
-
s.add_dependency(%q<rest-client
|
71
|
-
s.add_dependency(%q<rdoc
|
72
|
-
s.add_dependency(%q<bundler
|
73
|
-
s.add_dependency(%q<
|
66
|
+
s.add_dependency(%q<rest-client>.freeze, [">= 0"])
|
67
|
+
s.add_dependency(%q<rdoc>.freeze, [">= 4"])
|
68
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 2"])
|
69
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
|
74
70
|
end
|
75
71
|
end
|
76
72
|
|
@@ -24,15 +24,12 @@ module LanguageTool
|
|
24
24
|
"#{api.base_uri}/#{path}"
|
25
25
|
end
|
26
26
|
|
27
|
-
def default_query
|
28
|
-
{}
|
29
|
-
end
|
30
|
-
|
31
27
|
def underscore_to_camelcase(str)
|
32
28
|
str.to_s.gsub(/_(.)/) { |match| "#{match[1].upcase}" }
|
33
29
|
end
|
34
30
|
|
35
31
|
def normalize_query(q)
|
32
|
+
q = api.common_query_params.merge(q.to_h)
|
36
33
|
Hash[q.map { |k, v| [underscore_to_camelcase(k), v] }].select { |k, v| v }
|
37
34
|
end
|
38
35
|
end
|
data/lib/languagetool/api.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: languagetool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Herzog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -28,44 +28,44 @@ dependencies:
|
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4'
|
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: '
|
40
|
+
version: '4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: juwelier
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2
|
61
|
+
version: '2'
|
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: 2
|
68
|
+
version: '2'
|
69
69
|
description: Gem wrapper for the LanguageTool API (public or private). It allows to
|
70
70
|
correct texts.
|
71
71
|
email: info@danielherzog.es
|
@@ -76,6 +76,7 @@ extra_rdoc_files:
|
|
76
76
|
- README.md
|
77
77
|
files:
|
78
78
|
- ".document"
|
79
|
+
- ".github/workflows/test.yml"
|
79
80
|
- Gemfile
|
80
81
|
- Gemfile.lock
|
81
82
|
- LICENSE.txt
|
@@ -97,11 +98,11 @@ files:
|
|
97
98
|
- lib/languagetool/resources/rule.rb
|
98
99
|
- lib/languagetool/resources/rule_category.rb
|
99
100
|
- lib/languagetool/resources/software.rb
|
101
|
+
- test/check_test.rb
|
100
102
|
- test/fixtures/vcr_cassettes/check.yml
|
101
103
|
- test/fixtures/vcr_cassettes/languages.yml
|
102
|
-
- test/
|
103
|
-
- test/
|
104
|
-
- test/test_languages.rb
|
104
|
+
- test/languages_test.rb
|
105
|
+
- test/test_helper.rb
|
105
106
|
homepage: https://github.com/wikiti/languagetool-ruby
|
106
107
|
licenses:
|
107
108
|
- MIT
|
@@ -121,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
122
|
- !ruby/object:Gem::Version
|
122
123
|
version: '0'
|
123
124
|
requirements: []
|
124
|
-
|
125
|
-
rubygems_version: 2.4.5.1
|
125
|
+
rubygems_version: 3.3.7
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Gem wrapper for the LanguageTool API (public or private)
|
File without changes
|