krb5-ruby 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 734f9d0c083314c2edddf0b99421ddeaf92e98af
4
- data.tar.gz: 7da2a7a53e57a8f27c16088028f192d3117f51e8
3
+ metadata.gz: cb1d444d6f433d9ffeabe949c3bf81a53c63ddb2
4
+ data.tar.gz: dff3c345d379966697a50b67bd1a48c898d74d3a
5
5
  SHA512:
6
- metadata.gz: 07e854914a117566f6aa155094f54634adf8b5273987563d9c6d7be57cd0be26f67d253494a6928a4f7d6c0af551b169b51953c4df22412ada6bc2f807cfddc6
7
- data.tar.gz: 4cf040b36e0329908241944a36efa98d4cf7cf0d9cb4862c1f01a5e51dd625540c744c54809fe3bf5ca50b874d0c49bb3a3fa23f7cd9b54acab430592023fdcf
6
+ metadata.gz: f2e7a57423d0418013513aa59b612994ade13bc61fc87fe688b6c9227a409feb2daf7480f7694134bf23b10b9fb09263c82889bb19b825ef5582b426f233024d
7
+ data.tar.gz: 15bf94ce92327311a9ef7d8c9a817d1ccc00bd42f8ba4380ef0b823147cd85138b483f938af017b3865ea8a0927bbf88502601061cfa427dd6d5267882821fb1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/krb5-ruby.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: krb5-ruby 0.2.1 ruby lib
5
+ # stub: krb5-ruby 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "krb5-ruby".freeze
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
data/lib/krb5/entry.rb CHANGED
@@ -37,6 +37,8 @@ class KRB5
37
37
  # key contents
38
38
  # key version (32 bits) [in release 1.14 and later]
39
39
  def to_bytes
40
+ @bytes = []
41
+
40
42
  pack_bytes(principal.to_bytes)
41
43
  pack_int32(timestamp.strftime('%s').to_i)
42
44
  pack_int8(kvno8)
data/lib/krb5/keytab.rb CHANGED
@@ -64,6 +64,8 @@ class KRB5
64
64
  # length (16 bits)
65
65
  # value (length bytes)
66
66
  def to_bytes
67
+ @bytes = []
68
+
67
69
  # First byte is always a 5
68
70
  pack_int8(5)
69
71
  pack_int8(version)
@@ -30,6 +30,8 @@ class KRB5
30
30
  # ...
31
31
  # name type (32 bits) [omitted in version 1]
32
32
  def to_bytes
33
+ @bytes = []
34
+
33
35
  pack_count_of_components
34
36
  pack_int16(realm.length)
35
37
  pack_bytes(realm)
data/lib/krb5.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'krb5/keytab'
2
2
 
3
3
  class KRB5
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krb5-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Barnett