markdown_to_simple_html 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6de54e819420f16a85ffa02a971d8796a1f2d39a
4
- data.tar.gz: b2bdb3dc595f1f1fdb09610a503f9666aff7b97d
3
+ metadata.gz: 99e7fd121bb36ad677926d491709ae8f3ffd6717
4
+ data.tar.gz: 9a3a166f56ca484d8135ed572f6808a2451c4fd0
5
5
  SHA512:
6
- metadata.gz: 53132244e17b34c524dc30313e75a84aefbd2db7a1a52dd0695e0236e2ac90971af8837be82c2bdf7cb3c2dac2104b1b346abcc4b2147a1da7656d6c416885b6
7
- data.tar.gz: ca51cdddab62c9cf8af51e73deea3b9968558cd608698f523a217f2fbbcd97d81b7d1bfc979f7dbff61f39ee69a82b3c716948d61d3e71584b434651ccf9cbad
6
+ metadata.gz: 0d6e54a46b5f8167fc384cd3dc34538b82d9b8befdd9803757a704912d7df81121ea1240a64b5ecdec5b0355acfc72f559fe0579c5d13c638b5c3262792548a2
7
+ data.tar.gz: 314b55852d6be32f872377a188cb2ca5f9d6b3e644fc81ea302753ddb7c3723371521edefdf426afba2db6aff3e6d02b798cc6d4ad5c67406024443b01ae80b1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Markdown To Simple Html
1
+ # Markdown To Simple HTML
2
2
 
3
- This is just a simple Ruby Gem for parsing any Markdown File to a Simple HTML FILE.
3
+ This is just a simple Ruby Gem for parsing any Markdown File to a Simple HTML File.
4
4
 
5
5
  ## Installation
6
6
 
@@ -22,6 +22,10 @@ just type your markdown filename but no .md, for example(test.md), type:
22
22
 
23
23
  $ test
24
24
 
25
+ and if your are using Mac OSX, then your default browser will be opened.
26
+
27
+ Enjoy it!
28
+
25
29
  ## Contributing
26
30
 
27
31
  1. Fork it
data/bin/md CHANGED
@@ -16,3 +16,5 @@ html_file.write(markdown_parser.to_html)
16
16
  html_file.close()
17
17
 
18
18
  puts "Created Successfully!"
19
+
20
+ system("open", "#{Dir.pwd}/#{filename}.html")
@@ -7,7 +7,6 @@ module MarkdownToSimpleHtml
7
7
  def initialize(filename)
8
8
  @contents = IO.readlines("#{filename}.md").join
9
9
  @parser = Redcarpet::Markdown.new(Redcarpet::Render::HTML, :autolink => true, :hard_wrap => true)
10
-
11
10
  end
12
11
 
13
12
  def to_html
@@ -1,3 +1,3 @@
1
1
  module MarkdownToSimpleHtml
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_to_simple_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-18 00:00:00.000000000 Z
11
+ date: 2014-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler