acrobat 0.0.8 → 0.2.0
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.
- checksums.yaml +4 -4
- data/.standard.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/Guardfile +28 -30
- data/{LICENSE.adoc → LICENSE.txt} +21 -22
- data/README.md +107 -0
- data/Rakefile +10 -48
- data/examples/6030.17.antenna.pdf +0 -0
- data/examples/6030.17.cm300.tx.pdf +0 -0
- data/examples/form_field.rb +21 -0
- data/examples/merge.rb +11 -0
- data/lib/acrobat/app.rb +42 -57
- data/lib/acrobat/jso.rb +18 -25
- data/lib/acrobat/pdoc.rb +49 -42
- data/lib/acrobat/version.rb +5 -0
- data/lib/acrobat.rb +14 -17
- data/samples_other/background.js +40 -0
- data/samples_other/find_word.vb +440 -0
- data/samples_other/form.vb +393 -0
- data/vba/overlay.vba +40 -0
- metadata +34 -217
- checksums.yaml.gz.sig +0 -0
- data/.autotest +0 -25
- data/.gitignore +0 -32
- data/History.adoc +0 -6
- data/Manifest.txt +0 -15
- data/README.adoc +0 -117
- data/bin/acrobat +0 -3
- data/test/acrobat_test.rb +0 -36
- data/test/test_helper.rb +0 -13
- data.tar.gz.sig +0 -1
- metadata.gz.sig +0 -2
    
        metadata
    CHANGED
    
    | @@ -1,249 +1,66 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: acrobat
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.0 | 
| 4 | 
            +
              version: 0.2.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 | 
            -
            -  | 
| 8 | 
            -
            autorequire: | 
| 9 | 
            -
            bindir:  | 
| 10 | 
            -
            cert_chain:
         | 
| 11 | 
            -
            -  | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
              bmVyby9EQz1nbWFpbC9EQz1jb20wHhcNMTgwMjE2MDAxNDE3WhcNMTkwMjE2MDAx
         | 
| 15 | 
            -
              NDE3WjAjMSEwHwYDVQQDDBhkc2lzbmVyby9EQz1nbWFpbC9EQz1jb20wggGiMA0G
         | 
| 16 | 
            -
              CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDm6q2PoCe9lSIK1ShDBHFHkfsxWFaK
         | 
| 17 | 
            -
              v324PCtQtB6rdVBjgAVQ7v2AqMPjJIHfNz9u6FORAmjlNnMlvmvmytUwzRIVX+nH
         | 
| 18 | 
            -
              iR1kUKbDbzl3sPizBz9Vy2GV1TC0nkXge5w7aCu1D+7d1RMmVflAm1JIGTSJG/Jd
         | 
| 19 | 
            -
              IyVWh1ErMMmz8BLej2KNFQcPCieXN7pt2Kp4hfcJMqQF0KcxBYktyxLu0cDDYZZZ
         | 
| 20 | 
            -
              eH0RFikmsmE1+wGguRTU4D2Nr7l3PkUIznqRQ3MH6ICrpKAtupJbpe4ZE9j3CYpo
         | 
| 21 | 
            -
              LKgyjrMFG2LrXs6QbtdKO6WQoC0fnXOjGDCbbUxwMvktSa1tKNwbgDxFTM/tprIe
         | 
| 22 | 
            -
              MlNyNjwZiuxAdZZq375rTIrRCgjci5dBIlRF5M9fTSDB7ZY3jD1RMFtqWeMQLgrC
         | 
| 23 | 
            -
              HkteXipuuFCe7Au/qFxV+iJwii6FswS5Ysa+TjFt9TXfebcKpMIsyRqQKE1w6oNu
         | 
| 24 | 
            -
              /YRnQvaIMRyY6FV/nrU5/sksPr5U/Ql3DwMCAwEAAaN3MHUwCQYDVR0TBAIwADAL
         | 
| 25 | 
            -
              BgNVHQ8EBAMCBLAwHQYDVR0OBBYEFP/qHc8Ca+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
         | 
| 38 | 
            -
            dependencies:
         | 
| 39 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 40 | 
            -
              name: minitest
         | 
| 41 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 42 | 
            -
                requirements:
         | 
| 43 | 
            -
                - - "~>"
         | 
| 44 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 45 | 
            -
                    version: '5.11'
         | 
| 46 | 
            -
              type: :development
         | 
| 47 | 
            -
              prerelease: false
         | 
| 48 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 49 | 
            -
                requirements:
         | 
| 50 | 
            -
                - - "~>"
         | 
| 51 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 52 | 
            -
                    version: '5.11'
         | 
| 53 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 54 | 
            -
              name: hoe-yard
         | 
| 55 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 56 | 
            -
                requirements:
         | 
| 57 | 
            -
                - - ">="
         | 
| 58 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 59 | 
            -
                    version: 0.1.3
         | 
| 60 | 
            -
              type: :development
         | 
| 61 | 
            -
              prerelease: false
         | 
| 62 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 63 | 
            -
                requirements:
         | 
| 64 | 
            -
                - - ">="
         | 
| 65 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 66 | 
            -
                    version: 0.1.3
         | 
| 67 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 68 | 
            -
              name: hoe-bundler
         | 
| 69 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 70 | 
            -
                requirements:
         | 
| 71 | 
            -
                - - "~>"
         | 
| 72 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 73 | 
            -
                    version: '1.4'
         | 
| 74 | 
            -
              type: :development
         | 
| 75 | 
            -
              prerelease: false
         | 
| 76 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 77 | 
            -
                requirements:
         | 
| 78 | 
            -
                - - "~>"
         | 
| 79 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 80 | 
            -
                    version: '1.4'
         | 
| 81 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 82 | 
            -
              name: pry
         | 
| 83 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 84 | 
            -
                requirements:
         | 
| 85 | 
            -
                - - ">"
         | 
| 86 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 87 | 
            -
                    version: '0.0'
         | 
| 88 | 
            -
              type: :development
         | 
| 89 | 
            -
              prerelease: false
         | 
| 90 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 91 | 
            -
                requirements:
         | 
| 92 | 
            -
                - - ">"
         | 
| 93 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 94 | 
            -
                    version: '0.0'
         | 
| 95 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 96 | 
            -
              name: pry-byebug
         | 
| 97 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 98 | 
            -
                requirements:
         | 
| 99 | 
            -
                - - ">"
         | 
| 100 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 101 | 
            -
                    version: '0.0'
         | 
| 102 | 
            -
              type: :development
         | 
| 103 | 
            -
              prerelease: false
         | 
| 104 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 105 | 
            -
                requirements:
         | 
| 106 | 
            -
                - - ">"
         | 
| 107 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 108 | 
            -
                    version: '0.0'
         | 
| 109 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 110 | 
            -
              name: yard
         | 
| 111 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 112 | 
            -
                requirements:
         | 
| 113 | 
            -
                - - ">"
         | 
| 114 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 115 | 
            -
                    version: '0.0'
         | 
| 116 | 
            -
              type: :development
         | 
| 117 | 
            -
              prerelease: false
         | 
| 118 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 119 | 
            -
                requirements:
         | 
| 120 | 
            -
                - - ">"
         | 
| 121 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 122 | 
            -
                    version: '0.0'
         | 
| 123 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 124 | 
            -
              name: guard
         | 
| 125 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 126 | 
            -
                requirements:
         | 
| 127 | 
            -
                - - ">"
         | 
| 128 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 129 | 
            -
                    version: '0.0'
         | 
| 130 | 
            -
              type: :development
         | 
| 131 | 
            -
              prerelease: false
         | 
| 132 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 133 | 
            -
                requirements:
         | 
| 134 | 
            -
                - - ">"
         | 
| 135 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 136 | 
            -
                    version: '0.0'
         | 
| 137 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 138 | 
            -
              name: wdm
         | 
| 139 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 140 | 
            -
                requirements:
         | 
| 141 | 
            -
                - - ">"
         | 
| 142 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 143 | 
            -
                    version: '0.1'
         | 
| 144 | 
            -
              type: :development
         | 
| 145 | 
            -
              prerelease: false
         | 
| 146 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 147 | 
            -
                requirements:
         | 
| 148 | 
            -
                - - ">"
         | 
