markdown_prawn 0.0.1.pre → 0.0.3.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/md2pdf +1 -2
  2. data/markdown_prawn.gemspec +3 -2
  3. metadata +7 -7
data/bin/md2pdf CHANGED
@@ -6,7 +6,6 @@
6
6
  # Takes input from standard in, expected to be a markdown document
7
7
  # and renders a PDF to standard out.
8
8
  #
9
- root = File.expand_path(File.dirname(__FILE__)+ '/../')
10
- load root + '/markdown_prawn.rb'
9
+ require 'markdown_prawn'
11
10
  content = $stdin.read
12
11
  puts MarkdownPrawn::StringParser.new(content).to_pdf.render
@@ -1,7 +1,7 @@
1
- description = "Markdown Parawn is a library and an executable strip which allow you to generate a PDF from any valid Markdown."
1
+ description = "Markdown Parawn is a library and an executable script which allow you to generate a PDF from any valid Markdown."
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "markdown_prawn"
4
- spec.version = '0.0.1.pre'
4
+ spec.version = '0.0.3.pre'
5
5
  spec.platform = Gem::Platform::RUBY
6
6
  spec.files = Dir.glob("{bin,lib,test}/**/**/*") +
7
7
  ["Rakefile", "markdown_prawn.gemspec"]
@@ -18,4 +18,5 @@ Gem::Specification.new do |spec|
18
18
  spec.homepage = "http://ryanstenhouse.eu"
19
19
  spec.summary = description
20
20
  spec.description = description
21
+ spec.executables << 'md2pdf'
21
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_prawn
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915968
4
+ hash: 961915976
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
9
+ - 3
10
10
  - pre
11
- version: 0.0.1.pre
11
+ version: 0.0.3.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Ryan Stenhouse
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: "0.10"
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
- description: Markdown Parawn is a library and an executable strip which allow you to generate a PDF from any valid Markdown.
37
+ description: Markdown Parawn is a library and an executable script which allow you to generate a PDF from any valid Markdown.
38
38
  email: ryan@ryanstenhouse.eu
39
- executables: []
40
-
39
+ executables:
40
+ - md2pdf
41
41
  extensions: []
42
42
 
43
43
  extra_rdoc_files: []
@@ -102,6 +102,6 @@ rubyforge_project: markdown_prawn
102
102
  rubygems_version: 1.3.7
103
103
  signing_key:
104
104
  specification_version: 3
105
- summary: Markdown Parawn is a library and an executable strip which allow you to generate a PDF from any valid Markdown.
105
+ summary: Markdown Parawn is a library and an executable script which allow you to generate a PDF from any valid Markdown.
106
106
  test_files: []
107
107