seo_cache 1.0.0 → 1.0.1

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
2
  SHA256:
3
- metadata.gz: b82b45544128dd934db5108a1ac3ee005b469a4ff930a2f30ab0c1f07053dea0
4
- data.tar.gz: 674c9bd71f0742be48cb92fe1b2d1fe8c78567137a0feb7ff591174f563fc904
3
+ metadata.gz: 4ee9a26729de232dd3907da2de2af951a5e911b4e4232de92859ca99fa43b0e5
4
+ data.tar.gz: 2e156bc6455e91f2b401c48091c942e10b6ed8f3565982caa587a48409090df7
5
5
  SHA512:
6
- metadata.gz: 33e0310c7630322bed31cd4de556669959d469f3a5e8c2c4726d88d7a3b88dc7adf92fad7c33487afebc19cf69584d5ff9f9ea4ce019a4641e29385c40a2133d
7
- data.tar.gz: c9667584c03fbe472807d9fa9875e5cb956052729c50bfd5e7a69177c105ca0a5d92f021826bfbbc9cee7419b972328594d01b316a8a50889e12310d55eacd8d
6
+ metadata.gz: 2a67455edd4979de42d1ab769cc6dd3001c5ef65c5d453f7f10ab2dc566004ebd33967fafe02f3ce4ce50c8507b7eb811931a20812bb2c532101556e508fa4d8
7
+ data.tar.gz: 56fb3ebc4e5dc8d5e40374445f11c49e0c048f2db5f30eeaaebac66388d62a0f59711d2f08c1050469a89727df1cef57792698551037cc28db6f099fd539522e
@@ -1,3 +1,7 @@
1
+ ## 1.0.1
2
+
3
+ - Add user agent to missed caches
4
+
1
5
  ## 1.0.0
2
6
 
3
7
  - Update Readme (badges, syntax, links, ...)
@@ -21,7 +21,10 @@ module SeoCache
21
21
 
22
22
  return cached_response.finish if cached_response.present?
23
23
 
24
- SeoCache.log('missed cache : ' + Rack::Request.new(env).path) if SeoCache.log_missed_cache
24
+ if SeoCache.log_missed_cache
25
+ env_request = Rack::Request.new(env)
26
+ SeoCache.log("missed cache : #{env_request.path} (User agent: #{env_request.user_agent})")
27
+ end
25
28
 
26
29
  if SeoCache.prerender_service_url.present?
27
30
  prerender_response = prerender_service(env)
@@ -1,3 +1,3 @@
1
1
  module SeoCache
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seo_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-31 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.1.3
232
+ rubygems_version: 3.0.8
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Cache dedicated for SEO with Javascript rendering