pdfmd 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/bin/pdfmd +1 -1
- data/lib/pdfmd/pdfmdrename.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e8d3ed04520b1f13a340cbd21a6aecf2541eb0c
|
4
|
+
data.tar.gz: 9e7fc24bf9909fb2aa51632b9f6efd7e0b4e00e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb43dc9fa888f8634caf6974fb5af340fe7ead0414960f128f96343652c621fd6084fc06e8ab0e734ddab3a08c45a577f2e297ab4ac4e0e50d6151e3b4a7d502
|
7
|
+
data.tar.gz: 44528101611da360ad1f19ec9b898e7937fd46cdc10e56f88e36bfc83e37cfb7bcd6111f78b547728db968dc3b6ff4014d8622a315a58183e9628146e03af568
|
data/CHANGELOG.md
CHANGED
data/bin/pdfmd
CHANGED
data/lib/pdfmd/pdfmdrename.rb
CHANGED
@@ -39,7 +39,7 @@ class Pdfmdrename < Pdfmd
|
|
39
39
|
# Build new filename elements
|
40
40
|
newFilename = Hash.new
|
41
41
|
newFilename[:date] = @@metadata['createdate'].gsub(/\ \d{2}\:\d{2}\:\d{2}.*$/,'').gsub(/\:/,'')
|
42
|
-
newFilename[:author] = get_author().gsub(/\'/,'') # Remove Hyphens as well
|
42
|
+
newFilename[:author] = get_author().gsub(/\'/,'').gsub(/\_$/, '') # Remove Hyphens as well
|
43
43
|
newFilename[:doctype] = get_doctype()
|
44
44
|
newFilename[:title] = @@metadata['title'].downcase
|
45
45
|
newFilename[:subject] = @@metadata['subject'].downcase.gsub(/(\s|\-|\.|\&|\%)/,'_')
|
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.1.
|
4
|
+
version: 2.1.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: 2015-
|
11
|
+
date: 2015-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -147,8 +147,8 @@ homepage: https://github.com/Micronarrativ/ruby-pmd
|
|
147
147
|
licenses:
|
148
148
|
- MIT
|
149
149
|
metadata:
|
150
|
-
created: '2015-
|
151
|
-
revision: '
|
150
|
+
created: '2015-09-04 07:22:57'
|
151
|
+
revision: '20150904072257'
|
152
152
|
post_install_message: ". Run `pdfmd` to see the command help."
|
153
153
|
rdoc_options: []
|
154
154
|
require_paths:
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
requirements:
|
167
167
|
- "[exiftools](http://www.sno.phy.queensu.ca/~phil/exiftool/)"
|
168
168
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.4.
|
169
|
+
rubygems_version: 2.4.8
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: pdfmd - pdf-meta-data management
|