katalyst-basic-auth 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/katalyst/basic/auth/config.rb +6 -2
- data/lib/katalyst/basic/auth.rb +0 -1
- metadata +9 -10
- data/lib/katalyst/basic/auth/version.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41f54ddbd66ceccb23388677ecf248089a03302ec1bf0a000c93d0e5d4ec251a
|
4
|
+
data.tar.gz: 4183373946dd4df7848c0988b00beb95f144b1341d58cff5f3024458ec935dc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 334cf7d8ab929fa675f2179e85743423f9fa50e15f528c403b1e8b627ce6a4b1816bbce85a69a99bdbd40163f2ba0c1c9889f370d6390a6322abaf7f1e4fe6e3
|
7
|
+
data.tar.gz: 7b4d85c560cebf72d748e9e65bae30ce9216e5292a80913aa86919bb24b2b250404199ad960dfa4bb8a1fe20d5e2c7efecb8bede9b18fdbdfe66be8eccbb5ad1
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -56,7 +56,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
56
56
|
|
57
57
|
## Contributing
|
58
58
|
|
59
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/katalyst/
|
59
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/katalyst/basic-auth. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/katalyst-basic-auth/blob/master/CODE_OF_CONDUCT.md).
|
60
60
|
|
61
61
|
## License
|
62
62
|
|
@@ -46,12 +46,16 @@ module Katalyst
|
|
46
46
|
config
|
47
47
|
end
|
48
48
|
|
49
|
+
def up(path = "/up")
|
50
|
+
new(path: path, enabled: false)
|
51
|
+
end
|
52
|
+
|
49
53
|
def all
|
50
|
-
@all ||= [new]
|
54
|
+
@all ||= [new, up]
|
51
55
|
end
|
52
56
|
|
53
57
|
def reset!
|
54
|
-
@all = [new]
|
58
|
+
@all = [new, up]
|
55
59
|
end
|
56
60
|
|
57
61
|
def each(&block)
|
data/lib/katalyst/basic/auth.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katalyst-basic-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katalyst Interactive
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
version: '0'
|
27
27
|
description: Makes it easy to add basic auth on staging and development apps.
|
28
28
|
email:
|
29
|
-
-
|
29
|
+
- developers@katalyst.com.au
|
30
30
|
executables: []
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
@@ -39,7 +39,6 @@ files:
|
|
39
39
|
- lib/katalyst/basic/auth/middleware.rb
|
40
40
|
- lib/katalyst/basic/auth/rails.rb
|
41
41
|
- lib/katalyst/basic/auth/tasks/auth.rake
|
42
|
-
- lib/katalyst/basic/auth/version.rb
|
43
42
|
homepage: https://github.com/katalyst/katalyst-basic-auth
|
44
43
|
licenses:
|
45
44
|
- MIT
|
@@ -47,9 +46,9 @@ metadata:
|
|
47
46
|
allowed_push_host: https://rubygems.org
|
48
47
|
rubygems_mfa_required: 'true'
|
49
48
|
homepage_uri: https://github.com/katalyst/katalyst-basic-auth
|
50
|
-
source_code_uri: https://github.com/katalyst/
|
51
|
-
changelog_uri: https://github.com/katalyst/
|
52
|
-
post_install_message:
|
49
|
+
source_code_uri: https://github.com/katalyst/basic-auth
|
50
|
+
changelog_uri: https://github.com/katalyst/basic-auth/blob/main/CHANGELOG.md
|
51
|
+
post_install_message:
|
53
52
|
rdoc_options: []
|
54
53
|
require_paths:
|
55
54
|
- lib
|
@@ -64,8 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
63
|
- !ruby/object:Gem::Version
|
65
64
|
version: '0'
|
66
65
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
68
|
-
signing_key:
|
66
|
+
rubygems_version: 3.4.19
|
67
|
+
signing_key:
|
69
68
|
specification_version: 4
|
70
69
|
summary: Gem to add basic auth on staging websites
|
71
70
|
test_files: []
|