gfm-preview 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # gfm-previw
1
+ # gfm-preview
2
2
 
3
3
  GFM (Github Flavored Markdown) preview server.
4
4
 
@@ -35,7 +35,7 @@ module GfmPreview
35
35
  if options[:open_browser] && system("which open")
36
36
  pid = fork
37
37
  if pid.nil?
38
- exec("open http://localhost:#{options[:port]}/")
38
+ exec("open http://#{options[:address]}:#{options[:port]}/")
39
39
  exit!(0)
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module GfmPreview
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gfm-preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: