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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a949853f699c7d894efa675295a631ddb1ebd0ba04e900fa4efdea449d4288d7
4
- data.tar.gz: 745d7827bcb35a468de96aadb74c0fdc7971074f82b5b3965a7f76e75962d19b
3
+ metadata.gz: 9142456e11c3c6f0f98da45c6b25f72ffb9e3e1f82c17dff873e1c089e1a109e
4
+ data.tar.gz: a696e761b09568dd567fdbf02ed12cc135affe4fcf0bea27a28994a3133a9f5b
5
5
  SHA512:
6
- metadata.gz: b2b129d2422bf0e5fd22ed2d693d73bd7552d70f57fc2381206987fd69cbda811f1121304397a23a0a8db5ac26bb1c807a658506672bfa80ee765b5abd13103f
7
- data.tar.gz: 2217e9de8c4f4445343297afc51c661a986d5cca5a61c718569efec1f23557200f4ab64585203a99380fa50373beeeec3ff772bc10d7d6d556e6a5867649e0d6
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
@@ -1,4 +1,4 @@
1
- require "forwardable"
1
+ require "delegate"
2
2
  require "pathname"
3
3
 
4
4
  module Tomo
@@ -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
 
@@ -1,5 +1,6 @@
1
1
  require "open3"
2
2
  require "shellwords"
3
+ require "stringio"
3
4
 
4
5
  module Tomo
5
6
  module SSH
@@ -1,3 +1,5 @@
1
+ require "stringio"
2
+
1
3
  module Tomo
2
4
  module Testing
3
5
  module LogCapturing
data/lib/tomo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tomo
2
- VERSION = "1.12.0".freeze
2
+ VERSION = "1.12.1".freeze
3
3
  end
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.0
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-06-18 00:00:00.000000000 Z
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.16
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 ✨