hyper-spec 1.0.alpha1.8 → 1.0.alpha1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hyper-spec.gemspec +0 -2
- data/lib/hyper-spec/version.rb +1 -1
- data/lib/hyper-spec.rb +0 -27
- metadata +8 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4a5e2a0fb67840d8dde2c3a4a41fe041b8525d27a59aae1fe59117b0f2784a5
|
4
|
+
data.tar.gz: f4c0491cbdad9520970116fa2a91aa3a1be42a698f22a2f31f4fbf7d6aa44660
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04e0efab208c53eb64a92268b75a921b7d2262f27c10f76fe0ae8089fb69473e3f310efcf6b29966695f4f98f4167b60f1916987714513860355809746a6fd6b
|
7
|
+
data.tar.gz: e2796cd5d1e72f19728b9b397526eeda4ed3d01e91cbb7b72963e9c03ed8b39d65e4e1d01c213d14d63d495ec0a5c07394459db3574ec0a2197856b0fd142a4d
|
data/hyper-spec.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
21
21
|
|
22
22
|
spec.add_dependency 'actionview'
|
23
23
|
spec.add_dependency 'capybara'
|
24
|
-
spec.add_dependency 'chromedriver-helper', '1.2.0'
|
25
24
|
spec.add_dependency 'filecache'
|
26
25
|
spec.add_dependency 'method_source'
|
27
26
|
spec.add_dependency 'opal', ENV['OPAL_VERSION'] || '>= 0.11.0', '< 2.0'
|
@@ -31,7 +30,6 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
31
30
|
spec.add_dependency 'timecop', '~> 0.8.1'
|
32
31
|
spec.add_dependency 'uglifier'
|
33
32
|
spec.add_dependency 'unparser', '>= 0.4.2'
|
34
|
-
spec.add_dependency 'webdrivers'
|
35
33
|
|
36
34
|
spec.add_development_dependency 'bundler'
|
37
35
|
spec.add_development_dependency 'hyper-component', HyperSpec::VERSION
|
data/lib/hyper-spec/version.rb
CHANGED
data/lib/hyper-spec.rb
CHANGED
@@ -26,7 +26,6 @@ require 'parser/current'
|
|
26
26
|
if defined?(Selenium::WebDriver::Firefox)
|
27
27
|
require 'selenium/web_driver/firefox/profile'
|
28
28
|
end
|
29
|
-
require 'selenium-webdriver'
|
30
29
|
|
31
30
|
require 'hyper-spec/version'
|
32
31
|
|
@@ -76,34 +75,8 @@ module HyperSpec
|
|
76
75
|
end
|
77
76
|
end
|
78
77
|
|
79
|
-
# TODO: figure out why we need this patch - its because we are on an old version
|
80
|
-
# of Selenium Webdriver, but why?
|
81
78
|
require 'selenium-webdriver'
|
82
79
|
|
83
|
-
module Selenium
|
84
|
-
module WebDriver
|
85
|
-
module Chrome
|
86
|
-
module Bridge
|
87
|
-
COMMANDS = remove_const(:COMMANDS).dup
|
88
|
-
COMMANDS[:get_log] = [:post, 'session/:session_id/log']
|
89
|
-
COMMANDS.freeze
|
90
|
-
|
91
|
-
def log(type)
|
92
|
-
data = execute :get_log, {}, type: type.to_s
|
93
|
-
|
94
|
-
Array(data).map do |l|
|
95
|
-
begin
|
96
|
-
LogEntry.new l.fetch('level', 'UNKNOWN'), l.fetch('timestamp'), l.fetch('message')
|
97
|
-
rescue KeyError
|
98
|
-
next
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
80
|
module Capybara
|
108
81
|
class << self
|
109
82
|
alias old_reset_sessions! reset_sessions!
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyper-spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.alpha1.8
|
4
|
+
version: 1.0.alpha1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mitch VanDuyn
|
8
8
|
- AdamCreekroad
|
9
9
|
- Jan Biedermann
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionview
|
@@ -40,20 +40,6 @@ dependencies:
|
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: chromedriver-helper
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - '='
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 1.2.0
|
50
|
-
type: :runtime
|
51
|
-
prerelease: false
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
requirements:
|
54
|
-
- - '='
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.2.0
|
57
43
|
- !ruby/object:Gem::Dependency
|
58
44
|
name: filecache
|
59
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,20 +172,6 @@ dependencies:
|
|
186
172
|
- - ">="
|
187
173
|
- !ruby/object:Gem::Version
|
188
174
|
version: 0.4.2
|
189
|
-
- !ruby/object:Gem::Dependency
|
190
|
-
name: webdrivers
|
191
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ">="
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
196
|
-
type: :runtime
|
197
|
-
prerelease: false
|
198
|
-
version_requirements: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - ">="
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '0'
|
203
175
|
- !ruby/object:Gem::Dependency
|
204
176
|
name: bundler
|
205
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,14 +192,14 @@ dependencies:
|
|
220
192
|
requirements:
|
221
193
|
- - '='
|
222
194
|
- !ruby/object:Gem::Version
|
223
|
-
version: 1.0.alpha1.8
|
195
|
+
version: 1.0.alpha1.8.1
|
224
196
|
type: :development
|
225
197
|
prerelease: false
|
226
198
|
version_requirements: !ruby/object:Gem::Requirement
|
227
199
|
requirements:
|
228
200
|
- - '='
|
229
201
|
- !ruby/object:Gem::Version
|
230
|
-
version: 1.0.alpha1.8
|
202
|
+
version: 1.0.alpha1.8.1
|
231
203
|
- !ruby/object:Gem::Dependency
|
232
204
|
name: mini_racer
|
233
205
|
requirement: !ruby/object:Gem::Requirement
|
@@ -548,7 +520,7 @@ homepage: http://hyperstack.org
|
|
548
520
|
licenses:
|
549
521
|
- MIT
|
550
522
|
metadata: {}
|
551
|
-
post_install_message:
|
523
|
+
post_install_message:
|
552
524
|
rdoc_options: []
|
553
525
|
require_paths:
|
554
526
|
- lib
|
@@ -563,8 +535,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
563
535
|
- !ruby/object:Gem::Version
|
564
536
|
version: 1.3.1
|
565
537
|
requirements: []
|
566
|
-
rubygems_version: 3.
|
567
|
-
signing_key:
|
538
|
+
rubygems_version: 3.4.10
|
539
|
+
signing_key:
|
568
540
|
specification_version: 4
|
569
541
|
summary: Drive your Opal and Hyperstack client and server specs from RSpec and Capybara
|
570
542
|
test_files: []
|