itamae-plugin-recipe-selenium 0.1.5 → 0.2.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: b623050c66eb27a8a6f25f80d2235f49f92666e19c2fc9c3572a8b67827da46f
4
- data.tar.gz: 71f5a1a22dbac299225bd3ebb54479b334099be5d3b4590c47b82fb77c71842a
3
+ metadata.gz: cc3b890e2207391d29218f6bb1eb400b2506ddf0d8136476d83aaba7ed39e8a0
4
+ data.tar.gz: 654812fc60f73da4eb38e2d2f428d2d3471c4836469c5ec8c1d41dc5b78a46e3
5
5
  SHA512:
6
- metadata.gz: 13a811e3d9780afeb5f90697d06daed6803b422d0b13954af47789ce97e1e7b9f5d7f7c3fa17e31197c7aed92110c54f81971e9059977ebf7c478a10be51a7f4
7
- data.tar.gz: b694158ada5dfbf7d6ae1323f05f4153d014ae1be789fbf4d29348493473f26a13f5e24ffb9cedf42af9083dc28258248099428c91f10360bec40bda49a88a7a
6
+ metadata.gz: ae48116dbe08b74450e712dfa87a32a606ca04be6a58891d50179339b5c6288a0dba43fc6f1a482bb39d4c47f83adf816e445e198e3ae16247b41a33ae41af66
7
+ data.tar.gz: 285630e6b252ad7393061ff51988732acce4f532d70b944a1429569f2ceb3c20c9365f85316e97f9b926e434a3c5fbaa2fbe545c31adaa6ac47fa559575fc4dc
@@ -5,11 +5,18 @@ template '/etc/yum.repos.d/google-chrome.repo' do
5
5
  mode '644'
6
6
  end
7
7
 
8
- package 'google-chrome-stable' do
9
- user 'root'
8
+ if ENV['CHROME_VERSION'].to_s.empty?
9
+ package 'google-chrome-stable' do
10
+ user 'root'
11
+ end
12
+ else
13
+ execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{ENV['CHROME_VERSION']}-1.x86_64.rpm" do
14
+ user 'root'
15
+ not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{ENV['CHROME_VERSION']}$\""
16
+ end
10
17
  end
11
18
 
12
19
  execute 'yum update -y google-chrome-stable' do
13
20
  user 'root'
14
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (79|80|81)\.'"
21
+ not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (87|88|89|90|91)\.'"
15
22
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = "0.1.5"
5
+ VERSION = '0.2.0'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - y-matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-19 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.0.4
118
+ rubygems_version: 3.2.16
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: itamae recipe for god process monitoring framework