enju_circulation 0.1.0.pre12 → 0.1.0.pre13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/reserves_controller.rb +15 -3
  3. data/app/models/reserve.rb +21 -12
  4. data/app/views/reserves/_title.html.erb +4 -2
  5. data/app/views/reserves/edit.html.erb +5 -0
  6. data/app/views/reserves/index.html.erb +14 -0
  7. data/app/views/reserves/show.html.erb +3 -3
  8. data/lib/enju_circulation/version.rb +1 -1
  9. data/spec/controllers/reserves_controller_spec.rb +2 -0
  10. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  11. data/spec/dummy/db/schema.rb +13 -1
  12. data/spec/dummy/db/test.sqlite3 +0 -0
  13. data/spec/dummy/solr/data/test/index/_lj.frq +1 -0
  14. data/spec/dummy/solr/data/test/index/_lj.prx +0 -0
  15. data/spec/dummy/solr/data/test/index/{_5d.tis → _lj.tis} +0 -0
  16. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  17. data/spec/dummy/solr/data/test/index/{segments_at → segments_175} +0 -0
  18. data/spec/fixtures/exemplifies.yml +6 -0
  19. data/spec/fixtures/items.yml +10 -0
  20. data/spec/fixtures/reserves.yml +1 -0
  21. data/spec/models/reserve_spec.rb +7 -0
  22. metadata +26 -28
  23. data/spec/dummy/db/development.sqlite3 +0 -0
  24. data/spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb +0 -5
  25. data/spec/dummy/solr/data/test/index/_5d.frq +0 -1
  26. data/spec/dummy/solr/data/test/index/_5d.prx +0 -0
  27. /data/spec/dummy/solr/data/test/index/{_5d.fdt → _lj.fdt} +0 -0
  28. /data/spec/dummy/solr/data/test/index/{_5d.fdx → _lj.fdx} +0 -0
  29. /data/spec/dummy/solr/data/test/index/{_5d.fnm → _lj.fnm} +0 -0
  30. /data/spec/dummy/solr/data/test/index/{_5d.nrm → _lj.nrm} +0 -0
  31. /data/spec/dummy/solr/data/test/index/{_5d.tii → _lj.tii} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfd5c7351216dfcfe77a9f0633f7f5a87468263d
4
- data.tar.gz: 30b2ead9534a1a72aefcaafbe9aa1296a49e3844
3
+ metadata.gz: 5845944eef1f0c2d1777fe6ba7df3fd6f2e377f9
4
+ data.tar.gz: f5c62000d43b8ed38a57bbd1ecc09ef11248300b
5
5
  SHA512:
6
- metadata.gz: 46fc0a5edfe11edb9262fba52a01e2ea43c43e0c0d016430eb5a9d7b8d5914e8a1429ebca6962e7472b485ed39681cc65d5a0cb1d5ba99dd43674610b1e04448
7
- data.tar.gz: 94d674c0ef4142a6a2a624d9febf0efa0a695dc6ba0a70f1ecc9100680aa79a201d47ca7fb9d1928cd2770bbcf36fd120e6d4ab3f638faebd7c877e449e2061d
6
+ metadata.gz: 770526489dcf4b8292fe358f400edb66528c31851ece78572c00a05045bf8ca0d2b80eec80973f54898075aed3e19d8a074f752458a08361103ba67d27d68e14
7
+ data.tar.gz: fd05f0a45c2b765b1c387dce82a4c6286ec4ba45beb0311da096e1c48d19b6cb7abbe13a6e68c11334e9a1342dce68a7a897506dbda8a26d90a23a565429c68f
@@ -25,6 +25,16 @@ class ReservesController < ApplicationController
25
25
 
26
26
  search = Reserve.search
27
27
  query = @query = params[:query].to_s.strip
28
+ sort_by = params[:sort_by].to_s.downcase
29
+ if sort_by == 'title'
30
+ @sort_by = :title
31
+ sort_column = :title_transcription
32
+ order = :asc
33
+ else
34
+ @sort_by = :created_at
35
+ sort_column = :created_at
36
+ order = :desc
37
+ end
28
38
  if params[:format].to_s.downcase == 'csv'
