From 2bc3fbd33a59e9a1f271c553f21ad223e691fcf4 Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Tue, 2 Feb 2016 10:14:03 -0800 Subject: change CreateProcessAsUserW to use a int instead of bool --- .travis.yml | 2 ++ lib/mixlib/shellout/windows/core_ext.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 02a71ae..39aa782 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ rvm: - 1.9.3 - 2.0.0 - 2.1.2 +before_install: + - gem update bundler branches: only: diff --git a/lib/mixlib/shellout/windows/core_ext.rb b/lib/mixlib/shellout/windows/core_ext.rb index d889778..ab54a9e 100644 --- a/lib/mixlib/shellout/windows/core_ext.rb +++ b/lib/mixlib/shellout/windows/core_ext.rb @@ -42,7 +42,7 @@ module Process::Functions [:buffer_in, :buffer_in, :buffer_in, :ulong, :ulong, :pointer], :bool attach_pfunc :CreateProcessAsUserW, - [:ulong, :buffer_in, :buffer_in, :pointer, :pointer, :bool, + [:ulong, :buffer_in, :buffer_inout, :pointer, :pointer, :int, :ulong, :buffer_in, :buffer_in, :pointer, :pointer], :bool ffi_lib :user32 -- cgit v1.2.1 From 4af7446e86b63a375c8543faed34ceff09df231d Mon Sep 17 00:00:00 2001 From: Matt Wrock Date: Tue, 2 Feb 2016 11:26:15 -0800 Subject: removing ruby 1.9.3 from appveyor tests --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index de4779c..0ea6535 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,8 +6,7 @@ platform: environment: matrix: - - ruby_version: "200" - - ruby_version: "193" + - ruby_version: "21" clone_folder: c:\projects\mixlib-shellout clone_depth: 1 -- cgit v1.2.1