pdfmd 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/LICENSE +22 -0
- data/README.md +108 -0
- data/bin/pdfmd +1 -942
- data/lib/pdfmd.rb +531 -0
- data/lib/pdfmd/check.rb +10 -0
- data/lib/pdfmd/edit.rb +40 -0
- data/lib/pdfmd/explain.author.md +3 -0
- data/lib/pdfmd/explain.createdate.md +6 -0
- data/lib/pdfmd/explain.hiera.md +18 -0
- data/lib/pdfmd/explain.keywords.md +9 -0
- data/lib/pdfmd/explain.rb +17 -0
- data/lib/pdfmd/explain.subject.md +8 -0
- data/lib/pdfmd/explain.title.md +5 -0
- data/lib/pdfmd/methods.rb +130 -0
- data/lib/pdfmd/rename.rb +146 -0
- data/lib/pdfmd/show.rb +24 -0
- data/lib/pdfmd/sort.rb +100 -0
- data/pdfmd.gemspec +27 -0
- metadata +83 -5
data/pdfmd.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'pdfmd'
|
3
|
+
s.version = '1.4.2'
|
4
|
+
s.date = '2015-03-25'
|
5
|
+
s.summary = "pdfmd - pdf-meta-data management"
|
6
|
+
s.description = <<-EOF
|
7
|
+
Managing the common pdf metadata values and renaming the pdf file accordingly.
|
8
|
+
Sets common tags like 'author', 'createdate', 'title', 'subject' and 'keywords'
|
9
|
+
and re-uses them for renaming the file with to an human-readable identifier.
|
10
|
+
EOF
|
11
|
+
s.authors = ['Daniel Roos']
|
12
|
+
s.email = 'pdfmd@micronarrativ.org'
|
13
|
+
s.require_paths = ['lib']
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
#s.files = ['lib/pdfmd.rb', 'lib/pdfmd/test.rb', 'lib/pdfmd/sort.rb']
|
16
|
+
#s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md CHANGELOG.md)
|
17
|
+
#s.executable = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
+
s.executable = 'pdfmd'
|
19
|
+
#s.platform = Gem::Platform.local
|
20
|
+
s.homepage =
|
21
|
+
'https://github.com/Micronarrativ/ruby-pmd'
|
22
|
+
s.license = 'MIT'
|
23
|
+
s.add_dependency "thor", '0.19.1'
|
24
|
+
s.add_dependency 'highline', '1.7.1'
|
25
|
+
s.add_dependency 'fileutils', '0.7'
|
26
|
+
s.add_dependency 'i18n', '0.6.11'
|
27
|
+
end
|
metadata
CHANGED
@@ -1,23 +1,101 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdfmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.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: 2015-03-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: thor
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.19.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.19.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: highline
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.7.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.7.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fileutils
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.7'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: i18n
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.6.11
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.6.11
|
69
|
+
description: |2
|
70
|
+
Managing the common pdf metadata values and renaming the pdf file accordingly.
|
71
|
+
Sets common tags like 'author', 'createdate', 'title', 'subject' and 'keywords'
|
72
|
+
and re-uses them for renaming the file with to an human-readable identifier.
|
14
73
|
email: pdfmd@micronarrativ.org
|
15
74
|
executables:
|
16
75
|
- pdfmd
|
17
76
|
extensions: []
|
18
77
|
extra_rdoc_files: []
|
19
78
|
files:
|
79
|
+
- ".gitignore"
|
80
|
+
- CHANGELOG.md
|
81
|
+
- LICENSE
|
82
|
+
- README.md
|
20
83
|
- bin/pdfmd
|
84
|
+
- lib/pdfmd.rb
|
85
|
+
- lib/pdfmd/check.rb
|
86
|
+
- lib/pdfmd/edit.rb
|
87
|
+
- lib/pdfmd/explain.author.md
|
88
|
+
- lib/pdfmd/explain.createdate.md
|
89
|
+
- lib/pdfmd/explain.hiera.md
|
90
|
+
- lib/pdfmd/explain.keywords.md
|
91
|
+
- lib/pdfmd/explain.rb
|
92
|
+
- lib/pdfmd/explain.subject.md
|
93
|
+
- lib/pdfmd/explain.title.md
|
94
|
+
- lib/pdfmd/methods.rb
|
95
|
+
- lib/pdfmd/rename.rb
|
96
|
+
- lib/pdfmd/show.rb
|
97
|
+
- lib/pdfmd/sort.rb
|
98
|
+
- pdfmd.gemspec
|
21
99
|
homepage: https://github.com/Micronarrativ/ruby-pmd
|
22
100
|
licenses:
|
23
101
|
- MIT
|
@@ -38,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
38
116
|
version: '0'
|
39
117
|
requirements: []
|
40
118
|
rubyforge_project:
|
41
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.4.6
|
42
120
|
signing_key:
|
43
121
|
specification_version: 4
|
44
122
|
summary: pdfmd - pdf-meta-data management
|