29
39
  page = 1
30
40
  per_page = 65534
@@ -82,7 +92,7 @@ class ReservesController < ApplicationController
82
92
  if reserved_to
83
93
  with(:created_at).less_than reserved_to.tomorrow.beginning_of_day
84
94
  end
85
- order_by :created_at, :desc
95
+ order_by sort_column, order
86
96
  with(:state).equal_to state if state
87
97
  facet :state
88
98
  paginate :page => page.to_i, :per_page => per_page
@@ -191,10 +201,12 @@ class ReservesController < ApplicationController
191
201
  if params[:mode] == 'cancel'
192
202
  @reserve.sm_cancel!
193
203
  else
194
- unless @reserve.retained?
195
- if @reserve.item and @reserve.force_retaining == '1'
204
+ if @reserve.retained?
205
+ if @reserve.item_identifier and @reserve.force_retaining == '1'
196
206
  @reserve.sm_retain!
197
207
  end
208
+ else
209
+ @reserve.sm_retain! if @reserve.item_identifier
198
210
  end
199
211
  end
200
212
  end
@@ -24,14 +24,18 @@ class Reserve < ActiveRecord::Base
24
24
  scope :not_sent_cancel_notice_to_patron, where(:state => 'canceled', :expiration_notice_to_patron => false)
25
25
  scope :not_sent_cancel_notice_to_library, where(:state => 'canceled', :expiration_notice_to_library => false)
26
26
 
27
- belongs_to :user, :validate => true
28
- belongs_to :manifestation, :validate => true
29
- belongs_to :librarian, :class_name => 'User', :validate => true
30
- belongs_to :item, :validate => true
27
+ belongs_to :user #, :validate => true
28
+ belongs_to :manifestation #, :validate => true
29
+ belongs_to :librarian, :class_name => 'User' #, :validate => true
30
+ belongs_to :item #, :validate => true
31
31
  belongs_to :request_status_type
32
32
 
33
- validates_associated :user, :librarian, :item, :request_status_type, :manifestation
34
- validates_presence_of :user, :manifestation, :request_status_type #, :expired_at
33
+ validates_associated :user, :librarian, :request_status_type
34
+ validates :manifestation, :associated => true #, :on => :create
35
+ validates_presence_of :user, :request_status_type
36
+ validates :manifestation, :presence => true, :unless => Proc.new{|reserve|
37
+ reserve.completed?
38
+ }
35
39
  #validates_uniqueness_of :manifestation_id, :scope => :user_id
36
40
  validates_date :expired_at, :allow_blank => true
37
41
  validate :manifestation_must_include_item
@@ -70,7 +74,7 @@ class Reserve < ActiveRecord::Base
70
74
  attr_accessor :user_number, :item_identifier, :force_retaining
71
75
 
72
76
  state_machine :initial => :pending do
73
- before_transition :pending => :requested, :do => :do_request
77
+ before_transition [:pending, :postponed] => :requested, :do => :do_request
74
78
  before_transition :retained => :postponed, :do => :postpone
75
79
  before_transition [:pending, :requested, :retained, :postponed] => :retained, :do => :retain
76
80
  before_transition [:pending ,:requested, :retained, :postponed] => :canceled, :do => :cancel
@@ -134,6 +138,9 @@ class Reserve < ActiveRecord::Base
134
138
  self.hold.include?(reserve)
135
139
  end
136
140
  string :state
141
+ string :title_transcription do
142
+ manifestation.try(:title_transcription)
143
+ end
137
144
  end
138
145
 
139
146
  def set_manifestation
@@ -165,8 +172,8 @@ class Reserve < ActiveRecord::Base
165
172
 
166
173
  def retained_by_other_user?
167
174
  return nil if force_retaining == '1'
168
- if item
169
- if Reserve.retained.where(:item_id => item.item_identifier).first
175
+ if item and !retained?
176
+ if Reserve.retained.where(:item_id => item.item_identifier).count > 0
170
177
  errors[:base] << I18n.t('reserve.attempt_to_update_retained_reservation')
171
178
  end
172
179
  end
@@ -182,8 +189,10 @@ class Reserve < ActiveRecord::Base
182
189
  if self.expired_at.blank?
