smart_proxy_dynflow_core 0.1.6 → 0.1.7

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
2
  SHA1:
3
- metadata.gz: ae526e7d72f4b4ee46d8bcfa40e64f6790491ff1
4
- data.tar.gz: 5ed7ee98098fd949f9619465cc7362fbce43b157
3
+ metadata.gz: c84339e46cc155734611a210fb6322994a1f81c7
4
+ data.tar.gz: be3d332a59589edaa862a08241e04a24910dc823
5
5
  SHA512:
6
- metadata.gz: 1eeaf64c14cdba89b6a787082c603aca475e941935e8307b695ab4bef84bcb258907453cb368a6d5992565217921c8bed405968191bc773cd50f99ee0bde603c
7
- data.tar.gz: b1aa187080d29a83a79a014afe9434b3876bdc31e55c9e50f1227eb0f429d66075f4387d9746808a5d18e4bc6eb5e9649a8bc8defbb6258df9fac6e799a32183
6
+ metadata.gz: 10fd1a252607ae0a5f45e29a01336f84d75776e92ff4300fb4981e6b1f78d72e8ae2c32a57d76763f81f19389a0352dca62599af92e631639903fed17dfc85f1
7
+ data.tar.gz: 9e176bfa52d6f2ba282ada99839d04eaf03b5dc84285c3dd26136022efcc48775b1ba5a6a0748cf3efcad3d1b510f5a26719ac2c0792fb17ae4c56b3d735b86d
@@ -71,7 +71,13 @@ module SmartProxyDynflowCore
71
71
  end
72
72
 
73
73
  def self.load_from_proxy(plugin)
74
- settings = plugin[:class].settings.to_h
74
+ plugin_class = if Proxy::VERSION >= '1.16.0'
75
+ plugin
76
+ else
77
+ # DEPRECATION: Remove this branch when dropping support for smart-proxy < 1.16
78
+ plugin[:class]
79
+ end
80
+ settings = plugin_class.settings.to_h
75
81
  PROXY_SETTINGS.each do |key|
76
82
  SETTINGS[key] = Proxy::SETTINGS[key]
77
83
  end
@@ -1,3 +1,3 @@
1
1
  module SmartProxyDynflowCore
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
@@ -30,7 +30,7 @@ Gem::Specification.new do |gem|
30
30
  gem.add_development_dependency('rack-test', '~> 0')
31
31
  gem.add_development_dependency('rubocop', '0.32.1')
32
32
 
33
- gem.add_runtime_dependency('foreman-tasks-core', '~> 0.1.0')
33
+ gem.add_runtime_dependency('foreman-tasks-core', '>= 0.1')
34
34
  gem.add_runtime_dependency('dynflow', "~> 0.8.4")
35
35
  gem.add_runtime_dependency('sequel')
36
36
  gem.add_runtime_dependency('sqlite3')
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.6
4
+ version: 0.1.7
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: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: foreman-tasks-core
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 0.1.0
117
+ version: '0.1'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.1.0
124
+ version: '0.1'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: dynflow
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +206,8 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
- description: " Use the Dynflow inside Foreman smart proxy\n"
209
+ description: |2
210
+ Use the Dynflow inside Foreman smart proxy
210
211
  email:
211
212
  - inecas@redhat.com
212
213
  executables:
@@ -253,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
254
  version: '0'
254
255
  requirements: []
255
256
  rubyforge_project:
256
- rubygems_version: 2.5.1
257
+ rubygems_version: 2.4.5
257
258
  signing_key:
258
259
  specification_version: 4
259
260
  summary: Dynflow runtime for Foreman smart proxy