verto 0.10.1 → 0.10.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/.github/workflows/ruby.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +16 -16
- data/README.md +6 -6
- data/Vertofile +1 -1
- data/lib/verto/dsl/update_changelog.rb +1 -1
- data/lib/verto/utils/tag_filter.rb +4 -4
- data/lib/verto/utils/templates/Vertofile +1 -1
- data/lib/verto/version.rb +1 -1
- data/verto.gemspec +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: e25eb48e99ebcf8a694fb9dd2756a302828612b4d514a16a5e81c06dcbaf2385
|
|
4
|
+
data.tar.gz: 0d67ea5fd94568c7ef881da2b0348f76b095c3c3234d08e60cfaf2c3a0b4ba03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fc4713f280b30ca32ba53331af2749899034f480cb8779562c5a3d90325cd70aee6790e2727ecc1ade83f38eb8ee85930e614fcc5e0b23f09ed630f2a0cfb62
|
|
7
|
+
data.tar.gz: 46f4ca5659357051ce2d981638af8ea75856b701e8e1570f0840d3de4f39845e4cf3c5aaddd58cdb157a0547af524bc30cefe2814fad1f57e25acee5aa64d763
|
data/.github/workflows/ruby.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
verto (0.10.
|
|
4
|
+
verto (0.10.2)
|
|
5
5
|
dry-auto_inject (~> 0.7)
|
|
6
6
|
dry-configurable (~> 0.8)
|
|
7
7
|
dry-container (~> 0.7)
|
|
@@ -14,12 +14,12 @@ GEM
|
|
|
14
14
|
specs:
|
|
15
15
|
ast (2.4.1)
|
|
16
16
|
byebug (11.1.1)
|
|
17
|
-
concurrent-ruby (1.1.
|
|
18
|
-
diff-lcs (1.
|
|
17
|
+
concurrent-ruby (1.1.8)
|
|
18
|
+
diff-lcs (1.4.4)
|
|
19
19
|
docile (1.3.2)
|
|
20
20
|
dry-auto_inject (0.7.0)
|
|
21
21
|
dry-container (>= 0.3.4)
|
|
22
|
-
dry-configurable (0.12.
|
|
22
|
+
dry-configurable (0.12.1)
|
|
23
23
|
concurrent-ruby (~> 1.0)
|
|
24
24
|
dry-core (~> 0.5, >= 0.5.0)
|
|
25
25
|
dry-container (0.7.2)
|
|
@@ -36,19 +36,19 @@ GEM
|
|
|
36
36
|
rake (13.0.1)
|
|
37
37
|
regexp_parser (1.8.2)
|
|
38
38
|
rexml (3.2.4)
|
|
39
|
-
rspec (3.
|
|
40
|
-
rspec-core (~> 3.
|
|
41
|
-
rspec-expectations (~> 3.
|
|
42
|
-
rspec-mocks (~> 3.
|
|
43
|
-
rspec-core (3.
|
|
44
|
-
rspec-support (~> 3.
|
|
45
|
-
rspec-expectations (3.
|
|
39
|
+
rspec (3.10.0)
|
|
40
|
+
rspec-core (~> 3.10.0)
|
|
41
|
+
rspec-expectations (~> 3.10.0)
|
|
42
|
+
rspec-mocks (~> 3.10.0)
|
|
43
|
+
rspec-core (3.10.1)
|
|
44
|
+
rspec-support (~> 3.10.0)
|
|
45
|
+
rspec-expectations (3.10.1)
|
|
46
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.
|
|
48
|
-
rspec-mocks (3.
|
|
47
|
+
rspec-support (~> 3.10.0)
|
|
48
|
+
rspec-mocks (3.10.2)
|
|
49
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
50
|
-
rspec-support (~> 3.
|
|
51
|
-
rspec-support (3.
|
|
50
|
+
rspec-support (~> 3.10.0)
|
|
51
|
+
rspec-support (3.10.2)
|
|
52
52
|
rubocop (0.93.1)
|
|
53
53
|
parallel (~> 1.10)
|
|
54
54
|
parser (>= 2.7.1.5)
|
|
@@ -83,4 +83,4 @@ DEPENDENCIES
|
|
|
83
83
|
verto!
|
|
84
84
|
|
|
85
85
|
BUNDLED WITH
|
|
86
|
-
2.
|
|
86
|
+
2.2.3
|
data/README.md
CHANGED
|
@@ -32,20 +32,20 @@ You don't need to install verto in your machine, you can run verto via the docke
|
|
|
32
32
|
To use verto in the same way that you use any other cli, you can set an alias in your `.bashrc`, `.zshrc`, etc:
|
|
33
33
|
|
|
34
34
|
```shell
|
|
35
|
-
alias verto='docker run --rm -v $(pwd):/usr/src/project -it catks/verto:0.10.
|
|
35
|
+
alias verto='docker run --rm -v $(pwd):/usr/src/project -it catks/verto:0.10.2'
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
If you want you can share your git configuration and known_hosts with:
|
|
39
39
|
|
|
40
40
|
```shell
|
|
41
|
-
alias verto='docker run --rm -v ~/.gitconfig:/etc/gitconfig -v $(pwd):/usr/src/project -v $HOME/.ssh/known_hosts:/root/.ssh/known_hosts -it catks/verto:0.10.
|
|
41
|
+
alias verto='docker run --rm -v ~/.gitconfig:/etc/gitconfig -v $(pwd):/usr/src/project -v $HOME/.ssh/known_hosts:/root/.ssh/known_hosts -it catks/verto:0.10.2'
|
|
42
42
|
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
You can also use your ssh keys, know_hosts and git config with verto container (for git push):
|
|
46
46
|
|
|
47
47
|
```shell
|
|
48
|
-
alias verto='docker run --rm -v ~/.gitconfig:/etc/gitconfig -v $(pwd):/usr/src/project -v $HOME/.ssh/known_hosts:/root/.ssh/known_hosts -v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa -e SSH_PRIVATE_KEY=/root/.ssh/id_rsa -it catks/verto:0.10.
|
|
48
|
+
alias verto='docker run --rm -v ~/.gitconfig:/etc/gitconfig -v $(pwd):/usr/src/project -v $HOME/.ssh/known_hosts:/root/.ssh/known_hosts -v $HOME/.ssh/id_rsa:/root/.ssh/id_rsa -e SSH_PRIVATE_KEY=/root/.ssh/id_rsa -it catks/verto:0.10.2'
|
|
49
49
|
|
|
50
50
|
```
|
|
51
51
|
|
|
@@ -70,8 +70,8 @@ You can run verto right out of the box without any configuration:
|
|
|
70
70
|
|
|
71
71
|
# You can filter the tags you want to consider for increasing
|
|
72
72
|
|
|
73
|
-
verto tag up --patch --filter=release_only # For
|
|
74
|
-
verto tag up --patch --filter=pre_release_only # For Pre
|
|
73
|
+
verto tag up --patch --filter=release_only # For Release Tags Only
|
|
74
|
+
verto tag up --patch --filter=pre_release_only # For Pre Release Tags Only
|
|
75
75
|
verto tag up --patch --filter='\d+\.\d+\.\d+-alpha.*' # Custom Regexp!
|
|
76
76
|
|
|
77
77
|
```
|
|
@@ -85,7 +85,7 @@ You can create a new Vertofile with `verto init` or following the next example:
|
|
|
85
85
|
```ruby
|
|
86
86
|
# Vertofile
|
|
87
87
|
|
|
88
|
-
verto_version '0.10.
|
|
88
|
+
verto_version '0.10.2'
|
|
89
89
|
|
|
90
90
|
config {
|
|
91
91
|
# version.prefix = 'v' # Adds a version_prefix
|
data/Vertofile
CHANGED
|
@@ -25,7 +25,7 @@ module Verto
|
|
|
25
25
|
stdout.puts separator
|
|
26
26
|
changelog_changes = format_changes(new_version, version_changes(with))
|
|
27
27
|
|
|
28
|
-
exit if confirmation && !cli_helpers.confirm("Create new
|
|
28
|
+
exit if confirmation && !cli_helpers.confirm("Create new Release?\n" \
|
|
29
29
|
"#{separator}\n" \
|
|
30
30
|
"#{changelog_changes}" \
|
|
31
31
|
"#{separator}\n")
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module TagFilter
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
RELEASE_ONLY = /\d+\.\d+\.\d+$/.freeze
|
|
5
|
+
PRE_RELEASE_ONLY = /\d+\.\d+\.\d+-.*\d+/.freeze
|
|
6
6
|
|
|
7
7
|
FILTERS = {
|
|
8
|
-
release_only:
|
|
9
|
-
pre_release_only:
|
|
8
|
+
release_only: RELEASE_ONLY,
|
|
9
|
+
pre_release_only: PRE_RELEASE_ONLY,
|
|
10
10
|
all: nil
|
|
11
11
|
}.freeze
|
|
12
12
|
|
data/lib/verto/version.rb
CHANGED
data/verto.gemspec
CHANGED
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
spec.bindir = 'exe'
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
28
28
|
spec.require_paths = ['lib']
|
|
29
|
-
spec.required_ruby_version = '
|
|
29
|
+
spec.required_ruby_version = '>= 2.5'
|
|
30
30
|
|
|
31
31
|
spec.add_dependency 'dry-auto_inject', '~> 0.7'
|
|
32
32
|
spec.add_dependency 'dry-configurable', '~> 0.8'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: verto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carlos Atkinson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-auto_inject
|
|
@@ -240,7 +240,7 @@ require_paths:
|
|
|
240
240
|
- lib
|
|
241
241
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
242
|
requirements:
|
|
243
|
-
- - "
|
|
243
|
+
- - ">="
|
|
244
244
|
- !ruby/object:Gem::Version
|
|
245
245
|
version: '2.5'
|
|
246
246
|
required_rubygems_version: !ruby/object:Gem::Requirement
|