fn_document 0.9.17 → 0.9.18

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.17
1
+ 0.9.18
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fn_document"
8
- s.version = "0.9.17"
8
+ s.version = "0.9.18"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Colgate Clark", "Kyle Maxwell"]
@@ -116,7 +116,7 @@ module FN
116
116
  # image = doc.resource(block.src).path_from(root)
117
117
  # tmp = Magick::Image::read(image).first
118
118
  # http://stackoverflow.com/questions/7264895/rmagick-can-not-read-remote-image
119
- image = open(doc.resource(block.src))
119
+ image = open(doc.resource(block.src).path_from(root))
120
120
  tmp = Magick::Image::from_blob(image.read).first
121
121
  dims = [tmp.columns.to_f, tmp.rows.to_f]
122
122
  x, y, width, height = calculate(block, dims)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fn_document
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.17
4
+ version: 0.9.18
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -215,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
215
  version: '0'
216
216
  segments:
217
217
  - 0
218
- hash: 1328308713880127
218
+ hash: -71176619020166343
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  none: false
221
221
  requirements: