seo_cache 0.12.0 → 0.13.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5883ffe627a24434fdd9b39a474af010cc0ac22d14c8a9a42d02038bcf06d2f9
4
- data.tar.gz: 01e2ee94da4a8706a78379d8e59918359e021b8e89d942050a2909fdfcb218e4
3
+ metadata.gz: 7d7b514af393697e5456ae38428f5c981c98e55d3d597bb2ad5eecb87ee6b51f
4
+ data.tar.gz: cfa601bcfc63dcf325fa3e5be89afb0eadeb23f89825d83ea9b798ceb526c653
5
5
  SHA512:
6
- metadata.gz: 4ec66862f2ea5b0e9963c92c6841a3a7bdb927f48e6e1b1008cb5adba391251a1b70b0e2231a0ef79f9d33de1f392701e5d9f14162f9c739b91c939bc37d2e35
7
- data.tar.gz: ba0760d5213a9df4f7da470e87eb395aca8508cb33d674c2708a8e224ba45a46ea9211617c683f2bf476ba1a95be138e4053016fa7f3a7e9f32e461f96099afb
6
+ metadata.gz: 130eef04e96ea002199c7056df916aa0480b609cb200ef600cf9e9ba4fc39960c35eec1aebef5081c4a777cb4ef893543a7299fccf0d4be273853c679922d0a0
7
+ data.tar.gz: fd39028f3f8a578f30f17a3ef2cf638d821220bb32d8e18294173d3afdaf073d497f90c58f4f6eed1bb85a693737978d0bf39664d3423bc18eba98d3efe21521
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.13.0
2
+
3
+ - Correct option for populate cache
4
+ - Add new option in Readme
5
+
1
6
  ## 0.12.0
2
7
 
3
8
  - Force driver to quit after page rendering (except for populate cache, quit only after rendered all pages)
data/README.md CHANGED
@@ -70,6 +70,12 @@ Redis prefix:
70
70
  SeoCache.redis_namespace = '_my_project:seo_cache'
71
71
  ```
72
72
 
73
+ Waiting time before the page is fully loaded (optional in sec, useful for async elements):
74
+
75
+ ```ruby
76
+ SeoCache.wait_time_for_page_loading = 3
77
+ ```
78
+
73
79
  Specific log file (if you want to log missed cache urls):
74
80
 
75
81
  ```ruby
@@ -18,7 +18,7 @@ module SeoCache
18
18
  @paths.each do |path|
19
19
  next if @page_caching.cache_exists?(path) && !@force_cache
20
20
 
21
- page_source = @page_render.get(@host + path, true)
21
+ page_source = @page_render.get(@host + path, false)
22
22
  @page_caching.cache(page_source, path)
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module SeoCache
2
- VERSION = '0.12.0'.freeze
2
+ VERSION = '0.13.0'.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: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack