wovnrb 2.0.3 → 2.0.4
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/.rubocop_todo.yml +10 -10
- data/lib/wovnrb/store.rb +2 -2
- data/lib/wovnrb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 2cbc48a8cacbf8340c298d593374a8ccb57e62b58d3261cf67de38808c9166e8
|
|
4
|
+
data.tar.gz: ccbc32b1bb4e1ba09aed5efcbddf51a407e683450e17774426fa09c683f23553
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e489ddb1c5a7a62e5da329105039c84bba898bca10c5542568d9fddc6bf9f9a479ab36279ac6ba305f44384a2396eb8e2e6f99ded5744f101d98a3a191ef0f0
|
|
7
|
+
data.tar.gz: 1c5e7dd23e38c2f72c3445c7ae5173cd59ef3e17edf215613d21b68cd848c67753fe820ba8104c9f8ecc4de896c12c9436887c3f0f6dc413f35d81083c6c24de
|
data/.rubocop_todo.yml
CHANGED
|
@@ -29,7 +29,7 @@ Layout/ExtraSpacing:
|
|
|
29
29
|
# Cop supports --auto-correct.
|
|
30
30
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
31
31
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
32
|
-
Layout/
|
|
32
|
+
Layout/IndentFirstHashElement:
|
|
33
33
|
Exclude:
|
|
34
34
|
- 'lib/wovnrb/text_caches/cache_base.rb'
|
|
35
35
|
|
|
@@ -232,15 +232,6 @@ Style/NegatedIf:
|
|
|
232
232
|
Exclude:
|
|
233
233
|
- 'lib/wovnrb/store.rb'
|
|
234
234
|
|
|
235
|
-
# Offense count: 2
|
|
236
|
-
# Cop supports --auto-correct.
|
|
237
|
-
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
|
238
|
-
# SupportedStyles: predicate, comparison
|
|
239
|
-
Style/NumericPredicate:
|
|
240
|
-
Exclude:
|
|
241
|
-
- 'spec/**/*'
|
|
242
|
-
- 'lib/wovnrb/store.rb'
|
|
243
|
-
|
|
244
235
|
# Offense count: 9
|
|
245
236
|
# Cop supports --auto-correct.
|
|
246
237
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -306,3 +297,12 @@ Style/ZeroLengthPredicate:
|
|
|
306
297
|
# URISchemes: http, https
|
|
307
298
|
Metrics/LineLength:
|
|
308
299
|
Max: 1424
|
|
300
|
+
|
|
301
|
+
Style/FrozenStringLiteralComment:
|
|
302
|
+
Enabled: false
|
|
303
|
+
|
|
304
|
+
Style/NumericPredicate:
|
|
305
|
+
Enabled: false
|
|
306
|
+
|
|
307
|
+
Style/SafeNavigation:
|
|
308
|
+
Enabled: false
|
data/lib/wovnrb/store.rb
CHANGED
|
@@ -23,7 +23,7 @@ module Wovnrb
|
|
|
23
23
|
'query' => [],
|
|
24
24
|
'ignore_class' => [],
|
|
25
25
|
'api_url' => 'https://wovn.global.ssl.fastly.net/v0/',
|
|
26
|
-
'api_timeout_seconds' => 0
|
|
26
|
+
'api_timeout_seconds' => 1.0,
|
|
27
27
|
'default_lang' => 'en',
|
|
28
28
|
'supported_langs' => ['en'],
|
|
29
29
|
'test_mode' => false,
|
|
@@ -160,7 +160,7 @@ module Wovnrb
|
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
if @settings['api_timeout_seconds'] == self.class.default_settings['api_timeout_seconds']
|
|
163
|
-
@settings['api_timeout_seconds'] = 3
|
|
163
|
+
@settings['api_timeout_seconds'] = 3.0
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
end
|
data/lib/wovnrb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wovnrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Sandford
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-05-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -462,7 +462,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
462
462
|
version: '0'
|
|
463
463
|
requirements: []
|
|
464
464
|
rubyforge_project:
|
|
465
|
-
rubygems_version: 2.
|
|
465
|
+
rubygems_version: 2.7.7
|
|
466
466
|
signing_key:
|
|
467
467
|
specification_version: 4
|
|
468
468
|
summary: Gem for WOVN.io
|