transmuter 0.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in transmuter.gemspec
4
+ gemspec
@@ -0,0 +1,37 @@
1
+ # Transmuter
2
+
3
+ Transmuter is a command line tool to convert Markdown files into HTML or PDF
4
+ files, it can also be used to convert HTML files to PDF, it uses in the
5
+ backgound [Redcarper](https://github.com/tanoku/redcarpet),
6
+ [Albino](https://github.com/github/albino) and
7
+ [PDFkit](https://github.com/jdpace/PDFKit).
8
+
9
+ # Installation
10
+
11
+ To install Transmuter use the command
12
+
13
+ ```bash
14
+ $ gem install transmuter
15
+ ```
16
+
17
+ You also need to install (as a requirements),
18
+ [*pygments*](http://pygments.org/) (needed by Albino) and
19
+ [*WKHTMLTOPDF*](http://wkhtmltopdf.googlecode.com/) (needed by PDFkit)
20
+
21
+ ## Pygments
22
+
23
+ You can install pygments using *easy_install* provided by Python
24
+
25
+ ```bash
26
+ $ sudo easy_install pygments
27
+ ```
28
+
29
+ ## WKHTMLTOPDF
30
+
31
+ 1. Install by hand (recommended):
32
+
33
+ <https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF>
34
+
35
+ 2. Try using the wkhtmltopdf-binary gem (mac + linux i386)
36
+
37
+ gem install wkhtmltopdf-binary
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,5 @@
1
+ require "transmuter/version"
2
+
3
+ module Transmuter
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,8 @@
1
+ module Transmuter
2
+ MAJOR = 0
3
+ MINOR = 0
4
+ BUILD = 0
5
+ REVISION = 1
6
+
7
+ VERSION = [MAJOR, MINOR, BUILD, REVISION].join('.')
8
+ end
@@ -0,0 +1,18 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "transmuter/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "transmuter"
7
+ s.version = Transmuter::VERSION
8
+ s.authors = ["Wael Nasreddine"]
9
+ s.email = ["wael.nasreddine@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{convert markdown to HTML or PDF.}
12
+ s.description = %q{convert markdown to HTML or PDF.}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ["lib"]
18
+ end
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: transmuter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Wael Nasreddine
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-02 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: convert markdown to HTML or PDF.
15
+ email:
16
+ - wael.nasreddine@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - Gemfile
23
+ - README.md
24
+ - Rakefile
25
+ - lib/transmuter.rb
26
+ - lib/transmuter/version.rb
27
+ - transmuter.gemspec
28
+ homepage: ''
29
+ licenses: []
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ requirements: []
47
+ rubyforge_project:
48
+ rubygems_version: 1.8.10
49
+ signing_key:
50
+ specification_version: 3
51
+ summary: convert markdown to HTML or PDF.
52
+ test_files: []