| 149 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 150 | 
            -
                    version: '0.1'
         | 
| 151 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 152 | 
            -
              name: guard-minitest
         | 
| 153 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 154 | 
            -
                requirements:
         | 
| 155 | 
            -
                - - ">"
         | 
| 156 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 157 | 
            -
                    version: '0.0'
         | 
| 158 | 
            -
              type: :development
         | 
| 159 | 
            -
              prerelease: false
         | 
| 160 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 161 | 
            -
                requirements:
         | 
| 162 | 
            -
                - - ">"
         | 
| 163 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 164 | 
            -
                    version: '0.0'
         | 
| 165 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 166 | 
            -
              name: asciidoctor
         | 
| 167 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 168 | 
            -
                requirements:
         | 
| 169 | 
            -
                - - ">"
         | 
| 170 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 171 | 
            -
                    version: '0.0'
         | 
| 172 | 
            -
              type: :development
         | 
| 173 | 
            -
              prerelease: false
         | 
| 174 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 175 | 
            -
                requirements:
         | 
| 176 | 
            -
                - - ">"
         | 
| 177 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 178 | 
            -
                    version: '0.0'
         | 
| 179 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 180 | 
            -
              name: hoe
         | 
| 181 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 182 | 
            -
                requirements:
         | 
| 183 | 
            -
                - - "~>"
         | 
| 184 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 185 | 
            -
                    version: '3.17'
         | 
| 186 | 
            -
              type: :development
         | 
| 187 | 
            -
              prerelease: false
         | 
| 188 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 189 | 
            -
                requirements:
         | 
| 190 | 
            -
                - - "~>"
         | 
| 191 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 192 | 
            -
                    version: '3.17'
         | 
| 193 | 
            -
            description: |-
         | 
| 194 | 
            -
              <div class="paragraph">
         | 
| 195 | 
            -
              <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>
         | 
| 196 | 
            -
              </div>
         | 
| 7 | 
            +
            - dsisnero
         | 
| 8 | 
            +
            autorequire:
         | 
| 9 | 
            +
            bindir: exe
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2024-08-13 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies: []
         | 
| 13 | 
            +
            description: Merge PDFs fill in forms, from ruby
         | 
| 197 14 | 
             
            email:
         | 
| 198 15 | 
             
            - dsisnero@gmail.com
         | 
| 199 | 
            -
            executables:
         | 
| 200 | 
            -
            - acrobat
         | 
| 16 | 
            +
            executables: []
         | 
| 201 17 | 
             
            extensions: []
         | 
| 202 | 
            -
            extra_rdoc_files:
         | 
| 203 | 
            -
            - Manifest.txt
         | 
| 204 | 
            -
            - History.adoc
         | 
| 18 | 
            +
            extra_rdoc_files: []
         | 
| 205 19 | 
             
            files:
         | 
| 206 | 
            -
            - ". | 
| 207 | 
            -
            -  | 
| 20 | 
            +
            - ".standard.yml"
         | 
| 21 | 
            +
            - CHANGELOG.md
         | 
| 22 | 
            +
            - CODE_OF_CONDUCT.md
         | 
| 208 23 | 
             
            - Guardfile
         | 
| 209 | 
            -
            -  | 
| 210 | 
            -
            -  | 
| 211 | 
            -
            - Manifest.txt
         | 
| 212 | 
            -
            - README.adoc
         | 
| 24 | 
            +
            - LICENSE.txt
         | 
| 25 | 
            +
            - README.md
         | 
| 213 26 | 
             
            - Rakefile
         | 
| 214 | 
            -
            -  | 
| 27 | 
            +
            - examples/6030.17.antenna.pdf
         | 
| 28 | 
            +
            - examples/6030.17.cm300.tx.pdf
         | 
| 29 | 
            +
            - examples/form_field.rb
         | 
| 30 | 
            +
            - examples/merge.rb
         | 
| 215 31 | 
             
            - lib/acrobat.rb
         | 
| 216 32 | 
             
            - lib/acrobat/app.rb
         | 
| 217 33 | 
             
            - lib/acrobat/jso.rb
         | 
