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 CHANGED
@@ -1,6 +1,8 @@
1
1
  *.gem
2
2
  *.rbc
3
3
  .rvmrc
4
+ .ruby-version
5
+ .ruby-gemset
4
6
  .bundle
5
7
  .config
6
8
  .yardoc
@@ -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|
@@ -1,3 +1,3 @@
1
1
  module ModsDisplay
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-26 00:00:00.000000000 Z
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: 4206842642593241825
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: 4206842642593241825
163
+ hash: -2372385921417665833
164
164
  requirements: []
165
165
  rubyforge_project:
166
166
  rubygems_version: 1.8.25