gssapi 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -29,7 +29,9 @@ module GSSAPI
29
29
  end
30
30
  ffi_lib GSSAPI_LIB, FFI::Library::LIBC
31
31
  when /mswin|mingw32|windows/
32
- ffi_lib 'gssapi32' # Required the MIT Kerberos libraries to be installed
32
+ # Pull the gssapi32 path from the environment if it exist, otherwise use the default in Program Files
33
+ gssapi32_path = ENV['gssapi32'] ? ENV['gssapi32'] : 'C:\Program Files (x86)\MIT\Kerberos\bin\gssapi32.dll'
34
+ ffi_lib gssapi32_path, FFI::Library::LIBC # Required the MIT Kerberos libraries to be installed
33
35
  ffi_convention :stdcall
34
36
  else
35
37
  raise LoadError, "This platform (#{RUBY_PLATFORM}) is not supported by ruby gssapi."
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gssapi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dan Wanek
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-10 00:00:00 Z
13
+ date: 2011-11-07 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi
@@ -75,9 +75,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements: []
76
76
 
77
77
  rubyforge_project:
78
- rubygems_version: 1.8.10
78
+ rubygems_version: 1.8.11
79
79
  signing_key:
80
80
  specification_version: 3
81
81
  summary: A FFI wrapper around the system GSSAPI library.
82
82
  test_files: []
83
83
 
84
+ has_rdoc: