mdpreview 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Mdpreview
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/mdpreview.rb CHANGED
@@ -13,7 +13,7 @@ module Mdpreview
13
13
  #获得当前执行文件的完整路径
14
14
  # puts Pathname.new(__FILE__).realpath
15
15
  #获得当前执行文件的目录完整路径
16
- path = Pathname.new(File.expand_path('../vendor/ed/mdp.html', __FILE__)).realpath
16
+ path = Pathname.new(File.expand_path('../../vendor/ed/mdp.html', __FILE__)).realpath
17
17
  `open #{path}`
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdpreview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: