pdfmd 2.1.1 → 2.1.2

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: ce4c6446847ffc4fda845928310c3983e5bf9c57
4
- data.tar.gz: 2d4c69c5543695dec7860436b6b5b69d9387cb76
3
+ metadata.gz: ccd9a6ec1c8f77ff310ae986cd8839a968185fb7
4
+ data.tar.gz: bb26b8f1d27e79f03e845b7fd5c3c41a1030e498
5
5
  SHA512:
6
- metadata.gz: 04c54f3d6b18d83d9728df96662f7f8bf430dcf1e14f1d0a582170a78af91f2cc79df41a585aa9f176372e348cb2d22c675e9560b7c487a14f9920f337ddd881
7
- data.tar.gz: c695f2d877c887376d3a72a3e3941dbe09d8cbf6cda040894a910cbfb4311146236c1c10b09ae2d40b16b2a55d981310ac102969dddc54ddd1cb956ecb02372d
6
+ metadata.gz: 96d44b33c4964f8d6231953644de5c07d779cba6b0e908d83a69b47c52867f959b48210337846278fbe8dc2b5ba5d5b7acfcf306d960d3abb644e39fc8030d44
7
+ data.tar.gz: 34ed74f26f53716287e7b310e6039d95e87204b67f0d10c1a4e9834b43aba23bb0f1fb6026a4264847f8ed96769f1c3a308a9f9758116c085ce324b2403c54c3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # Version 2.1.2
2
+ - Bugfix: Removed double occurence of '__' in keywords.
3
+
1
4
  # Version 2.1.1
2
5
  - Bugfix: Renaming and Keyword Check
3
6
 
data/bin/pdfmd CHANGED
@@ -7,7 +7,7 @@ require "fileutils"
7
7
  require "i18n"
8
8
  require 'pathname'
9
9
 
10
- VERSION = '2.1.1'
10
+ VERSION = '2.1.2'
11
11
  NAME = 'pdfmd'
12
12
 
13
13
  #
@@ -174,7 +174,7 @@ class Pdfmdrename < Pdfmd
174
174
  end
175
175
 
176
176
  # Remove special characters from string
177
- keywordsarray[index] = value.gsub(/\s|\/|\-|\./,'_')
177
+ keywordsarray[index] = value.gsub(/\s|\/|\-|\./,'_').gsub(/_+/,'_')
178
178
 
179
179
  # If the current value matches some of the replacement abbreviations,
180
180
  # put the value at index 0 in the array. It will then be listed earlier in the filename.
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.1'
6
+ VERSION = '2.1.2'
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.1
4
+ version: 2.1.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-07-14 00:00:00.000000000 Z
11
+ date: 2015-07-18 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-14 16:18:52'
151
- revision: '20150714161852'
150
+ created: '2015-07-18 20:03:21'
151
+ revision: '20150718200321'
152
152
  post_install_message: ". Run `pdfmd` to see the command help."
153
153
  rdoc_options: []
154
154
  require_paths: