File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
approvals/libraries/render/mandoc Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ Gem::Specification.new do |s|
24
24
s . add_dependency 'requires' , '~> 1.1.0'
25
25
s . add_dependency 'tty-markdown' , '~> 0.7'
26
26
27
+ # Sub-dependenceis (Ruby 3.3.5 warnings)
28
+ s . add_dependency 'logger' # required by filewatcher
29
+ s . add_dependency 'ostruct' # required by json
30
+
27
31
# Ruby 3.0 comes with Psych 3.3.0, which does not have the `unsafe_load`
28
32
# ref: https://github.com/ruby/psych/commit/cb50aa8d3fb8be01897becff77b4922b12a0ab4c
29
33
s . add_dependency 'psych' , '>= 3.3.2' , '< 7'
Original file line number Diff line number Diff line change @@ -27,4 +27,3 @@ EXAMPLES
27
27
28
28
download example.com ./output -f
29
29
30
- Version 0.1.0 MONTH YEAR ... APPNAME
Original file line number Diff line number Diff line change 28
28
. to match_approval ( 'libraries/render/mandoc/render-1-download.md' )
29
29
. except ( /\w {3,9} 202\d / , 'MONTH YEAR' )
30
30
31
- expect ( `man "#{ target } /download.1" | col -bx` )
31
+ expect ( `man "#{ target } /download.1" | col -bx | sed '$d' ` )
32
32
. to match_approval ( 'libraries/render/mandoc/render-1-download.1' )
33
33
. diff ( leeway )
34
- . except ( /\w {3,9} 202\d .*/ , 'MONTH YEAR ... APPNAME' )
35
34
end
36
35
end
37
36
41
40
it 'saves a markdown and man files for each command' do
42
41
expect { subject . instance_eval render_script }
43
42
. to output_approval ( 'libraries/render/mandoc/render-2' )
44
- . except ( /\w {3,9} 202\d .*/ , 'MONTH YEAR ... APPNAME' )
45
43
46
44
expect ( File . read "#{ target } /cli-download.md" )
47
45
. to match_approval ( 'libraries/render/mandoc/render-2-download.md' )
You can’t perform that action at this time.
0 commit comments