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 +4 -4
- data/.travis.yml +2 -0
- data/lib/phantomjs/platform.rb +5 -5
- data/lib/phantomjs/version.rb +1 -1
- data/phantomjs.gemspec +3 -0
- data/spec/platform_spec.rb +1 -1
- data/spec/runner.js +4 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 202fe3e0c7c50f04c93980c3221663d41f0479d9
|
4
|
+
data.tar.gz: 13256faa4d93741c6d5bfc2eb1dc6bb2b2faa4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34a78617c4aae022f70dc555debd559cbbec7efa54f1656c62f8b6ab45608b08b32b8b900c402a941ee7e810c820ddfa75344ef66ec81525e7d5ceea829f5204
|
7
|
+
data.tar.gz: a674f26d67b74eb8d46f1d57509a7f55e0eaa2a6ef206151fd998a492ed401341e1aacf224daf90a94906b6d967637c6850369fc3b3158869c327871a1dc0de6
|
data/.travis.yml
CHANGED
data/lib/phantomjs/platform.rb
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
157
|
+
'https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip'
|
158
158
|
end
|
159
159
|
end
|
160
160
|
end
|
data/lib/phantomjs/version.rb
CHANGED
data/phantomjs.gemspec
CHANGED
@@ -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) }
|
data/spec/platform_spec.rb
CHANGED
@@ -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
|
|
data/spec/runner.js
CHANGED
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.
|
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:
|
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.
|
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:
|