lhs 13.2.1 → 13.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/README.md +10 -0
- data/lib/lhs/test/request_cycle_cache_helper.rb +5 -0
- data/lib/lhs/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 817ac42fa13f753a81ae3cdb118c1603c69e621b
|
|
4
|
+
data.tar.gz: 9c25357f8dd19e34c89060cd8937e267b3d72d08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2d61991d9f8c997258796996c74221658f4c6d6e49fd99138794add22d60587ae54b4ef38fe0067fd9779d8b5f7c62a0cc76f907b029c428e18bb5881f21b8c
|
|
7
|
+
data.tar.gz: c50e17144b9e7dc502537524659fcdc2f52053697e9c031edb4e560b8fb2f80f3c7683b6b06b3c018a69ad768d82d90031a69cd7725753b08cc2701fe46936bd
|
data/README.md
CHANGED
|
@@ -1112,6 +1112,16 @@ it 'displays contracts' do
|
|
|
1112
1112
|
end
|
|
1113
1113
|
```
|
|
1114
1114
|
|
|
1115
|
+
## Test support (caching)
|
|
1116
|
+
|
|
1117
|
+
Add to your spec_helper.rb:
|
|
1118
|
+
|
|
1119
|
+
```ruby
|
|
1120
|
+
require 'lhs/test/request_cycle_cache'
|
|
1121
|
+
```
|
|
1122
|
+
|
|
1123
|
+
This will initialize a MemoryStore cache for LHC::Caching interceptor and resets the cache before every test.
|
|
1124
|
+
|
|
1115
1125
|
## Where values hash
|
|
1116
1126
|
|
|
1117
1127
|
Returns a hash of where conditions.
|
data/lib/lhs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lhs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 13.2.
|
|
4
|
+
version: 13.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- https://github.com/local-ch/lhs/graphs/contributors
|
|
@@ -244,6 +244,7 @@ files:
|
|
|
244
244
|
- lib/lhs/proxy.rb
|
|
245
245
|
- lib/lhs/railtie.rb
|
|
246
246
|
- lib/lhs/record.rb
|
|
247
|
+
- lib/lhs/test/request_cycle_cache_helper.rb
|
|
247
248
|
- lib/lhs/version.rb
|
|
248
249
|
- script/ci/build.sh
|
|
249
250
|
- spec/.DS_Store
|
|
@@ -416,7 +417,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
416
417
|
requirements:
|
|
417
418
|
- Ruby >= 2.3.0
|
|
418
419
|
rubyforge_project:
|
|
419
|
-
rubygems_version: 2.6.
|
|
420
|
+
rubygems_version: 2.6.12
|
|
420
421
|
signing_key:
|
|
421
422
|
specification_version: 4
|
|
422
423
|
summary: Rails gem providing an easy, active-record-like interface for http json services
|