Commit 4908e36

mo <mo@mokhan.ca>
2019-02-05 18:03:38
use encrypt_data_for
1 parent 3aefdba
Changed files (4)
bin/setup
@@ -3,4 +3,4 @@ set -euo pipefail
 IFS=$'\n\t'
 set -vx
 
-bundle check || bundle install --jobs $(nproc)
+bundle check || bundle install --jobs "$(sysctl -n hw.ncpu || nproc)"
lib/saml/kit/builders/templates/encrypted_assertion.builder
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 xml.EncryptedAssertion xmlns: Saml::Kit::Namespaces::ASSERTION do
-  encryption_for(xml: xml) do |xml|
+  encrypt_data_for(xml: xml) do |xml|
     render assertion, xml: xml
   end
 end
CHANGELOG.md
@@ -1,4 +1,4 @@
-Version 0.2.16
+Version 1.0.29
 # Changelog
 All notable changes to this project will be documented in this file.
 
@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 ### Changed
-- nil
+- change xml-kit dependency to minimum 0.3.0
+- use `encrypt_data_for` instead of `encryption_for`.
 
 ## [1.0.29] - 2018-12-04
 ### Changed
saml-kit.gemspec
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
 
   spec.add_dependency 'activemodel', '>= 4.2.0'
   spec.add_dependency 'net-hippie', '~> 0.1'
-  spec.add_dependency 'xml-kit', '~> 0.2'
+  spec.add_dependency 'xml-kit', '>= 0.3.0', '< 1.0.0'
   spec.add_development_dependency 'bundler', '~> 1.15'
   spec.add_development_dependency 'bundler-audit', '~> 0.6'
   spec.add_development_dependency 'ffaker', '~> 2.7'