markdown_exec 0.1.1 → 0.1.2

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: 57da333a75458ce1ba2d67c92ee1be458418df6a008f41a89c3545dc0afb94ed
4
- data.tar.gz: 4d0c80082485dc50bdb1460adcf101b8ddba65da7d6406d93c1824fd21f9fe95
3
+ metadata.gz: d9bea3a54afa348fb845a58f5878a0ffaa7c1054c3ddcb3444d67a8ab82f3f33
4
+ data.tar.gz: 3c305eb76fc06e013f38978144d668d864a67903d2be9a9de8eaa1e0f221c448
5
5
  SHA512:
6
- metadata.gz: 2f425417848f457325a54d6b8b72f4ecc6f9a5a4ab5ce334b7e1ac93f8760657f9e52c6c2713dcb645d5c9b6a2b1a8cfa99e6a6ef9640cc87e3401a84fff15b2
7
- data.tar.gz: 89ad4e3849de542cee33ad65f7bc6185a8f2cda880fec6d94d5f2c1657e957ad33a1c364cf89c56f5fa4999ffea5d5bba7287ebbf747c845307bc80540f0ff21
6
+ metadata.gz: 3ba10e7a6a74ad1d13c08c3f19ec7ccde273df98a15194022fd803088bfa5c11a880a1f2b094b9b9e9f8979a998b480afd133252bf7b5e960bd2a7f856f26c2f
7
+ data.tar.gz: 3e031e16cf98a6301677d05caf09da89c227a32139c62f2844567e73acb5404171aa204a0bbf823844afab4e29a54894161f12a585d57e5223e304e587f96e2b
data/README.md CHANGED
@@ -1,38 +1,38 @@
1
1
  # MarkdownExec
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/markdown_exec`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This gem allows you to run code blocks in markdown files.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ * Code blocks can be named.
6
6
 
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'markdown_exec'
13
- ```
7
+ * Named blocks can be required by other blocks.
14
8
 
15
- And then execute:
9
+ * The selected code block, and all required blocks, are collected in the order they appear in the markdown file.
16
10
 
17
- $ bundle install
11
+ ## Installation
18
12
 
19
- Or install it yourself as:
13
+ Install:
20
14
 
21
15
  $ gem install markdown_exec
22
16
 
23
17
  ## Usage
24
18
 
25
- TODO: Write usage instructions here
19
+ `mde --help`
20
+ Displays help information.
26
21
 
27
- ## Development
22
+ `mde`
23
+ Process `README.md` file in the current directory. Displays all the blocks in the file and allows you to select using [up], [down], and [return]. Press [ctrl]-c to abort selection.
28
24
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
25
+ `mde -f my.md`
26
+ Process `my.md` file in the current directory.
30
27
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+ `mde -p child`
29
+ Process markdown files in the `child` directory.
32
30
 
33
- ## Contributing
31
+ `mde --list-blocks`
32
+ List all blocks in the selected files.
34
33
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/markdown_exec. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/markdown_exec/blob/master/CODE_OF_CONDUCT.md).
34
+ `mde --list-docs`
35
+ List all markdown documents in the selected folder.
36
36
 
37
37
  ## License
38
38
 
@@ -41,26 +41,3 @@ The gem is available as open source under the terms of the [MIT License](https:/
41
41
  ## Code of Conduct
42
42
 
43
43
  Everyone interacting in the MarkdownExec project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/markdown_exec/blob/master/CODE_OF_CONDUCT.md).
44
-
45
- # 2022-03-06
46
- ```
47
- gem build markdown_exec.gemspec
48
- ```
49
- ```expect
50
- Successfully built RubyGem
51
- Name: markdown_exec
52
- Version: 0.0.1
53
- File: markdown_exec-0.0.1.gem
54
- ```
55
- ```
56
- gem install ./markdown_exec-0.0.1.gem
57
- ```
58
- ```
59
- gem list | grep exec
60
- ```
61
- ```
62
- gem uninstall markdown_exec
63
- ```
64
- pusher api key: rubygems_8c4b38ef685484719858c53c3161a124c15d7a9bec6cb65a
65
-
66
- gem push markdown_exec-0.0.1.gem
@@ -4,5 +4,5 @@ module MarkdownExec
4
4
  APP_NAME = 'MDE'
5
5
  APP_DESC = 'Markdown block executor'
6
6
  GEM_NAME = 'markdown_exec'
7
- VERSION = '0.1.1'
7
+ VERSION = '0.1.2'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fareed Stevenson