gem_toys 0.11.3 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +3 -3
- data/lib/gem_toys/template/common_code.rb +0 -1
- data/lib/gem_toys/template/release/git.rb +1 -1
- data/lib/gem_toys/template/release.rb +9 -13
- data/lib/gem_toys/version.rb +1 -1
- metadata +10 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fea5af09163d451da7c5b9f23bae4050be9485ba4eddf0c119740502ac6feafc
|
4
|
+
data.tar.gz: 4dc42971cbaa2706969aab2f7bf6c246c36a5f51211921a44d0079008cede0d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 336ff0b6d142324b6d37db1dc106864f120dd4cae1952bce715a0a3570b57534826ae687a70e789dea1bea5eacae7c3699b5a8e05c9f9ee86f45d21d4b6d9e4d
|
7
|
+
data.tar.gz: 4543e8537c06d8551d37a1bc02e2f99e861200e9359d7a5e20aa7ae6c039703de8025119b62ddc1149dc109e0e1e04c9229954019648b8fa4f93406a582d2371
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 0.12.1 (2022-02-07)
|
6
|
+
|
7
|
+
* Drop Ruby 2.5 support.
|
8
|
+
* Add Ruby 3.1 support.
|
9
|
+
|
10
|
+
## 0.12.0 (2022-02-07)
|
11
|
+
|
12
|
+
* Update Faraday to version 2.
|
13
|
+
* Update development dependencies.
|
14
|
+
|
5
15
|
## 0.11.3 (2021-11-10)
|
6
16
|
|
7
17
|
* Resolve RuboCop offense, take out manual check menu choices.
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Gem Toys
|
2
2
|
|
3
3
|
[![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/gem_toys?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/gem_toys)
|
4
|
-
[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/gem_toys/
|
4
|
+
[![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/gem_toys/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/gem_toys)
|
5
5
|
[![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/gem_toys.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/gem_toys)
|
6
6
|
[![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/gem_toys)
|
7
|
-
[![Inline docs](https://inch-ci.org/github/AlexWayfer/gem_toys.svg?branch=
|
8
|
-
[![license](https://img.shields.io/github/license/AlexWayfer/gem_toys.svg?style=flat-square)](https://github.com/AlexWayfer/gem_toys/blob/
|
7
|
+
[![Inline docs](https://inch-ci.org/github/AlexWayfer/gem_toys.svg?branch=main)](https://inch-ci.org/github/AlexWayfer/gem_toys)
|
8
|
+
[![license](https://img.shields.io/github/license/AlexWayfer/gem_toys.svg?style=flat-square)](https://github.com/AlexWayfer/gem_toys/blob/main/LICENSE.txt)
|
9
9
|
[![Gem](https://img.shields.io/gem/v/gem_toys.svg?style=flat-square)](https://rubygems.org/gems/gem_toys)
|
10
10
|
|
11
11
|
[Toys](https://github.com/dazuma/toys) template for gems, like building, releasing, etc.
|
@@ -11,7 +11,7 @@ module GemToys
|
|
11
11
|
## `current_version` should be refreshed before this method invocation
|
12
12
|
version_git_tag = "#{@template.version_tag_prefix}#{current_version}"
|
13
13
|
|
14
|
-
## Checkout to a new git branch, required for protected `
|
14
|
+
## Checkout to a new git branch, required for protected `main` with CI
|
15
15
|
# sh "git switch -c #{version_git_tag}"
|
16
16
|
|
17
17
|
commit_changes
|
@@ -99,18 +99,6 @@ module GemToys
|
|
99
99
|
)
|
100
100
|
end
|
101
101
|
|
102
|
-
def wait_for_manual_check
|
103
|
-
print_files_diff
|
104
|
-
|
105
|
-
manual_check_menu
|
106
|
-
end
|
107
|
-
|
108
|
-
def print_files_diff
|
109
|
-
$stdout.puts
|
110
|
-
sh "git diff #{version_file_path} #{changelog_file_path}"
|
111
|
-
$stdout.puts
|
112
|
-
end
|
113
|
-
|
114
102
|
self::MANUAL_CHECK_MENU = {
|
115
103
|
yes: (proc do
|
116
104
|
## `current_version` is using in `git` and `gem` commands
|
@@ -124,7 +112,9 @@ module GemToys
|
|
124
112
|
end)
|
125
113
|
}.freeze
|
126
114
|
|
127
|
-
def
|
115
|
+
def wait_for_manual_check
|
116
|
+
print_files_diff
|
117
|
+
|
128
118
|
HighLine.new.choose do |menu|
|
129
119
|
menu.layout = :one_line
|
130
120
|
|
@@ -136,6 +126,12 @@ module GemToys
|
|
136
126
|
end
|
137
127
|
end
|
138
128
|
|
129
|
+
def print_files_diff
|
130
|
+
$stdout.puts
|
131
|
+
sh "git diff #{version_file_path} #{changelog_file_path}"
|
132
|
+
$stdout.puts
|
133
|
+
end
|
134
|
+
|
139
135
|
def handle_refusing_to_continue
|
140
136
|
[version_file_path, changelog_file_path].each do |file_path|
|
141
137
|
sh "git restore --worktree #{file_path}"
|
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.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alt_memery
|
@@ -30,28 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: faraday_middleware
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
33
|
+
version: '2.0'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '2.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: highline
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +142,14 @@ dependencies:
|
|
156
142
|
requirements:
|
157
143
|
- - "~>"
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
145
|
+
version: 1.24.1
|
160
146
|
type: :development
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
152
|
+
version: 1.24.1
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: rubocop-performance
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,7 +204,8 @@ licenses:
|
|
218
204
|
metadata:
|
219
205
|
source_code_uri: https://github.com/AlexWayfer/gem_toys
|
220
206
|
homepage_uri: https://github.com/AlexWayfer/gem_toys
|
221
|
-
changelog_uri: https://github.com/AlexWayfer/gem_toys/blob/
|
207
|
+
changelog_uri: https://github.com/AlexWayfer/gem_toys/blob/main/CHANGELOG.md
|
208
|
+
rubygems_mfa_required: 'true'
|
222
209
|
post_install_message:
|
223
210
|
rdoc_options: []
|
224
211
|
require_paths:
|
@@ -227,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
214
|
requirements:
|
228
215
|
- - ">="
|
229
216
|
- !ruby/object:Gem::Version
|
230
|
-
version: '2.
|
217
|
+
version: '2.6'
|
231
218
|
- - "<"
|
232
219
|
- !ruby/object:Gem::Version
|
233
220
|
version: '4'
|
@@ -237,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
224
|
- !ruby/object:Gem::Version
|
238
225
|
version: '0'
|
239
226
|
requirements: []
|
240
|
-
rubygems_version: 3.
|
227
|
+
rubygems_version: 3.3.3
|
241
228
|
signing_key:
|
242
229
|
specification_version: 4
|
243
230
|
summary: Toys template for gems
|