| 218 34 | 
             
            - lib/acrobat/pdoc.rb
         | 
| 219 | 
            -
            -  | 
| 220 | 
            -
            -  | 
| 35 | 
            +
            - lib/acrobat/version.rb
         | 
| 36 | 
            +
            - samples_other/background.js
         | 
| 37 | 
            +
            - samples_other/find_word.vb
         | 
| 38 | 
            +
            - samples_other/form.vb
         | 
| 39 | 
            +
            - vba/overlay.vba
         | 
| 221 40 | 
             
            homepage: https://github.com/dsisnero/acrobat
         | 
| 222 41 | 
             
            licenses:
         | 
| 223 42 | 
             
            - MIT
         | 
| 224 | 
            -
            metadata: | 
| 225 | 
            -
             | 
| 226 | 
            -
             | 
| 227 | 
            -
             | 
| 228 | 
            -
             | 
| 229 | 
            -
             | 
| 43 | 
            +
            metadata:
         | 
| 44 | 
            +
              homepage_uri: https://github.com/dsisnero/acrobat
         | 
| 45 | 
            +
              source_code_uri: https://github.com/dsisnero/acrobat
         | 
| 46 | 
            +
              changelog_uri: https://github.com/dsisnero/acrobat/CHANGELOG.md
         | 
| 47 | 
            +
            post_install_message:
         | 
| 48 | 
            +
            rdoc_options: []
         | 
| 230 49 | 
             
            require_paths:
         | 
| 231 50 | 
             
            - lib
         | 
| 232 51 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 233 52 | 
             
              requirements:
         | 
| 234 53 | 
             
              - - ">="
         | 
| 235 54 | 
             
                - !ruby/object:Gem::Version
         | 
| 236 | 
            -
                  version:  | 
| 55 | 
            +
                  version: 3.0.0
         | 
| 237 56 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 238 57 | 
             
              requirements:
         | 
| 239 58 | 
             
              - - ">="
         | 
| 240 59 | 
             
                - !ruby/object:Gem::Version
         | 
| 241 60 | 
             
                  version: '0'
         | 
| 242 61 | 
             
            requirements: []
         | 
| 243 | 
            -
             | 
| 244 | 
            -
             | 
| 245 | 
            -
            signing_key: 
         | 
| 62 | 
            +
            rubygems_version: 3.5.17
         | 
| 63 | 
            +
            signing_key:
         | 
| 246 64 | 
             
            specification_version: 4
         | 
| 247 | 
            -
            summary:  | 
| 248 | 
            -
              to automate pdf functions
         | 
| 65 | 
            +
            summary: Automate Adobe Acrobat from Ruby
         | 
| 249 66 | 
             
            test_files: []
         | 
    
        checksums.yaml.gz.sig
    DELETED
    
    | Binary file | 
    
        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
         | 
    
        data/.gitignore
    DELETED
    
    | @@ -1,32 +0,0 @@ | |
| 1 | 
            -
            *.gem
         | 
| 2 | 
            -
            *.rbc
         | 
| 3 | 
            -
            /pkg/
         | 
| 4 | 
            -
            /spec/reports/
         | 
| 5 | 
            -
            /spec/examples.txt
         | 
| 6 | 
            -
            /test/tmp/
         | 
| 7 | 
            -
            /test/version_tmp/
         | 
| 8 | 
            -
            /tmp/
         | 
| 9 | 
            -
             | 
| 10 | 
            -
            # Used by dotenv library to load environment variables.
         | 
| 11 | 
            -
            # .env
         | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
            ## Documentation cache and generated files:
         | 
| 15 | 
            -
            /.yardoc/
         | 
| 16 | 
            -
            /_yardoc/
         | 
| 17 | 
            -
            /doc/
         | 
| 18 | 
            -
            /rdoc/
         | 
| 19 | 
            -
             | 
| 20 | 
            -
            ## Environment normalization:
         | 
| 21 | 
            -
            /.bundle/
         | 
| 22 | 
            -
            /vendor/bundle
         | 
| 23 | 
            -
            /lib/bundler/man/
         | 
| 24 | 
            -
             | 
| 25 | 
            -
            # for a library or gem, you might want to ignore these files since the code is
         | 
| 26 | 
            -
            # intended to run in multiple environments; otherwise, check them in:
         | 
| 27 | 
            -
             Gemfile.lock
         | 
| 28 | 
            -
             .ruby-version
         | 
| 29 | 
            -
             .ruby-gemset
         | 
| 30 | 
            -
             | 
| 31 | 
            -
            # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
         | 
| 32 | 
            -
            .rvmrc
         | 
    
        data/History.adoc
    DELETED
    
    
    
        data/Manifest.txt
    DELETED
    
    
    
        data/README.adoc
    DELETED
    
    | @@ -1,117 +0,0 @@ | |
| 1 | 
            -
            = acrobat
         | 
| 2 | 
            -
            Dominic Sisneros <https://github.com/dsisnero[@dsisnero]
         | 
| 3 | 
            -
            //settings
         | 
| 4 | 
            -
            :page-layout: base
         | 
| 5 | 
            -
            :idprefix:
         | 
| 6 | 
            -
            :idseparator: -
         | 
| 7 | 
            -
            :source-language: ruby
         | 
| 8 | 
            -
            :language: {source-language}
         | 
| 9 | 
            -
            // Uris
         | 
| 10 | 
            -
            :uri-org: https://github.com/dsisnero
         | 
| 11 | 
            -
            :uri-repo: {uri-org}/acrobat
         | 
| 12 | 
            -
            :uri-issues: {uri-repo}/issues
         | 
| 13 | 
            -
            :uri-contributors: {uri-repo}/graphs/contributors
         | 
| 14 | 
            -
            :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
         | 
| 15 | 
            -
            :uri-rel-file-base: {uri-repo}/blob/master/
         | 
| 16 | 
            -
            :uri-rel-tree-base: {uri-repo}/tree/master/
         | 
| 17 | 
            -
            :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
         | 
| 18 | 
            -
            :uri-license: {uri-rel-file-base}LICENSE.adoc
         | 
| 19 | 
            -
             | 
| 20 | 
            -
            == DESCRIPTION:
         | 
| 21 | 
            -
             | 
| 22 | 
            -
            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
         | 
| 23 | 
            -
             | 
| 24 | 
            -
            == Requirements
         | 
| 25 | 
            -
             | 
| 26 | 
            -
            * Windows Adobe Acrobat installed
         | 
| 27 | 
            -
             | 
| 28 | 
            -
            == Install 0ptions
         | 
| 29 | 
            -
             | 
| 30 | 
            -
            acrobat  can be installed using (a) the `gem install` command, (b) Bundler
         | 
| 31 | 
            -
             | 
| 32 | 
            -
            === (a) gem install
         | 
| 33 | 
            -
             | 
| 34 | 
            -
            Open a terminal and type
         | 
| 35 | 
            -
            $ gem install acrobat
         | 
| 36 | 
            -
             | 
| 37 | 
            -
            .Upgrading your installation
         | 
| 38 | 
            -
            [TIP]
         | 
| 39 | 
            -
            ====
         | 
| 40 | 
            -
            If you have an earlier version of acrobat installed you can update it using:
         | 
| 41 | 
            -
             | 
| 42 | 
            -
            $ gem update acrobat
         | 
| 43 | 
            -
             | 
| 44 | 
            -
            If you install a new version of the gem using `gem install` instead of
         | 
| 45 | 
            -
            gem update, you'll have multiple versions installed. If that's the
         | 
| 46 | 
            -
            case, use the following gem command to remove the old versions:
         | 
| 47 | 
            -
             | 
| 48 | 
            -
            $ gem cleanup acrobat
         | 
| 49 | 
            -
            ====
         | 
| 50 | 
            -
            === (b) Bundler
         | 
| 51 | 
            -
             | 
| 52 | 
            -
            . Create a Gemfile in the root folder of your project (or the current directory)
         | 
| 53 | 
            -
            . Add the `asciidoctor` gem to your Gemfile as follows:
         | 
| 54 | 
            -
            +
         | 
| 55 | 
            -
            [source]
         | 
| 56 | 
            -
            ----
         | 
| 57 | 
            -
            source 'https://rubygems.org'
         | 