183
190
  expired_period = self.manifestation.reservation_expired_period(self.user)
184
191
  self.expired_at = (expired_period + 1).days.from_now.beginning_of_day
185
- elsif self.expired_at.beginning_of_day < Time.zone.now
186
- errors[:base] << I18n.t('reserve.invalid_date')
192
+ elsif !completed?
193
+ if self.expired_at.beginning_of_day < Time.zone.now
194
+ errors[:base] << I18n.t('reserve.invalid_date')
195
+ end
187
196
  end
188
197
  end
189
198
  end
@@ -404,7 +413,7 @@ class Reserve < ActiveRecord::Base
404
413
  end
405
414
 
406
415
  def manifestation_must_include_item
407
- unless item_id.blank?
416
+ if item_id.present? and !completed?
408
417
  errors[:base] << I18n.t('reserve.invalid_item') unless manifestation.items.include?(item)
409
418
  end
410
419
  end
@@ -1,5 +1,6 @@
1
- <strong><%= link_to title_with_volume_number(reserve.manifestation), reserve -%></strong>
2
- (<%= link_to t('reserve.bibliographic_detail'), reserve.manifestation %>)
1
+ <% if reserve.manifestation %>
2
+ <strong><%= link_to title_with_volume_number(reserve.manifestation), reserve -%></strong>
3
+ (<%= link_to t('reserve.bibliographic_detail'), reserve.manifestation %>)
3
4
  <br />
4
5
  <%- if reserve.manifestation.creators.readable_by(current_user).exists? -%>
5
6
  <%= t('patron.creator') -%>: <%= patrons_list(reserve.manifestation.creators.readable_by(current_user)) -%>
@@ -18,3 +19,4 @@
18
19
  <%= link_to reserve.manifestation.access_address, reserve.manifestation.access_address -%>
19
20
  <%= link_to image_tag('icons/world_go.png', :size => '16x16', :alt => 'Web'), reserve.manifestation.access_address -%>
20
21
  <%- end -%>
22
+ <% end %>
@@ -33,6 +33,11 @@
33
33
  <%= f.text_field :expired_at, :value => @reserve.expired_at.try(:strftime, "%Y-%m-%d"), :class => 'date_field', :placeholder => "#{t('page.example')}: 2011-04-12"-%>
34
34
  </div>
35
35
 
36
+ <p>
37
+ <strong><%= t('activerecord.attributes.reserve.state') -%>:</strong>
38
+ <%= i18n_state(@reserve.state) -%>
39
+ </p>
40
+
36
41
  <% unless @reserve.errors[:base].empty? %>
37
42
  <div class="field">
38
43
  <%= f.label :force_retaining %><br />
@@ -16,6 +16,20 @@
16
16
  <%- end -%>
17
17
  </div>
18
18
 
19
+ <p>
20
+ <%= t('page.sort_by') -%>:
21
+ <%- if @sort_by == :created_at -%>
22
+ <strong><%= t('activerecord.attributes.reserve.created_at') -%></strong>
23
+ <%- else -%>
24
+ <%= link_to t('activerecord.attributes.reserve.created_at'), url_for(params.merge(:sort_by => nil, :only_path => true)) -%>
25
+ <% end %>
26
+ <%- if @sort_by == :title -%>
27
+ <strong><%= t('page.title') -%></strong>
28
+ <%- else -%>
29
+ <%= link_to t('page.title'), url_for(params.merge(:sort_by => 'title', :only_path => true)) -%>
30
+ <%- end -%>
31
+ </p>
32
+
19
33
  <table class="table table-striped index">
20
34
  <tr>
21
35
  <th style="width: 30px">ID</th>
@@ -3,11 +3,11 @@
3
3
  <div id="content_list">
4
4
  <p id="notice"><%= notice %></p>
5
5
 
6
- <%= render 'manifestations/title', :manifestation => @reserve.manifestation -%>
6
+ <%= render 'manifestations/title', :manifestation => @reserve.manifestation if @reserve.manifestation -%>
7
7
 
8
8
  <p>
9
9
  <strong><%= t('activerecord.models.manifestation') -%>:</strong>
