superbot-selenium-webdriver 1.0.2 → 1.0.3

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: 73caca9402d4dcefd77906702cf8ba9c62b336ee16ca08124476df437b881374
4
- data.tar.gz: 6f4befbaad0cd9d5edf3f5d9fb661f9017653c82c2eb4f6d517f5011a91fb0f3
3
+ metadata.gz: '096f47e49f3ea265dfb8eb8eed071f8717bae1ef9d84afc049b07aa13155ee65'
4
+ data.tar.gz: 7b62ff87c00c771e6bf2095cc428325f4a08d85d831df33ab82fecb273549cc3
5
5
  SHA512:
6
- metadata.gz: f1ea6fed1537a908e18bd69fefc3c7a29bb47894fa4ef98fc2f161ffec7bf0f45c655d2047101494c60a2327d1c358c68e126c905d4bff2e63d15e840b20d78b
7
- data.tar.gz: 189493677973b2c0757a5681bddd43c57ce8635aa24a9512b1aaa8289a6af4c36a8acc0c50d2c89b9c09093a4f5f7c0efaf61ad090ab5563583e306a8fa736bc
6
+ metadata.gz: c3ff257fdf0556d6e0c751ef651045b361777ad85e048d4e652f9483896e5662df9a6a462f933c6f82e15a5d1602692c4fda6ad4c86fdadf460a811aea104f7d
7
+ data.tar.gz: 761617fe8b697f5c17e6591cd1bd36df4c339f5c0ca6a181d48f3a1ced9af377173fdc031c2059bfb61de4551633bc6be3b23b07b454249f917c5e13fe5e38f7
data/Gemfile.lock CHANGED
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-selenium-webdriver (1.0.2)
4
+ superbot-selenium-webdriver (1.0.3)
5
5
  chromedriver-helper (= 2.1.0)
6
- rake (~> 10.0)
7
6
  selenium-webdriver (= 3.141.0)
8
7
 
9
8
  GEM
@@ -46,6 +45,7 @@ PLATFORMS
46
45
 
47
46
  DEPENDENCIES
48
47
  bundler (~> 1.15)
48
+ rake (~> 10.0)
49
49
  rspec (~> 3.8)
50
50
  superbot-selenium-webdriver!
51
51
 
data/Rakefile CHANGED
@@ -1,24 +1,8 @@
1
1
  STDOUT.sync = true
2
2
 
3
- def in_gem_install?
4
- ENV["RUBYLIBDIR"] && ENV["RUBYARCHDIR"]
5
- end
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
6
5
 
7
- namespace :install do
8
- desc "install chromedriver now"
9
- task :chromedriver do
10
- require_relative "lib/superbot/selenium"
11
- Superbot::Selenium::WebDriver.install_chromedriver_helper!
12
- end
13
- end
6
+ RSpec::Core::RakeTask.new(:spec)
14
7
 
15
- unless in_gem_install?
16
- require "bundler/gem_tasks"
17
- require "rspec/core/rake_task"
18
-
19
- RSpec::Core::RakeTask.new(:spec)
20
-
21
- task default: [:spec]
22
- else
23
- task default: ["install:chromedriver"]
24
- end
8
+ task default: [:spec]
@@ -1,7 +1,7 @@
1
1
  module Superbot
2
2
  module Selenium
3
3
  module WebDriver
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
6
6
  end
7
7
  end
@@ -5,7 +5,10 @@ module Superbot
5
5
  module Selenium
6
6
  module WebDriver
7
7
  def self.install_chromedriver_helper!
8
- Chromedriver.set_version "2.44"
8
+ version="2.44"
9
+ Chromedriver.set_version version
10
+ binary_path = Chromedriver::Helper.new.binary_path
11
+ "installed chromedriver-helper version #{version} to #{binary_path}"
9
12
  end
10
13
  end
11
14
  end
@@ -2,7 +2,7 @@
2
2
  lib = File.expand_path("../lib", __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "superbot/selenium/version"
5
- #require "superbot/selenium/webdriver"
5
+ require "superbot/selenium/webdriver"
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "superbot-selenium-webdriver"
@@ -19,12 +19,12 @@ Gem::Specification.new do |spec|
19
19
  spec.bindir = "exe"
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
-
23
- spec.extensions << 'Rakefile'
22
+ spec.post_install_message = "#{Superbot::Selenium::WebDriver.install_chromedriver_helper!}"
23
+ #spec.extensions << 'Rakefile'
24
24
  spec.add_runtime_dependency "chromedriver-helper", "2.1.0"
25
25
  spec.add_runtime_dependency "selenium-webdriver", "3.141.0"
26
- spec.add_dependency "rake", "~> 10.0"
27
26
 
28
27
  spec.add_development_dependency "bundler", "~> 1.15"
29
28
  spec.add_development_dependency "rspec", "~> 3.8"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot-selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbot HQ
@@ -39,52 +39,51 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.141.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
48
- type: :runtime
47
+ version: '1.15'
48
+ type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '1.15'
55
55
  - !ruby/object:Gem::Dependency
56
- name: bundler
56
+ name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.15'
61
+ version: '3.8'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.15'
68
+ version: '3.8'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec
70
+ name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '3.8'
75
+ version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '3.8'
82
+ version: '10.0'
83
83
  description:
84
84
  email:
85
85
  executables: []
86
- extensions:
87
- - Rakefile
86
+ extensions: []
88
87
  extra_rdoc_files: []
89
88
  files:
90
89
  - ".gitignore"
@@ -107,7 +106,7 @@ homepage: http://github.com/superbothq/superbot-selenium-webdriver
107
106
  licenses:
108
107
  - MIT
109
108
  metadata: {}
110
- post_install_message:
109
+ post_install_message: installed chromedriver-helper version 2.44 to /Users/mpa/.chromedriver-helper/2.44/mac/chromedriver
111
110
  rdoc_options: []
112
111
  require_paths:
113
112
  - lib