| 58 | 
            -
            gem 'acrobat'
         | 
| 59 | 
            -
            # or specify the version explicitly
         | 
| 60 | 
            -
            # gem 'acrobat', '0.0.5'
         | 
| 61 | 
            -
            ----
         | 
| 62 | 
            -
             | 
| 63 | 
            -
            . Save the Gemfile
         | 
| 64 | 
            -
            . Open a terminal and install the gem using:
         | 
| 65 | 
            -
             | 
| 66 | 
            -
             $ bundle
         | 
| 67 | 
            -
             | 
| 68 | 
            -
            To upgrade the gem, specify the new version in the Gemfile and run `bundle` again.
         | 
| 69 | 
            -
            Using `bundle update` is *not* recommended as it will also update other gems, which may not be the desired result.
         | 
| 70 | 
            -
             | 
| 71 | 
            -
            == Usage
         | 
| 72 | 
            -
             | 
| 73 | 
            -
            [source,ruby]
         | 
| 74 | 
            -
            ----
         | 
| 75 | 
            -
             | 
| 76 | 
            -
              require 'acrobat'
         | 
| 77 | 
            -
              Adobe::Acrobat.run do |app|
         | 
| 78 | 
            -
                fields = {city: 'City', state: 'State', zip: 'zip'}
         | 
| 79 | 
            -
                doc = app.open('apd_document.pdf')
         | 
| 80 | 
            -
                doc.fill_form(fields)
         | 
| 81 | 
            -
                doc.show
         | 
| 82 | 
            -
                doc2 = app.open('another_doc.pdf')
         | 
| 83 | 
            -
                doc2.fill_form(fields)
         | 
| 84 | 
            -
                doc1.merge_doc(doc2)
         | 
| 85 | 
            -
                doc1.save_as(name: 'merged_doc.pdf', dir: 'tmp')
         | 
| 86 | 
            -
              end
         | 
| 87 | 
            -
                
         | 
| 88 | 
            -
                
         | 
| 89 | 
            -
             | 
| 90 | 
            -
            ----
         | 
| 91 | 
            -
             | 
| 92 | 
            -
            == Getting Help
         | 
| 93 | 
            -
             | 
| 94 | 
            -
             | 
| 95 | 
            -
            We encourage you to ask questions and discuss any aspects of the project on the discussion list, Twitter or IRC.
         | 
| 96 | 
            -
             | 
| 97 | 
            -
            Mailing list:: {uri-discuss}
         | 
| 98 | 
            -
             | 
| 99 | 
            -
             | 
| 100 | 
            -
            ifdef::env-github[]
         | 
| 101 | 
            -
            Further information and documentation about acrobat gem can be found on the project's website.
         | 
| 102 | 
            -
             | 
| 103 | 
            -
            {uri-project}/[Home] | {uri-news}[News] | {uri-docs}[Docs]
         | 
| 104 | 
            -
            endif::[]
         | 
| 105 | 
            -
             | 
| 106 | 
            -
            The project's source code, issue tracker, and sub-projects are on github
         | 
| 107 | 
            -
             | 
| 108 | 
            -
            Source repository (git):: {uri-repo}
         | 
| 109 | 
            -
            Issue tracker:: {uri-issues}
         | 
| 110 | 
            -
            acrobat organization on GitHub:: {uri-org}
         | 
| 111 | 
            -
             | 
| 112 | 
            -
            == Copyright and Licensing
         | 
| 113 | 
            -
             | 
| 114 | 
            -
            Copyright (C) 2012-2016 Dominic Sisneros and the acrobat-Ruby Project.
         | 
| 115 | 
            -
            Free use of this software is granted under the terms of the MIT License.
         | 
| 116 | 
            -
             | 
| 117 | 
            -
            See the {uri-license}[LICENSE] file for details.
         | 
    
        data/bin/acrobat
    DELETED
    
    
    
        data/test/acrobat_test.rb
    DELETED
    
    | @@ -1,36 +0,0 @@ | |
| 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
    DELETED
    
    | @@ -1,13 +0,0 @@ | |
| 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'
         | 
    
        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��_
         | 
    
        metadata.gz.sig
    DELETED