enju_biblio 0.1.0.pre → 0.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  <br />
7
7
 
8
8
  <div>
9
- <%- if manifestations and manifestations.size > @manifestations.per_page.div(2) -%>
9
+ <%- if manifestations and manifestations.size > @manifestations.limit_value.div(2) -%>
10
10
  <%= form_for :manifestations, :html => {:method => 'get'} do -%>
11
11
  <p>
12
12
  <%= t('page.search_term') -%>:
@@ -13,9 +13,9 @@ xml.rss('version' => "2.0",
13
13
  xml.tag! "atom:link", :rel => 'alternate', :href => manifestations_url
14
14
  xml.tag! "atom:link", :rel => 'search', :type => 'application/opensearchdescription+xml', :href => page_opensearch_url
15
15
  unless params[:query].blank?
16
- xml.tag! "opensearch:totalResults", @manifestations.total_entries
17
- xml.tag! "opensearch:startIndex", @manifestations.offset + 1
18
- xml.tag! "opensearch:itemsPerPage", @manifestations.per_page
16
+ xml.tag! "opensearch:totalResults", @manifestations.total_count
17
+ xml.tag! "opensearch:startIndex", @manifestations.offset_value + 1
18
+ xml.tag! "opensearch:itemsPerPage", @manifestations.limit_value
19
19
  xml.tag! "opensearch:Query", :role => 'request', :searchTerms => h(params[:query]), :startPage => (h(params[:page]) || 1)
20
20
  end
21
21
  if @manifestations
@@ -13,8 +13,8 @@ if @sru
13
13
 
14
14
  @version = @sru.version
15
15
  @packing = @sru.packing
16
- @number_of_records = @manifestations.total_entries
17
- @next_record_position = @sru.start + @manifestations.size
16
+ @number_of_records = @manifestations.total_count
17
+ @next_record_position = @sru.start + @manifestations.limit_value
18
18
  end
19
19
 
20
20
  def search_retrieve_response!(xml)
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre"
2
+ VERSION = "0.1.0.pre2"
3
3
  end
@@ -55,7 +55,7 @@ module Dummy
55
55
  end
56
56
 
57
57
  require 'enju_core'
58
- #require 'enju_library'
58
+ require 'enju_library'
59
59
  require 'enju_circulation'
60
60
  require 'enju_inventory'
61
61
  require 'enju_bookmark'
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
4
+ version: 0.1.0.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -475,6 +475,22 @@ dependencies:
475
475
  - - ! '>='
476
476
  - !ruby/object:Gem::Version
477
477
  version: '0'
478
+ - !ruby/object:Gem::Dependency
479
+ name: enju_circulation
480
+ requirement: !ruby/object:Gem::Requirement
481
+ none: false
482
+ requirements:
483
+ - - ~>
484
+ - !ruby/object:Gem::Version
485
+ version: 0.1.0.pre
486
+ type: :development
487
+ prerelease: false
488
+ version_requirements: !ruby/object:Gem::Requirement
489
+ none: false
490
+ requirements:
491
+ - - ~>
492
+ - !ruby/object:Gem::Version
493
+ version: 0.1.0.pre
478
494
  description: Bibliographic record module for Next-L Enju
479
495
  email:
480
496
  - tanabe@mwr.mediacom.keio.ac.jp