tomo 1.12.0 → 1.12.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/lib/tomo/configuration/plugins_registry.rb +1 -4
- data/lib/tomo/path.rb +1 -1
- data/lib/tomo/plugin/git/tasks.rb +3 -6
- data/lib/tomo/runtime/execution_plan.rb +1 -2
- data/lib/tomo/ssh/child_process.rb +1 -0
- data/lib/tomo/testing/log_capturing.rb +2 -0
- data/lib/tomo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9142456e11c3c6f0f98da45c6b25f72ffb9e3e1f82c17dff873e1c089e1a109e
|
4
|
+
data.tar.gz: a696e761b09568dd567fdbf02ed12cc135affe4fcf0bea27a28994a3133a9f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949eb42bc30edb68b82e7f2a352f80eb19519faaef9935f9c910984cc2e915241ce85e9602e28e26fd9cbdae99b215094d2932a02462e379c7ea2674b591eb32
|
7
|
+
data.tar.gz: 7525b76d9ee72a93b511ff815167a5188fe818b17f004c4236f1620ddded762e08b0bb215af709c23ce96df8f4992239c34ec778a269f7685d45a663e67d141d
|
@@ -55,10 +55,7 @@ module Tomo
|
|
55
55
|
end
|
56
56
|
|
57
57
|
def register_task_library(namespace, library_class)
|
58
|
-
Tomo.logger.debug(
|
59
|
-
"Registering task library #{library_class}"\
|
60
|
-
" (#{namespace.inspect} namespace)"
|
61
|
-
)
|
58
|
+
Tomo.logger.debug("Registering task library #{library_class} (#{namespace.inspect} namespace)")
|
62
59
|
namespaced_classes << [namespace, library_class]
|
63
60
|
end
|
64
61
|
end
|
data/lib/tomo/path.rb
CHANGED
@@ -32,10 +32,7 @@ module Tomo::Plugin::Git
|
|
32
32
|
remote.mkdir_p(paths.release)
|
33
33
|
|
34
34
|
remote.chdir(paths.git_repo) do
|
35
|
-
remote.git(
|
36
|
-
"archive #{ref.shellescape} | "\
|
37
|
-
"tar -x -f - -C #{paths.release.shellescape}"
|
38
|
-
)
|
35
|
+
remote.git("archive #{ref.shellescape} | tar -x -f - -C #{paths.release.shellescape}")
|
39
36
|
end
|
40
37
|
end
|
41
38
|
|
@@ -53,8 +50,8 @@ module Tomo::Plugin::Git
|
|
53
50
|
return unless settings[:git_ref] && settings[:git_branch]
|
54
51
|
|
55
52
|
logger.warn(
|
56
|
-
":git_ref (#{settings[:git_ref]}) and "\
|
57
|
-
":git_branch (#{settings[:git_branch]}) are both specified. "\
|
53
|
+
":git_ref (#{settings[:git_ref]}) and " \
|
54
|
+
":git_branch (#{settings[:git_branch]}) are both specified. " \
|
58
55
|
"Ignoring :git_branch."
|
59
56
|
)
|
60
57
|
@ref_override_warning = true
|
@@ -26,8 +26,7 @@ module Tomo
|
|
26
26
|
when 1 then applicable_hosts.first.to_s
|
27
27
|
when 2 then applicable_hosts.map(&:to_s).join(" and ")
|
28
28
|
else
|
29
|
-
"#{applicable_hosts.first} and "
|
30
|
-
"#{applicable_hosts.length - 1} other hosts"
|
29
|
+
"#{applicable_hosts.first} and #{applicable_hosts.length - 1} other hosts"
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
data/lib/tomo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Tomo is a feature-rich deployment tool that contains everything you need
|
14
14
|
to deploy a basic Rails app out of the box. It has an opinionated, production-tested
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
|
-
rubygems_version: 3.3.
|
192
|
+
rubygems_version: 3.3.18
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: A friendly CLI for deploying Rails apps ✨
|