saml-kit 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Saml
2
2
  module Kit
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  module Saml
2
2
  module Kit
3
- class Cryptography
3
+ class XmlDecryption
4
4
  attr_reader :private_key
5
5
 
6
6
  def initialize(private_key = Saml::Kit.configuration.encryption_private_key)
data/saml-kit.gemspec CHANGED
@@ -23,13 +23,13 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
 
25
25
  spec.add_dependency "activemodel", ">= 4.2.0"
26
- spec.add_dependency "activesupport", ">= 4.2.0"
27
26
  spec.add_dependency "builder", "~> 3.2"
28
27
  spec.add_dependency "nokogiri", "~> 1.8"
29
28
  spec.add_dependency "xmldsig", "~> 0.6"
30
29
  spec.add_development_dependency "bundler", "~> 1.15"
30
+ spec.add_development_dependency "ffaker", "~> 2.7"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
32
  spec.add_development_dependency "rspec", "~> 3.0"
33
- spec.add_development_dependency "ffaker", "~> 2.7"
33
+ spec.add_development_dependency "simplecov", "~> 0.15.1"
34
34
  spec.add_development_dependency "webmock", "~> 3.1"
35
35
  end
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.2.1
4
+ version: 0.2.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-11-29 00:00:00.000000000 Z
11
+ date: 2017-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.0
27
- - !ruby/object:Gem::Dependency
28
- name: activesupport
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 4.2.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 4.2.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: builder
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +80,20 @@ dependencies:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
82
  version: '1.15'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ffaker
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.7'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.7'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -123,19 +123,19 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '3.0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: ffaker
126
+ name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '2.7'
131
+ version: 0.15.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '2.7'
138
+ version: 0.15.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: webmock
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -154,6 +154,7 @@ description: A simple toolkit for working with SAML.
154
154
  email:
155
155
  - mo@mokhan.ca
156
156
  executables:
157
+ - saml-kit-create-self-signed-certificate
157
158
  - saml-kit-decode-http-post
158
159
  - saml-kit-decode-http-redirect
159
160
  extensions: []
@@ -169,6 +170,7 @@ files:
169
170
  - Rakefile
170
171
  - bin/console
171
172
  - bin/setup
173
+ - exe/saml-kit-create-self-signed-certificate
172
174
  - exe/saml-kit-decode-http-post
173
175
  - exe/saml-kit-decode-http-redirect
174
176
  - lib/saml/kit.rb
@@ -178,6 +180,14 @@ files:
178
180
  - lib/saml/kit/bindings/http_post.rb
179
181
  - lib/saml/kit/bindings/http_redirect.rb
180
182
  - lib/saml/kit/bindings/url_builder.rb
183
+ - lib/saml/kit/buildable.rb
184
+ - lib/saml/kit/builders.rb
185
+ - lib/saml/kit/builders/authentication_request.rb
186
+ - lib/saml/kit/builders/identity_provider_metadata.rb
187
+ - lib/saml/kit/builders/logout_request.rb
188
+ - lib/saml/kit/builders/logout_response.rb
189
+ - lib/saml/kit/builders/response.rb
190
+ - lib/saml/kit/builders/service_provider_metadata.rb
181
191
  - lib/saml/kit/certificate.rb
182
192
  - lib/saml/kit/configuration.rb
183
193
  - lib/saml/kit/crypto.rb
@@ -185,10 +195,10 @@ files:
185
195
  - lib/saml/kit/crypto/rsa_cipher.rb
186
196
  - lib/saml/kit/crypto/simple_cipher.rb
187
197
  - lib/saml/kit/crypto/unknown_cipher.rb
188
- - lib/saml/kit/cryptography.rb
189
198
  - lib/saml/kit/default_registry.rb
190
199
  - lib/saml/kit/document.rb
191
200
  - lib/saml/kit/fingerprint.rb
201
+ - lib/saml/kit/id.rb
192
202
  - lib/saml/kit/identity_provider_metadata.rb
193
203
  - lib/saml/kit/invalid_document.rb
194
204
  - lib/saml/kit/locales/en.yml
@@ -206,6 +216,7 @@ files:
206
216
  - lib/saml/kit/trustable.rb
207
217
  - lib/saml/kit/version.rb
208
218
  - lib/saml/kit/xml.rb
219
+ - lib/saml/kit/xml_decryption.rb
209
220
  - lib/saml/kit/xsd/MetadataExchange.xsd
210
221
  - lib/saml/kit/xsd/oasis-200401-wss-wssecurity-secext-1.0.xsd
211
222
  - lib/saml/kit/xsd/oasis-200401-wss-wssecurity-utility-1.0.xsd
@@ -247,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
258
  version: '0'
248
259
  requirements: []
249
260
  rubyforge_project:
250
- rubygems_version: 2.6.13
261
+ rubygems_version: 2.7.3
251
262
  signing_key:
252
263
  specification_version: 4
253
264
  summary: A simple toolkit for working with SAML.