rack-cerberus 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f646a686e4b181584972006a33b8637f44ddaef7
4
- data.tar.gz: 152f0132226b3dd7803bf2507fb57b6d4c6523d4
3
+ metadata.gz: 411437e22023644b28b65e2b71da2f9b71e410d9
4
+ data.tar.gz: 5ccfef0836401545dcf9ca3bdd981f4ab0064287
5
5
  SHA512:
6
- metadata.gz: c2dfda81ee63b2de2a1fb52be5e4511493f62d9d3c7256e98796f7c5fd68cec598ded528c1e0a59bd76178b662945a0ce3c823939422cbc12a72823cb77d0a37
7
- data.tar.gz: 189a19fff0b2bbb33e5202806244b035d693d04214f19631d95fbf9b6d88cb523e86b6560d790675f9dd50022bff023906e1ae14e042ca1247f689c11b15e07e
6
+ metadata.gz: 8213b72d781aa209884f7414f6f488595d9a280425e54dd2517792f7d4212c66b1ecc884c4f6a7d943032048496847572cffb22ce97748a9351308146f1c75f4
7
+ data.tar.gz: 7750146ec346708f5eb13fa4b4d6fb252f525e9594479f1a1f859b01d9b060f5d2dd1a20e14586d13254f16b0307df0f563919cf6670c3c32024f0373705073e
data/MIT_LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2016 Mickael Riga
1
+ Copyright (c) 2010-2017 Mickael Riga
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -102,5 +102,5 @@ or send patches.
102
102
  Copyright
103
103
  ---------
104
104
 
105
- (c) 2010-2016 Mickael Riga - see `MIT_LICENSE` for details
105
+ (c) 2010-2017 Mickael Riga - see `MIT_LICENSE` for details
106
106
 
data/lib/rack/cerberus.rb CHANGED
@@ -106,7 +106,7 @@ module Rack
106
106
  [
107
107
  401, {'Content-Type' => 'text/html'},
108
108
  [AUTH_PAGE % @options.merge({
109
- error: error, submit_path: req.env['REQUEST_URI'],
109
+ error: error, submit_path: h(req.env['REQUEST_URI']),
110
110
  request_method: req.request_method,
111
111
  login: h(login(req)),
112
112
  pass: h(pass(req))
@@ -1,6 +1,6 @@
1
1
  module Rack
2
2
  class Cerberus
3
- VERSION = '1.0.4'
3
+ VERSION = '1.0.5'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cerberus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mickael Riga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-01 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -76,7 +76,6 @@ extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
78
  - ".gitignore"
79
- - ".rspec"
80
79
  - Gemfile
81
80
  - MIT_LICENSE
82
81
  - README.md
@@ -106,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
105
  version: '0'
107
106
  requirements: []
108
107
  rubyforge_project:
109
- rubygems_version: 2.5.1
108
+ rubygems_version: 2.6.8
110
109
  signing_key:
111
110
  specification_version: 4
112
111
  summary: A Rack middleware for form-based authentication
data/.rspec DELETED
@@ -1,4 +0,0 @@
1
- --color
2
- --require 'rack/test'
3
- --require spec_helper
4
-