preflight 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.
data/CHANGELOG CHANGED
@@ -1,2 +1,5 @@
1
+ v0.0.2 (1st April 2011)
2
+ * fix possible execption in MinPpi rule
3
+
1
4
  v0.0.1 (27th March 2011)
2
5
  * initial release
@@ -45,6 +45,8 @@ module Preflight
45
45
  # space it's being crammed into and therefore the PPI.
46
46
  #
47
47
  def invoke_xobject(label)
48
+ return unless @images[label]
49
+
48
50
  sample_w, sample_h = *@images[label]
49
51
  device_w = pt2in(@last_matrix[0])
50
52
  device_h = pt2in(@last_matrix[3])
data/lib/preflight.rb CHANGED
@@ -7,5 +7,5 @@ require 'preflight/rules'
7
7
  require 'preflight/profiles'
8
8
 
9
9
  module Preflight
10
- VERSION = "0.0.1"
10
+ VERSION = "0.0.2"
11
11
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - James Healy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-28 00:00:00 +11:00
17
+ date: 2011-04-01 00:00:00 +11:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency