superbot-selenium-webdriver 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6523bd4cfa60620cd14e6b74bc887b02ee2de5069a9ea0531bafac4c9a35589f
4
+ data.tar.gz: a6d5845d6ee7d12cb1b5e2f8d775badf627f6578ab109c03f0dddb4e383d0470
5
+ SHA512:
6
+ metadata.gz: ba99675b64e19a632b48d9c690316cf9fb4a2c7df8e5cea1fad2fc20f15c6e7a06eab8a37cdf3ba8fab50bac3c0a9152a1b2757b8552ccf2b5ab6ae36914df19
7
+ data.tar.gz: cb7f1df3fa70fd901a93d85118653772a16e4969e57694e4a3b2ba763b3e2e6d31b8f1822f98baec37ecd9922a42d8ba3a7781a96663beae8af7fa38f9a8fa8e
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ superbot-selenium-webdriver
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.1
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5
5
+ before_install: gem install bundler -v 1.16.0
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in superbot-selenium-webdriver.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,53 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ superbot-selenium-webdriver (1.0.0)
5
+ chromedriver-helper (= 2.1.0)
6
+ selenium-webdriver (= 3.141.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ archive-zip (0.11.0)
12
+ io-like (~> 0.3.0)
13
+ childprocess (0.9.0)
14
+ ffi (~> 1.0, >= 1.0.11)
15
+ chromedriver-helper (2.1.0)
16
+ archive-zip (~> 0.10)
17
+ nokogiri (~> 1.8)
18
+ diff-lcs (1.3)
19
+ ffi (1.9.25)
20
+ io-like (0.3.0)
21
+ mini_portile2 (2.3.0)
22
+ nokogiri (1.8.5)
23
+ mini_portile2 (~> 2.3.0)
24
+ rake (11.3.0)
25
+ rspec (3.8.0)
26
+ rspec-core (~> 3.8.0)
27
+ rspec-expectations (~> 3.8.0)
28
+ rspec-mocks (~> 3.8.0)
29
+ rspec-core (3.8.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-expectations (3.8.1)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.8.0)
34
+ rspec-mocks (3.8.0)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.8.0)
37
+ rspec-support (3.8.0)
38
+ rubyzip (1.2.2)
39
+ selenium-webdriver (3.141.0)
40
+ childprocess (~> 0.5)
41
+ rubyzip (~> 1.2, >= 1.2.2)
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ bundler (~> 1.17)
48
+ rake (~> 11.3)
49
+ rspec (~> 3.8)
50
+ superbot-selenium-webdriver!
51
+
52
+ BUNDLED WITH
53
+ 1.17.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Matti Paksula
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1 @@
1
+ # Superbot::Selenium::Webdriver
data/Rakefile ADDED
@@ -0,0 +1,24 @@
1
+ STDOUT.sync = true
2
+
3
+ def in_gem_install?
4
+ ENV["RUBYLIBDIR"] && ENV["RUBYARCHDIR"]
5
+ end
6
+
7
+ namespace :install do
8
+ desc "install chromedriver now"
9
+ task :chromedriver do
10
+ require_relative "lib/superbot"
11
+ Superbot::Selenium::WebDriver.install_chromedriver_helper!
12
+ end
13
+ end
14
+
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
data/bin/console ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require_relative "../lib/superbot"
5
+
6
+
7
+ require "irb"
8
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/superbot.rb ADDED
@@ -0,0 +1,5 @@
1
+ require_relative "superbot/selenium/version"
2
+ require_relative "superbot/selenium/webdriver"
3
+
4
+ module Superbot
5
+ end
@@ -0,0 +1,7 @@
1
+ module Superbot
2
+ module Selenium
3
+ module WebDriver
4
+ VERSION = "1.0.0"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ require "chromedriver-helper"
2
+ require "selenium-webdriver"
3
+
4
+ module Superbot
5
+ module Selenium
6
+ module WebDriver
7
+ def self.install_chromedriver_helper!
8
+ Chromedriver.set_version "2.44"
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,30 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "superbot/selenium/version"
5
+ #require "superbot/selenium/webdriver"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "superbot-selenium-webdriver"
9
+ spec.version = Superbot::Selenium::WebDriver::VERSION
10
+ spec.authors = ["Superbot HQ"]
11
+
12
+ spec.summary = %q{superbot verified selenium-webdriver}
13
+ spec.homepage = "http://github.com/superbothq/superbot-selenium-webdriver"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.extensions << 'Rakefile'
24
+ spec.add_runtime_dependency "chromedriver-helper", "2.1.0"
25
+ spec.add_runtime_dependency "selenium-webdriver", "3.141.0"
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.17"
28
+ spec.add_development_dependency "rake", "~> 11.3"
29
+ spec.add_development_dependency "rspec", "~> 3.8"
30
+ end
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: superbot-selenium-webdriver
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Superbot HQ
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-12-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chromedriver-helper
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 2.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 2.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: selenium-webdriver
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 3.141.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 3.141.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.17'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.17'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '11.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '11.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.8'
83
+ description:
84
+ email:
85
+ executables: []
86
+ extensions:
87
+ - Rakefile
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".ruby-gemset"
93
+ - ".ruby-version"
94
+ - ".travis.yml"
95
+ - Gemfile
96
+ - Gemfile.lock
97
+ - LICENSE.txt
98
+ - README.md
99
+ - Rakefile
100
+ - bin/console
101
+ - bin/setup
102
+ - lib/superbot.rb
103
+ - lib/superbot/selenium/version.rb
104
+ - lib/superbot/selenium/webdriver.rb
105
+ - superbot-selenium-webdriver.gemspec
106
+ homepage: http://github.com/superbothq/superbot-selenium-webdriver
107
+ licenses:
108
+ - MIT
109
+ metadata: {}
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ requirements: []
125
+ rubyforge_project:
126
+ rubygems_version: 2.7.7
127
+ signing_key:
128
+ specification_version: 4
129
+ summary: superbot verified selenium-webdriver
130
+ test_files: []