pdfmd 1.3.1 → 1.3.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 +13 -5
- data/{lib/pdfmd.rb → bin/pdfmd} +2 -40
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
NWRlMmI4ZGUwNjFkODQ1ZjcwODRlOTlkNDkwNGRhNWU4ZGNlNWU4Mw==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
ODE4Nzk2YTQ3NWE0MTQzNWRkMTYxNmI4YmRlNTUwOTk5YTAyNmQxMg==
|
|
5
7
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
YjA1Y2MwMWEyYWYxN2ZmMTc3YWEwYWVmMjU1NDk5MjlmNTgzNjQzMTE3MzU2
|
|
10
|
+
NzEzN2FkYTVhZDE5ZDU3MDgyY2M3MzcxNjkwNjE5NjczZWQwY2E1ODA3ZDNi
|
|
11
|
+
MjhkODhlMWIyNDRhNGJkYzJlMzI0YTExYjBkZWUwZjhjYjA3ZWQ=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
M2U4OGNhZGEzOTIwMWY2MzM5NDNjMTEwODhkOGZhYWU1MmQ5YzU4YjhiNjRk
|
|
14
|
+
ZDQ2YzJhMDA0YzcxNTdmMjczNWE2MTQ4MDIxN2YzODcyNWY0ZDYyYTJiZWI3
|
|
15
|
+
ZDQ5Mjc2Y2MxMmNmNDc5NTMzMTBhYTIzNDcxM2I0YTg0MDM3YjU=
|
data/{lib/pdfmd.rb → bin/pdfmd}
RENAMED
|
@@ -28,44 +28,6 @@
|
|
|
28
28
|
# An overview about the actions can be seen when running the script without
|
|
29
29
|
# any parameters
|
|
30
30
|
#
|
|
31
|
-
# === Changelog
|
|
32
|
-
#
|
|
33
|
-
# Version 1.3.1
|
|
34
|
-
# - Corrected Email address (Gemspec)
|
|
35
|
-
# - Corrected website address (Gemspec)
|
|
36
|
-
# - No changes to script
|
|
37
|
-
#
|
|
38
|
-
# Version 1.3
|
|
39
|
-
# - Small bugfix about special characters in filenames (author).
|
|
40
|
-
# - Bugfix for the tag 'createdate' written as 'CreateDate' which did not
|
|
41
|
-
# take the date then.
|
|
42
|
-
# - Removed inactive code.
|
|
43
|
-
# - Added paramter 'version'
|
|
44
|
-
#
|
|
45
|
-
# Version 1.2
|
|
46
|
-
# - Small bugfix with the sort function and the logfile being created.
|
|
47
|
-
#
|
|
48
|
-
# Version 1.1
|
|
49
|
-
# - Added Function to sort pdf documents into a directory structure based on
|
|
50
|
-
# the author of the document.
|
|
51
|
-
# - Added dependency 'pathname'
|
|
52
|
-
# - Added dependency 'logger'
|
|
53
|
-
# - Added dependency 'i18n'
|
|
54
|
-
# - Added method 'sort'
|
|
55
|
-
# - Changing a tag will now output the old value in the edit dialog.
|
|
56
|
-
# - Updated documentation and descriptions of methods
|
|
57
|
-
#
|
|
58
|
-
# Version 1.0
|
|
59
|
-
# - Added documentation in long description of the commands
|
|
60
|
-
# - Added method "explain" for further information
|
|
61
|
-
#
|
|
62
|
-
# Version 0.9
|
|
63
|
-
# - Added 'rename' option to edit metatags
|
|
64
|
-
# - Fixed some output strings
|
|
65
|
-
#
|
|
66
|
-
# Version 0.x
|
|
67
|
-
# - All other stuff
|
|
68
|
-
#
|
|
69
31
|
# Check and set metadata of PDF documents
|
|
70
32
|
#
|
|
71
33
|
# A complete set of metada contains
|
|
@@ -91,7 +53,7 @@
|
|
|
91
53
|
# == Author
|
|
92
54
|
#
|
|
93
55
|
# Daniel Roos <daniel-git@micronarrativ.org>
|
|
94
|
-
# Source: https://github.com/Micronarrativ/
|
|
56
|
+
# Source: https://github.com/Micronarrativ/ruby-pmd
|
|
95
57
|
#
|
|
96
58
|
require "thor"
|
|
97
59
|
require "highline/import"
|
|
@@ -100,7 +62,7 @@ require "i18n"
|
|
|
100
62
|
require 'pathname'
|
|
101
63
|
require 'logger'
|
|
102
64
|
|
|
103
|
-
VERSION = '1.3'
|
|
65
|
+
VERSION = '1.3.2'
|
|
104
66
|
#
|
|
105
67
|
# Function to read the metadata from a given file
|
|
106
68
|
# hash readMetadata(string)
|
metadata
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdfmd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.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: 2015-03-
|
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: Managing the common pdf metadata
|
|
14
|
-
email:
|
|
15
|
-
executables:
|
|
13
|
+
description: Managing the common pdf metadata values and renaming the pdf file accordingly.
|
|
14
|
+
email: pdfmd@micronarrativ.org
|
|
15
|
+
executables:
|
|
16
|
+
- pdfmd
|
|
16
17
|
extensions: []
|
|
17
18
|
extra_rdoc_files: []
|
|
18
19
|
files:
|
|
19
|
-
-
|
|
20
|
+
- bin/pdfmd
|
|
20
21
|
homepage: https://github.com/Micronarrativ/ruby-pmd
|
|
21
22
|
licenses:
|
|
22
23
|
- MIT
|
|
@@ -27,12 +28,12 @@ require_paths:
|
|
|
27
28
|
- lib
|
|
28
29
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
30
|
requirements:
|
|
30
|
-
- -
|
|
31
|
+
- - ! '>='
|
|
31
32
|
- !ruby/object:Gem::Version
|
|
32
33
|
version: '0'
|
|
33
34
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
35
|
requirements:
|
|
35
|
-
- -
|
|
36
|
+
- - ! '>='
|
|
36
37
|
- !ruby/object:Gem::Version
|
|
37
38
|
version: '0'
|
|
38
39
|
requirements: []
|