headless 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +11 -7
- data/CHANGELOG +5 -0
- data/headless.gemspec +1 -1
- data/lib/headless/cli_util.rb +1 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48dcd948b7a967c43fd2755dc78ed357f950543f
|
4
|
+
data.tar.gz: ee15e1c2c6ab1f026103d2dae5b6785290eed70c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbef1773c54315ee9c970d9ccbdf61b0a7be03c20c46ec9b1ea57bb26bf6120e06bd356bd192fbd5c9ed19aec259d8dfdb8e3832ed2edaabf319e2dee9afc43b
|
7
|
+
data.tar.gz: e9e037eb919cec501e19be270f7ef0bb82955a7f15e9fa1fcd04df8f3c65a92fdb02c23de8bd3b7a4d76a07160a1c2a0418ed3b0646a62fd99f46c521606e95b
|
data/.travis.yml
CHANGED
@@ -2,14 +2,18 @@ sudo: required
|
|
2
2
|
dist: trusty
|
3
3
|
language: ruby
|
4
4
|
cache: bundler
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
matrix:
|
6
|
+
include:
|
7
|
+
- rvm: 1.9.3
|
8
|
+
- rvm: 2.0.0-p648
|
9
|
+
- rvm: 2.1.10
|
10
|
+
- rvm: 2.2.5
|
11
|
+
- rvm: 2.3.1
|
12
|
+
# see https://github.com/travis-ci/travis-ci/issues/6471
|
13
|
+
- rvm: jruby-9.1.2.0
|
14
|
+
env: JRUBY_OPTS=""
|
11
15
|
before_install:
|
12
16
|
- "sudo apt-get update"
|
13
17
|
- "sudo apt-get install -y firefox xvfb libav-tools"
|
14
|
-
|
18
|
+
|
15
19
|
script: "bundle exec rspec"
|
data/CHANGELOG
CHANGED
data/headless.gemspec
CHANGED
data/lib/headless/cli_util.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'mkmf'
|
2
|
-
|
3
1
|
class Headless
|
4
2
|
class CliUtil
|
5
3
|
def self.application_exists?(app)
|
@@ -42,12 +40,7 @@ class Headless
|
|
42
40
|
end
|
43
41
|
|
44
42
|
def self.fork_process(command, pid_filename, log_filename='/dev/null')
|
45
|
-
pid =
|
46
|
-
STDERR.reopen(log_filename)
|
47
|
-
exec command
|
48
|
-
exit! 127 # safeguard in case exec fails
|
49
|
-
end
|
50
|
-
|
43
|
+
pid = Process.spawn(command, err: log_filename)
|
51
44
|
File.open pid_filename, 'w' do |f|
|
52
45
|
f.puts pid
|
53
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: headless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonid Shevtsov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|