shib-rack 0.2.0 → 0.3.0

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: f82a33214cf9c9f29eab19c5db443aff50a083ed
4
- data.tar.gz: 6234a4871c79daaeb50f7aec9fbaa2efd0c03b14
3
+ metadata.gz: ee8836c8686e810b738093267b1e87d260e7110b
4
+ data.tar.gz: 8ecab14fcabfcfffa8fe4db416d62614c391f82d
5
5
  SHA512:
6
- metadata.gz: 3f1b163facbc8a910823bb7aa88a41677c2733fa420590df2bef0d6bd44d958ece35ebb3acce5d684b1a08e5a33fb35cff3b077669595cbfa47710eeb4cf1ee5
7
- data.tar.gz: fdc175e4432e7526587ec60113743f0c87682e056b68e3f253eb4944ffc85d49ef07b075a14e0e1d5be30c747cf2ad6d238b931dd78f6df50be51c129a1427e9
6
+ metadata.gz: cf42df46df9c220c4cd8ebd2fa2229deaf7ad01103f427128554db3849579c3bfcdbb445a11997aa383c2687fcabb6fd2514610d70af0db8178bcb464e4d0d5b
7
+ data.tar.gz: 23ed96de7c8a8acb9b2d8a8bc9d5c178b78a1e18b4f8d2334afb2bb92de0a67020bc2d0fc058ff45181e7151ec4f4b70a837e229f3814bc473966df3cf40046c
data/.rubocop.yml CHANGED
@@ -1,6 +1,8 @@
1
- ---
1
+ inherit_gem:
2
+ aaf-gumboot: aaf-rubocop.yml
3
+
2
4
  AllCops:
3
- TargetRubyVersion: 2.3
5
+ TargetRailsVersion: 4.0
4
6
 
5
7
  Style/FileName:
6
8
  Exclude:
data/Guardfile CHANGED
@@ -5,7 +5,7 @@ guard :bundler do
5
5
  require 'guard/bundler/verify'
6
6
  helper = Guard::Bundler::Verify.new
7
7
 
8
- files = %w(Gemfile shib-rack.gemspec)
8
+ files = %w[Gemfile shib-rack.gemspec]
9
9
  files.each { |file| watch(helper.real_path(file)) }
10
10
  end
11
11
 
data/Rakefile CHANGED
@@ -7,4 +7,4 @@ require 'rubocop/rake_task'
7
7
  RSpec::Core::RakeTask.new(:spec)
8
8
  RuboCop::RakeTask.new
9
9
 
10
- task default: [:spec, :rubocop]
10
+ task default: %i[spec rubocop]
@@ -22,7 +22,7 @@ module ShibRack
22
22
  require 'yaml'
23
23
  yaml = File.read(File.expand_path('../identities.yml', __FILE__))
24
24
 
25
- YAML.load(yaml)['identities'].map do |identity|
25
+ YAML.safe_load(yaml)['identities'].map do |identity|
26
26
  identity.reduce({}) { |a, (k, v)| a.merge("HTTP_#{k.upcase}" => v) }
27
27
  end
28
28
  end
@@ -40,7 +40,7 @@ identities:
40
40
  edupersonaffiliation: student;member
41
41
  edupersonscopedaffiliation: student@fritsch.example.edu;member@fritsch.example.edu
42
42
 
43
- - auedupersonsharedtoken: a07fhxNyDIEa4DNYBTD1Bc3rTcz
43
+ - auedupersonsharedtoken: a07fhxNyDIEa4DNYBTD1Bc3rTcz
44
44
  displayname: Reginald Moneymaker
45
45
  cn: Reginald Moneymaker
46
46
  principalname: reg@synergy.example.edu
@@ -76,3 +76,6 @@ identities:
76
76
  homeorganizationtype: urn:mace:terena.org:schac:homeOrganizationType:ru:university
77
77
  edupersonaffiliation: staff;member
78
78
  edupersonscopedaffiliation: staff@stroa.example.ac.ru;member@stroa.example.ac.ru
79
+
80
+ - persistent_id: https://idp.stammtillman.com/idp/shibboleth!https://sp.kemmer.biz/shibboleth!8ec8c711-d4f3-468a-8915-2df4a5194af5
81
+ auedupersonsharedtoken: 2fZFr-HiRTD0Bhe4zR-hmIG_rn0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShibRack
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
data/shib-rack.gemspec CHANGED
@@ -20,6 +20,8 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'rack'
22
22
 
23
+ spec.add_development_dependency 'aaf-gumboot'
24
+
23
25
  spec.add_development_dependency 'rack-test'
24
26
  spec.add_development_dependency 'faker'
25
27
  spec.add_development_dependency 'rails', '~> 4.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shib-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun Mangelsdorf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: aaf-gumboot
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rack-test
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -240,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
254
  version: '0'
241
255
  requirements: []
242
256
  rubyforge_project:
243
- rubygems_version: 2.6.8
257
+ rubygems_version: 2.6.12
244
258
  signing_key:
245
259
  specification_version: 4
246
260
  summary: Rack middleware for Shibboleth SP authentication