smart_proxy_dynflow_core 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aea249b437a5dbb1733238540d317b5ece223d8e
4
- data.tar.gz: 534cc45d145d741845b0719848d67dd4d60aa39d
3
+ metadata.gz: aedf4520542db023767dec95a15abf5f101e5ed4
4
+ data.tar.gz: 3c84a4333058d2190f1bacbf8c8613137f671614
5
5
  SHA512:
6
- metadata.gz: a42b78b3eeb087847016050dad2e36218e8c908ea7557d33bddd5049dacd60caf3405e521626be53d8e05d45c9c762c04b5d9d1d35da26150763c050cde955c1
7
- data.tar.gz: a512036ed6b11ec0b077d2e29d56beaf2f4d2c1bfb6f45b0b4e00c5719178f2d05870184f968c393ad56ff4194892148d4128cbc7407885d3db0a2a95b4d8e92
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(plugin)
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] = plugin.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!
@@ -1,3 +1,3 @@
1
1
  module SmartProxyDynflowCore
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
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.3
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-06-20 00:00:00.000000000 Z
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.8
242
+ rubygems_version: 2.4.5
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: Dynflow runtime for Foreman smart proxy