request_local_cache 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/lib/request_local_cache/railtie.rb +2 -2
- data/lib/request_local_cache/version.rb +1 -1
- data/request_local_cache.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47af0341216d52a9001ef6dd2f48c7ee533af254
|
4
|
+
data.tar.gz: 59ba83bcd5344d4770a9f1d3f5163a0de284c4d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20259390319e32da0c9d8a14c6a4f6709cd0ac37175de7cd10b840fe51e25b506559d712aa5220d6e5ee91a02c06a887f23212692fde2e7b8439285cd0b0d513
|
7
|
+
data.tar.gz: df179c3051692cb99076ac83b488451c4a86557135d8c16b00c142295f1d56d834b3671a0e160e1b9267c0b50976367b5bf949f0eb153e396b35a179f67e8e19
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2015-2017 Vinted
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -7,8 +7,8 @@ module RequestLocalCache
|
|
7
7
|
app.config.middleware.insert_after Rack::MethodOverride, RequestLocalCache::Middleware
|
8
8
|
end
|
9
9
|
|
10
|
-
if
|
11
|
-
|
10
|
+
if ActiveSupport.const_defined?(:Reloader) && ActiveSupport::Reloader.respond_to?(:to_complete)
|
11
|
+
ActiveSupport::Reloader.to_prepare do
|
12
12
|
RequestLocalCache.clear!
|
13
13
|
end
|
14
14
|
end
|
data/request_local_cache.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'request_local_cache'
|
8
8
|
spec.version = RequestLocalCache::VERSION
|
9
9
|
spec.authors = ['Karolis Astrauka']
|
10
|
-
spec.email = ['
|
10
|
+
spec.email = ['admin@vinted.com']
|
11
11
|
|
12
12
|
spec.summary = %q{RequestLocalCache gives you per-request cache}
|
13
13
|
spec.description = %q{RequestLocalCache gives you per-request cache}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_local_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karolis Astrauka
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -54,13 +54,14 @@ dependencies:
|
|
54
54
|
version: '10.0'
|
55
55
|
description: RequestLocalCache gives you per-request cache
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- admin@vinted.com
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- Gemfile
|
64
|
+
- LICENSE
|
64
65
|
- README.md
|
65
66
|
- Rakefile
|
66
67
|
- bin/console
|