bake-modernize 0.7.0 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -4
- data/bake/modernize/gemspec.rb +21 -0
- data/lib/bake/modernize/version.rb +1 -1
- data/template/actions/.github/workflows/documentation.yml +3 -2
- data.tar.gz.sig +0 -0
- metadata +4 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824851e66cc9aacb56cf0b26ae62341e7f72d8c3b045222f56ff8ca00680c1e4
|
4
|
+
data.tar.gz: fc12a7b4dc55c3087e0c5c64f07c0b8d5888757f1bf240a3045b3c8bc793fbde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 024c5c4e49bca3b130ef0ab80bddd4c15833fce28bc6b55b13da339587c44265a6edb9704038127c71b6397b1c8c502f0a9714b0c004a2ffd1a6f4750487ecc5
|
7
|
+
data.tar.gz: 9ceb5a1edf91ed8f9a05e1ad5c405b50bc669290c6761903cce2e78a18866557d823f8f82aecde25272e0eddbb59bb01deaa636e1254c73e4a4f8004513905bd
|
checksums.yaml.gz.sig
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
���tڄi�#���� ��[������u
|
4
|
-
��C�宋1Cv�}UNʃ;��.SPI[E�ly�Fǥ?i`��赅vd5��P�����_��K0:���x6r��tR��k�G
|
1
|
+
,�;$c�����R��6���GZ&v
|
2
|
+
�����;ͼdj�]�6�(�ɟ���eS !)P��ѥ����)����э�����p�u�2깅w�d)Ó��H�'�\H�+���~�[��9����'�M����R-�wV�sU�j�g;-�`6#H~�#/[��l�#����$�,���V����n*���e;���!d���,���퐈ҩ-B*7�D��*�hy�X�1��z�4K��S�Z����%Z��Z��E�%P���R�l����^-u�L��P������ w"��ێ1߫��o�T
|
data/bake/modernize/gemspec.rb
CHANGED
@@ -25,6 +25,8 @@ def update(path: default_gemspec_path, output: $stdout)
|
|
25
25
|
spec.metadata["funding_uri"] ||= detect_funding_uri(spec)
|
26
26
|
spec.metadata["documentation_uri"] ||= detect_documentation_uri(spec)
|
27
27
|
|
28
|
+
spec.authors = sorted_authors(spec)
|
29
|
+
|
28
30
|
spec.metadata.delete_if{|_, value| value.nil?}
|
29
31
|
|
30
32
|
output.puts "# frozen_string_literal: true"
|
@@ -188,3 +190,22 @@ def detect_documentation_uri(spec)
|
|
188
190
|
end
|
189
191
|
end
|
190
192
|
end
|
193
|
+
|
194
|
+
def sorted_authors(spec)
|
195
|
+
input, output = IO.pipe
|
196
|
+
|
197
|
+
pid = Process.spawn("git", "log", "--format=%aN", out: output)
|
198
|
+
output.close
|
199
|
+
|
200
|
+
authors = Hash.new{|h,k| h[k] = 0}
|
201
|
+
|
202
|
+
input.each_line do |author|
|
203
|
+
author = author.chomp!
|
204
|
+
authors[author] += 1
|
205
|
+
end
|
206
|
+
|
207
|
+
Process.wait(pid)
|
208
|
+
input.close
|
209
|
+
|
210
|
+
return authors.sort_by{|k,v| [-v, k]}.map(&:first)
|
211
|
+
end
|
@@ -5,6 +5,9 @@ on:
|
|
5
5
|
branches:
|
6
6
|
- main
|
7
7
|
|
8
|
+
env:
|
9
|
+
BUNDLE_WITH: maintenance
|
10
|
+
|
8
11
|
jobs:
|
9
12
|
deploy:
|
10
13
|
runs-on: ubuntu-latest
|
@@ -12,8 +15,6 @@ jobs:
|
|
12
15
|
steps:
|
13
16
|
- uses: actions/checkout@v2
|
14
17
|
- uses: ruby/setup-ruby@v1
|
15
|
-
env:
|
16
|
-
BUNDLE_WITH: maintenance
|
17
18
|
with:
|
18
19
|
ruby-version: 3.0
|
19
20
|
bundler-cache: true
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-modernize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Olle Jonsson
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain:
|
@@ -36,7 +37,7 @@ cert_chain:
|
|
36
37
|
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
37
38
|
HiLJ8VOFx6w=
|
38
39
|
-----END CERTIFICATE-----
|
39
|
-
date:
|
40
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
40
41
|
dependencies:
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: async-http
|
@@ -161,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
162
|
- !ruby/object:Gem::Version
|
162
163
|
version: '0'
|
163
164
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
165
|
+
rubygems_version: 3.2.32
|
165
166
|
signing_key:
|
166
167
|
specification_version: 4
|
167
168
|
summary: Automatically modernize parts of your project/gem.
|
metadata.gz.sig
CHANGED
Binary file
|