mdless 2.1.29 → 2.1.30

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: 29023fcb96091ac56b2c9d6b444006aa2df135bf40b785a0a7146fdbadfb1108
4
+ data.tar.gz: 2f64d0e7a96d3065e4d689b8f9841a354d6c9e9a88cef1a3cec9a5b73afcd85f
5
5
  SHA512:
6
- metadata.gz: b52a6501909c93927e508419298a767aeb759c661b45c877feb33b72caa9f512146ab5fc67a41530666328e5e37ebc53bf25979b0340ee50666433e85f2df920
7
- data.tar.gz: da7f8a1949c56474461847ca9b66fccc1dea888552976b2e00b3dea12a250ba3c28cc70bf2496a1293171c4c17300779f68c228ff24ddf9068ff08046492db6e
6
+ metadata.gz: 442f19f7fb3c7c773df2e1995d84bcbd9e27e5d172cfd8e681d76b1e1a4ac0b672162961872fefb7f08ee7b22a636a4c6e9cae75e6688df59ea50b1d89a15a92
7
+ data.tar.gz: c202bb1a4053b616efb5df0a3ceb5eb43304a98d2179c107e2b870adee41002923080728e6563fd8fe88330838ab1840652e2d7e45d412ca3eadfe0ea2fc7911
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.30'
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.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra