gssapi 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6ab2e07f67767b64527b373d0c6ea265c54d4f4540f2f3821c1b3e013180cc8
4
- data.tar.gz: 136299a62f83e238d6f711df62bcc61788112e26a4ae6089c973262226d8a0f9
3
+ metadata.gz: 3783cdc3cf7cac849ba482b3b03e5f73593f91beab95e31b8dfdd296a8cd0e4a
4
+ data.tar.gz: 11d7a7b367ad6f7e8f3420c094976dceee1bdedb7907bef5614e6a5846164cb4
5
5
  SHA512:
6
- metadata.gz: c771726133a21b478516798b3e5ae969fe2620a0d808531ba0e081cd0437a3a61cb50d7616ffb7f446c63111312c3a5f97016cbccfd3bc7c1f1c530fef7ddc45
7
- data.tar.gz: b1a9e90de99f477dd3af1f2a8db990b6a4093389754da6e5df1212e368d99d7fbc7a3c47591506cab3083c4fd123ce73dc70e22b9b2c29e642749d19e7e47321
6
+ metadata.gz: 462afcc325ae6e9c0c3b63ba711569bda177c6443792031a857a01808ba63e9e5a90c0cc455518c431e39275dc68421b6b426a89bd6cb5bd61a5aebd53a04a3b
7
+ data.tar.gz: d76e23ca9d859dc7a11589c8490d92c455e6874336efc00a070442f695713aa5adcc008767fc3943176aaec8a4dfe0f86b5f70cfc003650ab33f0d4bfea9d916
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -31,4 +31,6 @@ Gem::Specification.new do |gem|
31
31
 
32
32
  gem.required_ruby_version = '>= 1.8.7'
33
33
  gem.add_runtime_dependency 'ffi', '>= 1.0.1'
34
+
35
+ gem.add_development_dependency "pry-byebug"
34
36
  end
@@ -179,11 +179,13 @@ module GSSAPI
179
179
  class GssCtxIdT < GssPointer
180
180
  def self.release_ptr(context_ptr)
181
181
  min_stat = FFI::MemoryPointer.new :OM_uint32
182
- maj_stat = LibGSSAPI.gss_delete_sec_context(min_stat, context_ptr, LibGSSAPI::GSS_C_NO_BUFFER)
182
+ ptr_p = FFI::MemoryPointer.new :pointer
183
+ ctx_ptr = ptr_p.write_pointer(context_ptr)
184
+ maj_stat = LibGSSAPI.gss_delete_sec_context(min_stat, ctx_ptr, LibGSSAPI::GSS_C_NO_BUFFER)
183
185
  end
184
186
 
185
187
  def self.gss_c_no_context
186
- self.new(GSSAPI::LibGSSAPI::GSS_C_NO_CONTEXT)
188
+ GssPointer.new(GSSAPI::LibGSSAPI::GSS_C_NO_CONTEXT)
187
189
  end
188
190
  end
189
191
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gssapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wanek
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-30 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry-byebug
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: |2
28
42
  A FFI wrapper around the system GSSAPI library. Please make sure and read the
29
43
  Yard docs or standard GSSAPI documentation if you have any questions.
@@ -65,7 +79,7 @@ homepage: http://github.com/zenchild/gssapi
65
79
  licenses:
66
80
  - MIT
67
81
  metadata: {}
68
- post_install_message:
82
+ post_install_message:
69
83
  rdoc_options:
70
84
  - "-x"
71
85
  - test/
@@ -84,9 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
98
  - !ruby/object:Gem::Version
85
99
  version: '0'
86
100
  requirements: []
87
- rubyforge_project:
88
- rubygems_version: 2.7.9
89
- signing_key:
101
+ rubygems_version: 3.0.8
102
+ signing_key:
90
103
  specification_version: 4
91
104
  summary: A FFI wrapper around the system GSSAPI library.
92
105
  test_files: []