pdfmd 2.1.0 → 2.1.1

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: 8e4dab486ed68d69f67afc23637cc18389c0e83d
4
- data.tar.gz: 893abb0820f6828ccb60b9ce18780d4e4608dc1d
3
+ metadata.gz: ce4c6446847ffc4fda845928310c3983e5bf9c57
4
+ data.tar.gz: 2d4c69c5543695dec7860436b6b5b69d9387cb76
5
5
  SHA512:
6
- metadata.gz: 2ef3bfde7c7b34cb1633d4857709bb8470618f31d07a4b58759ee1e3899a16b8c97fbb382c0c7d34e5e31025b0ea4d26c40e10641ba15f48543effd042a1740c
7
- data.tar.gz: cbbb4db188e3aea5c1c6edd88b71288da1ef8dfa5ee779582da66af135cd38926d2354d47226119da3ba2e3ebce2e64bb7a810648cbde8ce184d35ade7ade9ff
6
+ metadata.gz: 04c54f3d6b18d83d9728df96662f7f8bf430dcf1e14f1d0a582170a78af91f2cc79df41a585aa9f176372e348cb2d22c675e9560b7c487a14f9920f337ddd881
7
+ data.tar.gz: c695f2d877c887376d3a72a3e3941dbe09d8cbf6cda040894a910cbfb4311146236c1c10b09ae2d40b16b2a55d981310ac102969dddc54ddd1cb956ecb02372d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # Version 2.1.1
2
+ - Bugfix: Renaming and Keyword Check
3
+
1
4
  # Version 2.1.0
2
5
  - Added command 'clean' to delete values for Metatags
3
6
  - Added multiple file support for commands 'clean', 'edit', 'rename', 'show'
data/bin/pdfmd CHANGED
@@ -7,7 +7,7 @@ require "fileutils"
7
7
  require "i18n"
8
8
  require 'pathname'
9
9
 
10
- VERSION = '2.1.0'
10
+ VERSION = '2.1.1'
11
11
  NAME = 'pdfmd'
12
12
 
13
13
  #
@@ -85,10 +85,10 @@ class Pdfmdrename < Pdfmd
85
85
 
86
86
  @@default_tags.each do |current_tag|
87
87
 
88
- if not @@metadata[current_tag].nil? and not @@metadata[current_tag] == ''
88
+ # Skip over keywords (optional tag)
89
+ current_tag.match(/keywords/) ? next : ''
89
90
 
90
- # Skip over keywords (optional tag)
91
- current_tag.match(/keywords/) ? next : ''
91
+ if not @@metadata[current_tag].nil? and not @@metadata[current_tag] == ''
92
92
 
93
93
  else
94
94
 
data/lib/run.rb CHANGED
@@ -3,7 +3,7 @@ require './pdfmd.rb'
3
3
  require './pdfmd/pdfmdstat.rb'
4
4
  require "thor"
5
5
 
6
- VERSION = '2.1.0'
6
+ VERSION = '2.1.1'
7
7
  NAME = 'pdfmd'
8
8
 
9
9
  #
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.1.0
4
+ version: 2.1.1
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-07-08 00:00:00.000000000 Z
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -147,8 +147,8 @@ homepage: https://github.com/Micronarrativ/ruby-pmd
147
147
  licenses:
148
148
  - MIT
149
149
  metadata:
150
- created: '2015-07-08 17:21:15'
151
- revision: '20150708172115'
150
+ created: '2015-07-14 16:18:52'
151
+ revision: '20150714161852'
152
152
  post_install_message: ". Run `pdfmd` to see the command help."
153
153
  rdoc_options: []
154
154
  require_paths: