itamae-plugin-recipe-selenium 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc3b890e2207391d29218f6bb1eb400b2506ddf0d8136476d83aaba7ed39e8a0
4
- data.tar.gz: 654812fc60f73da4eb38e2d2f428d2d3471c4836469c5ec8c1d41dc5b78a46e3
3
+ metadata.gz: 25425c6288e24a3b2274b282a8f2947099da3aa6bd3bf262ddcd92c5fa22c3f0
4
+ data.tar.gz: b9426b5e5ae7fb53c5eb3e8dd6b7a237a3af38e5d9590409a8e09e99d6f6c4f3
5
5
  SHA512:
6
- metadata.gz: ae48116dbe08b74450e712dfa87a32a606ca04be6a58891d50179339b5c6288a0dba43fc6f1a482bb39d4c47f83adf816e445e198e3ae16247b41a33ae41af66
7
- data.tar.gz: 285630e6b252ad7393061ff51988732acce4f532d70b944a1429569f2ceb3c20c9365f85316e97f9b926e434a3c5fbaa2fbe545c31adaa6ac47fa559575fc4dc
6
+ metadata.gz: 87c7fe0aa108470bcd1611ef6ee3889a24e2bf2215c0402a7563b4d9a033bf42f0b5d1608fadae7fdb60ba9ed21625326c5cee58a867db45401ad2e8a536667e
7
+ data.tar.gz: 661b62c0b2a9a60bbf92d32d68e25acd4a1287a465f470dd7e5c20c7c1956da6d3f70063c59ffd76f928dbd14a7612cfdc46ea808eb2e0c54d0d7f718e1beaf9
@@ -1,3 +1,5 @@
1
+ version = ENV['CHROME_VERSION'] || '94.0.4606.81'
2
+
1
3
  template '/etc/yum.repos.d/google-chrome.repo' do
2
4
  user 'root'
3
5
  owner 'root'
@@ -5,18 +7,12 @@ template '/etc/yum.repos.d/google-chrome.repo' do
5
7
  mode '644'
6
8
  end
7
9
 
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
+ execute "yum install -y https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-#{version}-1.x86_64.rpm" do
11
+ user 'root'
12
+ not_if "which google-chrome-stable && google-chrome-stable --version | cut -d ' ' -f 3 | egrep \"^#{version}$\""
17
13
  end
18
14
 
19
15
  execute 'yum update -y google-chrome-stable' do
20
16
  user 'root'
21
- not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (87|88|89|90|91)\.'"
17
+ not_if "which google-chrome-stable && google-chrome-stable --version | egrep 'Google Chrome (90|91|92|93|94)\.'"
22
18
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selenium
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.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.2.0
4
+ version: 0.3.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: 2021-05-31 00:00:00.000000000 Z
11
+ date: 2021-10-20 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.2.16
118
+ rubygems_version: 3.2.21
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: itamae recipe for god process monitoring framework