pdfmd 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 618512dc0e3aa666123341b2d3cf9684edd0cd8a
4
- data.tar.gz: 410da35b2392be08e591dca02c0173360de7f7ce
3
+ metadata.gz: ac8e737cb17c20406bc8d5f53493ae4f3872bbfe
4
+ data.tar.gz: 1f08b6fc1cfcb69bad38bf93cf0b7a6575439079
5
5
  SHA512:
6
- metadata.gz: 38cb2559796ec2a70702609fb51b991416532ea3c3b3841a8bdec3841fa4371bed763ccc4a87ddc2bc5d58dd946f9e45afa1089712895af0cc52dfb943525ae9
7
- data.tar.gz: e69644ee971ea75121ba91ba1f39b125ab55d4bc8d89c0d7ead70cfe41b8af2de9017b66c9ccb6dfb0987dd8bffbf11199b73d3e27509b7eaf86294f9f35e4c3
6
+ metadata.gz: 4f005080f01cf0302c6efae8e41cfbb326e709bd18e8888a673af8913402f4548d874138e9423b5411c325d27c4fd53090224db81c6f84b2588228b36767bc32
7
+ data.tar.gz: bb4f2e75523c716c86ddeb0eca5e7f22053d1c38fb92d0f5089210c977881a9bf4af28b434acc1a9cea5f07453b3ab157689b86643a2b40b003beb0816ce1630
@@ -1,3 +1,13 @@
1
+ # Version 2.4.2
2
+ - Bugfix, overwriting hiera settings with commandline parameters were not working.
3
+
4
+ # Version 2.4.1
5
+ - Bugfix, Setup of bash_completion did not find the source file.
6
+
7
+ # Version 2.4.0
8
+ - Adding new parameter: init.
9
+ - Setup of bash_completion-file.
10
+
1
11
  # Version 2.3.5
2
12
  - Bugfix, Setting the date manually ('pdfmd edit -t date:xxxxxxx') updated the wrong meta field.
3
13
 
data/bin/pdfmd CHANGED
@@ -8,7 +8,7 @@ require "fileutils"
8
8
  require "i18n"
9
9
  require 'pathname'
10
10
 
11
- VERSION = '2.4.1'
11
+ VERSION = '2.4.2'
12
12
  NAME = 'pdfmd'
13
13
 
14
14
  # Read the content of the long description from an external file
@@ -233,6 +233,7 @@ def sort(*input)
233
233
 
234
234
  if File.file?(file)
235
235
  pdfdoc = Pdfmdsort.new file
236
+ puts options[:copy]
236
237
  pdfdoc.copy = pdfdoc.determineValidSetting(options[:copy], 'sort:copy')
237
238
  pdfdoc.interactive = pdfdoc.determineValidSetting(options[:interactive], 'sort:interactive')
238
239
  pdfdoc.destination = pdfdoc.determineValidSetting(options[:destination], 'sort:destination')
@@ -39,7 +39,7 @@ module Pdfmdmethods
39
39
  self.log('debug', "Chosing manual setting '#{key} = #{manualSetting}'.")
40
40
 
41
41
  # if manualSetting is date, the actual field meant is "'create date'", not 'date'.
42
- manualSetting = manualSetting.gsub('date:', 'createdate:')
42
+ key = key.gsub('date:', 'createdate:')
43
43
 
44
44
  manualSetting
45
45
  elsif !hieraValue.nil? or
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.4.1
4
+ version: 2.4.2
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-08-20 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -174,8 +174,8 @@ homepage: https://github.com/Micronarrativ/ruby-pmd
174
174
  licenses:
175
175
  - MIT
176
176
  metadata:
177
- created: '2016-08-20 18:55:58'
178
- revision: '20160820185558'
177
+ created: '2016-08-25 10:10:09'
178
+ revision: '20160825101009'
179
179
  post_install_message: ". Run `pdfmd` to see the command help."
180
180
  rdoc_options: []
181
181
  require_paths: