seo_cache 1.4.0 → 2.0.0

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: 0e86d1a27899b2f4dda73d5f014720623580897e82088dfd173f2e023062e6b5
4
- data.tar.gz: d469331650905b95e0d8323691e187bdb379c14591c8ebc7c8cf5e86e879fa4d
3
+ metadata.gz: ef69c512e2fb562a1682fa078b2504258f7842838984ec840963bf941abdde3d
4
+ data.tar.gz: 3da3bb9c771cf78dc542282290cea148aa2242cc33144ffd6d8e206c4216193f
5
5
  SHA512:
6
- metadata.gz: fc8ec629eb1dc796049e597c1f1f66ca7432596da2e9e49a3c85804488612c59a963a8400ed4a468b5127e1488e50b772b5b04426e66fc59739d877a2cdad9c9
7
- data.tar.gz: cc887ac4e411613c745290442ffe8320fefc145b8a0b300fdaca26ae12a59ac4d7c107f17fc8114b0aa6016605ed033dc6657a3e1febfb0308fd8cc13ef6d936
6
+ metadata.gz: ee5eea8037a7e14884658ca75ace91fb3eeb62f57e1f20c370b30e0082f72b8a5148d9d2579023746c0bccdfbce4ff0be24112e072985ee78cad4318b4915c69
7
+ data.tar.gz: 37b1b6e8b6a9d30aab5bff348a7ac7c605c9954557b87063d37cedf693d82ab6cfea8e94b5d862ade23f174a226a715d85173323f20f115e6346412fedc21e28
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.0
2
+
3
+ - Remove webdrivers dependency and use only selenium to fetch Chrome driver
4
+
1
5
  ## 1.4.0
2
6
 
3
7
  - Correct Selenium warnings and add path for logging
@@ -32,11 +32,11 @@ module SeoCache
32
32
  Selenium::WebDriver.logger.level = SeoCache.logger_level
33
33
  end
34
34
 
35
- Webdrivers.cache_time = 86_400 * 10 # Chromedriver will be cached for 10 days (except if it detects a new version of Chrome)
35
+ # Webdrivers.cache_time = 86_400 * 10 # Chromedriver will be cached for 10 days (except if it detects a new version of Chrome)
36
36
 
37
37
  Selenium::WebDriver::Chrome.path = SeoCache.chrome_path if SeoCache.chrome_path
38
38
 
39
- browser_options = %w[headless incognito disable-gpu disable-infobars disable-dev-shm-usage disable-gpu disable-web-security disable-extensions no-sandbox disable-logging disable-notifications disable-sync window-size=1920x1080]
39
+ browser_options = %w[headless incognito no-sandbox disable-gpu disable-infobars disable-dev-shm-usage disable-web-security disable-extensions disable-logging disable-notifications disable-sync window-size=1920x1080]
40
40
  browser_options << "remote-debugging-port=#{SeoCache.chrome_debugging_port}" if SeoCache.chrome_debugging_port
41
41
 
42
42
  @driver = ::Selenium::WebDriver.for(
@@ -1,3 +1,3 @@
1
1
  module SeoCache
2
- VERSION = '1.4.0'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
data/lib/seo_cache.rb CHANGED
@@ -5,7 +5,6 @@ require 'net/http'
5
5
  require 'redis'
6
6
  require 'redis-namespace'
7
7
  require 'selenium/webdriver'
8
- require 'webdrivers/chromedriver'
9
8
 
10
9
  require 'seo_cache/logger'
11
10
  require 'seo_cache/version'
data/seo_cache.gemspec CHANGED
@@ -26,7 +26,6 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'redis', '~> 4'
27
27
  spec.add_dependency 'redis-namespace', '~> 1'
28
28
  spec.add_dependency 'selenium-webdriver', '>= 3'
29
- spec.add_dependency 'webdrivers', '>= 3'
30
29
 
31
30
  spec.add_development_dependency 'bundler', '~> 2'
32
31
  spec.add_development_dependency 'rake', '~> 13'
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.4.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - FloXcoder
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-10 00:00:00.000000000 Z
11
+ date: 2023-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -94,20 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '3'
97
- - !ruby/object:Gem::Dependency
98
- name: webdrivers
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '3'
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '3'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: bundler
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -229,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
215
  - !ruby/object:Gem::Version
230
216
  version: '0'
231
217
  requirements: []
232
- rubygems_version: 3.4.7
218
+ rubygems_version: 3.4.19
233
219
  signing_key:
234
220
  specification_version: 4
235
221
  summary: Cache dedicated for SEO with Javascript rendering