onlyoffice_language_helper 0.4.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4890dcddd07cc03496ad7504dfdc49c403a347789fe0b1b605581f871e42ac6
|
4
|
+
data.tar.gz: 2b78d019fc61d85a2a3211c727e928312a9daad2245478697ed2fc3991e0c92b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10b031400c7f863e8de6e7af74b404895d9fa05d8acb90360746ba111b62c0bde0cf29f92af92dde824ab0c43dafc7d3077401c0544667f29b2298c57c1e9d6e
|
7
|
+
data.tar.gz: 4ff2825f51d8733a5e656d59144bd06aa7bfe0a52342ae0d8e052a61567726630b1600776abdb7e959a18624083a5487febc4cdce1b95054e65c3b740520ca5d
|
@@ -29,7 +29,7 @@ module OnlyofficeLanguageHelper
|
|
29
29
|
# Set value to variable DetectLanguageWrapper.keys
|
30
30
|
# @return [Array, String] list of keys
|
31
31
|
def read_keys
|
32
|
-
return [ENV['DETECT_LANGUAGE_KEY']] if ENV
|
32
|
+
return [ENV['DETECT_LANGUAGE_KEY']] if ENV.key?('DETECT_LANGUAGE_KEY')
|
33
33
|
|
34
34
|
OnlyofficeFileHelper::FileHelper
|
35
35
|
.read_array_from_file("#{Dir.home}/.detect_language/keys")
|
@@ -47,7 +47,7 @@ module OnlyofficeLanguageHelper
|
|
47
47
|
end
|
48
48
|
return true if DetectLanguage.user_status['status'] == 'ACTIVE'
|
49
49
|
end
|
50
|
-
raise 'All keys are non-active. '\
|
50
|
+
raise 'All keys are non-active. ' \
|
51
51
|
'Please register more detectlanguage.com accounts'
|
52
52
|
end
|
53
53
|
end
|
@@ -76,7 +76,7 @@ module OnlyofficeLanguageHelper
|
|
76
76
|
# @param language [String] language to get
|
77
77
|
# @return [String] path
|
78
78
|
def self.path_to_dic_aff(extension, language = config.expected_language)
|
79
|
-
"#{config.dictionaries_path}/dictionaries/"\
|
79
|
+
"#{config.dictionaries_path}/dictionaries/" \
|
80
80
|
"#{language}/#{language}.#{extension}"
|
81
81
|
end
|
82
82
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlyoffice_language_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ONLYOFFICE
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: detect_language
|
@@ -43,30 +43,36 @@ dependencies:
|
|
43
43
|
name: httparty
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0.10'
|
46
49
|
- - ">="
|
47
50
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
51
|
+
version: 0.21.0
|
49
52
|
type: :runtime
|
50
53
|
prerelease: false
|
51
54
|
version_requirements: !ruby/object:Gem::Requirement
|
52
55
|
requirements:
|
56
|
+
- - "~>"
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0.10'
|
53
59
|
- - ">="
|
54
60
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
61
|
+
version: 0.21.0
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: onlyoffice_file_helper
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
|
-
- - "
|
66
|
+
- - "<"
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
68
|
+
version: '3'
|
63
69
|
type: :runtime
|
64
70
|
prerelease: false
|
65
71
|
version_requirements: !ruby/object:Gem::Requirement
|
66
72
|
requirements:
|
67
|
-
- - "
|
73
|
+
- - "<"
|
68
74
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
75
|
+
version: '3'
|
70
76
|
- !ruby/object:Gem::Dependency
|
71
77
|
name: onlyoffice_logger_helper
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,132 +101,6 @@ dependencies:
|
|
95
101
|
- - "~>"
|
96
102
|
- !ruby/object:Gem::Version
|
97
103
|
version: '1'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: codecov
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '0'
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '0'
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: overcommit
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rake
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '13'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '13'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: rspec
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '3'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '3'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: rubocop
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - "~>"
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '1'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - "~>"
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '1'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: rubocop-performance
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - "~>"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '1'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '1'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: rubocop-rake
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - "~>"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '0'
|
189
|
-
type: :development
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
|
-
name: rubocop-rspec
|
198
|
-
requirement: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '2'
|
203
|
-
type: :development
|
204
|
-
prerelease: false
|
205
|
-
version_requirements: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '2'
|
210
|
-
- !ruby/object:Gem::Dependency
|
211
|
-
name: yard
|
212
|
-
requirement: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - ">="
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: 0.9.20
|
217
|
-
type: :development
|
218
|
-
prerelease: false
|
219
|
-
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - ">="
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: 0.9.20
|
224
104
|
description: ONLYOFFICE Helper Gem for language operation. Used in QA
|
225
105
|
email:
|
226
106
|
- shockwavenn@gmail.com
|
@@ -338,13 +218,13 @@ files:
|
|
338
218
|
- lib/onlyoffice_language_helper/version.rb
|
339
219
|
homepage: https://github.com/ONLYOFFICE-QA/onlyoffice_language_helper
|
340
220
|
licenses:
|
341
|
-
- AGPL-3.0
|
221
|
+
- AGPL-3.0-or-later
|
342
222
|
metadata:
|
343
223
|
bug_tracker_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_language_helper/issues
|
344
224
|
changelog_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_language_helper/blob/master/CHANGELOG.md
|
345
225
|
documentation_uri: https://www.rubydoc.info/gems/onlyoffice_language_helper
|
346
|
-
homepage_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_language_helper
|
347
226
|
source_code_uri: https://github.com/ONLYOFFICE-QA/onlyoffice_language_helper
|
227
|
+
rubygems_mfa_required: 'true'
|
348
228
|
post_install_message:
|
349
229
|
rdoc_options: []
|
350
230
|
require_paths:
|
@@ -353,14 +233,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
353
233
|
requirements:
|
354
234
|
- - ">="
|
355
235
|
- !ruby/object:Gem::Version
|
356
|
-
version: '
|
236
|
+
version: '3.0'
|
357
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
238
|
requirements:
|
359
239
|
- - ">="
|
360
240
|
- !ruby/object:Gem::Version
|
361
241
|
version: '0'
|
362
242
|
requirements: []
|
363
|
-
rubygems_version: 3.
|
243
|
+
rubygems_version: 3.5.5
|
364
244
|
signing_key:
|
365
245
|
specification_version: 4
|
366
246
|
summary: ONLYOFFICE Helper Gem for language operation
|