pdfmd 2.3.3 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/bin/pdfmd +5 -5
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52f0d97e7f979d8d87623345e50f3b308f8cc1ed
4
- data.tar.gz: c57f1bdde7359cc8205f49235082936f8b664381
3
+ metadata.gz: 091763197b308f830cb90dec00589c279767379a
4
+ data.tar.gz: 180f1230dfa33ad28ddb53e9faa3471bd7a62eec
5
5
  SHA512:
6
- metadata.gz: 5195654b5d8d8dada2b6c695d479e7138fdedc5a026f245b6b96c1e29ac5b176521f18528ca70001dc2499941e451a859c7f6a293671bc99728c00bebe25117d
7
- data.tar.gz: 2e8183af3cee48bc6213801530266ef8841d9ef85ef53515eb87ff8f5f94b0baab45a9981e6d742a2efec54e6ed56f9f7cc2871504a20b7c45d619407218c6ae
6
+ metadata.gz: e652fee92d1ca5dcc295869b86b8faf54647b448ece224beb4b7212349b86ddb76f5ce1685a339e19cf03104437bcf36ed3d82b1ff6f999c86d42d76787f51cf
7
+ data.tar.gz: c72dbb255ba97732c4aa2ce099c24f28489a24dd7fee5ca231c1378ee7e6dae66bd998bb7a7dc5d832b92eeeae76019890ed4a1d9415000fc71ef4d38c5d20a0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # Version 2.3.4
2
+ - Fixing skipping of uppercase extension documents
3
+
1
4
  # Version 2.3.2
2
5
  - Fixing automatic close of the pdf viewer.
3
6
 
data/bin/pdfmd CHANGED
@@ -7,7 +7,7 @@ require "fileutils"
7
7
  require "i18n"
8
8
  require 'pathname'
9
9
 
10
- VERSION = '2.3.3'
10
+ VERSION = '2.3.4'
11
11
  NAME = 'pdfmd'
12
12
 
13
13
  #
@@ -58,7 +58,7 @@ class DOC < Thor
58
58
  filename.each do |current_file|
59
59
 
60
60
  # Skip non-pdf documents
61
- ! File.extname(current_file).match(/\.pdf/) ? next : ''
61
+ ! File.extname(current_file).match(/\.pdf/i) ? next : ''
62
62
 
63
63
  pdfdoc = Pdfmdshow.new current_file
64
64
  format = pdfdoc.determineValidSetting(options[:format], 'show:format')
@@ -86,7 +86,7 @@ class DOC < Thor
86
86
  filename.each do |current_file|
87
87
 
88
88
  # Skip non-pdf documents
89
- ! File.extname(current_file).match(/\.pdf/) ? next : ''
89
+ ! File.extname(current_file).match(/\.pdf/i) ? next : ''
90
90
 
91
91
  pdfdoc = Pdfmdclean.new current_file
92
92
  pdfdoc.tags = options[:tags]
@@ -126,7 +126,7 @@ def edit(*filename)
126
126
  filename.each do |current_file|
127
127
 
128
128
  # Skip non-pdf documents
129
- ! File.extname(current_file).match(/\.pdf/) ? next : ''
129
+ ! File.extname(current_file).match(/\.pdf/i) ? next : ''
130
130
 
131
131
  pdfdoc = Pdfmdedit.new current_file
132
132
  tags = pdfdoc.determineValidSetting(options[:tag],'edit:tags')
@@ -258,7 +258,7 @@ end
258
258
  filename.each do |current_file|
259
259
 
260
260
  # Skip non-pdf documents
261
- ! File.extname(current_file).match(/\.pdf/) ? next : ''
261
+ ! File.extname(current_file).match(/\.pdf/i) ? next : ''
262
262
 
263
263
  pdfdoc = Pdfmdrename.new current_file
264
264
  pdfdoc.dryrun = pdfdoc.determineValidSetting(options[:dryrun],'rename:dryrun')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdfmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Roos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -171,8 +171,8 @@ homepage: https://github.com/Micronarrativ/ruby-pmd
171
171
  licenses:
172
172
  - MIT
173
173
  metadata:
174
- created: '2016-03-02 21:24:30'
175
- revision: '20160302212430'
174
+ created: '2016-04-06 06:46:18'
175
+ revision: '20160406064618'
176
176
  post_install_message: ". Run `pdfmd` to see the command help."
177
177
  rdoc_options: []
178
178
  require_paths: