rundock 0.4.1 → 0.4.2
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/lib/rundock/attribute/node_attribute.rb +0 -1
- data/lib/rundock/builder/backend_builder.rb +1 -1
- data/lib/rundock/builder/hook_builder.rb +1 -1
- data/lib/rundock/runner.rb +1 -1
- data/lib/rundock/version.rb +1 -1
- data/rundock.gemspec +1 -1
- data/spec/integration/platforms/localhost/scenarios/all_file_hooks_scenario.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f0a7db1bce3db22fcb4588d7a526111a714ecc9
|
|
4
|
+
data.tar.gz: 7e17dd884cf1423319bb4a393e5c5bd77a9f74db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ba0a3049b43e9ca6819aff8d27f5eec93e8b10848069592ba4cdbc085b0e228ceb38d860aef0b44b40beef69239bced2830b6de1fd8d211fba3d65f9c974dae
|
|
7
|
+
data.tar.gz: 6e835321e6c7b5a3fd332aaeaf215f52f2b4e38ee5a39ee0c189853dcf1a2c921ec03f4e551f8bc09b9f634b6de7d50bf1e8cf592838c47f2cd53d50b8f33726
|
|
@@ -53,7 +53,7 @@ module Rundock
|
|
|
53
53
|
# replace cli ssh options if exists
|
|
54
54
|
%w(:user :key :port :ssh_config :ask_password :sudo).each { |o| @node_info[@nodename.to_sym][:ssh_opts][o] = @options[o] if @options[o] }
|
|
55
55
|
|
|
56
|
-
opts[:host] = @nodename
|
|
56
|
+
opts[:host] = opts[:nodename] = @nodename
|
|
57
57
|
opts
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -32,7 +32,7 @@ module Rundock
|
|
|
32
32
|
YAML.load_documents(f) do |y|
|
|
33
33
|
y.each do |k, v|
|
|
34
34
|
raise HookStructureError if !v.is_a?(Hash) || !v.key?('hook_type')
|
|
35
|
-
next if !allow_all && enables.include?(k)
|
|
35
|
+
next if !allow_all && !enables.include?(k)
|
|
36
36
|
hook = Rundock::HookFactory.instance(v['hook_type']).create(k, v.deep_symbolize_keys)
|
|
37
37
|
hooks << hook
|
|
38
38
|
end
|
data/lib/rundock/runner.rb
CHANGED
|
@@ -77,7 +77,7 @@ module Rundock
|
|
|
77
77
|
next if g !~ /^(rundock-plugin-#{plugin})-/
|
|
78
78
|
next if Gem::Specification.find_by_name(g).nil?
|
|
79
79
|
Logger.debug("Loading rundock plugin: #{g}")
|
|
80
|
-
libdir = "#{Gem::Specification.find_by_name(g).full_gem_path}/lib/#{Regexp.last_match(1).
|
|
80
|
+
libdir = "#{Gem::Specification.find_by_name(g).full_gem_path}/lib/#{Regexp.last_match(1).tr('-', '/')}"
|
|
81
81
|
Dir.glob("#{libdir}/*.rb").each do |f|
|
|
82
82
|
require f.gsub(/.rb$/, '')
|
|
83
83
|
end
|
data/lib/rundock/version.rb
CHANGED
data/rundock.gemspec
CHANGED
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ['hiracy']
|
|
10
10
|
spec.email = ['leizhen@mbr.nifty.com']
|
|
11
11
|
|
|
12
|
-
spec.summary = 'Simple and extensible server
|
|
12
|
+
spec.summary = 'Simple and extensible server orchestration framework'
|
|
13
13
|
spec.homepage = 'https://github.com/hiracy/rundock'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rundock
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- hiracy
|
|
@@ -228,5 +228,5 @@ rubyforge_project:
|
|
|
228
228
|
rubygems_version: 2.4.5
|
|
229
229
|
signing_key:
|
|
230
230
|
specification_version: 4
|
|
231
|
-
summary: Simple and extensible server
|
|
231
|
+
summary: Simple and extensible server orchestration framework
|
|
232
232
|
test_files: []
|