saml-kit 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea04912ee0a128c6ad73be1006827a0759698b07
4
- data.tar.gz: 3a2c7424b611f7c60fd67d55e8df21c7339d9ae6
3
+ metadata.gz: a31d9e6b238e73228d1d269234b34cea16bcfea3
4
+ data.tar.gz: 94390f23ed750aa43918c13d911f08c1d6e2ac11
5
5
  SHA512:
6
- metadata.gz: 7241a12e8e8614289205f12b238208742514e70bd66ce33e42ca7244597d62db1622de32c6ed1e968e2cc5cf9e735bbf3ab78fcd2c15f829b325e518621eb1a7
7
- data.tar.gz: 8e280182ced754e6d2120e9c65d04233dc0ea979cbe0e74002d2e9156b4bdb8aa3030e122c21c24b6ca353b14daf83a45a261a4178ffe4cbc992cac716fca4b1
6
+ metadata.gz: a8c232f1150b087d53a57179ecd3c10d9fc18fb9903a641f22bc4370f25bc25b9f5a719a8ddd9d8447dc08d5a2af58c93d0a1adfa75b5c7b1ec7a0811df8edcd
7
+ data.tar.gz: cb261c42f841378781acab2638794c9278aa3a9d18ad4dc83d44facdd3c4f83247912b1c671edc3fa635eb757e682b8007358d22325ea1e23d251f228d800788
@@ -76,7 +76,7 @@ module Saml
76
76
  if encrypted?
77
77
  private_keys = configuration.private_keys(use: :encryption)
78
78
  decryptor = ::Xml::Kit::Decryption.new(private_keys: private_keys)
79
- decrypted = decryptor.decrypt(@xml_hash['Response']['EncryptedAssertion'])
79
+ decrypted = decryptor.decrypt_hash(@xml_hash['Response']['EncryptedAssertion'])
80
80
  Saml::Kit.logger.debug(decrypted)
81
81
  Hash.from_xml(decrypted)['Assertion']
82
82
  else
@@ -1,5 +1,5 @@
1
1
  module Saml
2
2
  module Kit
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
data/saml-kit.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_dependency "activemodel", ">= 4.2.0"
27
27
  spec.add_dependency "nokogiri", "~> 1.8"
28
- spec.add_dependency "xml-kit", "0.1.0"
28
+ spec.add_dependency "xml-kit", ">= 0.1.1"
29
29
  spec.add_development_dependency "bundler", "~> 1.15"
30
30
  spec.add_development_dependency "ffaker", "~> 2.7"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saml-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mo khan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-28 00:00:00.000000000 Z
11
+ date: 2017-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: xml-kit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.0
47
+ version: 0.1.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.0
54
+ version: 0.1.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement