howzit 2.1.14 → 2.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +3 -6
- data/CHANGELOG.md +18 -0
- data/README.rdoc +6 -0
- data/Rakefile +36 -11
- data/bin/howzit +2 -4
- data/docker/Dockerfile-2.6 +1 -1
- data/docker/Dockerfile-2.7 +1 -1
- data/docker/Dockerfile-3.0 +1 -1
- data/docker/Dockerfile-3.2 +11 -0
- data/docker/bash_profile +1 -0
- data/howzit.gemspec +13 -10
- data/lib/howzit/buildnote.rb +9 -5
- data/lib/howzit/colors.rb +2 -2
- data/lib/howzit/config.rb +28 -1
- data/lib/howzit/prompt.rb +16 -0
- data/lib/howzit/stringutils.rb +5 -5
- data/lib/howzit/version.rb +1 -1
- data/lib/howzit.rb +2 -2
- data/scripts/runtests.sh +3 -1
- data/spec/buildnote_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/topic_spec.rb +4 -1
- metadata +35 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bf24c1aae4ef114065b9138801a83f07777932a38a5894b4ae63be3c02960f4
|
4
|
+
data.tar.gz: 18a7bf1b8eb988b204479531618219fba11d49a70248cde01a1857b6bd9205ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b43837936520805796c48529de8a88af3ceeaa455259e0ffbba351f4d2bc98706c1381974c072953438db8a38a215d9b817907783f62fd0ac24301e9d05fe94
|
7
|
+
data.tar.gz: 9c2afbc1c49a902e65e9818ad6f8ce9df1b724c149307fe2d718abd1b9ef61405f1340403fde901c3cb8b67d877db793cedaaac752b2b974ba1881bde0efb21c
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -22,10 +22,10 @@ Layout/LineLength:
|
|
22
22
|
Max: 120
|
23
23
|
|
24
24
|
Metrics/MethodLength:
|
25
|
-
Max:
|
25
|
+
Max: 45
|
26
26
|
|
27
27
|
Metrics/BlockLength:
|
28
|
-
Max:
|
28
|
+
Max: 45
|
29
29
|
Exclude:
|
30
30
|
- Rakefile
|
31
31
|
- bin/howzit
|
@@ -34,9 +34,6 @@ Metrics/BlockLength:
|
|
34
34
|
Metrics/ClassLength:
|
35
35
|
Max: 300
|
36
36
|
|
37
|
-
Metrics/CyclomaticComplexity:
|
38
|
-
Max: 10
|
39
|
-
|
40
37
|
Metrics/PerceivedComplexity:
|
41
38
|
Max: 30
|
42
39
|
|
@@ -44,7 +41,7 @@ Metrics/AbcSize:
|
|
44
41
|
Max: 45
|
45
42
|
|
46
43
|
Metrics/CyclomaticComplexity:
|
47
|
-
Max:
|
44
|
+
Max: 20
|
48
45
|
|
49
46
|
Style/RegexpLiteral:
|
50
47
|
Exclude:
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
### 2.1.16
|
2
|
+
|
3
|
+
2024-08-13 10:59
|
4
|
+
|
5
|
+
#### IMPROVED
|
6
|
+
|
7
|
+
- Add extra linebreak before @include headers
|
8
|
+
|
9
|
+
### 2.1.15
|
10
|
+
|
11
|
+
2024-08-07 13:10
|
12
|
+
|
13
|
+
#### FIXED
|
14
|
+
|
15
|
+
- Prompt for editor when $EDITOR is not defined
|
16
|
+
- Use exec for CLI editors provide a separate process
|
17
|
+
- Remove tests for editor in main executable
|
18
|
+
|
1
19
|
### 2.1.14
|
2
20
|
|
3
21
|
2024-08-06 16:36
|
data/README.rdoc
ADDED
data/Rakefile
CHANGED
@@ -1,11 +1,25 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'bump/tasks'
|
3
|
+
# require 'bump/tasks'
|
4
4
|
require 'bundler/gem_tasks'
|
5
5
|
require 'rspec/core/rake_task'
|
6
6
|
require 'rubocop/rake_task'
|
7
7
|
require 'yard'
|
8
8
|
require 'tty-spinner'
|
9
|
+
require 'rdoc/task'
|
10
|
+
|
11
|
+
module TempFixForRakeLastComment
|
12
|
+
def last_comment
|
13
|
+
last_description
|
14
|
+
end
|
15
|
+
end
|
16
|
+
Rake::Application.send :include, TempFixForRakeLastComment
|
17
|
+
|
18
|
+
Rake::RDocTask.new do |rd|
|
19
|
+
rd.main = 'README.rdoc'
|
20
|
+
rd.rdoc_files.include('README.rdoc', 'lib/**/*.rb', 'bin/**/*')
|
21
|
+
rd.title = 'Howzit'
|
22
|
+
end
|
9
23
|
|
10
24
|
task default: %i[test yard]
|
11
25
|
|
@@ -41,17 +55,20 @@ task :dockertest, :version, :login do |_, args|
|
|
41
55
|
args.with_defaults(version: 'all', login: false)
|
42
56
|
case args[:version]
|
43
57
|
when /^a/
|
44
|
-
%w[
|
58
|
+
%w[2 3 32].each do |v|
|
45
59
|
Rake::Task['dockertest'].reenable
|
46
60
|
Rake::Task['dockertest'].invoke(v, false)
|
47
61
|
end
|
48
62
|
Process.exit 0
|
63
|
+
when /^32/
|
64
|
+
img = 'howzittest32'
|
65
|
+
file = 'docker/Dockerfile-3.2'
|
49
66
|
when /^3/
|
50
67
|
img = 'howzittest3'
|
51
68
|
file = 'docker/Dockerfile-3.0'
|
52
|
-
when /6$/
|
53
|
-
|
54
|
-
|
69
|
+
# when /6$/
|
70
|
+
# img = 'howzittest26'
|
71
|
+
# file = 'docker/Dockerfile-2.6'
|
55
72
|
when /(^2|7$)/
|
56
73
|
img = 'howzittest27'
|
57
74
|
file = 'docker/Dockerfile-2.7'
|
@@ -60,20 +77,28 @@ task :dockertest, :version, :login do |_, args|
|
|
60
77
|
file = 'docker/Dockerfile'
|
61
78
|
end
|
62
79
|
|
63
|
-
|
80
|
+
d_spinner = TTY::Spinner.new("[:spinner] Setting up Docker", hide_cursor: true, format: :dots)
|
81
|
+
d_spinner.auto_spin
|
82
|
+
`docker build . --file #{file} -t #{img} &> /dev/null`
|
83
|
+
d_spinner.success
|
84
|
+
d_spinner.stop
|
64
85
|
|
65
86
|
exec "docker run -v #{File.dirname(__FILE__)}:/howzit -it #{img} /bin/bash -l" if args[:login]
|
66
87
|
|
67
|
-
spinner = TTY::Spinner.new(
|
88
|
+
spinner = TTY::Spinner.new("[:spinner] Running tests #{img}", hide_cursor: true, format: :dots)
|
68
89
|
|
69
90
|
spinner.auto_spin
|
70
91
|
res = `docker run --rm -v #{File.dirname(__FILE__)}:/howzit -it #{img}`
|
71
|
-
|
72
|
-
|
92
|
+
commit = `bash -c "docker commit $(docker ps -a|grep #{img}|awk '{print $1}'|head -n 1) #{img}"`.strip
|
93
|
+
if $?.exitstatus == 0
|
94
|
+
spinner.success
|
95
|
+
else
|
96
|
+
spinner.error
|
97
|
+
puts res
|
98
|
+
end
|
73
99
|
spinner.stop
|
74
100
|
|
75
|
-
puts
|
76
|
-
# puts commit&.empty? ? "Error commiting Docker tag #{img}" : "Committed Docker tag #{img}"
|
101
|
+
puts commit&.empty? ? "Error commiting Docker tag #{img}" : "Committed Docker tag #{img}"
|
77
102
|
end
|
78
103
|
|
79
104
|
desc 'Alias for build'
|
data/bin/howzit
CHANGED
@@ -159,15 +159,13 @@ OptionParser.new do |opts|
|
|
159
159
|
Process.exit 0
|
160
160
|
end
|
161
161
|
|
162
|
-
|
163
|
-
desc = %(Edit buildnotes file in current working directory using editor (#{editor}))
|
162
|
+
desc = %(Edit buildnotes file in current working directory using default editor)
|
164
163
|
opts.on('-e', '--edit', desc) do
|
165
164
|
Howzit.buildnote.edit
|
166
165
|
Process.exit 0
|
167
166
|
end
|
168
167
|
|
169
|
-
|
170
|
-
opts.on('--edit-config', "Edit configuration file using editor (#{config_editor})") do
|
168
|
+
opts.on('--edit-config', "Edit configuration file using default editor") do
|
171
169
|
Howzit.config.editor
|
172
170
|
Process.exit 0
|
173
171
|
end
|
data/docker/Dockerfile-2.6
CHANGED
data/docker/Dockerfile-2.7
CHANGED
data/docker/Dockerfile-3.0
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
FROM ruby:3.2.0
|
2
|
+
# RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
3
|
+
RUN mkdir /howzit
|
4
|
+
WORKDIR /howzit
|
5
|
+
# COPY ./ /howzit/
|
6
|
+
RUN gem install bundler:2.2.29
|
7
|
+
RUN apt-get update -y
|
8
|
+
RUN apt-get install -y less vim
|
9
|
+
COPY ./docker/inputrc /root/.inputrc
|
10
|
+
COPY ./docker/bash_profile /root/.bash_profile
|
11
|
+
CMD ["scripts/runtests.sh"]
|
data/docker/bash_profile
CHANGED
data/howzit.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
lib = File.expand_path(File.join('..', 'lib'), __FILE__)
|
2
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
5
|
require 'howzit/version'
|
@@ -8,7 +10,9 @@ Gem::Specification.new do |spec|
|
|
8
10
|
spec.authors = ['Brett Terpstra']
|
9
11
|
spec.email = ['me@brettterpstra.com']
|
10
12
|
spec.description = 'Command line project documentation and task runner'
|
11
|
-
spec.summary = 'Provides a way to access Markdown project notes by topic
|
13
|
+
spec.summary = ['Provides a way to access Markdown project notes by topic',
|
14
|
+
'with query capabilities and the ability to execute the',
|
15
|
+
'tasks it describes.'].join(' ')
|
12
16
|
spec.homepage = 'https://github.com/ttscoff/howzit'
|
13
17
|
spec.license = 'MIT'
|
14
18
|
|
@@ -20,28 +24,27 @@ Gem::Specification.new do |spec|
|
|
20
24
|
spec.required_ruby_version = '>= 2.6.0'
|
21
25
|
|
22
26
|
spec.add_development_dependency 'bundler', '~> 2.2'
|
23
|
-
spec.add_development_dependency 'rake', '~>
|
24
|
-
spec.add_development_dependency 'bump', '~> 0.5'
|
27
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
25
28
|
|
26
29
|
spec.add_development_dependency 'guard', '~> 2.11'
|
27
|
-
spec.add_development_dependency 'guard-yard', '~> 2.1'
|
28
|
-
spec.add_development_dependency 'guard-rubocop', '~> 1.2'
|
29
30
|
spec.add_development_dependency 'guard-rspec', '~> 4.5'
|
31
|
+
spec.add_development_dependency 'guard-rubocop', '~> 1.2'
|
32
|
+
spec.add_development_dependency 'guard-yard', '~> 2.1'
|
30
33
|
|
31
|
-
spec.add_development_dependency 'rubocop', '~> 0.28'
|
32
|
-
spec.add_development_dependency 'rspec', '~> 3.1'
|
33
34
|
spec.add_development_dependency 'cli-test', '~> 1.0'
|
35
|
+
spec.add_development_dependency 'rspec', '~> 3.13'
|
36
|
+
spec.add_development_dependency 'rubocop', '~> 0.28'
|
34
37
|
spec.add_development_dependency 'simplecov', '~> 0.9'
|
35
38
|
# spec.add_development_dependency 'codecov', '~> 0.1'
|
36
39
|
spec.add_development_dependency 'fuubar', '~> 2.0'
|
37
40
|
|
38
|
-
spec.add_development_dependency 'yard', '~> 0.9.5'
|
39
|
-
spec.add_development_dependency 'redcarpet', '~> 3.2'
|
40
41
|
spec.add_development_dependency 'github-markup', '~> 1.3'
|
42
|
+
spec.add_development_dependency 'redcarpet', '~> 3.2'
|
41
43
|
spec.add_development_dependency 'tty-spinner', '~> 0.9'
|
44
|
+
spec.add_development_dependency 'yard', '~> 0.9.5'
|
42
45
|
|
43
46
|
spec.add_runtime_dependency 'mdless', '~> 1.0', '>= 1.0.28'
|
44
|
-
spec.add_runtime_dependency 'tty-screen', '~> 0.8'
|
45
47
|
spec.add_runtime_dependency 'tty-box', '~> 0.7'
|
48
|
+
spec.add_runtime_dependency 'tty-screen', '~> 0.8'
|
46
49
|
# spec.add_runtime_dependency 'tty-prompt', '~> 0.23'
|
47
50
|
end
|
data/lib/howzit/buildnote.rb
CHANGED
@@ -21,7 +21,7 @@ module Howzit
|
|
21
21
|
content = Util.read_file(file)
|
22
22
|
raise "{br}No content found in build note (#{file}){x}".c if content.nil? || content.empty?
|
23
23
|
|
24
|
-
this_meta = content.split(/^#/)[0].strip.
|
24
|
+
this_meta = content.split(/^#/)[0].strip.metadata
|
25
25
|
|
26
26
|
@metadata = meta.nil? ? this_meta : meta.merge(this_meta)
|
27
27
|
|
@@ -363,7 +363,7 @@ module Howzit
|
|
363
363
|
t_leader = Util.read_file(template).split(/^#/)[0].strip
|
364
364
|
return unless t_leader.length.positive?
|
365
365
|
|
366
|
-
t_meta = t_leader.
|
366
|
+
t_meta = t_leader.metadata
|
367
367
|
|
368
368
|
return unless t_meta.key?('required')
|
369
369
|
|
@@ -499,7 +499,7 @@ module Howzit
|
|
499
499
|
## @return [String] file path
|
500
500
|
##
|
501
501
|
def glob_note
|
502
|
-
Dir.glob('*.{txt,md,markdown}').select(&:build_note?)[0]
|
502
|
+
Dir.glob('*.{txt,md,markdown}').select(&:build_note?).sort[0]
|
503
503
|
end
|
504
504
|
|
505
505
|
##
|
@@ -556,7 +556,7 @@ module Howzit
|
|
556
556
|
|
557
557
|
return template_topics if leader.empty?
|
558
558
|
|
559
|
-
data = leader.
|
559
|
+
data = leader.metadata
|
560
560
|
|
561
561
|
if data.key?('template')
|
562
562
|
templates = data['template'].strip.split(/\s*,\s*/)
|
@@ -655,12 +655,14 @@ module Howzit
|
|
655
655
|
def edit_note
|
656
656
|
editor = Howzit.options.fetch(:editor, ENV['EDITOR'])
|
657
657
|
|
658
|
+
editor = Howzit.config.update_editor if editor.nil?
|
659
|
+
|
658
660
|
raise 'No editor defined' if editor.nil?
|
659
661
|
|
660
662
|
raise "Invalid editor (#{editor})" unless Util.valid_command?(editor)
|
661
663
|
|
662
664
|
create_note(prompt: true) if note_file.nil?
|
663
|
-
|
665
|
+
exec %(#{editor} "#{note_file}")
|
664
666
|
end
|
665
667
|
|
666
668
|
##
|
@@ -680,6 +682,8 @@ module Howzit
|
|
680
682
|
def edit_template_file(file)
|
681
683
|
editor = Howzit.options.fetch(:editor, ENV['EDITOR'])
|
682
684
|
|
685
|
+
editor = Howzit.config.update_editor if editor.nil?
|
686
|
+
|
683
687
|
raise 'No editor defined' if editor.nil?
|
684
688
|
|
685
689
|
raise "Invalid editor (#{editor})" unless Util.valid_command?(editor)
|
data/lib/howzit/colors.rb
CHANGED
@@ -5,7 +5,7 @@ module Howzit
|
|
5
5
|
# Terminal output color functions.
|
6
6
|
module Color
|
7
7
|
# Regexp to match excape sequences
|
8
|
-
ESCAPE_REGEX = /(?<=\[)(?:(?:(?:[349]|10)[0-9]|[0-9])?;?)+(?=m)
|
8
|
+
ESCAPE_REGEX = /(?<=\[)(?:(?:(?:[349]|10)[0-9]|[0-9])?;?)+(?=m)/.freeze
|
9
9
|
|
10
10
|
# All available color names. Available as methods and string extensions.
|
11
11
|
#
|
@@ -361,7 +361,7 @@ module Howzit
|
|
361
361
|
|
362
362
|
# Regular expression that is used to scan for ANSI-sequences while
|
363
363
|
# uncoloring strings.
|
364
|
-
COLORED_REGEXP = /\e\[(?:(?:[349]|10)[0-7]|[0-9])?m
|
364
|
+
COLORED_REGEXP = /\e\[(?:(?:[349]|10)[0-7]|[0-9])?m/.freeze
|
365
365
|
|
366
366
|
# Returns an uncolored version of the string, that is all
|
367
367
|
# ANSI-sequences are stripped from the string.
|
data/lib/howzit/config.rb
CHANGED
@@ -127,6 +127,31 @@ module Howzit
|
|
127
127
|
edit_config
|
128
128
|
end
|
129
129
|
|
130
|
+
## Update editor config
|
131
|
+
def update_editor
|
132
|
+
puts 'No $EDITOR defined, no value in config'
|
133
|
+
editor = Prompt.read_editor
|
134
|
+
if editor.nil?
|
135
|
+
puts 'Cancelled, no editor stored.'
|
136
|
+
Process.exit 1
|
137
|
+
end
|
138
|
+
update_config_option({ config_editor: editor, editor: editor })
|
139
|
+
puts "Default editor set to #{editor}, modify in config file"
|
140
|
+
editor
|
141
|
+
end
|
142
|
+
|
143
|
+
##
|
144
|
+
## Update a config option and resave config file
|
145
|
+
##
|
146
|
+
## @param options [Hash] key value pairs
|
147
|
+
##
|
148
|
+
def update_config_option(options)
|
149
|
+
options.each do |key, value|
|
150
|
+
Howzit.options[key] = value
|
151
|
+
end
|
152
|
+
write_config(Howzit.options)
|
153
|
+
end
|
154
|
+
|
130
155
|
private
|
131
156
|
|
132
157
|
##
|
@@ -263,13 +288,15 @@ module Howzit
|
|
263
288
|
def edit_config
|
264
289
|
editor = Howzit.options.fetch(:config_editor, ENV['EDITOR'])
|
265
290
|
|
291
|
+
editor = update_editor if editor.nil?
|
292
|
+
|
266
293
|
raise 'No config_editor defined' if editor.nil?
|
267
294
|
|
268
295
|
# raise "Invalid editor (#{editor})" unless Util.valid_command?(editor)
|
269
296
|
|
270
297
|
load_config
|
271
298
|
if Util.valid_command?(editor.split(/ /).first)
|
272
|
-
|
299
|
+
exec %(#{editor} "#{config_file}")
|
273
300
|
else
|
274
301
|
`open -a "#{editor}" "#{config_file}"`
|
275
302
|
end
|
data/lib/howzit/prompt.rb
CHANGED
@@ -159,6 +159,22 @@ module Howzit
|
|
159
159
|
system('stty', @stty_save)
|
160
160
|
end
|
161
161
|
|
162
|
+
##
|
163
|
+
## Request editor
|
164
|
+
##
|
165
|
+
def read_editor(default = nil)
|
166
|
+
@stty_save = `stty -g`.chomp
|
167
|
+
|
168
|
+
default ||= 'vim'
|
169
|
+
prompt = "Define a default editor command (default #{default}): "
|
170
|
+
res = Readline.readline(prompt, true).squeeze(' ').strip
|
171
|
+
res = default if res.empty?
|
172
|
+
|
173
|
+
Util.valid_command?(res) ? res : default
|
174
|
+
ensure
|
175
|
+
system('stty', @stty_save)
|
176
|
+
end
|
177
|
+
|
162
178
|
##
|
163
179
|
## Convert a response to an Integer
|
164
180
|
##
|
data/lib/howzit/stringutils.rb
CHANGED
@@ -38,7 +38,7 @@ module Howzit
|
|
38
38
|
position = 0
|
39
39
|
in_order = 0
|
40
40
|
chars.each do |char|
|
41
|
-
new_pos = self[position
|
41
|
+
new_pos = self[position..-1] =~ /#{char}/i
|
42
42
|
if new_pos
|
43
43
|
position += new_pos
|
44
44
|
in_order += 1
|
@@ -350,14 +350,14 @@ module Howzit
|
|
350
350
|
##
|
351
351
|
## Split the content at the first top-level header and
|
352
352
|
## assume everything before it is metadata. Passes to
|
353
|
-
## #
|
353
|
+
## #metadata for processing
|
354
354
|
##
|
355
355
|
## @return [Hash] key/value pairs
|
356
356
|
##
|
357
357
|
def extract_metadata
|
358
358
|
if File.exist?(self)
|
359
359
|
leader = Util.read_file(self).split(/^#/)[0].strip
|
360
|
-
leader.length.positive? ? leader.
|
360
|
+
leader.length.positive? ? leader.metadata : {}
|
361
361
|
else
|
362
362
|
{}
|
363
363
|
end
|
@@ -368,7 +368,7 @@ module Howzit
|
|
368
368
|
##
|
369
369
|
## @return [Hash] The metadata as key/value pairs
|
370
370
|
##
|
371
|
-
def
|
371
|
+
def metadata
|
372
372
|
data = {}
|
373
373
|
scan(/(?mi)^(\S[\s\S]+?): ([\s\S]*?)(?=\n\S[\s\S]*?:|\Z)/).each do |m|
|
374
374
|
data[m[0].strip.downcase] = m[1]
|
@@ -453,7 +453,7 @@ module Howzit
|
|
453
453
|
else
|
454
454
|
options[:hr] * (cols - title.uncolor.length)
|
455
455
|
end
|
456
|
-
Color.template("\n\n#{title}#{tail}{x}")
|
456
|
+
Color.template("\n\n#{title}#{tail}{x}\n\n")
|
457
457
|
end
|
458
458
|
end
|
459
459
|
end
|
data/lib/howzit/version.rb
CHANGED
data/lib/howzit.rb
CHANGED
data/scripts/runtests.sh
CHANGED
data/spec/buildnote_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/spec/topic_spec.rb
CHANGED
@@ -21,7 +21,10 @@ describe Howzit::Topic do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
describe Howzit::Topic do
|
24
|
-
subject(:topic) {
|
24
|
+
subject(:topic) {
|
25
|
+
bn = Howzit.buildnote
|
26
|
+
bn.find_topic('Topic Balogna')[0]
|
27
|
+
}
|
25
28
|
|
26
29
|
describe '.title' do
|
27
30
|
it 'has the correct title' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: howzit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,28 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bump
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.5'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.5'
|
40
|
+
version: '13.0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: guard
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,19 +53,19 @@ dependencies:
|
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '2.11'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: guard-
|
56
|
+
name: guard-rspec
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
61
|
+
version: '4.5'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
68
|
+
version: '4.5'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: guard-rubocop
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,61 +81,61 @@ dependencies:
|
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '1.2'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: guard-
|
84
|
+
name: guard-yard
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
89
|
+
version: '2.1'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
96
|
+
version: '2.1'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
98
|
+
name: cli-test
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
103
|
+
version: '1.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
110
|
+
version: '1.0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: rspec
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
115
|
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version: '3.
|
117
|
+
version: '3.13'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
122
|
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version: '3.
|
124
|
+
version: '3.13'
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
126
|
+
name: rubocop
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
142
128
|
requirements:
|
143
129
|
- - "~>"
|
144
130
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
131
|
+
version: '0.28'
|
146
132
|
type: :development
|
147
133
|
prerelease: false
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
149
135
|
requirements:
|
150
136
|
- - "~>"
|
151
137
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
138
|
+
version: '0.28'
|
153
139
|
- !ruby/object:Gem::Dependency
|
154
140
|
name: simplecov
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -179,19 +165,19 @@ dependencies:
|
|
179
165
|
- !ruby/object:Gem::Version
|
180
166
|
version: '2.0'
|
181
167
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
168
|
+
name: github-markup
|
183
169
|
requirement: !ruby/object:Gem::Requirement
|
184
170
|
requirements:
|
185
171
|
- - "~>"
|
186
172
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
173
|
+
version: '1.3'
|
188
174
|
type: :development
|
189
175
|
prerelease: false
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
191
177
|
requirements:
|
192
178
|
- - "~>"
|
193
179
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
180
|
+
version: '1.3'
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: redcarpet
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,33 +193,33 @@ dependencies:
|
|
207
193
|
- !ruby/object:Gem::Version
|
208
194
|
version: '3.2'
|
209
195
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
196
|
+
name: tty-spinner
|
211
197
|
requirement: !ruby/object:Gem::Requirement
|
212
198
|
requirements:
|
213
199
|
- - "~>"
|
214
200
|
- !ruby/object:Gem::Version
|
215
|
-
version: '
|
201
|
+
version: '0.9'
|
216
202
|
type: :development
|
217
203
|
prerelease: false
|
218
204
|
version_requirements: !ruby/object:Gem::Requirement
|
219
205
|
requirements:
|
220
206
|
- - "~>"
|
221
207
|
- !ruby/object:Gem::Version
|
222
|
-
version: '
|
208
|
+
version: '0.9'
|
223
209
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
210
|
+
name: yard
|
225
211
|
requirement: !ruby/object:Gem::Requirement
|
226
212
|
requirements:
|
227
213
|
- - "~>"
|
228
214
|
- !ruby/object:Gem::Version
|
229
|
-
version:
|
215
|
+
version: 0.9.5
|
230
216
|
type: :development
|
231
217
|
prerelease: false
|
232
218
|
version_requirements: !ruby/object:Gem::Requirement
|
233
219
|
requirements:
|
234
220
|
- - "~>"
|
235
221
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
222
|
+
version: 0.9.5
|
237
223
|
- !ruby/object:Gem::Dependency
|
238
224
|
name: mdless
|
239
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,33 +241,33 @@ dependencies:
|
|
255
241
|
- !ruby/object:Gem::Version
|
256
242
|
version: 1.0.28
|
257
243
|
- !ruby/object:Gem::Dependency
|
258
|
-
name: tty-
|
244
|
+
name: tty-box
|
259
245
|
requirement: !ruby/object:Gem::Requirement
|
260
246
|
requirements:
|
261
247
|
- - "~>"
|
262
248
|
- !ruby/object:Gem::Version
|
263
|
-
version: '0.
|
249
|
+
version: '0.7'
|
264
250
|
type: :runtime
|
265
251
|
prerelease: false
|
266
252
|
version_requirements: !ruby/object:Gem::Requirement
|
267
253
|
requirements:
|
268
254
|
- - "~>"
|
269
255
|
- !ruby/object:Gem::Version
|
270
|
-
version: '0.
|
256
|
+
version: '0.7'
|
271
257
|
- !ruby/object:Gem::Dependency
|
272
|
-
name: tty-
|
258
|
+
name: tty-screen
|
273
259
|
requirement: !ruby/object:Gem::Requirement
|
274
260
|
requirements:
|
275
261
|
- - "~>"
|
276
262
|
- !ruby/object:Gem::Version
|
277
|
-
version: '0.
|
263
|
+
version: '0.8'
|
278
264
|
type: :runtime
|
279
265
|
prerelease: false
|
280
266
|
version_requirements: !ruby/object:Gem::Requirement
|
281
267
|
requirements:
|
282
268
|
- - "~>"
|
283
269
|
- !ruby/object:Gem::Version
|
284
|
-
version: '0.
|
270
|
+
version: '0.8'
|
285
271
|
description: Command line project documentation and task runner
|
286
272
|
email:
|
287
273
|
- me@brettterpstra.com
|
@@ -304,12 +290,14 @@ files:
|
|
304
290
|
- Guardfile
|
305
291
|
- LICENSE.txt
|
306
292
|
- README.md
|
293
|
+
- README.rdoc
|
307
294
|
- Rakefile
|
308
295
|
- bin/howzit
|
309
296
|
- docker/Dockerfile
|
310
297
|
- docker/Dockerfile-2.6
|
311
298
|
- docker/Dockerfile-2.7
|
312
299
|
- docker/Dockerfile-3.0
|
300
|
+
- docker/Dockerfile-3.2
|
313
301
|
- docker/bash_profile
|
314
302
|
- docker/inputrc
|
315
303
|
- fish/completions/bld.fish
|