summon 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +4 -0
- data/lib/summon/schema/document.rb +5 -1
- data/lib/summon/version.rb +1 -1
- metadata +4 -4
data/Changelog.md
CHANGED
@@ -5,7 +5,7 @@ class Summon::Document < Summon::Schema
|
|
5
5
|
attr :subtitle
|
6
6
|
attr :publication_title
|
7
7
|
attr :publication_series_title
|
8
|
-
attr :
|
8
|
+
attr :content_types, :json_name => "ContentType", :single => false
|
9
9
|
|
10
10
|
attr :authors, :json_name => "Author_xml"
|
11
11
|
attr :corporate_authors, :json_name => "CorporateAuthor"
|
@@ -66,6 +66,10 @@ class Summon::Document < Summon::Schema
|
|
66
66
|
|
67
67
|
attr :spotlight_children, :single => false, :transform => :Document
|
68
68
|
|
69
|
+
def content_type
|
70
|
+
@content_types.first
|
71
|
+
end
|
72
|
+
|
69
73
|
def isbn
|
70
74
|
@isbns.first
|
71
75
|
end
|
data/lib/summon/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: summon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 6
|
10
|
+
version: 1.2.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Charles Lowell
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-07-
|
19
|
+
date: 2011-07-26 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|