mdless 2.1.29 → 2.1.31

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: 1e5c2be4377b1bad77f8c7f3e0ab932a16ca9339332c91e3bc5f0b7db8c71df2
4
- data.tar.gz: f540f256c1117dab4a9ef0e758f940d3f79a848abe2f15f5b2866e5f2e052656
3
+ metadata.gz: bd4cc6c8d44c59ea403ecf4ac9be42a2eab7469317f70369b5bece3c0a87170b
4
+ data.tar.gz: 9325886af8762b2e2928f893ebb77753d918d26e3097574984da25b33ed9b6c1
5
5
  SHA512:
6
- metadata.gz: b52a6501909c93927e508419298a767aeb759c661b45c877feb33b72caa9f512146ab5fc67a41530666328e5e37ebc53bf25979b0340ee50666433e85f2df920
7
- data.tar.gz: da7f8a1949c56474461847ca9b66fccc1dea888552976b2e00b3dea12a250ba3c28cc70bf2496a1293171c4c17300779f68c228ff24ddf9068ff08046492db6e
6
+ metadata.gz: 1a110d8c49e4622261a299637e2092dea429ac678c265bfb6cd8cf2d5e95a675b2ee79b0e09d89f7f308a2905d168852d977420e5602d9622a7bfb24d8037315
7
+ data.tar.gz: ecb768ac9e8fa4e0c872fb0b03afe14acb8c8fb32a2c3d0805f3e0d4778f830b9f3a40312dd76a0dcec6c8e0498247245ef35baa45ed9e4d5ffb4eb3168d310e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  2.1.26
2
2
 
3
+ 2.1.30
4
+ : Error when $EDITOR is not defined
5
+
3
6
  2.1.29
4
7
  : More code cleanup, help output improvements
5
8
  : Line breaks in help output
@@ -133,7 +133,7 @@ module CLIMarkdown
133
133
  MDLess.options[:autolink] = p
134
134
  end
135
135
 
136
- opts.on('--config', "Open the config file in #{ENV['EDITOR'] || 'default editor'}") do
136
+ opts.on('--config', "Open the config file in default editor") do
137
137
  raise 'No $EDITOR defined' unless ENV['EDITOR']
138
138
 
139
139
  `#{ENV['EDITOR']} '#{File.expand_path('~/.config/mdless/config.yml')}'`
@@ -145,8 +145,7 @@ module CLIMarkdown
145
145
  Process.exit 0
146
146
  end
147
147
 
148
- opts.on('--edit-theme', 'Open the default/specified theme in ' \
149
- "#{File.basename(ENV['EDITOR']) || 'default editor'}, "\
148
+ opts.on('--edit-theme', 'Open the default/specified theme in default editor, '\
150
149
  'populating a new theme if needed. Use after --theme in the command.') do
151
150
  raise 'No $EDITOR defined' unless ENV['EDITOR']
152
151
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CLIMarkdown
4
- VERSION = '2.1.29'
4
+ VERSION = '2.1.31'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.29
4
+ version: 2.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra