smart_proxy_pulp 1.0.0 → 1.0.1
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 +4 -4
- data/Gemfile +4 -0
- data/lib/smart_proxy_pulp.rb +2 -1
- data/lib/smart_proxy_pulp_plugin/pulp_api.rb +1 -0
- data/lib/smart_proxy_pulp_plugin/{http_config.ru → pulp_http_config.ru} +1 -1
- data/lib/smart_proxy_pulp_plugin/pulp_node_http_config.ru +5 -0
- data/lib/smart_proxy_pulp_plugin/pulp_node_plugin.rb +9 -0
- data/lib/smart_proxy_pulp_plugin/pulp_plugin.rb +4 -4
- data/lib/smart_proxy_pulp_plugin/version.rb +2 -2
- data/settings.d/pulp.yml.example +1 -1
- data/settings.d/pulpnode.yml.example +3 -0
- metadata +50 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 122c90c7a6e896cc2e3ebc15ac974f289047c1e3
|
|
4
|
+
data.tar.gz: 62d073204449a0dfa2846c67832a0d4eeb72aeb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c51b3ffc313b5e083664ae9d0f3852ccbbf26ab72db0daea8dd5161f0a095c7fd0e8c6d736059ab4f758dd6c310d37242f46e1b538938a6595ba0a3f39ec111
|
|
7
|
+
data.tar.gz: c739d6ee6f3acae5554f9005537215202ecf3c1678e40014cc0e87d7795370b1468f608a625bf24faf56807413b083515cedd12bf40d20ff3481d5d012d1efa6
|
data/Gemfile
CHANGED
data/lib/smart_proxy_pulp.rb
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
module PulpMasterProxy
|
|
2
|
+
class Plugin < ::Proxy::Plugin
|
|
3
|
+
plugin "pulpnode", ::PulpProxy::VERSION
|
|
4
|
+
default_settings :pulp_url => 'https://localhost/pulp'
|
|
5
|
+
|
|
6
|
+
http_rackup_path File.expand_path("pulp_node_http_config.ru", File.expand_path("../", __FILE__))
|
|
7
|
+
https_rackup_path File.expand_path("pulp_node_http_config.ru", File.expand_path("../", __FILE__))
|
|
8
|
+
end
|
|
9
|
+
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
module PulpProxy
|
|
2
2
|
class Plugin < ::Proxy::Plugin
|
|
3
|
-
plugin
|
|
4
|
-
default_settings :pulp_url => '
|
|
3
|
+
plugin "pulp", ::PulpProxy::VERSION
|
|
4
|
+
default_settings :pulp_url => 'https://localhost/pulp'
|
|
5
5
|
|
|
6
|
-
http_rackup_path File.expand_path("
|
|
7
|
-
https_rackup_path File.expand_path("
|
|
6
|
+
http_rackup_path File.expand_path("pulp_http_config.ru", File.expand_path("../", __FILE__))
|
|
7
|
+
https_rackup_path File.expand_path("pulp_http_config.ru", File.expand_path("../", __FILE__))
|
|
8
8
|
end
|
|
9
9
|
end
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module PulpProxy
|
|
2
|
-
VERSION = "1.0.
|
|
3
|
-
end
|
|
2
|
+
VERSION = "1.0.1"
|
|
3
|
+
end
|
data/settings.d/pulp.yml.example
CHANGED
metadata
CHANGED
|
@@ -1,17 +1,59 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_proxy_pulp
|
|
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
|
- Dmitri Dolguikh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07
|
|
11
|
+
date: 2014-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-unit
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '2'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ~>
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '2'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: mocha
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ~>
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '1'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ~>
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '1'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: webmock
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ~>
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1'
|
|
48
|
+
type: :development
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ~>
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rack-test
|
|
15
57
|
requirement: !ruby/object:Gem::Requirement
|
|
16
58
|
requirements:
|
|
17
59
|
- - ~>
|
|
@@ -30,14 +72,14 @@ dependencies:
|
|
|
30
72
|
requirements:
|
|
31
73
|
- - ~>
|
|
32
74
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
75
|
+
version: '10'
|
|
34
76
|
type: :development
|
|
35
77
|
prerelease: false
|
|
36
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
79
|
requirements:
|
|
38
80
|
- - ~>
|
|
39
81
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
82
|
+
version: '10'
|
|
41
83
|
description: |2
|
|
42
84
|
Basic Pulp support for Foreman Smart-Proxy
|
|
43
85
|
email:
|
|
@@ -50,12 +92,15 @@ files:
|
|
|
50
92
|
- LICENSE
|
|
51
93
|
- bundler.d/pulp.rb
|
|
52
94
|
- lib/smart_proxy_pulp.rb
|
|
53
|
-
- lib/smart_proxy_pulp_plugin/http_config.ru
|
|
54
95
|
- lib/smart_proxy_pulp_plugin/pulp_api.rb
|
|
55
96
|
- lib/smart_proxy_pulp_plugin/pulp_client.rb
|
|
97
|
+
- lib/smart_proxy_pulp_plugin/pulp_http_config.ru
|
|
98
|
+
- lib/smart_proxy_pulp_plugin/pulp_node_http_config.ru
|
|
99
|
+
- lib/smart_proxy_pulp_plugin/pulp_node_plugin.rb
|
|
56
100
|
- lib/smart_proxy_pulp_plugin/pulp_plugin.rb
|
|
57
101
|
- lib/smart_proxy_pulp_plugin/version.rb
|
|
58
102
|
- settings.d/pulp.yml.example
|
|
103
|
+
- settings.d/pulpnode.yml.example
|
|
59
104
|
homepage: https://github.com/theforeman/smart-proxy-pulp-plugin
|
|
60
105
|
licenses:
|
|
61
106
|
- GPLv3
|