tomo 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/tomo/configuration/plugins_registry/gem_resolver.rb +1 -1
- data/lib/tomo/plugin/core/tasks.rb +2 -2
- data/lib/tomo/plugin/rbenv/tasks.rb +2 -0
- data/lib/tomo/shell_builder.rb +1 -1
- data/lib/tomo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4cb608a21d6ce3191225519a3b467a226f0e0b4d1675f08bbed82fd6379696b
|
4
|
+
data.tar.gz: 0cb9a00e0eb50501c727d4e58db8b0c5cc686b7e27714ec7bdc11b95387f977d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 875563989d848c0dcec9d1b18110712d91603fa734d1aa6fbb5dad454a0911808543f0c0ae9da9510732625d36bc94a0ee5d64d136192e5b4df77b9e130b2292
|
7
|
+
data.tar.gz: 936d56fefb5c964b9e19d92ec328cf148de894da697e88d80146428abfefb307551820d9aaba1967d539a2ec22e8f465bf9296bdc364093de9e750e4734bbc05
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Tomo
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/tomo.svg)](https://rubygems.org/gems/tomo)
|
4
|
-
[![Travis](https://img.shields.io/travis/mattbrictson/tomo.svg?label=travis)](https://travis-ci.
|
4
|
+
[![Travis](https://img.shields.io/travis/com/mattbrictson/tomo.svg?label=travis)](https://travis-ci.com/github/mattbrictson/tomo)
|
5
5
|
[![Circle](https://circleci.com/gh/mattbrictson/tomo/tree/main.svg?style=shield)](https://app.circleci.com/pipelines/github/mattbrictson/tomo?branch=main)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/mattbrictson/tomo/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/tomo)
|
7
7
|
|
@@ -41,7 +41,7 @@ module Tomo::Plugin::Core
|
|
41
41
|
current = read_current_release
|
42
42
|
|
43
43
|
remote.chdir(paths.releases) do
|
44
|
-
releases = remote.list_files.grep(/^#{RELEASE_REGEXP}$/).sort
|
44
|
+
releases = remote.list_files.grep(/^#{RELEASE_REGEXP}$/o).sort
|
45
45
|
desired_count -= 1 if releases.delete(current)
|
46
46
|
return if releases.length <= desired_count
|
47
47
|
|
@@ -122,7 +122,7 @@ module Tomo::Plugin::Core
|
|
122
122
|
result = remote.run("readlink", paths.current, raise_on_error: false, silent: true)
|
123
123
|
return nil if result.failure?
|
124
124
|
|
125
|
-
result.stdout.strip[%r{/(#{RELEASE_REGEXP})$}, 1]
|
125
|
+
result.stdout.strip[%r{/(#{RELEASE_REGEXP})$}o, 1]
|
126
126
|
end
|
127
127
|
end
|
128
128
|
end
|
@@ -60,6 +60,8 @@ module Tomo::Plugin::Rbenv
|
|
60
60
|
version = remote.capture("cat", path, raise_on_error: false).strip
|
61
61
|
return version unless version.empty?
|
62
62
|
|
63
|
+
return RUBY_VERSION if dry_run?
|
64
|
+
|
63
65
|
die <<~REASON
|
64
66
|
Could not guess ruby version from .ruby-version file.
|
65
67
|
Use the :rbenv_ruby_version setting to specify the version of ruby to install.
|
data/lib/tomo/shell_builder.rb
CHANGED
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.4.
|
4
|
+
version: 1.4.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: 2020-
|
11
|
+
date: 2020-11-26 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
|