mkmatter 3.1.9 → 3.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e04a2dba62d872a90c9626200f345c78a6cce58f457a8c850b7049c992eb44d
4
- data.tar.gz: dceb7a9c7e078b50895db3841ab0527bd4c35acff281cd0db90f4a15252e7eee
3
+ metadata.gz: b84d65e500d5df8a260081f4ba261dace3a22c7ae332535af7e3af84affc517b
4
+ data.tar.gz: 56fa6aff08276f401e58f4b3734405560a0f3dee1f396c372687ae55cd8d4b75
5
5
  SHA512:
6
- metadata.gz: e132cca4c1f8a2242e6e206f4bc9d9033d50a3fabcbfe2bce84594d14a0118938fbae86ab81d8cef75817b9732cc6d3a12ef1a3c51485b956f81b61e37bdac02
7
- data.tar.gz: '00386f42c5cfb8fdc637bbbce8dd27e1487cf41c411ae8e4e0e94398f26653684a1bfbd1e0c6264dc6963706ab7226f5441ea9d22ebad3de146744c51fdce096'
6
+ metadata.gz: a0dfff0ef77722ab3c2735e03408d4d868a3525ef2c2f559cc74f908e2e0d7bdb4ec4657c54dd907b5d7a37b3426fdcc88e19a71232fd9ffacbf20f6b11cc10f
7
+ data.tar.gz: 431c7c6017b582f9cb7da4feeb191aa12f66a98dad80ed2f34cccfa084e92c4c330058a239bd11ae9082f77e04eb592e59a325c391080e42a65c4ed2bcf65c8f
@@ -77,7 +77,8 @@ module Mkmatter
77
77
  def post
78
78
  if options[:draft] and options[:file]
79
79
  if Mkmatter::Methods.check_if_jekyll
80
- @questions = Mkmatter::Questions::Post.new(HILINE).ask
80
+ # @questions = Mkmatter::Questions::Post.new(HILINE).ask
81
+ @questions = Mkmatter::Questions::Post.new.ask
81
82
  answers = Mkmatter::Answers.new(@questions, options[:publish])
82
83
  file_folder = '_drafts'
83
84
  filename = [].concat([answers.slug_date, '-', answers.title.to_slug, '.', answers.file_format.downcase]).join
@@ -114,7 +115,8 @@ module Mkmatter
114
115
  elsif options[:file] and options[:draft].nil? or options[:draft] == false
115
116
 
116
117
  if Mkmatter::Methods.check_if_jekyll
117
- @questions = Mkmatter::Questions::Post.new(HILINE).ask
118
+ # @questions = Mkmatter::Questions::Post.new(HILINE).ask
119
+ @questions = Mkmatter::Questions::Post.new.ask
118
120
  answers = Mkmatter::Answers.new(@questions, options[:publish])
119
121
  file_folder = '_posts'
120
122
  filename = [].concat([answers.slug_date, '-', answers.title.to_slug, '.', answers.file_format.downcase]).join('')
@@ -151,7 +153,8 @@ module Mkmatter
151
153
  exit 1
152
154
  end
153
155
  elsif options[:draft].nil? and options[:file].nil?
154
- @questions = Mkmatter::Questions::Post.new(HILINE).ask
156
+ @questions = Mkmatter::Questions::Post.new.ask
157
+ # @questions = Mkmatter::Questions::Post.new(HILINE).ask
155
158
  answers = Mkmatter::Answers.new(@questions, options[:publish])
156
159
  puts ''
157
160
  puts answers.to_h.stringify_keys.to_yaml(indentation: 2)
@@ -1,5 +1,5 @@
1
1
  module Mkmatter
2
- VERSION = '3.1.9'
2
+ VERSION = '3.1.11'
3
3
 
4
4
  # Return gem information for certain commands and options
5
5
  class GemInfo
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mkmatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.9
4
+ version: 3.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-26 00:00:00.000000000 Z
11
+ date: 2025-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline