wovnrb 2.0.3 → 2.0.4

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
- SHA1:
3
- metadata.gz: 9ce58b69eb2db35e989b96207cb185a4dd0c14ec
4
- data.tar.gz: a5ddf4caeb09e8aae80593150ef74602025cc60b
2
+ SHA256:
3
+ metadata.gz: 2cbc48a8cacbf8340c298d593374a8ccb57e62b58d3261cf67de38808c9166e8
4
+ data.tar.gz: ccbc32b1bb4e1ba09aed5efcbddf51a407e683450e17774426fa09c683f23553
5
5
  SHA512:
6
- metadata.gz: 0a2ad9c9bf3dd9db5f6c13fe2378e776a0d9ff88e566c24f9fcebe929adf0bd88fbdfbf74d117ac6615851b7e070e5dcfddb5a19866db5c5eb4b1b26b664e450
7
- data.tar.gz: 545ec6538d2d3a95da5203759cd3f32b68b18327238d618a7bb94a299b5c95c8c23b88a0a5907e92f1429d55bdfde28aabaaf272c4f269b15bc84407cc1c8277
6
+ metadata.gz: 7e489ddb1c5a7a62e5da329105039c84bba898bca10c5542568d9fddc6bf9f9a479ab36279ac6ba305f44384a2396eb8e2e6f99ded5744f101d98a3a191ef0f0
7
+ data.tar.gz: 1c5e7dd23e38c2f72c3445c7ae5173cd59ef3e17edf215613d21b68cd848c67753fe820ba8104c9f8ecc4de896c12c9436887c3f0f6dc413f35d81083c6c24de
@@ -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/IndentHash:
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
@@ -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.5,
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
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.4'.freeze
3
3
  end
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.3
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-04-11 00:00:00.000000000 Z
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.2.0
465
+ rubygems_version: 2.7.7
466
466
  signing_key:
467
467
  specification_version: 4
468
468
  summary: Gem for WOVN.io