norr-prince-ruby 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -15,7 +15,7 @@ Prince is a computer program that converts XML and HTML into PDF documents.
15
15
  Prince can read many XML formats, including XHTML and SVG.
16
16
  Prince formats documents according to style sheets written in CSS.
17
17
 
18
- http://www.princexml.com/
18
+ http://www.princexml.com
19
19
 
20
20
  == Notes
21
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/prince-ruby.rb CHANGED
@@ -33,7 +33,7 @@ class Prince
33
33
 
34
34
  # Makes a pdf from a passed in string (html).
35
35
  #
36
- def html2pdf_to_string(string)
36
+ def html_to_string(string)
37
37
  path = self.exe_path()
38
38
  # set up to take IO as input and output
39
39
  path << " --input=html - -o -"
@@ -49,7 +49,7 @@ class Prince
49
49
  # Makes a pdf from a passed in string (html) and saves to file specified
50
50
  # returns true / false if it everything completed ok
51
51
  #
52
- def html2pdf_to_file(string, file)
52
+ def html_to_file(string, file)
53
53
  path = self.exe_path()
54
54
  # set up to take IO as input and output
55
55
  path << " --input=html - -o #{file}"
@@ -60,4 +60,4 @@ class Prince
60
60
  # see if everything finished ok
61
61
  $?.exitstatus == 0
62
62
  end
63
- end
63
+ end
data/prince-ruby.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{prince-ruby}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Nicholas Orr"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norr-prince-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Orr