lws 7.2.1 → 7.2.2
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/lib/lws/config.rb +1 -1
- data/lib/lws/version.rb +1 -1
- data/test/http_caching_test.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 350e54af9f57bb0b94f8f51248803a4e6fa9e2f421756e4d2bac70366ce23fff
|
|
4
|
+
data.tar.gz: 7ea50f13efa607f5cca37a78f4017bb3b538c203ebd186a1de981bc56d9d7aab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2d6398954478aa49996571f6925c9272c325e2fe33da50ecced8945788babb92db0a8ca55b5f959216c242dee51b39ff89eb14a1b7b34d85ebebf5b2dfa34a0
|
|
7
|
+
data.tar.gz: f269968ac27d608b2ccced085c4ae425818039340262c5e66bbdded3cc4f3438f781e1add2c15a9b503199c5996f47b0788ccd98c692300f560530fa0df5caf2
|
data/lib/lws/config.rb
CHANGED
|
@@ -47,7 +47,7 @@ module LWS
|
|
|
47
47
|
|
|
48
48
|
#@!attribute http_caching
|
|
49
49
|
# @return [Boolean] whether HTTP caching is enabled
|
|
50
|
-
property :http_caching, default:
|
|
50
|
+
property :http_caching, default: false
|
|
51
51
|
|
|
52
52
|
#@!attribute http_caching_object
|
|
53
53
|
# @return [#read, #write, #delete] an object that caches results
|
data/lib/lws/version.rb
CHANGED
data/test/http_caching_test.rb
CHANGED
|
@@ -44,6 +44,7 @@ class TestHTTPCaching < MiniTest::Test
|
|
|
44
44
|
# Redo the LWS setup with an HTTP caching object
|
|
45
45
|
LWS.setup do |config|
|
|
46
46
|
config.api_token = ENV["LC_LWS_TEST_TOKEN"]
|
|
47
|
+
config.http_caching = true
|
|
47
48
|
config.http_caching_object = @cache_mock
|
|
48
49
|
if ENV["LC_LWS_TEST_DEBUG"].present?
|
|
49
50
|
config.http_debug = true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.2.
|
|
4
|
+
version: 7.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LeftClick B.V.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday-http-cache
|