enju_biblio 0.1.0.pre29 → 0.1.0.pre30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75a71b711b36446b8e878162cbd5d3c2ee25eeaa
4
- data.tar.gz: 86257847819975591360c92b848fa1e599c17a0a
3
+ metadata.gz: 10a42fa95b934a0fdcb3807606c9726178abeb6a
4
+ data.tar.gz: 21f455d947a94a195883b8aa6df638f964bd3623
5
5
  SHA512:
6
- metadata.gz: fca21c8ba243cce3472c0922a4bd24e3e9d372b3c419365741ecee155d295c5347bb1c936d3299ee6fac53c4de6139d368eefb6ea948abc63e03acc66dadf164
7
- data.tar.gz: 80b4c593f729134bfb6d2f7f7d82430912646bf76a349ae07afc2e1e5c5562b301fd4bdd6d46ec92d7045fbb6c33d23e3f93cc41b14a22239294a0b7a0b63aac
6
+ metadata.gz: d98d7df7bd014cda1d544c10e81fa8124dc69aec8f44ed731091e843a12b3aecc4dec9e226a10a00b4d61a34ec286efffcfc8856e0ab2fb5ac6d755e03cdc0d2
7
+ data.tar.gz: 9947c867a00f3417c6546954ffcaaaafe888748607960858560c732fca9c595ec4ec848c309f44fe1fa9e2aa3776c1990b06f077a6d96267f98ef0480e3144e5
@@ -7,7 +7,7 @@ class ImportRequest < ActiveRecord::Base
7
7
  validate :check_isbn
8
8
  #validate :check_imported, :on => :create
9
9
  #validates_uniqueness_of :isbn, :if => Proc.new{|request| ImportRequest.where("created_at > ?", 1.day.ago).collect(&:isbn).include?(request.isbn)}
10
- enju_ndl_search if defined?(EnjuNdl)
10
+ enju_ndl_ndl_search if defined?(EnjuNdl)
11
11
  enju_nii_cinii_books if defined?(EnjuNii)
12
12
 
13
13
  state_machine :initial => :pending do
data/app/models/item.rb CHANGED
@@ -1,5 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  class Item < ActiveRecord::Base
3
+ enju_library_item_model if defined?(EnjuLibrary)
4
+ enju_circulation_item_model if defined?(EnjuCirculation)
5
+ enju_export if defined?(EnjuExport)
6
+ enju_question_item_model if defined?(EnjuQuestion)
7
+ enju_inventory_item_model if defined?(EnjuInventory)
8
+ enju_inter_library_loan_item_model if defined?(EnjuInterLibraryLoan)
3
9
  attr_accessible :call_number, :item_identifier, :circulation_status_id,
4
10
  :checkout_type_id, :shelf_id, :include_supplements, :note, :url, :price,
5
11
  :acquired_at, :bookstore_id, :missing_since, :budget_type_id,
@@ -43,13 +49,6 @@ class Item < ActiveRecord::Base
43
49
  time :updated_at
44
50
  end
45
51
 
46
- enju_circulation_item_model if defined?(EnjuCirculation)
47
- enju_library_item_model if defined?(EnjuLibrary)
48
- enju_question_item_model if defined?(EnjuQuestion)
49
- enju_inventory_item_model if defined?(EnjuInventory)
50
- enju_inter_library_loan_item_model if defined?(EnjuInterLibraryLoan)
51
- #enju_export
52
-
53
52
  attr_accessor :library_id, :manifestation_id
54
53
 
55
54
  paginates_per 10
@@ -1,4 +1,13 @@
1
1
  class Manifestation < ActiveRecord::Base
2
+ enju_circulation_manifestation_model if defined?(EnjuCirculation)
3
+ enju_subject_manifestation_model if defined?(EnjuSubject)
4
+ enju_manifestation_viewer if defined?(EnjuManifestationViewer)
5
+ enju_ndl_ndl_search if defined?(EnjuNdl)
6
+ enju_nii_cinii_books if defined?(EnjuNii)
7
+ enju_export if defined?(EnjuExport)
8
+ enju_oai if defined?(EnjuOai)
9
+ enju_question_manifestation_model if defined?(EnjuQuestion)
10
+ enju_bookmark_manifestation_model if defined?(EnjuBookmark)
2
11
  attr_accessible :original_title, :title_alternative, :title_transcription,
3
12
  :manifestation_identifier, :date_copyrighted,
4
13
  :access_address, :language_id, :carrier_type_id, :extent_id, :start_page,
@@ -190,17 +199,6 @@ class Manifestation < ActiveRecord::Base
190
199
  time :acquired_at
191
200
  end
192
201
 
193
- enju_circulation_model if defined?(EnjuCirculation)
194
- enju_subject_model if defined?(EnjuSubject)
195
- enju_manifestation_viewer if defined?(EnjuManifestationViewer)
196
- enju_ndl_search if defined?(EnjuNdl)
197
- #enju_amazon
198
- enju_oai if defined?(EnjuOai)
199
- enju_nii_cinii_books if defined?(EnjuNii)
200
- enju_question_manifestation_model if defined?(EnjuQuestion)
201
- enju_bookmark_manifestation_model if defined?(EnjuBookmark)
202
- #enju_export
203
-
204
202
  has_paper_trail
