gem_toys 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gem_toys/template/release.rb +15 -7
- data/lib/gem_toys/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: 8965f382c94df6d80fe518d8f793caddcc03c9cde2f44ecb2839ec793891b34c
|
4
|
+
data.tar.gz: 9a086af4b57fa16f76b087517be7d1d3424e0bd6375497cd540d31e17e6f22be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c1cf7cde1630c2ac291b938896044abe8641b212bbd4ade5ee618787af8da12673ecb7e7831c755876db9de2bc9d112beeec815978f554b9b118da04f3b338
|
7
|
+
data.tar.gz: 216931acc276ab4e9ddaf88345d98d63e08fa8281b663996bc6aba0d5d2312caf2c2d096f6761e0929677eebab1ecf4da460d0356425d4c723f71259f7f7370f
|
data/CHANGELOG.md
CHANGED
@@ -111,19 +111,27 @@ module GemToys
|
|
111
111
|
$stdout.puts
|
112
112
|
end
|
113
113
|
|
114
|
+
self::MANUAL_CHECK_MENU = {
|
115
|
+
yes: (proc do
|
116
|
+
## `current_version` is using in `git` and `gem` commands
|
117
|
+
clear_memery_cache! :current_version
|
118
|
+
end),
|
119
|
+
no: (proc do
|
120
|
+
handle_refusing_to_continue
|
121
|
+
end),
|
122
|
+
refresh: (proc do
|
123
|
+
wait_for_manual_check
|
124
|
+
end)
|
125
|
+
}.freeze
|
126
|
+
|
114
127
|
def manual_check_menu
|
115
128
|
HighLine.new.choose do |menu|
|
116
129
|
menu.layout = :one_line
|
117
130
|
|
118
131
|
menu.prompt = 'Are these changes correct? '
|
119
132
|
|
120
|
-
|
121
|
-
|
122
|
-
clear_memery_cache! :current_version
|
123
|
-
end
|
124
|
-
menu.choice(:no) { handle_refusing_to_continue }
|
125
|
-
menu.choice(:refresh) do
|
126
|
-
wait_for_manual_check
|
133
|
+
self.class::MANUAL_CHECK_MENU.each do |choice, block|
|
134
|
+
menu.choice(choice) { instance_exec(&block) }
|
127
135
|
end
|
128
136
|
end
|
129
137
|
end
|
data/lib/gem_toys/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem_toys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alt_memery
|