pdf-page-count 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c330b18c7d4a351ae47428c723c71d211088d75
4
- data.tar.gz: a43c14003bc96f16cca3c63c8fdae14394a22c89
3
+ metadata.gz: c221f6f2a7e195565664918789b91c508f3930b3
4
+ data.tar.gz: 742a03eb4dbdc6b1820d3302198b3a21a290eb6a
5
5
  SHA512:
6
- metadata.gz: fe2ab716f14969e39f9cca7c02b5cd555b1b55dfdf74e499600d9ee9cf505bc675dc85bb14a88bd3dd1df7d0dee24effe23da2932d94c6e0e5e7279842e91277
7
- data.tar.gz: d9f0605f47fc199f432f07d403e30d1ec670055345f315c20a38545912a298ddf4f2486a06f043f5ec402bad124cd79ffea1efa22bcaa8b24c3c33cf1848e307
6
+ metadata.gz: 709c7c5b68c2554213d14fe6e26d0e2975308ba57afc8e6430d50671d9338ca2d343973a7add0af54f717b9eab3982c3123d730fbc754f2e0e8b84604975842a
7
+ data.tar.gz: 4d1c9c0e2f3b46c3369a185e72d2a823054060d4a52a5f24a5ff917a1c019d1175d48c9027eeef9e87ceb5ba67e6dd8d205211544946dccfde628654ed98ef1e
data/bin/pdf-page-count CHANGED
@@ -4,15 +4,13 @@ require 'optparse'
4
4
  require 'rubygems'
5
5
  require_relative '../lib/pdf-page-count'
6
6
 
7
- spec = Gem::Specification::load('pdf-page-count.gemspec')
8
-
9
7
  options = {
10
8
  :threads => 10
11
9
  }
12
10
 
13
11
  opt_parser = OptionParser.new do |opt|
14
12
  opt.banner = "Usage: pdf-page-count [options] [file/path] [file/path] ..."
15
- opt.separator("Version: #{spec.version}")
13
+ opt.separator("Version: #{PdfPageCount::VERSION}")
16
14
  opt.separator("")
17
15
  opt.separator("Options")
18
16
 
@@ -31,7 +29,7 @@ opt_parser = OptionParser.new do |opt|
31
29
  opt.on("-h", "--help", "help") do
32
30
  puts opt_parser
33
31
  end
34
-
32
+
35
33
  opt.separator("")
36
34
  end
37
35
 
@@ -53,6 +51,6 @@ else
53
51
  end
54
52
 
55
53
  counter.finish_counting
56
-
54
+
57
55
  puts "Total Pages: #{counter.total_pages}"
58
56
  end
@@ -1,3 +1,4 @@
1
1
  require_relative 'pdf-page-count/file_util'
2
2
  require_relative 'pdf-page-count/pdf_util'
3
3
  require_relative 'pdf-page-count/pdf_page_counter'
4
+ require_relative 'pdf-page-count/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf-page-count
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh McCulloch
@@ -38,8 +38,8 @@ dependencies:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.3.3
41
- description: Counts the pages in single and multiple PDFs. Capale of recursively finding
42
- PDFs in directories.
41
+ description: Counts the pages in single and multiple PDFs. Capable of recursively
42
+ finding PDFs in directories.
43
43
  email: leigh@mcchouse.com
44
44
  executables:
45
45
  - pdf-page-count
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  requirements: []
73
73
  rubyforge_project:
74
- rubygems_version: 2.2.2
74
+ rubygems_version: 2.4.3
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Counts the pages in single and multiple PDFs.