10
- <%= link_to @reserve.manifestation.original_title, @reserve.manifestation -%>
10
+ <%= link_to @reserve.manifestation.original_title, @reserve.manifestation if @reserve.manifestation -%>
11
11
  </p>
12
12
 
13
13
  <p>
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
 
62
62
  <div id="submenu" class="ui-corner-all">
63
- <%= render 'manifestations/book_jacket', :manifestation => @reserve.manifestation -%>
63
+ <%= render 'manifestations/book_jacket', :manifestation => @reserve.manifestation if @reserve.manifestation -%>
64
64
  <ul>
65
65
  <li><%= link_to t('page.edit'), edit_reserve_path(@reserve) -%></li>
66
66
  <%- if @reserve.user.reserves.waiting.include?(@reserve) -%>
@@ -1,3 +1,3 @@
1
1
  module EnjuCirculation
2
- VERSION = "0.1.0.pre12"
2
+ VERSION = "0.1.0.pre13"
3
3
  end
@@ -574,12 +574,14 @@ describe ReservesController do
574
574
  put :update, :id => 15, :reserve => {:item_identifier => '00021'}
575
575
  assigns(:reserve).should_not be_valid
576
576
  response.should be_success
577
+ assigns(:reserve).state.should eq 'requested'
577
578
  reserves(:reserve_00014).state.should eq 'retained'
578
579
  end
579
580
 
580
581
  it "should update retained reservations if force_retaining is enabled" do
581
582
  put :update, :id => 15, :reserve => {:item_identifier => '00021', :force_retaining => '1'}
582
583
  assigns(:reserve).should be_valid
584
+ assigns(:reserve).state.should eq 'retained'
583
585
  response.should redirect_to reserve_url(assigns(:reserve))
584
586
  reserves(:reserve_00014).state.should eq 'postponed'
585
587
  end
@@ -0,0 +1,15 @@
1
+ class CreatePictureFiles < ActiveRecord::Migration
2
+ def change
3
+ create_table :picture_files do |t|
4
+ t.integer :picture_attachable_id
5
+ t.string :picture_attachable_type
6
+ t.string :content_type
7
+ t.text :title
8
+ t.string :thumbnail
9
+ t.integer :position
10
+
11
+ t.timestamps
12
+ end
13
+ add_index :picture_files, [:picture_attachable_id, :picture_attachable_type], :name => "index_picture_files_on_picture_attachable_id_and_type"
14
+ end
15
+ end
@@ -260,7 +260,6 @@ ActiveRecord::Schema.define(:version => 20130304015019) do
260
260
  t.string "state"
261
261
  t.integer "required_score", :default => 0, :null => false
262
262
  t.datetime "acquired_at"
263
- t.integer "manifestation_id"
264
263
  end
265
264
 
266
265
  add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
@@ -617,6 +616,19 @@ ActiveRecord::Schema.define(:version => 20130304015019) do
617
616
  add_index "patrons", ["required_role_id"], :name => "index_patrons_on_required_role_id"
618
617
  add_index "patrons", ["user_id"], :name => "index_patrons_on_user_id", :unique => true
619
618
 
619
+ create_table "picture_files", :force => true do |t|
620
+ t.integer "picture_attachable_id"
621
+ t.string "picture_attachable_type"
622
+ t.string "content_type"
623
+ t.text "title"
624
+ t.string "thumbnail"
625
+ t.integer "position"
626
+ t.datetime "created_at", :null => false
627
+ t.datetime "updated_at", :null => false
628
+ end
629
+
630
+ add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], :name => "index_picture_files_on_picture_attachable_id_and_type"
631
+
620
632
  create_table "produce_types", :force => true do |t|
621
633
  t.string "name"
622
634
  t.text "display_name"
Binary file
@@ -0,0 +1 @@
1
+ 
@@ -145,6 +145,12 @@ exemplify_00024:
145
145
  manifestation_id: 3
146
146
  id: 24
147
147
  created_at: 2008-01-11 02:44:37.135721 +09:00
148
+ exemplify_00025:
149
+ updated_at: 2008-01-11 02:44:37.135721 +09:00
150
+ item_id: 25
151
+ manifestation_id: 8
152
+ id: 25
153
+ created_at: 2008-01-11 02:44:37.135721 +09:00
148
154
 
