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
- SHA1:
3
- metadata.gz: 3d3c91e3e5a1e8ac14c401afd1a5f5bb610456ec
4
- data.tar.gz: 1d6f13ea82165a9896d335c221980064c6d9356b
2
+ SHA256:
3
+ metadata.gz: b4cb6e121153f6b5e5688c79f71d45a7c6b3787a1662df5481b965e8932b3e7f
4
+ data.tar.gz: b320254d5ff2858487a58dbd63defdfd20d0b9fb7a6d2fde8fe1028d2eb9cecb
5
5
  SHA512:
6
- metadata.gz: 1bf4eec507934bc9c9f567ac59b6eb14217b4f0a2f1801e2ad57a0b411648c572085f7074dbefb120f1cfe7516348cc53cbdcca1ecd21398a55be0c3c7ca5e55
7
- data.tar.gz: 6dcb9de3d2fc3fc5d3956f32865a9770fae63359fdb994b35776df4cfd8c23fcb24720fed3f9e6f1b4cdf4437909a19cba8d5a1c36fbcfb1d1c3a57402a85acd
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)
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  module ContainerGateway
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
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.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-22 00:00:00.000000000 Z
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
- rubyforge_project:
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