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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 091763197b308f830cb90dec00589c279767379a
4
- data.tar.gz: 180f1230dfa33ad28ddb53e9faa3471bd7a62eec
3
+ metadata.gz: 813b0ecd46d44e57d65eb8b28de7805876b1df54
4
+ data.tar.gz: a218ccc83880d0cf83469c8ed5fcc75dcdd0fda5
5
5
  SHA512:
6
- metadata.gz: e652fee92d1ca5dcc295869b86b8faf54647b448ece224beb4b7212349b86ddb76f5ce1685a339e19cf03104437bcf36ed3d82b1ff6f999c86d42d76787f51cf
7
- data.tar.gz: c72dbb255ba97732c4aa2ce099c24f28489a24dd7fee5ca231c1378ee7e6dae66bd998bb7a7dc5d832b92eeeae76019890ed4a1d9415000fc71ef4d38c5d20a0
6
+ metadata.gz: e5e3701be0348417b1e9b4ea5a33e2bec55147209c233b724707cee6437e276162a733dcd65e8a570b49ea9ae9631db29ab095cc7a5cc6a64bfae4b15c24611c
7
+ data.tar.gz: 3c7538e7d397dd948f687c1933217552f4722c57a5b53d5e53dcada0a88e86ae2bb1a6914a7ba4c842794cae3dd430027ec9f6e26c3ff7c16d25d34460423d87
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # Version 2.3.5
2
+ - Bugfix, Setting the date manually ('pdfmd edit -t date:xxxxxxx') updated the wrong meta field.
3
+
1
4
  # Version 2.3.4
2
5
  - Fixing skipping of uppercase extension documents
3
6
 
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.4'
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
@@ -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
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-04-06 00:00:00.000000000 Z
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-04-06 06:46:18'
175
- revision: '20160406064618'
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.8
193
+ rubygems_version: 2.4.6
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: pdfmd - pdf-meta-data management