pdfmd 2.3.4 → 2.3.5
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/TODO.mkd +5 -0
- data/bin/pdfmd +2 -1
- data/lib/pdfmd/pdfmdmethods.rb +4 -0
- 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: 813b0ecd46d44e57d65eb8b28de7805876b1df54
|
4
|
+
data.tar.gz: a218ccc83880d0cf83469c8ed5fcc75dcdd0fda5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e3701be0348417b1e9b4ea5a33e2bec55147209c233b724707cee6437e276162a733dcd65e8a570b49ea9ae9631db29ab095cc7a5cc6a64bfae4b15c24611c
|
7
|
+
data.tar.gz: 3c7538e7d397dd948f687c1933217552f4722c57a5b53d5e53dcada0a88e86ae2bb1a6914a7ba4c842794cae3dd430027ec9f6e26c3ff7c16d25d34460423d87
|
data/CHANGELOG.md
CHANGED
data/TODO.mkd
CHANGED
@@ -18,3 +18,8 @@
|
|
18
18
|
### Method count_values
|
19
19
|
|
20
20
|
* Keywords could be splittet up into two words (as additional parameter)
|
21
|
+
|
22
|
+
# Bugs
|
23
|
+
## hypen and underscore
|
24
|
+
* **Description**: Using an author with a hypen - whitespace combination in the name will result in a double underscore in the filename: '__'
|
25
|
+
|
data/bin/pdfmd
CHANGED
@@ -7,7 +7,7 @@ require "fileutils"
|
|
7
7
|
require "i18n"
|
8
8
|
require 'pathname'
|
9
9
|
|
10
|
-
VERSION = '2.3.
|
10
|
+
VERSION = '2.3.5'
|
11
11
|
NAME = 'pdfmd'
|
12
12
|
|
13
13
|
#
|
@@ -130,6 +130,7 @@ def edit(*filename)
|
|
130
130
|
|
131
131
|
pdfdoc = Pdfmdedit.new current_file
|
132
132
|
tags = pdfdoc.determineValidSetting(options[:tag],'edit:tags')
|
133
|
+
puts 'tag: ' + tags
|
133
134
|
pdfdoc.opendoc = pdfdoc.determineValidSetting(options[:opendoc], 'edit:opendoc')
|
134
135
|
pdfdoc.pdfviewer = pdfdoc.determineValidSetting(nil, 'edit:pdfviewer')
|
135
136
|
pdfdoc.set_tags tags
|
data/lib/pdfmd/pdfmdmethods.rb
CHANGED
@@ -37,6 +37,10 @@ module Pdfmdmethods
|
|
37
37
|
|
38
38
|
if !manualSetting.nil?
|
39
39
|
self.log('debug', "Chosing manual setting '#{key} = #{manualSetting}'.")
|
40
|
+
|
41
|
+
# if manualSetting is date, the actual field meant is "'create date'", not 'date'.
|
42
|
+
manualSetting = manualSetting.gsub('date:', 'createdate:')
|
43
|
+
|
40
44
|
manualSetting
|
41
45
|
elsif !hieraValue.nil? or
|
42
46
|
!hieraValue == ''
|
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.
|
4
|
+
version: 2.3.5
|
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-
|
11
|
+
date: 2016-06-07 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-
|
175
|
-
revision: '
|
174
|
+
created: '2016-06-07 20:15:26'
|
175
|
+
revision: '20160607201526'
|
176
176
|
post_install_message: ". Run `pdfmd` to see the command help."
|
177
177
|
rdoc_options: []
|
178
178
|
require_paths:
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
requirements:
|
191
191
|
- "[exiftools](http://www.sno.phy.queensu.ca/~phil/exiftool/)"
|
192
192
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.4.
|
193
|
+
rubygems_version: 2.4.6
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: pdfmd - pdf-meta-data management
|