149
155
 
150
156
  # == Schema Information
@@ -239,6 +239,16 @@ item_00024:
239
239
  id: 24
240
240
  include_supplements: false
241
241
  created_at: 2007-08-24 23:46:20.484813 +09:00
242
+ item_00025:
243
+ updated_at: 2007-08-24 23:46:20.484813 +09:00
244
+ item_identifier: '00025'
245
+ circulation_status_id: 8
246
+ checkout_type_id: 3
247
+ shelf_id: 2
248
+ call_number:
249
+ id: 25
250
+ include_supplements: false
251
+ created_at: 2007-08-24 23:46:20.484813 +09:00
242
252
 
243
253
 
244
254
  # == Schema Information
@@ -90,6 +90,7 @@ reserve_00010:
90
90
  expired_at: <%= 1.hour.ago %>
91
91
  checked_out_at: <%= 1.week.ago %>
92
92
  state: completed
93
+ item_id: 25
93
94
  reserve_00011:
94
95
  updated_at: 2007-09-03 14:20:05.530854 +09:00
95
96
  manifestation_id: 7
@@ -90,6 +90,13 @@ describe Reserve do
90
90
  reservation.save
91
91
  assert reservation.valid?.should eq false
92
92
  end
93
+
94
+ it "should be valid if the reservation is completed and its item is destroyed" do
95
+ reservation = reserves(:reserve_00010)
96
+ reservation.item.destroy
97
+ reservation.reload
98
+ assert reservation.should be_valid
99
+ end
93
100
  end
94
101
 
95
102
  # == Schema Information
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_circulation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre12
4
+ version: 0.1.0.pre13
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-03-04 00:00:00.000000000 Z
11
+ date: 2013-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -170,28 +170,28 @@ dependencies:
170
170
  requirements:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
- version: 0.1.0.pre21
173
+ version: 0.1.0.pre22
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ~>
179
179
  - !ruby/object:Gem::Version
180
- version: 0.1.0.pre21
180
+ version: 0.1.0.pre22
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: enju_library
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
- version: 0.1.0.pre9
187
+ version: 0.1.0.pre11
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - ~>
193
193
  - !ruby/object:Gem::Version
194
- version: 0.1.0.pre9
194
+ version: 0.1.0.pre11
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: enju_export
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -523,7 +523,6 @@ files:
523
523
  - spec/dummy/config/locales/ja.yml
524
524
  - spec/dummy/config/routes.rb
525
525
  - spec/dummy/config.ru
526
- - spec/dummy/db/development.sqlite3
527
526
  - spec/dummy/db/migrate/001_create_patrons.rb
528
527
  - spec/dummy/db/migrate/005_create_manifestations.rb
529
528
  - spec/dummy/db/migrate/006_create_items.rb
@@ -548,6 +547,7 @@ files:
548
547
  - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
549
548
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
550
549
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
550
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
551
551
  - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
552
552
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
553
553
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
@@ -590,7 +590,6 @@ files:
590
590
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
591
591
  - spec/dummy/db/migrate/20120224094141_create_delayed_jobs.rb
592
592
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
593
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
594
593
  - spec/dummy/db/schema.rb
595
594
  - spec/dummy/db/test.sqlite3
596
595
  - spec/dummy/public/404.html
@@ -611,16 +610,16 @@ files:
611
610
  - spec/dummy/solr/conf/spellings.txt
612
611
  - spec/dummy/solr/conf/stopwords.txt
613
612
  - spec/dummy/solr/conf/synonyms.txt
