phantomjs 1.9.8.0 → 2.1.1.0

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: 7d9b098c17da0b0498cf4b146510dd6f96ca09ed
4
- data.tar.gz: 6e12a46c3dfb28dbf7508d5407fed2d7a4306e6f
3
+ metadata.gz: 202fe3e0c7c50f04c93980c3221663d41f0479d9
4
+ data.tar.gz: 13256faa4d93741c6d5bfc2eb1dc6bb2b2faa4c3
5
5
  SHA512:
6
- metadata.gz: dca5ba2aa5386ab4124182f2924012520285a8e94e4a141c5ccfca4a5af6fc4e00802fb8900362419b07cefe6873c0b8b35d86c30966b20dd3cfbabb0e645ae7
7
- data.tar.gz: 12873db8109a471f2b3f9cc01ce28f65030e26a1b6ae7edf6ce2c1c644e970d3d009fa9ce7193a5817042f4cc7e783dc11031a7322583f231a08732d4cb3894a
6
+ metadata.gz: 34a78617c4aae022f70dc555debd559cbbec7efa54f1656c62f8b6ab45608b08b32b8b900c402a941ee7e810c820ddfa75344ef66ec81525e7d5ceea829f5204
7
+ data.tar.gz: a674f26d67b74eb8d46f1d57509a7f55e0eaa2a6ef206151fd998a492ed401341e1aacf224daf90a94906b6d967637c6850369fc3b3158869c327871a1dc0de6
@@ -11,3 +11,5 @@ notifications:
11
11
  email:
12
12
  on_success: always
13
13
  on_failure: always
14
+ before_install:
15
+ - gem install bundler
@@ -98,7 +98,7 @@ module Phantomjs
98
98
  end
99
99
 
100
100
  def package_url
101
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2'
101
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2'
102
102
  end
103
103
  end
104
104
  end
@@ -114,7 +114,7 @@ module Phantomjs
114
114
  end
115
115
 
116
116
  def package_url
117
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-i686.tar.bz2'
117
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2'
118
118
  end
119
119
  end
120
120
  end
@@ -130,7 +130,7 @@ module Phantomjs
130
130
  end
131
131
 
132
132
  def package_url
133
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip'
133
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip'
134
134
  end
135
135
  end
136
136
  end
@@ -149,12 +149,12 @@ module Phantomjs
149
149
  if system_phantomjs_installed?
150
150
  system_phantomjs_path
151
151
  else
152
- File.expand_path File.join(Phantomjs.base_dir, platform, 'phantomjs.exe')
152
+ File.expand_path File.join(Phantomjs.base_dir, platform, 'bin', 'phantomjs.exe')
153
153
  end
154
154
  end
155
155
 
156
156
  def package_url
157
- 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip'
157
+ 'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip'
158
158
  end
159
159
  end
160
160
  end
@@ -1,3 +1,3 @@
1
1
  module Phantomjs
2
- VERSION = "1.9.8.0"
2
+ VERSION = "2.1.1.0"
3
3
  end
@@ -14,6 +14,9 @@ Gem::Specification.new do |gem|
14
14
  gem.add_development_dependency 'rspec', "~> 2.99"
15
15
  gem.add_development_dependency 'simplecov'
16
16
  gem.add_development_dependency 'rake'
17
+ if RUBY_VERSION < '2'
18
+ gem.add_development_dependency "mime-types", "~> 2.6"
19
+ end
17
20
 
18
21
  gem.files = `git ls-files`.split($\)
19
22
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -163,7 +163,7 @@ describe Phantomjs::Platform do
163
163
  before(:each) { Phantomjs::Platform.stub(:system_phantomjs_version).and_return(nil) }
164
164
 
165
165
  it "returns the correct phantom js executable path for the platform" do
166
- Phantomjs.path.should =~ /win32\/phantomjs.exe$/
166
+ Phantomjs.path.should =~ /win32\/bin\/phantomjs.exe$/
167
167
  end
168
168
  end
169
169
 
@@ -1,3 +1,5 @@
1
- console.log('bar ' + phantom.args[0]);
2
- console.log('bar ' + phantom.args[1]);
1
+ var system = require('system');
2
+
3
+ console.log('bar ' + system.args[1]);
4
+ console.log('bar ' + system.args[2]);
3
5
  phantom.exit();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantomjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.8.0
4
+ version: 2.1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Olszowka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: poltergeist
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.4.5
128
+ rubygems_version: 2.5.1
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Auto-install phantomjs on demand for current platform. Comes with poltergeist
@@ -135,4 +135,3 @@ test_files:
135
135
  - spec/platform_spec.rb
136
136
  - spec/runner.js
137
137
  - spec/spec_helper.rb
138
- has_rdoc: