journal-cli 1.0.11 → 1.0.12

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: 0c283ee76be0875ecc6c36ed2902dd5b122803f1163095773e71c1e4fee2bc32
4
- data.tar.gz: 3c5c01c37a4c9ed0972f5eaa18192cb9e910f098e3fafe7e6630f335de1eb050
3
+ metadata.gz: 454b74fd0d807973fec7c1c0de222b4a725e7df98d32abb3c112a4cd5d8fe05b
4
+ data.tar.gz: 160ce5a1e637c218fcae0a6b295b31af629654fe3ab66f3ad589ff04117e3055
5
5
  SHA512:
6
- metadata.gz: b703b2626cce5ade77b961e7a4c14cc0cfbfd32ace4ee95c80ac20412a6b0fcecc7f71879d0377d7e7b6684731a28831606aa8ee87b57fa8906483b771601200
7
- data.tar.gz: a8c4692c942f47dd3679d054b8e8b6dadf4e40a6460602d5d3ea0f7c39ad9b4e776554b2e410185f690260b0a03682a9047cbf461937c8bd037666c267ab45a2
6
+ metadata.gz: 9c8253e5a0e4127e13d1b697e6340fae5a24f9289043de349f6b5b4994a792d0a88d390b5d6f0856efa0c5e097c5d6573b97ccccb771d0c999ee029d9eb089e2
7
+ data.tar.gz: 897061977f2b3de27fa5e9f8db934a9e21de963edbf37677e50c1463b59d85cd31f2b65cc334bdcc338659078c423b50e56aeaed97680938c3b0132591c81b8e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.0.12
2
+
3
+ 2023-09-06 16:43
4
+
5
+ #### IMPROVED
6
+
7
+ - Add note about ctrl-d to save multiline input
8
+
1
9
  ### 1.0.11
2
10
 
3
11
  2023-09-06 16:37
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- journal-cli (1.0.11)
4
+ journal-cli (1.0.12)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -134,5 +134,5 @@ Questions with numeric answers will have a valid range assigned. Enter just a nu
134
134
 
135
135
  Questions with type 'string' or 'text' will save when you hit return. Pressing return without typing anything will leave that answer blank, and it will be ignored when exporting to Markdown or Day One (an empty value will exist in the JSON database).
136
136
 
137
- When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, press Escape or type CTRL-d.
137
+ When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, type CTRL-d.
138
138
 
@@ -87,7 +87,7 @@ module Journal
87
87
  ##
88
88
  def read_lines(prompt: nil)
89
89
  output = []
90
- puts prompt.nil? ? @prompt : @secondary_prompt
90
+ puts (prompt.nil? ? @prompt : @secondary_prompt) + ' (CTRL-d to save)'
91
91
  line = `gum write --placeholder "#{prompt}" --width 80 --char-limit 0`
92
92
  return output.join("\n") if line.strip.empty?
93
93
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Journal
4
- VERSION = '1.0.11'
4
+ VERSION = '1.0.12'
5
5
  end
data/src/_README.md CHANGED
@@ -138,7 +138,7 @@ Questions with numeric answers will have a valid range assigned. Enter just a nu
138
138
 
139
139
  Questions with type 'string' or 'text' will save when you hit return. Pressing return without typing anything will leave that answer blank, and it will be ignored when exporting to Markdown or Day One (an empty value will exist in the JSON database).
140
140
 
141
- When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, press Escape or type CTRL-d.
141
+ When using the mutiline type, you'll get an edit field that responds to most control-key navigation and allows insertion and movement. To save a multiline field, type CTRL-d.
142
142
 
143
143
  <!--END README-->
144
144
  ## Contributing
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: journal-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra