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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fa016c0fa681b1f07238f643dcdffd1fe9679a0362dd18a99ad5c9280282a66
4
- data.tar.gz: 2e171f199e644a56046121b4a2b7bc803196bee9b026f619939c51f70828ec13
3
+ metadata.gz: 3bf24c1aae4ef114065b9138801a83f07777932a38a5894b4ae63be3c02960f4
4
+ data.tar.gz: 18a7bf1b8eb988b204479531618219fba11d49a70248cde01a1857b6bd9205ae
5
5
  SHA512:
6
- metadata.gz: 5178be93f700a6d51ddee37f1ea239d65eab8c79f60773d4a8faa9f6dc191a195d43e725cb9980532b2ab177a332c86fe0b914d64051c1eb67c80df0f1c61104
7
- data.tar.gz: 58490e3f05c46aba51248dc857f1835b8146f9bfcd7b76fa0640175140046676825a4d1e25f1824bac5415875857da0078a95d2f4dbc783e0bf69d90e42c3c05
6
+ metadata.gz: 5b43837936520805796c48529de8a88af3ceeaa455259e0ffbba351f4d2bc98706c1381974c072953438db8a38a215d9b817907783f62fd0ac24301e9d05fe94
7
+ data.tar.gz: 9c2afbc1c49a902e65e9818ad6f8ce9df1b724c149307fe2d718abd1b9ef61405f1340403fde901c3cb8b67d877db793cedaaac752b2b974ba1881bde0efb21c
data/.gitignore CHANGED
@@ -42,3 +42,4 @@ Gemfile.lock
42
42
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
43
43
  .rvmrc
44
44
  results.log
45
+ html
data/.rubocop.yml CHANGED
@@ -22,10 +22,10 @@ Layout/LineLength:
22
22
  Max: 120
23
23
 
24
24
  Metrics/MethodLength:
25
- Max: 40
25
+ Max: 45
26
26
 
27
27
  Metrics/BlockLength:
28
- Max: 40
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: 15
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
@@ -0,0 +1,6 @@
1
+ = Howzit
2
+
3
+ A command-line reference tool for tracking project build systems
4
+
5
+
6
+
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[6 7 3].each do |v|
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
- img = 'howzittest26'
54
- file = 'docker/Dockerfile-2.6'
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
- puts `docker build . --file #{file} -t #{img}`
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('[:spinner] Running tests ...', hide_cursor: true)
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
- # commit = puts `bash -c "docker commit $(docker ps -a|grep #{img}|awk '{print $1}'|head -n 1) #{img}"`.strip
72
- spinner.success
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 res
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
- editor = File.basename(Howzit.options[:editor])
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
- config_editor = File.basename(Howzit.options[:config_editor])
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
@@ -3,7 +3,7 @@ FROM ruby:2.6
3
3
  RUN mkdir /howzit
4
4
  WORKDIR /howzit
5
5
  # COPY ./ /howzit/
6
- RUN gem install bundler:2.2.17
6
+ RUN gem install bundler:2.2.29
7
7
  RUN apt-get update -y
8
8
  RUN apt-get install -y less vim
9
9
  COPY ./docker/inputrc /root/.inputrc
@@ -3,7 +3,7 @@ FROM ruby:2.7
3
3
  RUN mkdir /howzit
4
4
  WORKDIR /howzit
5
5
  # COPY ./ /howzit/
6
- RUN gem install bundler:2.2.17
6
+ RUN gem install bundler:2.2.29
7
7
  RUN apt-get update -y
8
8
  RUN apt-get install -y less vim
9
9
  COPY ./docker/inputrc /root/.inputrc
@@ -3,7 +3,7 @@ FROM ruby:3.0.0
3
3
  RUN mkdir /howzit
4
4
  WORKDIR /howzit
5
5
  # COPY ./ /howzit/
6
- RUN gem install bundler:2.2.17
6
+ RUN gem install bundler:2.2.29
7
7
  RUN apt-get update -y
8
8
  RUN apt-get install -y less vim
9
9
  COPY ./docker/inputrc /root/.inputrc
@@ -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
@@ -1,6 +1,7 @@
1
1
  #!/bin/bash
2
2
  export GLI_DEBUG=true
3
3
  export EDITOR="/usr/bin/vim"
4
+ export PATH=$PATH:$GEM_HOME/bin
4
5
  alias b="bundle exec bin/howzit"
5
6
 
6
7
  shopt -s nocaseglob
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 with query capabilities and the ability to execute the tasks it describes.'
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', '~> 11.2'
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
@@ -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.get_metadata
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.get_metadata
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.get_metadata
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
- `#{editor} "#{note_file}"`
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
- system %(#{editor} "#{config_file}")
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
  ##
@@ -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..] =~ /#{char}/i
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
- ## #get_metadata for processing
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.get_metadata : {}
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 get_metadata
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
@@ -3,5 +3,5 @@
3
3
  # Primary module for this gem.
4
4
  module Howzit
5
5
  # Current Howzit version.
6
- VERSION = '2.1.14'
6
+ VERSION = '2.1.16'
7
7
  end
data/lib/howzit.rb CHANGED
@@ -77,8 +77,8 @@ module Howzit
77
77
  ##
78
78
  ## Module storage for buildnote
79
79
  ##
80
- def buildnote
81
- @buildnote ||= BuildNote.new
80
+ def buildnote(file = nil)
81
+ @buildnote ||= BuildNote.new(file: file)
82
82
  end
83
83
 
84
84
  ##
data/scripts/runtests.sh CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
3
  bundle install
4
- rake test
4
+ export EDITOR="/usr/bin/vim"
5
+ export PATH=$PATH:$GEM_HOME/bin
6
+ rake spec
@@ -3,7 +3,7 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe Howzit::BuildNote do
6
- subject(:how) { @hz }
6
+ subject(:how) { Howzit.buildnote('builda.md') }
7
7
 
8
8
  describe ".note_file" do
9
9
  it "locates a build note file" do
data/spec/spec_helper.rb CHANGED
@@ -69,6 +69,7 @@ def save_buildnote
69
69
  This one is just to throw things off
70
70
  EONOTE
71
71
  File.open('builda.md', 'w') { |f| f.puts note }
72
+ # puts "Saved to builda.md: #{File.exist?('builda.md')}"
72
73
  end
73
74
 
74
75
  def delete_buildnote
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) { @hz.find_topic('Topic Balogna')[0] }
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.14
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-06 00:00:00.000000000 Z
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: '11.2'
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: '11.2'
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-yard
56
+ name: guard-rspec
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '2.1'
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: '2.1'
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-rspec
84
+ name: guard-yard
99
85
  requirement: !ruby/object:Gem::Requirement
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: '4.5'
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: '4.5'
96
+ version: '2.1'
111
97
  - !ruby/object:Gem::Dependency
112
- name: rubocop
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.28'
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.28'
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.1'
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.1'
124
+ version: '3.13'
139
125
  - !ruby/object:Gem::Dependency
140
- name: cli-test
126
+ name: rubocop
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
129
  - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: '1.0'
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: '1.0'
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: yard
168
+ name: github-markup
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
171
  - - "~>"
186
172
  - !ruby/object:Gem::Version
187
- version: 0.9.5
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: 0.9.5
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: github-markup
196
+ name: tty-spinner
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
199
  - - "~>"
214
200
  - !ruby/object:Gem::Version
215
- version: '1.3'
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: '1.3'
208
+ version: '0.9'
223
209
  - !ruby/object:Gem::Dependency
224
- name: tty-spinner
210
+ name: yard
225
211
  requirement: !ruby/object:Gem::Requirement
226
212
  requirements:
227
213
  - - "~>"
228
214
  - !ruby/object:Gem::Version
229
- version: '0.9'
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: '0.9'
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-screen
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.8'
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.8'
256
+ version: '0.7'
271
257
  - !ruby/object:Gem::Dependency
272
- name: tty-box
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.7'
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.7'
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