205
203
  if Setting.uploaded_file.storage == :s3
206
204
  has_attached_file :attachment, :storage => :s3, :s3_credentials => "#{Rails.root.to_s}/config/s3.yml",
data/app/models/patron.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  class Patron < ActiveRecord::Base
3
+ enju_export if defined?(EnjuExport)
3
4
  attr_accessible :last_name, :middle_name, :first_name,
4
5
  :last_name_transcription, :middle_name_transcription,
5
6
  :first_name_transcription, :corporate_name, :corporate_name_transcription,
@@ -78,8 +79,6 @@ class Patron < ActiveRecord::Base
78
79
  integer :patron_type_id
79
80
  end
80
81
 
81
- #enju_export
82
-
83
82
  paginates_per 10
84
83
 
85
84
  def set_role_and_name
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.1.0.pre29"
2
+ VERSION = "0.1.0.pre30"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_biblio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre29
4
+ version: 0.1.0.pre30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-10 00:00:00.000000000 Z
11
+ date: 2013-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_core
@@ -136,20 +136,6 @@ dependencies:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: has_scope
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - '>='
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - '>='
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: simple_form
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -304,6 +290,20 @@ dependencies:
304
290
  - - ~>
305
291
  - !ruby/object:Gem::Version
306
292
  version: 0.1.0.pre17
293
+ - !ruby/object:Gem::Dependency
294
+ name: enju_subject
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ~>
298
+ - !ruby/object:Gem::Version
299
+ version: 0.1.0.pre11
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ~>
305
+ - !ruby/object:Gem::Version
306
+ version: 0.1.0.pre11
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: enju_inventory
309
309
  requirement: !ruby/object:Gem::Requirement
@@ -324,28 +324,28 @@ dependencies:
324
324
  requirements:
325
325
  - - ~>
326
326
  - !ruby/object:Gem::Version
327
- version: 0.1.2.pre9
327
+ version: 0.1.2.pre10
328
328
  type: :development
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - ~>
333
333
  - !ruby/object:Gem::Version
334
- version: 0.1.2.pre9
334
+ version: 0.1.2.pre10
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: enju_event
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - ~>
340
340
  - !ruby/object:Gem::Version
341
- version: 0.1.17.pre9
341
+ version: 0.1.17.pre10
342
342
  type: :development
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - ~>
347
347
  - !ruby/object:Gem::Version
348
- version: 0.1.17.pre9
348
+ version: 0.1.17.pre10
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: enju_manifestation_viewer
351
351
  requirement: !ruby/object:Gem::Requirement
@@ -394,14 +394,14 @@ dependencies:
394
394
  requirements:
395
395
  - - ~>
396
396
  - !ruby/object:Gem::Version
397
- version: 0.1.0.pre18
397
+ version: 0.1.0.pre19
398
398
  type: :development
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - ~>
403
403
  - !ruby/object:Gem::Version
404
- version: 0.1.0.pre18
404
+ version: 0.1.0.pre19
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: enju_oai
407
407
  requirement: !ruby/object:Gem::Requirement
@@ -422,14 +422,14 @@ dependencies:
422
422
  requirements:
423
423
  - - ~>
424
424
  - !ruby/object:Gem::Version
425
- version: 0.1.0.pre13
425
+ version: 0.1.0.pre14
426
426
  type: :development
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
430
  - - ~>
431
431
  - !ruby/object:Gem::Version
432
- version: 0.1.0.pre13
432
+ version: 0.1.0.pre14
433
433
  - !ruby/object:Gem::Dependency
434
434
  name: mobylette
435
435
  requirement: !ruby/object:Gem::Requirement
@@ -1145,7 +1145,7 @@ files:
1145
1145
  - spec/dummy/solr/conf/stopwords.txt
1146
1146
  - spec/dummy/solr/conf/synonyms.txt
1147
1147
  - spec/dummy/solr/data/test/index/segments.gen
1148
- - spec/dummy/solr/data/test/index/segments_4ph
1148
+ - spec/dummy/solr/data/test/index/segments_5yb
1149
1149
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1150
1150
  - spec/dummy/solr/data/test/spellchecker/segments_1
1151
1151
  - spec/dummy/tmp/cache/4AD/470/country_all
@@ -1579,7 +1579,7 @@ test_files:
1579
1579
  - spec/dummy/solr/conf/stopwords.txt
1580
1580
  - spec/dummy/solr/conf/synonyms.txt
1581
1581
  - spec/dummy/solr/data/test/index/segments.gen
1582
- - spec/dummy/solr/data/test/index/segments_4ph
1582
+ - spec/dummy/solr/data/test/index/segments_5yb
1583
1583
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1584
1584
  - spec/dummy/solr/data/test/spellchecker/segments_1
1585
1585
  - spec/dummy/tmp/cache/4AD/470/country_all