tem_ruby 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.15.2. Bugfix: migrating a SECpack blew up the original.
2
+
1
3
  v0.15.1. SECpack migrations.
2
4
 
3
5
  v0.15.0. Opcode for computing the size of encrypted data (fw 1.15).
data/lib/tem/secpack.rb CHANGED
@@ -17,7 +17,7 @@ class Tem::SecPack
17
17
 
18
18
  # Creates a deep copy of the SECpack.
19
19
  def copy
20
- Tem::SecPack.new_from_array self.to_array
20
+ Tem::SecPack.new_from_yaml_str self.to_yaml_str
21
21
  end
22
22
 
23
23
  def to_array
data/tem_ruby.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tem_ruby}
5
- s.version = "0.15.1"
5
+ s.version = "0.15.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Victor Costan"]
@@ -39,5 +39,8 @@ class TemMigrateTest < TemTestCase
39
39
  assert_equal _migrate_test_secret, @tem.execute(migrated, privk_id),
40
40
  'Migrated SECpack executed incorrectly'
41
41
  @tem.tk_delete_key privk_id, authz
42
+
43
+ assert_equal _migrate_test_secret, @tem.execute(sec),
44
+ 'Migration blew up original SECpack'
42
45
  end
43
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tem_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan