drnic-princely 1.2.1 → 1.2.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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/princely.rb +1 -0
  3. data/princely.gemspec +2 -2
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
data/lib/princely.rb CHANGED
@@ -27,6 +27,7 @@ class Princely
27
27
  def initialize()
28
28
  # Finds where the application lives, so we can call it.
29
29
  @exe_path = `which prince`.chomp
30
+ raise "Cannot find prince command-line app in $PATH" if @exe_path.length == 0
30
31
  @style_sheets = ''
31
32
  @log_file = "#{RAILS_ROOT}/log/prince.log"
32
33
  @logger = RAILS_DEFAULT_LOGGER
data/princely.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{princely}
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Bleigh", "Seth from Subimage Interactive"]
12
- s.date = %q{2009-08-21}
12
+ s.date = %q{2009-08-24}
13
13
  s.description = %q{A wrapper for the PrinceXML PDF generation library based on article by Seth from Subimage Interactive at http://sublog.subimage.com/2007/05/29/html-css-to-pdf-using-ruby-on-rails}
14
14
  s.email = %q{michael@intridea.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drnic-princely
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-08-21 00:00:00 -07:00
13
+ date: 2009-08-24 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16