prawn-fillform 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/lib/prawn-fillform/version.rb +1 -1
- data/lib/prawn-fillform.rb +4 -2
- data/prawn-fillform.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
data/lib/prawn-fillform.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
require 'prawn-fillform/version'
|
3
3
|
require 'open-uri'
|
4
|
+
require 'active_support/all'
|
5
|
+
|
4
6
|
OpenURI::Buffer.send :remove_const, 'StringMax' if OpenURI::Buffer.const_defined?('StringMax')
|
5
7
|
OpenURI::Buffer.const_set 'StringMax', 0
|
6
8
|
|
7
9
|
module Prawn
|
8
10
|
|
9
11
|
module Fillform
|
10
|
-
|
12
|
+
|
11
13
|
class Field
|
12
14
|
include Prawn::Document::Internals
|
13
15
|
|
@@ -157,7 +159,7 @@ module Prawn
|
|
157
159
|
end
|
158
160
|
end
|
159
161
|
end
|
160
|
-
|
162
|
+
|
161
163
|
module XYOffsets
|
162
164
|
def fillform_x_offset
|
163
165
|
@fillform_x_offset ||= 2
|
data/prawn-fillform.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_dependency "prawn"
|
21
|
-
s.add_dependency "
|
21
|
+
s.add_dependency "activesupport"
|
22
22
|
|
23
23
|
# specify any dependencies here; for example:
|
24
24
|
# s.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-fillform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: prawn
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
31
|
+
name: activesupport
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|