bucky-core 0.9.5 → 0.9.6

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
  SHA1:
3
- metadata.gz: 536f7acfa4c1369457b108064c8cbd444826474d
4
- data.tar.gz: 89bbbb4d16a9a936e1d5c477716e2689e20efce9
3
+ metadata.gz: 6318b2784966f181a85802df1e11a1e210e50b0b
4
+ data.tar.gz: fc4b66f02c436867ed64bc0ff41ad1f547dbb518
5
5
  SHA512:
6
- metadata.gz: 9a40ce3b626ef266f6d70fd6ca362c8d8a429575f5a5096abdf8e37491edcacd58921cd9bc892ad7038ef265247f58c31e2077e74e11248ceaf8e0d0a384056d
7
- data.tar.gz: e9b288f27576402d4ff035e743ca6dbc4926f1a197663e0f6ee501b3daf9713005c400fad4443c4ad6ebea5a4e517316947a2c90aef6ea4f11ade80c711bf694
6
+ metadata.gz: 45ea9c539f1004c31a65db2033ad301dcda543ba790366c30cad7258ccfa5cfe1d770bb175104d79b257cd1afea21b4577060f79a8804aa79c272d9d37921e39
7
+ data.tar.gz: 718138334a02c5cdbd780674d7fcf24218e0011449e2d3e8fbbffab62052b6074507fb2a8c824b77156264c27c8349683be4b736d49ca8879378c75d3ce0f9f6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bucky-core (0.9.4)
4
+ bucky-core (0.9.5)
5
5
  color_echo (~> 3.1)
6
6
  json (~> 2.1)
7
7
  nokogiri (~> 1.8)
@@ -49,14 +49,14 @@ module Bucky
49
49
  end
50
50
 
51
51
  def set_chrome_option(device_type)
52
- chrome_options = { 'chromeOptions' => { args: [] } }
52
+ chrome_options = { 'goog:chromeOptions' => { args: [] } }
53
53
  unless device_type == 'pc'
54
54
  device_type = "#{device_type}_device_name".to_sym
55
55
  mobile_emulation = { 'deviceName' => @@config[:device_name_on_chrome][@@config[device_type]] }
56
- chrome_options['chromeOptions']['mobileEmulation'] = mobile_emulation
56
+ chrome_options['goog:chromeOptions']['mobileEmulation'] = mobile_emulation
57
57
  end
58
- chrome_options['chromeOptions'][:args] << "--user-agent=#{@@config[:user_agent]}" if @@config[:user_agent]
59
- chrome_options['chromeOptions'][:args] << '--headless' if @@config[:headless]
58
+ chrome_options['goog:chromeOptions'][:args] << "--user-agent=#{@@config[:user_agent]}" if @@config[:user_agent]
59
+ chrome_options['goog:chromeOptions'][:args] << '--headless' if @@config[:headless]
60
60
 
61
61
  Selenium::WebDriver::Remote::Capabilities.chrome(chrome_options)
62
62
  end
data/lib/bucky/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bucky
4
4
  module Version
5
- VERSION = '0.9.5'
5
+ VERSION = '0.9.6'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucky-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaotoKishino
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2019-05-15 00:00:00.000000000 Z
16
+ date: 2019-05-16 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: awesome_print