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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64adcb425e2e63bfed70d55fc99365e60c87887d
4
- data.tar.gz: e3eeace8449b30b55cfee239b666bef2dedbd96d
3
+ metadata.gz: 48dcd948b7a967c43fd2755dc78ed357f950543f
4
+ data.tar.gz: ee15e1c2c6ab1f026103d2dae5b6785290eed70c
5
5
  SHA512:
6
- metadata.gz: 66c57e7f5ce63679504a43cfa9018e956a609cf1d1e6298285bfa1626397fa293779f95070d7267fb3f41418a3c9ef3b1919cd1d78a7e7fa6bfdc93beebc36b2
7
- data.tar.gz: 9d86ad8c3bd3ccf27b914943ab6ffac5fc942c13fdb458cef3e9b2728c743826390fac433b882609cd98cb8800ec1e1b67237bf2ce98128992b8d27861f2f3e2
6
+ metadata.gz: fbef1773c54315ee9c970d9ccbdf61b0a7be03c20c46ec9b1ea57bb26bf6120e06bd356bd192fbd5c9ed19aec259d8dfdb8e3832ed2edaabf319e2dee9afc43b
7
+ data.tar.gz: e9e037eb919cec501e19be270f7ef0bb82955a7f15e9fa1fcd04df8f3c65a92fdb02c23de8bd3b7a4d76a07160a1c2a0418ed3b0646a62fd99f46c521606e95b
@@ -2,14 +2,18 @@ sudo: required
2
2
  dist: trusty
3
3
  language: ruby
4
4
  cache: bundler
5
- rvm:
6
- - 1.9.3
7
- - 2.0.0-p648
8
- - 2.1.10
9
- - 2.2.5
10
- - 2.3.1
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
- - "gem install bundler"
18
+
15
19
  script: "bundle exec rspec"
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ ## 2.3.1 (2016-08-25)
2
+
3
+ * Full JRuby support
4
+ * HOTFIX remove `mkmf` require.
5
+
1
6
  ## 2.3.0 (2016-08-24)
2
7
 
3
8
  * Remove dependency on the `which` command (from @skateman)
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.email = 'leonid@shevtsov.me'
4
4
 
5
5
  s.name = 'headless'
6
- s.version = '2.3.0'
6
+ s.version = '2.3.1'
7
7
  s.summary = 'Ruby headless display interface'
8
8
  s.license = 'MIT'
9
9
 
@@ -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 = fork do
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.0
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-24 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake