sensu-spawn 1.7.0 → 1.8.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: 4ea4fcadcb1f44d2d8689949572a6686b331a36b
4
- data.tar.gz: 236cba9c84b45157dcf00b9570a22ec29d5b2f01
3
+ metadata.gz: 058ad7882b5371243ab74e37631b0a02a039c1fc
4
+ data.tar.gz: 8d9a0574272c6062385cb476182e2a39a0061ccb
5
5
  SHA512:
6
- metadata.gz: 93e35357ae4384270a83c193558d1018e136271a7b06e501456e026d90fdf10053570d9e753a0471a1fa068e7845a03b9c2d5dc0320bd91a3c68a0beb49203a0
7
- data.tar.gz: 3dbc3c822168f0d1cb1f1e1e870e3d8c88103cd4469ee327118ddda459d215277c8c53e35bf22613935f81999a97c12b854b7af00fc55790e67b3dd414673531
6
+ metadata.gz: 7cda93618978d84014179fe083e9404902c896e6acbefe73fbd30155fe2593ccbfbe2a1d845457e340aecf67cf1fc1e9e61fca5081a9d765c7d84dcff7349a75
7
+ data.tar.gz: b1f4533e0718a8ffb0e30a6097e30e07efd159b8cb106db5e42398a7d99a410466dc5a9adf5a28a7bc45f6ea77c82270d16bf9da9abfcd1d204df120b17ecfff
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 1.8.0 - 2016-03-16
2
+
3
+ ### Fixes
4
+
5
+ Moved FFI library require to load error rescue block, fixing the AIX and
6
+ Solaris builds.
7
+
8
+ ## 1.7.0 - 2016-03-01
9
+
10
+ ### Other
11
+
12
+ Only enable POSIX spawn on Linux and OS X.
13
+
1
14
  ## 1.6.0 - 2015-11-13
2
15
 
3
16
  ### Fixes
data/lib/sensu/spawn.rb CHANGED
@@ -5,9 +5,12 @@ require "eventmachine"
5
5
  require "em/worker"
6
6
  require "childprocess"
7
7
  require "rbconfig"
8
- require "ffi"
9
8
 
9
+ # Attempt an upfront loading of FFI and POSIX spawn libraries. These
10
+ # libraries may fail to load on certain platforms, load errors are
11
+ # silenced, and the libraries are not used by Sensu Spawn.
10
12
  begin
13
+ require "ffi"
11
14
  require "childprocess/unix/platform/#{ChildProcess.platform_name}"
12
15
  require "childprocess/unix/lib"
13
16
  require "childprocess/unix/posix_spawn_process"
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.7.0"
5
+ spec.version = "1.8.0"
6
6
  spec.authors = ["Sean Porter"]
7
7
  spec.email = ["portertech@gmail.com"]
8
8
  spec.summary = "The Sensu spawn process library"
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.add_dependency "childprocess", "0.5.8"
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.6"
23
- spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rake", "10.5.0"
24
24
  spec.add_development_dependency "rspec"
25
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.7.0
4
+ version: 1.8.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: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 10.5.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 10.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -155,4 +155,3 @@ test_files:
155
155
  - spec/assets/output_1MB
156
156
  - spec/helpers.rb
157
157
  - spec/spawn_spec.rb
158
- has_rdoc: