smart_proxy_container_gateway 1.0.0 → 1.0.1
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b4cb6e121153f6b5e5688c79f71d45a7c6b3787a1662df5481b965e8932b3e7f
|
4
|
+
data.tar.gz: b320254d5ff2858487a58dbd63defdfd20d0b9fb7a6d2fde8fe1028d2eb9cecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ad8f095b5450474a87a091b2c8e0807e0aa0a2780dec65e42c114bac24f3bc209d2aee7cf715983b87d91a4bac3767150cf91bbc03757943bd4748a920d3424
|
7
|
+
data.tar.gz: 18d5c87875083932ff68abe7095872487250cbe2e0e15637031766d8facd12f5d2eac443a6a377b724e3b378df89d5ffd73be056407f09855866ebf437cdb505
|
@@ -72,8 +72,8 @@ module Proxy
|
|
72
72
|
|
73
73
|
unless auth_header.present? && auth_header.basic_auth?
|
74
74
|
one_year = (60 * 60 * 24 * 365)
|
75
|
-
return { token: AuthorizationHeader::UNAUTHORIZED_TOKEN, issued_at: Time.now,
|
76
|
-
expires_at: Time.now + one_year }.to_json
|
75
|
+
return { token: AuthorizationHeader::UNAUTHORIZED_TOKEN, issued_at: Time.now.iso8601,
|
76
|
+
expires_at: (Time.now + one_year).iso8601 }.to_json
|
77
77
|
end
|
78
78
|
|
79
79
|
token_response = ForemanApi.new.fetch_token(auth_header.raw_header, request.params)
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_container_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ballou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Pulp 3 container registry support for Foreman/Katello Smart-Proxy
|
@@ -46,19 +46,19 @@ extra_rdoc_files:
|
|
46
46
|
- README.md
|
47
47
|
- LICENSE
|
48
48
|
files:
|
49
|
+
- LICENSE
|
50
|
+
- README.md
|
51
|
+
- bundler.d/container_gateway.rb
|
49
52
|
- lib/smart_proxy_container_gateway.rb
|
53
|
+
- lib/smart_proxy_container_gateway/container_gateway.rb
|
54
|
+
- lib/smart_proxy_container_gateway/container_gateway_api.rb
|
55
|
+
- lib/smart_proxy_container_gateway/container_gateway_http_config.ru
|
56
|
+
- lib/smart_proxy_container_gateway/container_gateway_main.rb
|
50
57
|
- lib/smart_proxy_container_gateway/foreman_api.rb
|
51
58
|
- lib/smart_proxy_container_gateway/sequel_migrations/001_initial.rb
|
52
59
|
- lib/smart_proxy_container_gateway/sequel_migrations/002_auth_tokens.rb
|
53
|
-
- lib/smart_proxy_container_gateway/container_gateway_http_config.ru
|
54
60
|
- lib/smart_proxy_container_gateway/version.rb
|
55
|
-
- lib/smart_proxy_container_gateway/container_gateway.rb
|
56
|
-
- lib/smart_proxy_container_gateway/container_gateway_api.rb
|
57
|
-
- lib/smart_proxy_container_gateway/container_gateway_main.rb
|
58
61
|
- settings.d/container_gateway.yml.example
|
59
|
-
- bundler.d/container_gateway.rb
|
60
|
-
- README.md
|
61
|
-
- LICENSE
|
62
62
|
homepage: http://github.com/ianballou/smart_proxy_container_gateway
|
63
63
|
licenses:
|
64
64
|
- GPLv3
|
@@ -69,17 +69,16 @@ require_paths:
|
|
69
69
|
- lib
|
70
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - ~>
|
72
|
+
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '2.5'
|
75
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
|
-
|
82
|
-
rubygems_version: 2.0.14.1
|
81
|
+
rubygems_version: 3.0.3
|
83
82
|
signing_key:
|
84
83
|
specification_version: 4
|
85
84
|
summary: Pulp 3 container registry support for Foreman/Katello Smart-Proxy
|