prawn-fillform 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/examples/main.rb +0 -1
- data/lib/prawn-fillform/version.rb +1 -1
- data/lib/prawn-fillform.rb +4 -4
- data/prawn-fillform.gemspec +0 -1
- metadata +9 -29
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2fd8569a30534f119b6ab8b62a38aa8923c4234c
|
4
|
+
data.tar.gz: 6edafae6e58c8226cdb318690140a8a54221e852
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dfb836ad7abbffef0b7d47cba49c685f90581dbf4d02a0754a762f2550eb910152f7abb67fb665463549cf3be7dd75edfca751cf0b92387ff69a304b4cdf87c8
|
7
|
+
data.tar.gz: c8d8420121c1e57bfead121479d36bdfc496233318176759f1d56f21b1b9a723e76a06b30d2b575751e625d79111fb4946c1a01d7cab89bd0baca9b9ca88d21f
|
data/.gitignore
CHANGED
data/examples/main.rb
CHANGED
data/lib/prawn-fillform.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
require 'prawn-fillform/version'
|
3
3
|
require 'open-uri'
|
4
|
-
require 'active_support/all'
|
5
4
|
|
6
5
|
OpenURI::Buffer.send :remove_const, 'StringMax' if OpenURI::Buffer.const_defined?('StringMax')
|
7
6
|
OpenURI::Buffer.const_set 'StringMax', 0
|
@@ -221,9 +220,10 @@ module Prawn
|
|
221
220
|
number = page.to_s.split("_").last.to_i
|
222
221
|
go_to_page(number)
|
223
222
|
|
224
|
-
|
225
|
-
|
226
|
-
|
223
|
+
value = data[page][field.name].fetch(:value) rescue nil
|
224
|
+
if value.nil?
|
225
|
+
value = data[field.name].fetch(:value) rescue nil
|
226
|
+
end
|
227
227
|
options = field_hash.fetch(:options) rescue nil
|
228
228
|
options ||= {}
|
229
229
|
|
data/prawn-fillform.gemspec
CHANGED
metadata
CHANGED
@@ -1,46 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-fillform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.19
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Maurice Hadamczyk
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-03-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: prawn
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: activesupport
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
24
|
+
- - '>='
|
44
25
|
- !ruby/object:Gem::Version
|
45
26
|
version: '0'
|
46
27
|
description:
|
@@ -63,26 +44,25 @@ files:
|
|
63
44
|
- prawn-fillform.gemspec
|
64
45
|
homepage: ''
|
65
46
|
licenses: []
|
47
|
+
metadata: {}
|
66
48
|
post_install_message:
|
67
49
|
rdoc_options: []
|
68
50
|
require_paths:
|
69
51
|
- lib
|
70
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
53
|
requirements:
|
73
|
-
- -
|
54
|
+
- - '>='
|
74
55
|
- !ruby/object:Gem::Version
|
75
56
|
version: '0'
|
76
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
58
|
requirements:
|
79
|
-
- -
|
59
|
+
- - '>='
|
80
60
|
- !ruby/object:Gem::Version
|
81
61
|
version: '0'
|
82
62
|
requirements: []
|
83
63
|
rubyforge_project: prawn-fillform
|
84
|
-
rubygems_version:
|
64
|
+
rubygems_version: 2.0.0.rc.2
|
85
65
|
signing_key:
|
86
|
-
specification_version:
|
66
|
+
specification_version: 4
|
87
67
|
summary: fill text and images through acroform fields
|
88
68
|
test_files: []
|