sensu-spawn 1.1.0 → 1.2.0

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: 8cc27546f00715380c64d2ecf0971196b0e60025
4
- data.tar.gz: ca4ee6b8071d237b8d5b8378fbe1c44094d076a6
3
+ metadata.gz: bdbc8687d5ecf77b27acee7f800c7c29f91aa6b2
4
+ data.tar.gz: 95cb2f8677751999121242c2b91d55f1c4cfb89b
5
5
  SHA512:
6
- metadata.gz: 800b27f8f1474f416aa6e4e815b8e96e4727a0ce90d30c2cafd15206449a236345f0b9b73c91b0d95cf9457258afce69f8947323712f9aa2b3694c6028ea8f32
7
- data.tar.gz: e16375005ded55e907a04cf78330cf669600d6e3d9744424e62e79a54b509b2f10f0c149739781cb2ad355d4bcb31b78f314faceedfbc110497fed9df1546649
6
+ metadata.gz: 36dc59fe3cdf4a54f8fd37ccb3652abf0fc9737108b5a4166a783ae66a960b32642c87491194286eff22ce3b75940ddea046e051ef62b6089e74f6edf2cce1d3
7
+ data.tar.gz: 1f52490951c069eac9ca4942b89704ac6b47ae583699d17b6654d9d7a07ae21d3e90dfedb438f4e317704a5a1e73cf6e8afc7b13accdc453d1d639a89e525243
data/.travis.yml CHANGED
@@ -1,3 +1,4 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
4
  - 1.8.7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.2.0 - 2015-05-29
2
+
3
+ ### Fixes
4
+
5
+ Require POSIX spawn libraries immediately to combat loading race
6
+ conditions when real threads are used. POSIX spawn support for the
7
+ platform is assumed, but load errors are rescued.
8
+
1
9
  ## 1.1.0 - 2014-09-15
2
10
 
3
11
  ### Features
data/lib/sensu/spawn.rb CHANGED
@@ -5,6 +5,13 @@ gem "childprocess", "0.5.3"
5
5
  require "eventmachine"
6
6
  require "em/worker"
7
7
  require "childprocess"
8
+ require "ffi"
9
+
10
+ begin
11
+ require "childprocess/unix/platform/#{ChildProcess.platform_name}"
12
+ require "childprocess/unix/lib"
13
+ require "childprocess/unix/posix_spawn_process"
14
+ rescue LoadError; end
8
15
 
9
16
  module Sensu
10
17
  module Spawn
data/sensu-spawn.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sensu-spawn"
5
- spec.version = "1.1.0"
5
+ spec.version = "1.2.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu spawn process library"
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.6"
23
23
  spec.add_development_dependency "rake"
24
24
  spec.add_development_dependency "rspec"
25
- spec.add_development_dependency "codeclimate-test-reporter"
25
+ spec.add_development_dependency "codeclimate-test-reporter" unless RUBY_VERSION < "1.9"
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-spawn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-15 00:00:00.000000000 Z
11
+ date: 2015-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-em