gemsmith 15.3.0 → 15.4.0
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 +0 -0
- data.tar.gz.sig +0 -0
- data/lib/gemsmith/generators/documentation.rb +8 -1
- data/lib/gemsmith/identity.rb +1 -1
- metadata +5 -5
- metadata.gz.sig +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 625d8542aacfa5608048116169fcdc2a2829be5918955e4f4ea134f87c8756d3
|
4
|
+
data.tar.gz: 319f3c4476de502aee2c55c38381c95dbba2bdfc019f8cea3b10381e2f8c84c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa147cf7ab23fa70036c25378a512264a27e2c944629737d5528bf658b6271af37d6bedb06343204f0513e5185bffb22af810a69fa25432c54d24fc4456feb8
|
7
|
+
data.tar.gz: 7b408b02449ab548673f736716dc706402501430507ee89436c906cf7b8396950ff94a5536c79df5104ffa165404508c054d86664c86ae7b99282c1b0a313cbf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -6,6 +6,11 @@ module Gemsmith
|
|
6
6
|
module Generators
|
7
7
|
# Generates documentation support.
|
8
8
|
class Documentation < Base
|
9
|
+
def initialize cli, configuration: {}, writer: Tocer::Writer.new
|
10
|
+
super cli, configuration: configuration
|
11
|
+
@writer = writer
|
12
|
+
end
|
13
|
+
|
9
14
|
def run
|
10
15
|
create_files
|
11
16
|
update_readme
|
@@ -13,6 +18,8 @@ module Gemsmith
|
|
13
18
|
|
14
19
|
private
|
15
20
|
|
21
|
+
attr_reader :writer
|
22
|
+
|
16
23
|
def create_files
|
17
24
|
template "%gem_name%/README.md.tt"
|
18
25
|
template "%gem_name%/CONTRIBUTING.md.tt"
|
@@ -22,7 +29,7 @@ module Gemsmith
|
|
22
29
|
end
|
23
30
|
|
24
31
|
def update_readme
|
25
|
-
gem_root.join("README.md").then { |path|
|
32
|
+
gem_root.join("README.md").then { |path| writer.call path }
|
26
33
|
end
|
27
34
|
end
|
28
35
|
end
|
data/lib/gemsmith/identity.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.
|
4
|
+
version: 15.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-04-
|
31
|
+
date: 2021-04-18 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: git_plus
|
@@ -134,14 +134,14 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
137
|
+
version: '12.0'
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
144
|
+
version: '12.0'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: versionaire
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: '0'
|
263
263
|
requirements: []
|
264
|
-
rubygems_version: 3.2.
|
264
|
+
rubygems_version: 3.2.16
|
265
265
|
signing_key:
|
266
266
|
specification_version: 4
|
267
267
|
summary: A command line interface for smithing Ruby gems.
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
�P
|
3
|
-
|
1
|
+
s�m��ߚo,d��� '�S�K�6���2��N�{
|
2
|
+
]���(M:}抵��ov��ʀR�P�ȅ�H����3���P�~��*��� ��Y��m��BUܮ��Y
|
3
|
+
٬��idR3)��gRvpJ���k�"`�}�Wg\#��4��2�Jޓ�]�u[�z�C���]��x1������f�K�� [<�O_�~t�G�.Y����S$�H.�9�/��֙o����4��jaP#l��7��]��$�� 0쌘q��1
|