markdown_exec 2.0.0 → 2.0.1

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: 9bab8478298e4304b710d35a6c5c0d931635678d038a4a16f4714f9347f38aa6
4
- data.tar.gz: 2a57f5bc25681718a5c23ec313a8c8767209d1422431348e310d311524e5d66c
3
+ metadata.gz: e4a008bd8a59ebf3683d4f8690f94caff7fe6f39566ad32cb4aff6063e7fc51b
4
+ data.tar.gz: d54bd5737ec0d943c8a67999aab02428cdf86bab5250cf9a4897b59f1fa69cee
5
5
  SHA512:
6
- metadata.gz: c6c4fcb0963a71d89968ff195bb963e31d4f887a7f97d524aeea29bcad5e359e698b89928d00f85cf6ad7cd99d768f2a7152a086fb32abf91e3477751b0979ba
7
- data.tar.gz: 85631dcaa941169ae08527a2d2f185a82b5a296337aa78e2f50994f7cf2ecaa69966d4a647cafc7c772abd97f0ddc2fc7b2ff0ef298e30f6ff2f46d28eb12d12
6
+ metadata.gz: 43b989b43f34c9cc2c3cbb331461e0f215757f453839a2127b318a3f03d78825b29264bb9c2cce89dba40ad8debd606504b59e4eaaa3a0d737c36f4bdf9429ec
7
+ data.tar.gz: 48e8bf62d6582f4c78bdc89aa81decf74e15d348c01d50a7a8eb1147b27bc445bc1d73b13c918fbd33c72e568e94693afebf7192e7c87717791463fefc2f8ea6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.1] - 2024-02-09
4
+
5
+ ### Changed
6
+
7
+ - Fix development requirement.
8
+
3
9
  ## [2.0.0] - 2024-02-07
4
10
 
5
11
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_exec (2.0.0)
4
+ markdown_exec (2.0.1)
5
5
  clipboard (~> 1.3.6)
6
6
  open3 (~> 0.1.1)
7
7
  optparse (~> 0.1.1)
@@ -13,7 +13,7 @@ __filedirs_all()
13
13
  }
14
14
 
15
15
  _mde_echo_version() {
16
- echo "2.0.0"
16
+ echo "2.0.1"
17
17
  }
18
18
 
19
19
  _mde() {
@@ -186,4 +186,4 @@ _mde() {
186
186
 
187
187
  complete -o filenames -o nospace -F _mde mde
188
188
  # _mde_echo_version
189
- # echo "Updated: 2024-02-08 17:51:16 UTC"
189
+ # echo "Updated: 2024-02-09 19:17:33 UTC"
@@ -3,7 +3,7 @@
3
3
 
4
4
  # encoding=utf-8
5
5
 
6
- require_relative 'dev/instance_method_wrapper' # for ImwUx
6
+ # require_relative 'dev/instance_method_wrapper' # for ImwUx
7
7
  require_relative 'env'
8
8
  require_relative 'link_history'
9
9
 
@@ -7,5 +7,5 @@ module MarkdownExec
7
7
  BIN_NAME = 'mde'
8
8
  GEM_NAME = 'markdown_exec'
9
9
  TAP_DEBUG = 'MDE_DEBUG'
10
- VERSION = '2.0.0'
10
+ VERSION = '2.0.1'
11
11
  end
data/lib/menu.src.yml CHANGED
@@ -219,7 +219,7 @@
219
219
  end tell
220
220
 
221
221
  set winHeight to (screenHeight * 2 / 3)
222
- set winWidth to (screenWidth / 2)
222
+ set winWidth to (screenWidth * 2 / 3)
223
223
  set xoff to menubarHeight * %{batch_index}
224
224
  set yoff to xoff mod (screenHeight - winHeight)
225
225
 
@@ -229,9 +229,8 @@
229
229
  tell the current session
230
230
  write text "s=\"%{script_filespec}\""
231
231
  write text "o=\"%{output_filespec}\""
232
- write text "echo -ne \"\\033]; %{started_at} - %{document_filename} - %{block_name} \\007\""
233
232
  write text "cd \"%{home}\""
234
- write text "# \"%{script_filename}\" | tee -a \"%{output_filespec}\""
233
+ write text "echo -ne \"\\033]; %{started_at} - %{document_filename} - %{block_name} \\007\""
235
234
  write text "\"$s\" | tee -a \"$o\""
236
235
  end tell
237
236
  end tell
data/lib/menu.yml CHANGED
@@ -1,4 +1,4 @@
1
- # MDE - Markdown Executor (2.0.0)
1
+ # MDE - Markdown Executor (2.0.1)
2
2
  ---
3
3
  - :description: Show current configuration values
4
4
  :procname: show_config
@@ -183,16 +183,15 @@
183
183
  tell\n tell application process \"Finder\"\n set {missing
184
184
  value, menubarHeight} to the size of menu bar 1\n end tell\n end
185
185
  tell\n\n set winHeight to (screenHeight * 2 / 3)\n set winWidth
186
- to (screenWidth / 2)\n set xoff to menubarHeight * %{batch_index}\n set
187
- yoff to xoff mod (screenHeight - winHeight)\n \n create window with
188
- default profile\n tell the first window\n set bounds to {xoff,
189
- yoff, xoff + winWidth, yoff + winHeight}\n tell the current session\n
190
- \ write text \"s=\\\"%{script_filespec}\\\"\"\n write
191
- text \"o=\\\"%{output_filespec}\\\"\"\n write text \"echo -ne \\\"\\\\033];
192
- %{started_at} - %{document_filename} - %{block_name} \\\\007\\\"\"\n write
193
- text \"cd \\\"%{home}\\\"\"\n write text \"# \\\"%{script_filename}\\\"
194
- | tee -a \\\"%{output_filespec}\\\"\"\n write text \"\\\"$s\\\"
195
- | tee -a \\\"$o\\\"\"\n end tell\n end tell\n end tell'\n"
186
+ to (screenWidth * 2 / 3)\n set xoff to menubarHeight * %{batch_index}\n
187
+ \ set yoff to xoff mod (screenHeight - winHeight)\n \n create
188
+ window with default profile\n tell the first window\n set bounds
189
+ to {xoff, yoff, xoff + winWidth, yoff + winHeight}\n tell the current
190
+ session\n write text \"s=\\\"%{script_filespec}\\\"\"\n write
191
+ text \"o=\\\"%{output_filespec}\\\"\"\n write text \"cd \\\"%{home}\\\"\"\n
192
+ \ write text \"echo -ne \\\"\\\\033]; %{started_at} - %{document_filename}
193
+ - %{block_name} \\\\007\\\"\"\n write text \"\\\"$s\\\" | tee -a
194
+ \\\"$o\\\"\"\n end tell\n end tell\n end tell'\n"
196
195
  :description: execute_command_format
197
196
  :env_var: MDE_EXECUTE_COMMAND_FORMAT
198
197
  :opt_name: execute_command_format
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fareed Stevenson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-08 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard