enju_ndl 0.0.33 → 0.0.34

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.
@@ -13,7 +13,7 @@
13
13
  <% if @query.present? %>
14
14
  <p><%= @books.total_entries %> 件が見つかりました。</p>
15
15
 
16
- <table class="index">
16
+ <table class="table table-striped index">
17
17
  <tr>
18
18
  <th></th>
19
19
  <th>書名</th>
@@ -205,7 +205,8 @@ module EnjuNdl
205
205
  doc.xpath('//dcterms:creator/foaf:Agent').each do |creator|
206
206
  creators << {
207
207
  :full_name => creator.at('./foaf:name').content,
208
- :full_name_transcription => creator.at('./dcndl:transcription').try(:content)
208
+ :full_name_transcription => creator.at('./dcndl:transcription').try(:content),
209
+ :patron_identifier => creator.attributes["about"].try(:content)
209
210
  }
210
211
  end
211
212
  creators
@@ -235,7 +236,8 @@ module EnjuNdl
235
236
  doc.xpath('//dcterms:publisher/foaf:Agent').each do |publisher|
236
237
  publishers << {
237
238
  :full_name => publisher.at('./foaf:name').content,
238
- :full_name_transcription => publisher.at('./dcndl:transcription').try(:content)
239
+ :full_name_transcription => publisher.at('./dcndl:transcription').try(:content),
240
+ :patron_identifier => publisher.attributes["about"].try(:content)
239
241
  }
240
242
  end
241
243
  return publishers
@@ -1,3 +1,3 @@
1
1
  module EnjuNdl
2
- VERSION = "0.0.33"
2
+ VERSION = "0.0.34"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_ndl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.34
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: 2012-06-17 00:00:00.000000000 Z
12
+ date: 2012-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -251,6 +251,22 @@ dependencies:
251
251
  - - ! '>='
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
+ - !ruby/object:Gem::Dependency
255
+ name: enju_biblio
256
+ requirement: !ruby/object:Gem::Requirement
257
+ none: false
258
+ requirements:
259
+ - - ! '>='
260
+ - !ruby/object:Gem::Version
261
+ version: '0'
262
+ type: :development
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ none: false
266
+ requirements:
267
+ - - ! '>='
268
+ - !ruby/object:Gem::Version
269
+ version: '0'
254
270
  - !ruby/object:Gem::Dependency
255
271
  name: enju_subject
256
272
  requirement: !ruby/object:Gem::Requirement
@@ -267,6 +283,22 @@ dependencies:
267
283
  - - ! '>='
268
284
  - !ruby/object:Gem::Version
269
285
  version: '0'
286
+ - !ruby/object:Gem::Dependency
287
+ name: enju_manifestation_viewer
288
+ requirement: !ruby/object:Gem::Requirement
289
+ none: false
290
+ requirements:
291
+ - - ! '>='
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ type: :development
295
+ prerelease: false
296
+ version_requirements: !ruby/object:Gem::Requirement
297
+ none: false
298
+ requirements:
299
+ - - ! '>='
300
+ - !ruby/object:Gem::Version
301
+ version: '0'
270
302
  description: NDL WebAPI wrapper for Next-L Enju
271
303
  email:
272
304
  - tanabe@mwr.mediacom.keio.ac.jp