mods_display 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/lib/mods_display/fields/field.rb +1 -1
- data/lib/mods_display/version.rb +1 -1
- metadata +4 -4
data/.gitignore
CHANGED
@@ -51,7 +51,7 @@ class ModsDisplay::Field
|
|
51
51
|
return nil if fields.empty? or @config.ignore?
|
52
52
|
output = ""
|
53
53
|
fields.each do |field|
|
54
|
-
if field.values.any?{|f| !f.empty? }
|
54
|
+
if field.values.any?{|f| f && !f.empty? }
|
55
55
|
output << "<dt#{label_class} title='#{field.label}'>#{field.label}:</dt>"
|
56
56
|
output << "<dd#{value_class}>"
|
57
57
|
output << field.values.map do |val|
|
data/lib/mods_display/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mods_display
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: stanford-mods
|
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
segments:
|
153
153
|
- 0
|
154
|
-
hash:
|
154
|
+
hash: -2372385921417665833
|
155
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
156
|
none: false
|
157
157
|
requirements:
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
segments:
|
162
162
|
- 0
|
163
|
-
hash:
|
163
|
+
hash: -2372385921417665833
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
166
|
rubygems_version: 1.8.25
|