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 +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/lib/sensu/spawn.rb +7 -0
- data/sensu-spawn.gemspec +2 -2
- 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: bdbc8687d5ecf77b27acee7f800c7c29f91aa6b2
|
4
|
+
data.tar.gz: 95cb2f8677751999121242c2b91d55f1c4cfb89b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36dc59fe3cdf4a54f8fd37ccb3652abf0fc9737108b5a4166a783ae66a960b32642c87491194286eff22ce3b75940ddea046e051ef62b6089e74f6edf2cce1d3
|
7
|
+
data.tar.gz: 1f52490951c069eac9ca4942b89704ac6b47ae583699d17b6654d9d7a07ae21d3e90dfedb438f4e317704a5a1e73cf6e8afc7b13accdc453d1d639a89e525243
|
data/.travis.yml
CHANGED
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.
|
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.
|
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:
|
11
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-em
|