enju_circulation 0.1.0.pre38 → 0.1.0.pre39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/manifestation_checkout_stats_controller.rb +3 -0
- data/app/models/carrier_type_has_checkout_type.rb +2 -2
- data/app/models/checkin.rb +7 -5
- data/app/models/checkout.rb +11 -7
- data/app/models/checkout_type.rb +3 -3
- data/app/models/circulation_status.rb +6 -5
- data/app/models/item_has_use_restriction.rb +1 -1
- data/app/models/lending_policy.rb +1 -1
- data/app/models/manifestation_checkout_stat.rb +1 -1
- data/app/models/manifestation_reserve_stat.rb +1 -1
- data/app/models/reserve.rb +19 -19
- data/app/models/use_restriction.rb +5 -4
- data/app/models/user_group_has_checkout_type.rb +1 -1
- data/app/views/checked_items/new.html.erb +1 -1
- data/app/views/checkouts/_index_user.html.erb +1 -1
- data/app/views/manifestation_checkout_stats/show.html.erb +9 -0
- data/app/views/manifestation_checkout_stats/show.txt.erb +3 -2
- data/app/views/manifestation_reserve_stats/show.txt.erb +3 -2
- data/config/locales/translation_en.yml +1 -0
- data/config/locales/translation_ja.yml +1 -0
- data/lib/enju_circulation/item.rb +3 -3
- data/lib/enju_circulation/user_group.rb +2 -2
- data/lib/enju_circulation/version.rb +1 -1
- data/spec/controllers/checkout_types_controller_spec.rb +2 -2
- data/spec/controllers/circulation_statuses_controller_spec.rb +4 -4
- data/spec/controllers/item_has_use_restrictions_controller_spec.rb +2 -2
- data/spec/controllers/manifestation_checkout_stats_controller_spec.rb +4 -4
- data/spec/controllers/manifestation_reserve_stats_controller_spec.rb +4 -4
- data/spec/controllers/use_restrictions_controller_spec.rb +2 -2
- data/spec/controllers/user_checkout_stats_controller_spec.rb +4 -4
- data/spec/controllers/user_reserve_stats_controller_spec.rb +4 -4
- data/spec/dummy/config/boot.rb +2 -2
- data/spec/dummy/config/initializers/friendly_id.rb +90 -0
- data/spec/dummy/db/migrate/005_create_manifestations.rb +0 -1
- data/spec/dummy/db/migrate/133_create_agent_merges.rb +15 -0
- data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +13 -0
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +0 -1
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +1 -1
- data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
- data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +9 -0
- data/spec/dummy/db/schema.rb +23 -5
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/default/data/index/_8df.fdt +0 -0
- data/spec/dummy/solr/default/data/index/{_7tr.si → _8df.si} +0 -0
- data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.tim → _8df_Lucene41_0.tim} +0 -0
- data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.tip → _8df_Lucene41_0.tip} +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_dfb +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017389 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017390 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017391 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017392 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017393 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017394 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017395 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017396 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017397 +0 -0
- data/spec/dummy/tmp/cache/stdout +27 -1875
- data/spec/dummy/tmp/pids/redis-test.pid +1 -1
- data/spec/fixtures/users.yml +1 -1
- data/spec/models/reserve_spec.rb +2 -2
- data/spec/views/reserves/index.html.erb_spec.rb +1 -1
- metadata +68 -153
- data/lib/generators/enju_circulation/setup/templates/db/fixtures/carrier_types.yml +0 -29
- data/spec/dummy/solr/default/data/index/_7tr.fdt +0 -0
- data/spec/dummy/solr/default/data/index/segments_cjn +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016249 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016250 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016251 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016252 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016253 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016254 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016255 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016256 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016257 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0007f9aec08cc2727b3d00cd62cf1d0f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0e3e358e4fe4601ba5e435f6d0c86f12 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/129cec5384c0f26fcfb0ce65048298c5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/181c975b1296d7ebe81714d5e64bc098 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1c1fbab93e4552626da626e0dbe70c74 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1e58a07a3701da9fb9c176d67162af2b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2b35ad8fee7e1228e205669278e2adda +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f09f58943a88f21e3a0318621391785 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2ffe508d0533d0afd2a37bb574eda40d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3753d928863ee65118b9f2da1c6e504d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/40e90f0c329b14292a9ff1a2fe907b39 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/45f3c74e1e31b58d9bda6908d5623290 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/49a3464eb6bcffb3d9f5b47b133edabb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/49d32c13d390c1b80d8b2705aac86579 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/50e64f45f0cb4cee52fd3f3908f89a82 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/51f7d34a9e9bebb47b7201cfebfec34d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5995180d1cfd7cad71ec6d9e1a538f0e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/604e0e4b3c01d488d6fb087e9fdaeb94 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6401fc09d2b894df2ad251b007df145a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/65a8d4d288e5f082f0166aa7be7a2464 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6f5d66df18892df6af39c9cfd784f0f5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fcdd2234a7c25f9d4179ca12fd9f7b4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fdb4513af157010ef79b56df44d665e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/750439d8043ed022910956fbb55faa65 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/811e5198d0dc4efe02d28c0c2215e207 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/83ea20e0b25e77f5dce5bf733b088292 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9604073a83f822f13caaabd7e157bbbb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/98d02556564ee10aef4c3397bb94d5b9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9cfe4d48f5258863dbfb3623c797fb15 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a296264dcc89e1f8ab6382e678ffbe38 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/abee2d4cb18d15789dcdc9c680f3e6de +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c1ab0ecf3cf57db41d9e4cd9306d8829 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c4a984c6feb506f3e1f9120a8d029bda +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ccdcb26ebc6ef3b684368b368edf4f99 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d34b5413caa9407126db68d5d590804a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d4ac74c17332ad931b72f42d7997fcc0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dd672deb061233e0db1d2f413d27213f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1fcfb0faa3c12467a1c35251e04c8b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e2d21478696ac96ad895f7c3b8d31594 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e577e9ce00153ad2e59111f761d0fb15 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9738177de2083b68d42e053a1529244 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e9ce2df3f0160329df69b22a911dbd04 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f2e83d3b5fe984832bfeff09b0e3b8d2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f90eee17e0e5eaea50e6064ded54617c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fa8e81ce1d45228121b9df5618542190 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fbdc1d9347cb228f06807b76c6c2974e +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr.fdx → _8df.fdx} +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr.fnm → _8df.fnm} +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr.nvd → _8df.nvd} +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr.nvm → _8df.nvm} +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.doc → _8df_Lucene41_0.doc} +0 -0
- /data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.pos → _8df_Lucene41_0.pos} +0 -0
@@ -13,7 +13,7 @@ describe UserReserveStatsController do
|
|
13
13
|
|
14
14
|
it "assigns all user_reserve_stats as @user_reserve_stats" do
|
15
15
|
get :index
|
16
|
-
assigns(:user_reserve_stats).should eq(UserReserveStat.
|
16
|
+
assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
@@ -22,7 +22,7 @@ describe UserReserveStatsController do
|
|
22
22
|
|
23
23
|
it "assigns all user_reserve_stats as @user_reserve_stats" do
|
24
24
|
get :index
|
25
|
-
assigns(:user_reserve_stats).should eq(UserReserveStat.
|
25
|
+
assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
@@ -31,14 +31,14 @@ describe UserReserveStatsController do
|
|
31
31
|
|
32
32
|
it "assigns all user_reserve_stats as @user_reserve_stats" do
|
33
33
|
get :index
|
34
|
-
assigns(:user_reserve_stats).should eq(UserReserveStat.
|
34
|
+
assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
38
|
describe "When not logged in" do
|
39
39
|
it "should not assign user_reserve_stats as @user_reserve_stats" do
|
40
40
|
get :index
|
41
|
-
assigns(:user_reserve_stats).should eq(UserReserveStat.
|
41
|
+
assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
data/spec/dummy/config/boot.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
|
2
|
+
gemfile = ENV['BUNDLE_GEMFILE'] || File.expand_path('../../../../Gemfile', __FILE__)
|
3
3
|
|
4
4
|
if File.exist?(gemfile)
|
5
5
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
@@ -7,4 +7,4 @@ if File.exist?(gemfile)
|
|
7
7
|
Bundler.setup
|
8
8
|
end
|
9
9
|
|
10
|
-
$:.unshift File.expand_path('../../../../lib', __FILE__)
|
10
|
+
$:.unshift File.expand_path('../../../../lib', __FILE__)
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# FriendlyId Global Configuration
|
2
|
+
#
|
3
|
+
# Use this to set up shared configuration options for your entire application.
|
4
|
+
# Any of the configuration options shown here can also be applied to single
|
5
|
+
# models by passing arguments to the `friendly_id` class method or defining
|
6
|
+
# methods in your model.
|
7
|
+
#
|
8
|
+
# To learn more, check out the guide:
|
9
|
+
#
|
10
|
+
# http://norman.github.io/friendly_id/file.Guide.html
|
11
|
+
|
12
|
+
if Rails::VERSION::MAJOR == 4
|
13
|
+
FriendlyId.defaults do |config|
|
14
|
+
# ## Reserved Words
|
15
|
+
#
|
16
|
+
# Some words could conflict with Rails's routes when used as slugs, or are
|
17
|
+
# undesirable to allow as slugs. Edit this list as needed for your app.
|
18
|
+
config.use :reserved
|
19
|
+
|
20
|
+
config.reserved_words = %w(new edit index session login logout users admin
|
21
|
+
stylesheets assets javascripts images)
|
22
|
+
|
23
|
+
# ## Friendly Finders
|
24
|
+
#
|
25
|
+
# Uncomment this to use friendly finders in all models. By default, if
|
26
|
+
# you wish to find a record by its friendly id, you must do:
|
27
|
+
#
|
28
|
+
# MyModel.friendly.find('foo')
|
29
|
+
#
|
30
|
+
# If you uncomment this, you can do:
|
31
|
+
#
|
32
|
+
# MyModel.find('foo')
|
33
|
+
#
|
34
|
+
# This is significantly more convenient but may not be appropriate for
|
35
|
+
# all applications, so you must explicity opt-in to this behavior. You can
|
36
|
+
# always also configure it on a per-model basis if you prefer.
|
37
|
+
#
|
38
|
+
# Something else to consider is that using the :finders addon boosts
|
39
|
+
# performance because it will avoid Rails-internal code that makes runtime
|
40
|
+
# calls to `Module.extend`.
|
41
|
+
#
|
42
|
+
config.use :finders
|
43
|
+
#
|
44
|
+
# ## Slugs
|
45
|
+
#
|
46
|
+
# Most applications will use the :slugged module everywhere. If you wish
|
47
|
+
# to do so, uncomment the following line.
|
48
|
+
#
|
49
|
+
# config.use :slugged
|
50
|
+
#
|
51
|
+
# By default, FriendlyId's :slugged addon expects the slug column to be named
|
52
|
+
# 'slug', but you can change it if you wish.
|
53
|
+
#
|
54
|
+
# config.slug_column = 'slug'
|
55
|
+
#
|
56
|
+
# When FriendlyId can not generate a unique ID from your base method, it appends
|
57
|
+
# a UUID, separated by a single dash. You can configure the character used as the
|
58
|
+
# separator. If you're upgrading from FriendlyId 4, you may wish to replace this
|
59
|
+
# with two dashes.
|
60
|
+
#
|
61
|
+
# config.sequence_separator = '-'
|
62
|
+
#
|
63
|
+
# ## Tips and Tricks
|
64
|
+
#
|
65
|
+
# ### Controlling when slugs are generated
|
66
|
+
#
|
67
|
+
# As of FriendlyId 5.0, new slugs are generated only when the slug field is
|
68
|
+
# nil, but if you're using a column as your base method can change this
|
69
|
+
# behavior by overriding the `should_generate_new_friendly_id` method that
|
70
|
+
# FriendlyId adds to your model. The change below makes FriendlyId 5.0 behave
|
71
|
+
# more like 4.0.
|
72
|
+
#
|
73
|
+
# config.use Module.new {
|
74
|
+
# def should_generate_new_friendly_id?
|
75
|
+
# slug.blank? || <your_column_name_here>_changed?
|
76
|
+
# end
|
77
|
+
# }
|
78
|
+
#
|
79
|
+
# FriendlyId uses Rails's `parameterize` method to generate slugs, but for
|
80
|
+
# languages that don't use the Roman alphabet, that's not usually suffient. Here
|
81
|
+
# we use the Babosa library to transliterate Russian Cyrillic slugs to ASCII. If
|
82
|
+
# you use this, don't forget to add "babosa" to your Gemfile.
|
83
|
+
#
|
84
|
+
# config.use Module.new {
|
85
|
+
# def normalize_friendly_id(text)
|
86
|
+
# text.to_slug.normalize! :transliterations => [:russian, :latin]
|
87
|
+
# end
|
88
|
+
# }
|
89
|
+
end
|
90
|
+
end
|
@@ -13,7 +13,6 @@ class CreateManifestations < ActiveRecord::Migration
|
|
13
13
|
t.string :access_address
|
14
14
|
t.integer :language_id, :default => 1, :null => false
|
15
15
|
t.integer :carrier_type_id, :default => 1, :null => false
|
16
|
-
t.integer :extent_id, :default => 1, :null => false
|
17
16
|
t.integer :start_page
|
18
17
|
t.integer :end_page
|
19
18
|
t.integer :height
|
@@ -0,0 +1,15 @@
|
|
1
|
+
class CreateAgentMerges < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :agent_merges do |t|
|
4
|
+
t.integer :agent_id, :agent_merge_list_id, :null => false
|
5
|
+
|
6
|
+
t.timestamps
|
7
|
+
end
|
8
|
+
add_index :agent_merges, :agent_id
|
9
|
+
add_index :agent_merges, :agent_merge_list_id
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.down
|
13
|
+
drop_table :agent_merges
|
14
|
+
end
|
15
|
+
end
|
@@ -7,6 +7,6 @@ class CreateSeriesStatementMerges < ActiveRecord::Migration
|
|
7
7
|
t.timestamps
|
8
8
|
end
|
9
9
|
add_index :series_statement_merges, :series_statement_id
|
10
|
-
add_index :series_statement_merges, :series_statement_merge_list_id
|
10
|
+
add_index :series_statement_merges, :series_statement_merge_list_id, name: "index_series_statement_merges_on_list_id"
|
11
11
|
end
|
12
12
|
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20140823095740) do
|
15
15
|
|
16
16
|
create_table "agent_import_file_transitions", :force => true do |t|
|
17
17
|
t.string "to_state"
|
@@ -50,12 +50,27 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
|
|
50
50
|
create_table "agent_import_results", :force => true do |t|
|
51
51
|
t.integer "agent_import_file_id"
|
52
52
|
t.integer "agent_id"
|
53
|
-
t.integer "user_id"
|
54
53
|
t.text "body"
|
55
54
|
t.datetime "created_at", :null => false
|
56
55
|
t.datetime "updated_at", :null => false
|
57
56
|
end
|
58
57
|
|
58
|
+
create_table "agent_merge_lists", :force => true do |t|
|
59
|
+
t.string "title"
|
60
|
+
t.datetime "created_at", :null => false
|
61
|
+
t.datetime "updated_at", :null => false
|
62
|
+
end
|
63
|
+
|
64
|
+
create_table "agent_merges", :force => true do |t|
|
65
|
+
t.integer "agent_id", :null => false
|
66
|
+
t.integer "agent_merge_list_id", :null => false
|
67
|
+
t.datetime "created_at", :null => false
|
68
|
+
t.datetime "updated_at", :null => false
|
69
|
+
end
|
70
|
+
|
71
|
+
add_index "agent_merges", ["agent_id"], :name => "index_agent_merges_on_agent_id"
|
72
|
+
add_index "agent_merges", ["agent_merge_list_id"], :name => "index_agent_merges_on_agent_merge_list_id"
|
73
|
+
|
59
74
|
create_table "agent_relationship_types", :force => true do |t|
|
60
75
|
t.string "name", :null => false
|
61
76
|
t.text "display_name"
|
@@ -656,7 +671,6 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
|
|
656
671
|
t.string "access_address"
|
657
672
|
t.integer "language_id", :default => 1, :null => false
|
658
673
|
t.integer "carrier_type_id", :default => 1, :null => false
|
659
|
-
t.integer "extent_id", :default => 1, :null => false
|
660
674
|
t.integer "start_page"
|
661
675
|
t.integer "end_page"
|
662
676
|
t.integer "height"
|
@@ -697,8 +711,11 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
|
|
697
711
|
t.text "attachment_meta"
|
698
712
|
t.integer "month_of_publication"
|
699
713
|
t.boolean "fulltext_content"
|
700
|
-
t.boolean "
|
714
|
+
t.boolean "serial"
|
701
715
|
t.text "statement_of_responsibility"
|
716
|
+
t.text "publication_place"
|
717
|
+
t.text "extent"
|
718
|
+
t.text "dimensions"
|
702
719
|
end
|
703
720
|
|
704
721
|
add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
|
@@ -1015,6 +1032,7 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
|
|
1015
1032
|
t.text "body"
|
1016
1033
|
t.datetime "created_at", :null => false
|
1017
1034
|
t.datetime "updated_at", :null => false
|
1035
|
+
t.text "error_message"
|
1018
1036
|
end
|
1019
1037
|
|
1020
1038
|
add_index "resource_import_results", ["item_id"], :name => "index_resource_import_results_on_item_id"
|
@@ -1055,7 +1073,7 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
|
|
1055
1073
|
end
|
1056
1074
|
|
1057
1075
|
add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
|
1058
|
-
add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "
|
1076
|
+
add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_list_id"
|
1059
1077
|
|
1060
1078
|
create_table "series_statements", :force => true do |t|
|
1061
1079
|
t.text "original_title"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|