poltergeist 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/capybara/poltergeist/client.rb +7 -1
- data/lib/capybara/poltergeist/version.rb +1 -1
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
OTNhZjUzMmZiNmZlNDlkNzdkMjhlNjNhOTlmODhkZWU5YTBhODA2ZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTFjYzAwNGI3YTM3ZGEwN2M0ZTI3MzAxMzNiYTI4MmY2YWQ2NjhiOA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTY1MTJiMGYxMTk5NTBlNDVmNDZkMDBlOWQ4ODk4MzNjZjA2ZDc3ZjFhNDZm
|
10
|
+
MWE4ZGVlYTA1ZmI1NWJkMjc3Y2RiZTE1YzEwNjQ0MzhjZGRhOTQ2NGQ5Zjgx
|
11
|
+
N2IxZTc0YWFmNTY5MTE5NDA0YjNjMzAyODE5ZjNhMGM5ZDkzZjk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjI0NTg2YzZhMjg0NzE4NzI2MDhhMjQyODQ2MzY4NDI3MWQxNWY0NGQ3YWUx
|
14
|
+
ZGIzNDJjZDQ1ZTJkMzVlN2FjYmY2NjUxMTBkZTI5NTE1NGU2M2E2ZjgwMmVj
|
15
|
+
MWQ0MGQzMzRjZTJjMzA1ZjMxMWM1Mzc0ZjAyNWViOWZlZmY0N2E=
|
@@ -41,7 +41,13 @@ module Capybara::Poltergeist
|
|
41
41
|
@phantomjs_logger = options[:phantomjs_logger] || $stdout
|
42
42
|
|
43
43
|
pid = Process.pid
|
44
|
-
at_exit
|
44
|
+
at_exit do
|
45
|
+
# do the work in a separate thread, to avoid stomping on $!,
|
46
|
+
# since other libraries depend on it directly.
|
47
|
+
Thread.new do
|
48
|
+
stop if Process.pid == pid
|
49
|
+
end.join
|
50
|
+
end
|
45
51
|
end
|
46
52
|
|
47
53
|
def start
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poltergeist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Leighton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: websocket-driver
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '>='
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - '>='
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -186,7 +186,11 @@ executables: []
|
|
186
186
|
extensions: []
|
187
187
|
extra_rdoc_files: []
|
188
188
|
files:
|
189
|
+
- LICENSE
|
190
|
+
- README.md
|
191
|
+
- lib/capybara/poltergeist.rb
|
189
192
|
- lib/capybara/poltergeist/browser.rb
|
193
|
+
- lib/capybara/poltergeist/client.rb
|
190
194
|
- lib/capybara/poltergeist/client/agent.coffee
|
191
195
|
- lib/capybara/poltergeist/client/browser.coffee
|
192
196
|
- lib/capybara/poltergeist/client/compiled/agent.js
|
@@ -199,23 +203,19 @@ files:
|
|
199
203
|
- lib/capybara/poltergeist/client/main.coffee
|
200
204
|
- lib/capybara/poltergeist/client/node.coffee
|
201
205
|
- lib/capybara/poltergeist/client/web_page.coffee
|
202
|
-
- lib/capybara/poltergeist/client.rb
|
203
206
|
- lib/capybara/poltergeist/cookie.rb
|
204
207
|
- lib/capybara/poltergeist/driver.rb
|
205
208
|
- lib/capybara/poltergeist/errors.rb
|
206
209
|
- lib/capybara/poltergeist/inspector.rb
|
207
210
|
- lib/capybara/poltergeist/json.rb
|
211
|
+
- lib/capybara/poltergeist/network_traffic.rb
|
208
212
|
- lib/capybara/poltergeist/network_traffic/request.rb
|
209
213
|
- lib/capybara/poltergeist/network_traffic/response.rb
|
210
|
-
- lib/capybara/poltergeist/network_traffic.rb
|
211
214
|
- lib/capybara/poltergeist/node.rb
|
212
215
|
- lib/capybara/poltergeist/server.rb
|
213
216
|
- lib/capybara/poltergeist/utility.rb
|
214
217
|
- lib/capybara/poltergeist/version.rb
|
215
218
|
- lib/capybara/poltergeist/web_socket_server.rb
|
216
|
-
- lib/capybara/poltergeist.rb
|
217
|
-
- LICENSE
|
218
|
-
- README.md
|
219
219
|
homepage: http://github.com/jonleighton/poltergeist
|
220
220
|
licenses:
|
221
221
|
- MIT
|
@@ -226,18 +226,19 @@ require_paths:
|
|
226
226
|
- lib
|
227
227
|
required_ruby_version: !ruby/object:Gem::Requirement
|
228
228
|
requirements:
|
229
|
-
- - '>='
|
229
|
+
- - ! '>='
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: 1.9.3
|
232
232
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - '>='
|
234
|
+
- - ! '>='
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
237
|
requirements: []
|
238
238
|
rubyforge_project:
|
239
|
-
rubygems_version: 2.
|
239
|
+
rubygems_version: 2.2.2
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: PhantomJS driver for Capybara
|
243
243
|
test_files: []
|
244
|
+
has_rdoc:
|