smart_proxy_dynflow_core 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +6 -0
- data/lib/smart_proxy_dynflow_core/settings.rb +2 -2
- data/lib/smart_proxy_dynflow_core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aedf4520542db023767dec95a15abf5f101e5ed4
|
4
|
+
data.tar.gz: 3c84a4333058d2190f1bacbf8c8613137f671614
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60b2d80e2f9db98f2e551685f2a3231539776f28f2b077a61b49c9ae19a63d2cc932d0486a4b7a6c3116a78d65fe66097b8615528eb1eef9332893908712ed6e
|
7
|
+
data.tar.gz: e44223fec0d48f399dd1dbc885334dea311c83797457a1d36e799cc2cb1852ef2aaab8c524a03427d32c4d832af9f00e7b2606786c0340ad8c9fda22187369f7
|
data/Gemfile
CHANGED
@@ -11,6 +11,12 @@ group :test do
|
|
11
11
|
gem 'smart_proxy', :git => "https://github.com/theforeman/smart-proxy", :branch => "develop"
|
12
12
|
end
|
13
13
|
|
14
|
+
if RUBY_VERSION < "2.0"
|
15
|
+
gem 'json', '< 2.0.0'
|
16
|
+
gem 'rest-client', '< 1.7'
|
17
|
+
gem 'mime-types', '~> 1.0'
|
18
|
+
end
|
19
|
+
|
14
20
|
# load bundler.d
|
15
21
|
Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle|
|
16
22
|
self.instance_eval(Bundler.read_file(bundle))
|
@@ -69,12 +69,12 @@ module SmartProxyDynflowCore
|
|
69
69
|
Log.reload!
|
70
70
|
end
|
71
71
|
|
72
|
-
def self.load_from_proxy(
|
72
|
+
def self.load_from_proxy(settings)
|
73
73
|
PROXY_SETTINGS.each do |key|
|
74
74
|
SETTINGS[key] = Proxy::SETTINGS[key]
|
75
75
|
end
|
76
76
|
PLUGIN_SETTINGS.each do |key|
|
77
|
-
SETTINGS[key] =
|
77
|
+
SETTINGS[key] = settings[key]
|
78
78
|
end
|
79
79
|
SETTINGS.plugins.values.each { |plugin| plugin.load_settings_from_proxy }
|
80
80
|
Settings.loaded!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_dynflow_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
241
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.4.
|
242
|
+
rubygems_version: 2.4.5
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Dynflow runtime for Foreman smart proxy
|