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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a94b8beb95fcc0bb202a3c8480156d53f12eb6340f695fce5bab3b981656e083
4
- data.tar.gz: 6c687751f63f6fe9b03ad3d8683b871005641aba8c541567273d484765393baa
3
+ metadata.gz: 625d8542aacfa5608048116169fcdc2a2829be5918955e4f4ea134f87c8756d3
4
+ data.tar.gz: 319f3c4476de502aee2c55c38381c95dbba2bdfc019f8cea3b10381e2f8c84c7
5
5
  SHA512:
6
- metadata.gz: 7659c98e951971f1aad46ebb36467aad31bd8a888114eddf25df8b44d284bd368f7350fd0a82cadaaedf56f39658bea39aeea677c7548a19825120f8c71c5cb2
7
- data.tar.gz: 55f2d665296859685dc9212e289ed4d8f0ac1104b6745bb55d20d021914a837e4f97ccb49c9c53aff802307d4147f66df3029a8d8e2120f81289a253bb9f774b
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| Tocer::Writer.new(path).call }
32
+ gem_root.join("README.md").then { |path| writer.call path }
26
33
  end
27
34
  end
28
35
  end
@@ -5,7 +5,7 @@ module Gemsmith
5
5
  module Identity
6
6
  NAME = "gemsmith"
7
7
  LABEL = "Gemsmith"
8
- VERSION = "15.3.0"
8
+ VERSION = "15.4.0"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  URL = "https://www.alchemists.io/projects/gemsmith"
11
11
  end
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.3.0
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-04 00:00:00.000000000 Z
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: '11.0'
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: '11.0'
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.15
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
- a
2
- �P��1�������<=ŗ͹�T#,���3���ܩ�c�F
3
- ����q�����Q�-���z0q1l��
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