acrobat 0.0.8 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +31 -31
- data/History.adoc +6 -6
- data/LICENSE.adoc +22 -22
- data/Manifest.txt +14 -15
- data/README.adoc +117 -117
- data/Rakefile +58 -48
- data/bin/acrobat +3 -3
- data/lib/acrobat.rb +48 -48
- data/lib/acrobat/app.rb +187 -187
- data/lib/acrobat/jso.rb +94 -94
- data/lib/acrobat/pdoc.rb +137 -127
- data/test/acrobat_test.rb +36 -36
- data/test/test_helper.rb +13 -13
- metadata +43 -63
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -1
- data/.autotest +0 -25
- metadata.gz.sig +0 -2
data/test/acrobat_test.rb
CHANGED
@@ -1,36 +1,36 @@
|
|
1
|
-
require_relative 'test_helper'
|
2
|
-
|
3
|
-
|
4
|
-
require "acrobat"
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
module Acrobat
|
9
|
-
|
10
|
-
describe App do
|
11
|
-
|
12
|
-
|
13
|
-
describe 'new' do
|
14
|
-
|
15
|
-
it 'works' do
|
16
|
-
assert true
|
17
|
-
end
|
18
|
-
|
19
|
-
|
20
|
-
it 'can be created' do
|
21
|
-
app = App.new
|
22
|
-
app.must_be_instance_of App
|
23
|
-
end
|
24
|
-
|
25
|
-
it 'has an ole_obj' do
|
26
|
-
app = App.new
|
27
|
-
app.ole_obj.must_be_instance_of WIN32OLE
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
31
|
-
|
32
|
-
|
33
|
-
end
|
34
|
-
|
35
|
-
|
36
|
-
end
|
1
|
+
require_relative 'test_helper'
|
2
|
+
|
3
|
+
|
4
|
+
require "acrobat"
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
module Acrobat
|
9
|
+
|
10
|
+
describe App do
|
11
|
+
|
12
|
+
|
13
|
+
describe 'new' do
|
14
|
+
|
15
|
+
it 'works' do
|
16
|
+
assert true
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
it 'can be created' do
|
21
|
+
app = App.new
|
22
|
+
app.must_be_instance_of App
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'has an ole_obj' do
|
26
|
+
app = App.new
|
27
|
+
app.ole_obj.must_be_instance_of WIN32OLE
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
|
36
|
+
end
|
data/test/test_helper.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
-
|
3
|
-
if RUBY_VERSION < '1.9.3'
|
4
|
-
::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require File.join(File.dirname(f), File.basename(f, '.rb')) }
|
5
|
-
else
|
6
|
-
::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require_relative f }
|
7
|
-
end
|
8
|
-
|
9
|
-
|
10
|
-
require 'minitest/spec'
|
11
|
-
require 'minitest/autorun'
|
12
|
-
#require 'minitest/focus'
|
13
|
-
#require 'minitest/utils'
|
1
|
+
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
+
|
3
|
+
if RUBY_VERSION < '1.9.3'
|
4
|
+
::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require File.join(File.dirname(f), File.basename(f, '.rb')) }
|
5
|
+
else
|
6
|
+
::Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require_relative f }
|
7
|
+
end
|
8
|
+
|
9
|
+
|
10
|
+
require 'minitest/spec'
|
11
|
+
require 'minitest/autorun'
|
12
|
+
#require 'minitest/focus'
|
13
|
+
#require 'minitest/utils'
|
metadata
CHANGED
@@ -1,40 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acrobat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
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Hc8Ca+WsXZKhFxmn+ucN9sRgMB0GA1Ud
|
26
|
-
EQQWMBSBEmRzaXNuZXJvQGdtYWlsLmNvbTAdBgNVHRIEFjAUgRJkc2lzbmVyb0Bn
|
27
|
-
bWFpbC5jb20wDQYJKoZIhvcNAQELBQADggGBABZGwLTkRYYdfrlXSoxITxVb13id
|
28
|
-
fE4libPxIwMaJ+T78pwfFnPMFNmPFwSDZInzfZExsNxlxrkBFKXDZSHD4TFSUS5O
|
29
|
-
nmenPGns6K7kjwMVq9hLm4kMEZnKX5vq6YO/YbJbVJMn+sCiDb9nphL+HlkZ1YDe
|
30
|
-
Q6vlynaKWlzN2Dv2NIYxcGLYff+kTQZNsuCL5GF8O3C+WQpIe5Dy2foA7b6RTbNI
|
31
|
-
1ZHlj2wGWQ2ooLnkwKMJsOHTe5U12Aub/1dFFk+NsK8cXiP//5eipvtI6z/QY34C
|
32
|
-
I0E/5rKu54YgiKt1Waa6+JmM1k+kpakAYi2JwpyF8GyxM1UHuzcg/b0molfdS9gD
|
33
|
-
B2MEh8WYqwy827jl4vUZYuoquOG1Z83fN6ehSVro4yqbTkmPtOFTeFt/mUGMKC90
|
34
|
-
GkZB86BODcU2ZIxvw1AkKmr0YgWPfYunalhX5FirP9guVLlaoeJwn1wMf8ghBOrp
|
35
|
-
tvCvgfI163rqmb9syMyTmNffdkGy6U2IIja7hw==
|
36
|
-
-----END CERTIFICATE-----
|
37
|
-
date: 2018-04-23 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
38
12
|
dependencies:
|
39
13
|
- !ruby/object:Gem::Dependency
|
40
14
|
name: minitest
|
@@ -42,42 +16,42 @@ dependencies:
|
|
42
16
|
requirements:
|
43
17
|
- - "~>"
|
44
18
|
- !ruby/object:Gem::Version
|
45
|
-
version: '5.
|
19
|
+
version: '5.14'
|
46
20
|
type: :development
|
47
21
|
prerelease: false
|
48
22
|
version_requirements: !ruby/object:Gem::Requirement
|
49
23
|
requirements:
|
50
24
|
- - "~>"
|
51
25
|
- !ruby/object:Gem::Version
|
52
|
-
version: '5.
|
26
|
+
version: '5.14'
|
53
27
|
- !ruby/object:Gem::Dependency
|
54
|
-
name: hoe-
|
28
|
+
name: hoe-bundler
|
55
29
|
requirement: !ruby/object:Gem::Requirement
|
56
30
|
requirements:
|
57
|
-
- - "
|
31
|
+
- - "~>"
|
58
32
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
33
|
+
version: '1.4'
|
60
34
|
type: :development
|
61
35
|
prerelease: false
|
62
36
|
version_requirements: !ruby/object:Gem::Requirement
|
63
37
|
requirements:
|
64
|
-
- - "
|
38
|
+
- - "~>"
|
65
39
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
40
|
+
version: '1.4'
|
67
41
|
- !ruby/object:Gem::Dependency
|
68
|
-
name: hoe-
|
42
|
+
name: hoe-yard
|
69
43
|
requirement: !ruby/object:Gem::Requirement
|
70
44
|
requirements:
|
71
|
-
- - "
|
45
|
+
- - ">"
|
72
46
|
- !ruby/object:Gem::Version
|
73
|
-
version: '1
|
47
|
+
version: '0.1'
|
74
48
|
type: :development
|
75
49
|
prerelease: false
|
76
50
|
version_requirements: !ruby/object:Gem::Requirement
|
77
51
|
requirements:
|
78
|
-
- - "
|
52
|
+
- - ">"
|
79
53
|
- !ruby/object:Gem::Version
|
80
|
-
version: '1
|
54
|
+
version: '0.1'
|
81
55
|
- !ruby/object:Gem::Dependency
|
82
56
|
name: pry
|
83
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,21 +109,21 @@ dependencies:
|
|
135
109
|
- !ruby/object:Gem::Version
|
136
110
|
version: '0.0'
|
137
111
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
112
|
+
name: guard-minitest
|
139
113
|
requirement: !ruby/object:Gem::Requirement
|
140
114
|
requirements:
|
141
115
|
- - ">"
|
142
116
|
- !ruby/object:Gem::Version
|
143
|
-
version: '0.
|
117
|
+
version: '0.0'
|
144
118
|
type: :development
|
145
119
|
prerelease: false
|
146
120
|
version_requirements: !ruby/object:Gem::Requirement
|
147
121
|
requirements:
|
148
122
|
- - ">"
|
149
123
|
- !ruby/object:Gem::Version
|
150
|
-
version: '0.
|
124
|
+
version: '0.0'
|
151
125
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
126
|
+
name: asciidoctor
|
153
127
|
requirement: !ruby/object:Gem::Requirement
|
154
128
|
requirements:
|
155
129
|
- - ">"
|
@@ -163,33 +137,39 @@ dependencies:
|
|
163
137
|
- !ruby/object:Gem::Version
|
164
138
|
version: '0.0'
|
165
139
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
140
|
+
name: rdoc
|
167
141
|
requirement: !ruby/object:Gem::Requirement
|
168
142
|
requirements:
|
169
|
-
- - "
|
143
|
+
- - ">="
|
170
144
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
145
|
+
version: '4.0'
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '7'
|
172
149
|
type: :development
|
173
150
|
prerelease: false
|
174
151
|
version_requirements: !ruby/object:Gem::Requirement
|
175
152
|
requirements:
|
176
|
-
- - "
|
153
|
+
- - ">="
|
177
154
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
155
|
+
version: '4.0'
|
156
|
+
- - "<"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '7'
|
179
159
|
- !ruby/object:Gem::Dependency
|
180
160
|
name: hoe
|
181
161
|
requirement: !ruby/object:Gem::Requirement
|
182
162
|
requirements:
|
183
163
|
- - "~>"
|
184
164
|
- !ruby/object:Gem::Version
|
185
|
-
version: '3.
|
165
|
+
version: '3.22'
|
186
166
|
type: :development
|
187
167
|
prerelease: false
|
188
168
|
version_requirements: !ruby/object:Gem::Requirement
|
189
169
|
requirements:
|
190
170
|
- - "~>"
|
191
171
|
- !ruby/object:Gem::Version
|
192
|
-
version: '3.
|
172
|
+
version: '3.22'
|
193
173
|
description: |-
|
194
174
|
<div class="paragraph">
|
195
175
|
<p>The acrobat gem is a library that uses WIN32OLE to automate pdf functions. Adobe Reader or Adobe Acrobat must be installed and then you can fill forms and merge documents</p>
|
@@ -201,9 +181,7 @@ executables:
|
|
201
181
|
extensions: []
|
202
182
|
extra_rdoc_files:
|
203
183
|
- Manifest.txt
|
204
|
-
- History.adoc
|
205
184
|
files:
|
206
|
-
- ".autotest"
|
207
185
|
- ".gitignore"
|
208
186
|
- Guardfile
|
209
187
|
- History.adoc
|
@@ -221,12 +199,15 @@ files:
|
|
221
199
|
homepage: https://github.com/dsisnero/acrobat
|
222
200
|
licenses:
|
223
201
|
- MIT
|
224
|
-
metadata:
|
225
|
-
|
202
|
+
metadata:
|
203
|
+
homepage_uri: https://github.com/dsisnero/acrobat
|
204
|
+
bug_tracker_uri: https://github.com/dsisnero/acrobat/issues
|
205
|
+
source_code_uri: https://github.com/dsisnero/acrobat
|
206
|
+
changelog_uri: https://github.com/dsisnero/acrobat/blob/master/CHANGELOG.adoc
|
207
|
+
post_install_message:
|
226
208
|
rdoc_options:
|
227
|
-
- "--
|
228
|
-
-
|
229
|
-
- "--quiet"
|
209
|
+
- "--main"
|
210
|
+
- README.adoc
|
230
211
|
require_paths:
|
231
212
|
- lib
|
232
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -240,9 +221,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
221
|
- !ruby/object:Gem::Version
|
241
222
|
version: '0'
|
242
223
|
requirements: []
|
243
|
-
|
244
|
-
|
245
|
-
signing_key:
|
224
|
+
rubygems_version: 3.2.14
|
225
|
+
signing_key:
|
246
226
|
specification_version: 4
|
247
227
|
summary: <div class="paragraph"> <p>The acrobat gem is a library that uses WIN32OLE
|
248
228
|
to automate pdf functions
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
X"����Ƙ�tŊ�����^���w���Q��<ͥ��sBO��n���������0k��=b�Q��e4���(�#LS�{o������T�i(�e'N��/�����G��S*Z���%���T�@��4��J�K�¿�֕S��L*5xu�TH�bX��W���n��_
|
data/.autotest
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require "autotest/restart"
|
4
|
-
|
5
|
-
# Autotest.add_hook :initialize do |at|
|
6
|
-
# at.testlib = "minitest/unit"
|
7
|
-
#
|
8
|
-
# at.extra_files << "../some/external/dependency.rb"
|
9
|
-
#
|
10
|
-
# at.libs << ":../some/external"
|
11
|
-
#
|
12
|
-
# at.add_exception "vendor"
|
13
|
-
#
|
14
|
-
# at.add_mapping(/dependency.rb/) do |f, _|
|
15
|
-
# at.files_matching(/test_.*rb$/)
|
16
|
-
# end
|
17
|
-
#
|
18
|
-
# %w(TestA TestB).each do |klass|
|
19
|
-
# at.extra_class_map[klass] = "test/test_misc.rb"
|
20
|
-
# end
|
21
|
-
# end
|
22
|
-
|
23
|
-
# Autotest.add_hook :run_command do |at|
|
24
|
-
# system "rake build"
|
25
|
-
# end
|
metadata.gz.sig
DELETED