614
- - spec/dummy/solr/data/test/index/_5d.fdt
615
- - spec/dummy/solr/data/test/index/_5d.fdx
616
- - spec/dummy/solr/data/test/index/_5d.fnm
617
- - spec/dummy/solr/data/test/index/_5d.frq
618
- - spec/dummy/solr/data/test/index/_5d.nrm
619
- - spec/dummy/solr/data/test/index/_5d.prx
620
- - spec/dummy/solr/data/test/index/_5d.tii
621
- - spec/dummy/solr/data/test/index/_5d.tis
613
+ - spec/dummy/solr/data/test/index/_lj.fdt
614
+ - spec/dummy/solr/data/test/index/_lj.fdx
615
+ - spec/dummy/solr/data/test/index/_lj.fnm
616
+ - spec/dummy/solr/data/test/index/_lj.frq
617
+ - spec/dummy/solr/data/test/index/_lj.nrm
618
+ - spec/dummy/solr/data/test/index/_lj.prx
619
+ - spec/dummy/solr/data/test/index/_lj.tii
620
+ - spec/dummy/solr/data/test/index/_lj.tis
622
621
  - spec/dummy/solr/data/test/index/segments.gen
623
- - spec/dummy/solr/data/test/index/segments_at
622
+ - spec/dummy/solr/data/test/index/segments_175
624
623
  - spec/dummy/solr/data/test/spellchecker/segments.gen
625
624
  - spec/dummy/solr/data/test/spellchecker/segments_1
626
625
  - spec/factories/basket.rb
@@ -797,7 +796,6 @@ test_files:
797
796
  - spec/dummy/config/locales/ja.yml
798
797
  - spec/dummy/config/routes.rb
799
798
  - spec/dummy/config.ru
800
- - spec/dummy/db/development.sqlite3
801
799
  - spec/dummy/db/migrate/001_create_patrons.rb
802
800
  - spec/dummy/db/migrate/005_create_manifestations.rb
803
801
  - spec/dummy/db/migrate/006_create_items.rb
@@ -822,6 +820,7 @@ test_files:
822
820
  - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
823
821
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
824
822
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
823
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
825
824
  - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
826
825
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
827
826
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
@@ -864,7 +863,6 @@ test_files:
864
863
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
865
864
  - spec/dummy/db/migrate/20120224094141_create_delayed_jobs.rb
866
865
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
867
- - spec/dummy/db/migrate/20121119153944_add_manifestation_id_to_item.rb
868
866
  - spec/dummy/db/schema.rb
869
867
  - spec/dummy/db/test.sqlite3
870
868
  - spec/dummy/public/404.html
@@ -885,16 +883,16 @@ test_files:
885
883
  - spec/dummy/solr/conf/spellings.txt
886
884
  - spec/dummy/solr/conf/stopwords.txt
887
885
  - spec/dummy/solr/conf/synonyms.txt
888
- - spec/dummy/solr/data/test/index/_5d.fdt
889
- - spec/dummy/solr/data/test/index/_5d.fdx
890
- - spec/dummy/solr/data/test/index/_5d.fnm
891
- - spec/dummy/solr/data/test/index/_5d.frq
892
- - spec/dummy/solr/data/test/index/_5d.nrm
893
- - spec/dummy/solr/data/test/index/_5d.prx
894
- - spec/dummy/solr/data/test/index/_5d.tii
895
- - spec/dummy/solr/data/test/index/_5d.tis
886
+ - spec/dummy/solr/data/test/index/_lj.fdt
887
+ - spec/dummy/solr/data/test/index/_lj.fdx
888
+ - spec/dummy/solr/data/test/index/_lj.fnm
889
+ - spec/dummy/solr/data/test/index/_lj.frq
890
+ - spec/dummy/solr/data/test/index/_lj.nrm
891
+ - spec/dummy/solr/data/test/index/_lj.prx
892
+ - spec/dummy/solr/data/test/index/_lj.tii
893
+ - spec/dummy/solr/data/test/index/_lj.tis
896
894
  - spec/dummy/solr/data/test/index/segments.gen
897
- - spec/dummy/solr/data/test/index/segments_at
895
+ - spec/dummy/solr/data/test/index/segments_175
898
896
  - spec/dummy/solr/data/test/spellchecker/segments.gen
899
897
  - spec/dummy/solr/data/test/spellchecker/segments_1
900
898
  - spec/factories/basket.rb
Binary file
@@ -1,5 +0,0 @@
1
- class AddManifestationIdToItem < ActiveRecord::Migration
2
- def change
3
- add_column :items, :manifestation_id, :integer
4
- end
5
- end
@@ -1 +0,0 @@
1
-