daengine 0.4.7 → 0.4.7.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.
@@ -148,7 +148,12 @@ module Daengine::TeamsiteMetadataParser
148
148
  doc['pages'] = pages
149
149
  doc['size'] = exifdata.filesize
150
150
  doc['mime_type'] = exifdata.mimetype
151
- doc['keywords'] = exifdata.keywords.gsub(';', ',').gsub(':', ',').split(",") unless exifdata.keywords.nil?
151
+ #doc['keywords'] = exifdata.keywords.gsub(';', ',').gsub(':', ',').split(",") unless exifdata.keywords.nil?
152
+ if exifdata.keywords.is_a? Enumerable
153
+ doc['keywords'] = exifdata.keywords
154
+ else
155
+ doc['keywords'] = exifdata.keywords.gsub(';', ',').gsub(':', ',').split(",") unless exifdata.keywords.nil?
156
+ end
152
157
  if exifdata.description.is_a? Enumerable
153
158
  doc['subject'] = exifdata.description.join(" ") unless exifdata.description.nil?
154
159
  else
@@ -1,3 +1,3 @@
1
1
  module Daengine
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.7.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: daengine
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.7
5
+ version: 0.4.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - sbhatia
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-11 00:00:00.000000000Z
13
+ date: 2013-02-22 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails