selenium-phantomjs 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 399d9a7b39e518ecb54ba1a141d09875aa72dbe1
4
- data.tar.gz: 6a8a91f502e4d00df1d5abdc52932f0abcc25259
3
+ metadata.gz: 554f0411f4ae723a5d2d420c02154fcf74327363
4
+ data.tar.gz: d78a154185e98524ce40a1027aad9aeffee1165a
5
5
  SHA512:
6
- metadata.gz: f649082aa23cbbe57a9a32b091899f616e782e7f1496db1b0981c5d1d700d8abde268693749c0eccc67b92cc193938661539b092b07bf2e4bcfe78eea79f9cb3
7
- data.tar.gz: c1206d3b34bbc4275879f07fef1db5f37989c9f85bcf779a86a276344dbca66079de0087fc2b283ef60c66999495211051698737d1027fde0fc28bd4c83ec2e9
6
+ metadata.gz: f67a95d1affc9cada3e6f2ac718fdbff13bed117d22fda8895407f5667ebf8e9cc7553af7972c632cddfcc65b7ac468826bc79b2e89ac68a489c7c93f0e85cf1
7
+ data.tar.gz: 3a69d11b505960d1a4983f1d93a321a807aeb721e6f2c9debd589edbe59606a4766b142b2633a9c6639591c287e7d01977daab2f2f469d5bd8d318e2716b3983
@@ -20,7 +20,7 @@ module Selenium
20
20
  arguments = if args.is_a? Hash
21
21
  args.map do |k, v|
22
22
  if v
23
- %Q{--#{k}="#{v}"}
23
+ %Q{--#{k}=#{v}}
24
24
  else
25
25
  "--#{k}"
26
26
  end
@@ -31,7 +31,8 @@ module Selenium
31
31
 
32
32
  raise ArgumentError.new("PhantomJS: interactive shell is not supported.") if arguments.empty?
33
33
 
34
- @pid = Process.spawn(%Q{#{PHANTOMJS_BIN} #{arguments.join(" ")}}, options)
34
+ command = [PHANTOMJS_BIN] + arguments
35
+ @pid = Process.spawn(*command, options)
35
36
  Process.detach(@pid)
36
37
 
37
38
  sleep 1
@@ -1,5 +1,5 @@
1
1
  module Selenium
2
2
  module Phantomjs
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-phantomjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Slotin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-30 00:00:00.000000000 Z
11
+ date: 2014-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.0.3
93
+ rubygems_version: 2.0.6
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Running specs with Capybara, Selenium and PhantomJS