enju_manifestation_viewer 0.1.0.pre15 → 0.1.0.pre16

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: 02c3d3bf5f50a0f772f0be2785a43325512069b8
4
- data.tar.gz: bb4d2404ff1764f7e9118f3a0c9d6f0580b4dd54
3
+ metadata.gz: 72926db1200c3fc8cf291463afdbd368a61957b5
4
+ data.tar.gz: 53db4a1e7ca668ce23ebf09e8e20f5359fcc50e4
5
5
  SHA512:
6
- metadata.gz: 0cb5568f2f36b02b48f0ae15dd0dee23062e1a74f5660cee7aa0fb0d48add3b7a1366608a78201993b504217c4686150e8b21af3e7b5b93e53ddfac4dede45b5
7
- data.tar.gz: 48b77a55be4e77c835ef0d3925a8cba9b102580cb991c9d782bb92761a929664e62fa18704430422f41031c7836d79886c5c287df3cce7586a2a2e10ce48e82e
6
+ metadata.gz: 376b49f9d0b8b692aafb06dceaf305011596d3c36d8883703f0241cab1a2ca046e7ae835027af201dee32ed6af983618c62863601ea2fa12c997a7dedf812c17
7
+ data.tar.gz: 12631513acbb1bdb99f2c5ee7335ab7323b5fe501dde80641ee21eb36fdf49e33b3eef5b4b2affc80542f1530aa455e6da220ad41580aca644928bc5aa9cd53d
@@ -1,3 +1,3 @@
1
1
  module EnjuManifestationViewer
2
- VERSION = "0.1.0.pre15"
2
+ VERSION = "0.1.0.pre16"
3
3
  end
@@ -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,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
@@ -0,0 +1,13 @@
1
+ class CreateAgentMergeLists < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :agent_merge_lists do |t|
4
+ t.string :title
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :agent_merge_lists
12
+ end
13
+ 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
@@ -9,11 +9,11 @@
9
9
  # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
10
  # you'll amass, the slower it'll run and the greater likelihood for issues).
11
11
  #
12
- # It's strongly recommended to check this file into your version control system.
12
+ # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130509185724) do
14
+ ActiveRecord::Schema.define(version: 20130509185724) do
15
15
 
16
- create_table "agent_import_files", :force => true do |t|
16
+ create_table "agent_import_files", force: true do |t|
17
17
  t.integer "parent_id"
18
18
  t.string "content_type"
19
19
  t.integer "size"
@@ -25,57 +25,73 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
25
25
  t.string "agent_import_content_type"
26
26
  t.integer "agent_import_file_size"
27
27
  t.datetime "agent_import_updated_at"
28
- t.datetime "created_at", :null => false
29
- t.datetime "updated_at", :null => false
28
+ t.datetime "created_at"
29
+ t.datetime "updated_at"
30
30
  t.string "agent_import_fingerprint"
31
31
  t.text "error_message"
32
32
  t.string "edit_mode"
33
33
  end
34
34
 
35
- add_index "agent_import_files", ["parent_id"], :name => "index_agent_import_files_on_parent_id"
36
- add_index "agent_import_files", ["state"], :name => "index_agent_import_files_on_state"
37
- add_index "agent_import_files", ["user_id"], :name => "index_agent_import_files_on_user_id"
35
+ add_index "agent_import_files", ["parent_id"], name: "index_agent_import_files_on_parent_id"
36
+ add_index "agent_import_files", ["state"], name: "index_agent_import_files_on_state"
37
+ add_index "agent_import_files", ["user_id"], name: "index_agent_import_files_on_user_id"
38
38
 
39
- create_table "agent_import_results", :force => true do |t|
39
+ create_table "agent_import_results", force: true do |t|
40
40
  t.integer "agent_import_file_id"
41
41
  t.integer "agent_id"
42
42
  t.integer "user_id"
43
43
  t.text "body"
44
- t.datetime "created_at", :null => false
45
- t.datetime "updated_at", :null => false
44
+ t.datetime "created_at"
45
+ t.datetime "updated_at"
46
+ end
47
+
48
+ create_table "agent_merge_lists", force: true do |t|
49
+ t.string "title"
50
+ t.datetime "created_at"
51
+ t.datetime "updated_at"
52
+ end
53
+
54
+ create_table "agent_merges", force: true do |t|
55
+ t.integer "agent_id", null: false
56
+ t.integer "agent_merge_list_id", null: false
57
+ t.datetime "created_at"
58
+ t.datetime "updated_at"
46
59
  end
47
60
 
48
- create_table "agent_relationship_types", :force => true do |t|
49
- t.string "name", :null => false
61
+ add_index "agent_merges", ["agent_id"], name: "index_agent_merges_on_agent_id"
62
+ add_index "agent_merges", ["agent_merge_list_id"], name: "index_agent_merges_on_agent_merge_list_id"
63
+
64
+ create_table "agent_relationship_types", force: true do |t|
65
+ t.string "name", null: false
50
66
  t.text "display_name"
51
67
  t.text "note"
52
68
  t.integer "position"
53
- t.datetime "created_at", :null => false
54
- t.datetime "updated_at", :null => false
69
+ t.datetime "created_at"
70
+ t.datetime "updated_at"
55
71
  end
56
72
 
57
- create_table "agent_relationships", :force => true do |t|
73
+ create_table "agent_relationships", force: true do |t|
58
74
  t.integer "parent_id"
59
75
  t.integer "child_id"
60
76
  t.integer "agent_relationship_type_id"
61
- t.datetime "created_at", :null => false
62
- t.datetime "updated_at", :null => false
77
+ t.datetime "created_at"
78
+ t.datetime "updated_at"
63
79
  t.integer "position"
64
80
  end
65
81
 
66
- add_index "agent_relationships", ["child_id"], :name => "index_agent_relationships_on_child_id"
67
- add_index "agent_relationships", ["parent_id"], :name => "index_agent_relationships_on_parent_id"
82
+ add_index "agent_relationships", ["child_id"], name: "index_agent_relationships_on_child_id"
83
+ add_index "agent_relationships", ["parent_id"], name: "index_agent_relationships_on_parent_id"
68
84
 
69
- create_table "agent_types", :force => true do |t|
70
- t.string "name", :null => false
85
+ create_table "agent_types", force: true do |t|
86
+ t.string "name", null: false
71
87
  t.text "display_name"
72
88
  t.text "note"
73
89
  t.integer "position"
74
- t.datetime "created_at", :null => false
75
- t.datetime "updated_at", :null => false
90
+ t.datetime "created_at"
91
+ t.datetime "updated_at"
76
92
  end
77
93
 
78
- create_table "agents", :force => true do |t|
94
+ create_table "agents", force: true do |t|
79
95
  t.integer "user_id"
80
96
  t.string "last_name"
81
97
  t.string "middle_name"
@@ -88,8 +104,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
88
104
  t.string "full_name"
89
105
  t.text "full_name_transcription"
90
106
  t.text "full_name_alternative"
91
- t.datetime "created_at", :null => false
92
- t.datetime "updated_at", :null => false
107
+ t.datetime "created_at"
108
+ t.datetime "updated_at"
93
109
  t.datetime "deleted_at"
94
110
  t.string "zip_code_1"
95
111
  t.string "zip_code_2"
@@ -109,13 +125,13 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
109
125
  t.text "region"
110
126
  t.datetime "date_of_birth"
111
127
  t.datetime "date_of_death"
112
- t.integer "language_id", :default => 1, :null => false
113
- t.integer "country_id", :default => 1, :null => false
114
- t.integer "agent_type_id", :default => 1, :null => false
115
- t.integer "lock_version", :default => 0, :null => false
128
+ t.integer "language_id", default: 1, null: false
129
+ t.integer "country_id", default: 1, null: false
130
+ t.integer "agent_type_id", default: 1, null: false
131
+ t.integer "lock_version", default: 0, null: false
116
132
  t.text "note"
117
- t.integer "required_role_id", :default => 1, :null => false
118
- t.integer "required_score", :default => 0, :null => false
133
+ t.integer "required_role_id", default: 1, null: false
134
+ t.integer "required_score", default: 0, null: false
119
135
  t.string "state"
120
136
  t.text "email"
121
137
  t.text "url"
@@ -125,59 +141,59 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
125
141
  t.string "agent_identifier"
126
142
  end
127
143
 
128
- add_index "agents", ["agent_identifier"], :name => "index_agents_on_agent_identifier"
129
- add_index "agents", ["country_id"], :name => "index_agents_on_country_id"
130
- add_index "agents", ["full_name"], :name => "index_agents_on_full_name"
131
- add_index "agents", ["language_id"], :name => "index_agents_on_language_id"
132
- add_index "agents", ["required_role_id"], :name => "index_agents_on_required_role_id"
133
- add_index "agents", ["user_id"], :name => "index_agents_on_user_id", :unique => true
144
+ add_index "agents", ["agent_identifier"], name: "index_agents_on_agent_identifier"
145
+ add_index "agents", ["country_id"], name: "index_agents_on_country_id"
146
+ add_index "agents", ["full_name"], name: "index_agents_on_full_name"
147
+ add_index "agents", ["language_id"], name: "index_agents_on_language_id"
148
+ add_index "agents", ["required_role_id"], name: "index_agents_on_required_role_id"
149
+ add_index "agents", ["user_id"], name: "index_agents_on_user_id", unique: true
134
150
 
135
- create_table "carrier_types", :force => true do |t|
136
- t.string "name", :null => false
151
+ create_table "carrier_types", force: true do |t|
152
+ t.string "name", null: false
137
153
  t.text "display_name"
138
154
  t.text "note"
139
155
  t.integer "position"
140
- t.datetime "created_at", :null => false
141
- t.datetime "updated_at", :null => false
156
+ t.datetime "created_at"
157
+ t.datetime "updated_at"
142
158
  end
143
159
 
144
- create_table "classification_types", :force => true do |t|
145
- t.string "name", :null => false
160
+ create_table "classification_types", force: true do |t|
161
+ t.string "name", null: false
146
162
  t.text "display_name"
147
163
  t.text "note"
148
164
  t.integer "position"
149
- t.datetime "created_at", :null => false
150
- t.datetime "updated_at", :null => false
165
+ t.datetime "created_at"
166
+ t.datetime "updated_at"
151
167
  end
152
168
 
153
- create_table "classifications", :force => true do |t|
169
+ create_table "classifications", force: true do |t|
154
170
  t.integer "parent_id"
155
- t.string "category", :null => false
171
+ t.string "category", null: false
156
172
  t.text "note"
157
- t.integer "classification_type_id", :null => false
158
- t.datetime "created_at", :null => false
159
- t.datetime "updated_at", :null => false
173
+ t.integer "classification_type_id", null: false
174
+ t.datetime "created_at"
175
+ t.datetime "updated_at"
160
176
  t.integer "lft"
161
177
  t.integer "rgt"
162
178
  t.integer "manifestation_id"
163
179
  end
164
180
 
165
- add_index "classifications", ["category"], :name => "index_classifications_on_category"
166
- add_index "classifications", ["classification_type_id"], :name => "index_classifications_on_classification_type_id"
167
- add_index "classifications", ["manifestation_id"], :name => "index_classifications_on_manifestation_id"
168
- add_index "classifications", ["parent_id"], :name => "index_classifications_on_parent_id"
181
+ add_index "classifications", ["category"], name: "index_classifications_on_category"
182
+ add_index "classifications", ["classification_type_id"], name: "index_classifications_on_classification_type_id"
183
+ add_index "classifications", ["manifestation_id"], name: "index_classifications_on_manifestation_id"
184
+ add_index "classifications", ["parent_id"], name: "index_classifications_on_parent_id"
169
185
 
170
- create_table "content_types", :force => true do |t|
171
- t.string "name", :null => false
186
+ create_table "content_types", force: true do |t|
187
+ t.string "name", null: false
172
188
  t.text "display_name"
173
189
  t.text "note"
174
190
  t.integer "position"
175
- t.datetime "created_at", :null => false
176
- t.datetime "updated_at", :null => false
191
+ t.datetime "created_at"
192
+ t.datetime "updated_at"
177
193
  end
178
194
 
179
- create_table "countries", :force => true do |t|
180
- t.string "name", :null => false
195
+ create_table "countries", force: true do |t|
196
+ t.string "name", null: false
181
197
  t.text "display_name"
182
198
  t.string "alpha_2"
183
199
  t.string "alpha_3"
@@ -186,142 +202,142 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
186
202
  t.integer "position"
187
203
  end
188
204
 
189
- add_index "countries", ["alpha_2"], :name => "index_countries_on_alpha_2"
190
- add_index "countries", ["alpha_3"], :name => "index_countries_on_alpha_3"
191
- add_index "countries", ["name"], :name => "index_countries_on_name"
192
- add_index "countries", ["numeric_3"], :name => "index_countries_on_numeric_3"
205
+ add_index "countries", ["alpha_2"], name: "index_countries_on_alpha_2"
206
+ add_index "countries", ["alpha_3"], name: "index_countries_on_alpha_3"
207
+ add_index "countries", ["name"], name: "index_countries_on_name"
208
+ add_index "countries", ["numeric_3"], name: "index_countries_on_numeric_3"
193
209
 
194
- create_table "create_types", :force => true do |t|
210
+ create_table "create_types", force: true do |t|
195
211
  t.string "name"
196
212
  t.text "display_name"
197
213
  t.text "note"
198
214
  t.integer "position"
199
- t.datetime "created_at", :null => false
200
- t.datetime "updated_at", :null => false
215
+ t.datetime "created_at"
216
+ t.datetime "updated_at"
201
217
  end
202
218
 
203
- create_table "creates", :force => true do |t|
204
- t.integer "agent_id", :null => false
205
- t.integer "work_id", :null => false
219
+ create_table "creates", force: true do |t|
220
+ t.integer "agent_id", null: false
221
+ t.integer "work_id", null: false
206
222
  t.integer "position"
207
- t.datetime "created_at", :null => false
208
- t.datetime "updated_at", :null => false
223
+ t.datetime "created_at"
224
+ t.datetime "updated_at"
209
225
  t.integer "create_type_id"
210
226
  end
211
227
 
212
- add_index "creates", ["agent_id"], :name => "index_creates_on_agent_id"
213
- add_index "creates", ["work_id"], :name => "index_creates_on_work_id"
228
+ add_index "creates", ["agent_id"], name: "index_creates_on_agent_id"
229
+ add_index "creates", ["work_id"], name: "index_creates_on_work_id"
214
230
 
215
- create_table "donates", :force => true do |t|
216
- t.integer "agent_id", :null => false
217
- t.integer "item_id", :null => false
218
- t.datetime "created_at", :null => false
219
- t.datetime "updated_at", :null => false
231
+ create_table "donates", force: true do |t|
232
+ t.integer "agent_id", null: false
233
+ t.integer "item_id", null: false
234
+ t.datetime "created_at"
235
+ t.datetime "updated_at"
220
236
  end
221
237
 
222
- add_index "donates", ["agent_id"], :name => "index_donates_on_agent_id"
223
- add_index "donates", ["item_id"], :name => "index_donates_on_item_id"
238
+ add_index "donates", ["agent_id"], name: "index_donates_on_agent_id"
239
+ add_index "donates", ["item_id"], name: "index_donates_on_item_id"
224
240
 
225
- create_table "exemplifies", :force => true do |t|
226
- t.integer "manifestation_id", :null => false
227
- t.integer "item_id", :null => false
241
+ create_table "exemplifies", force: true do |t|
242
+ t.integer "manifestation_id", null: false
243
+ t.integer "item_id", null: false
228
244
  t.integer "position"
229
- t.datetime "created_at", :null => false
230
- t.datetime "updated_at", :null => false
245
+ t.datetime "created_at"
246
+ t.datetime "updated_at"
231
247
  end
232
248
 
233
- add_index "exemplifies", ["item_id"], :name => "index_exemplifies_on_item_id", :unique => true
234
- add_index "exemplifies", ["manifestation_id"], :name => "index_exemplifies_on_manifestation_id"
249
+ add_index "exemplifies", ["item_id"], name: "index_exemplifies_on_item_id", unique: true
250
+ add_index "exemplifies", ["manifestation_id"], name: "index_exemplifies_on_manifestation_id"
235
251
 
236
- create_table "extents", :force => true do |t|
237
- t.string "name", :null => false
252
+ create_table "extents", force: true do |t|
253
+ t.string "name", null: false
238
254
  t.text "display_name"
239
255
  t.text "note"
240
256
  t.integer "position"
241
- t.datetime "created_at", :null => false
242
- t.datetime "updated_at", :null => false
257
+ t.datetime "created_at"
258
+ t.datetime "updated_at"
243
259
  end
244
260
 
245
- create_table "form_of_works", :force => true do |t|
246
- t.string "name", :null => false
261
+ create_table "form_of_works", force: true do |t|
262
+ t.string "name", null: false
247
263
  t.text "display_name"
248
264
  t.text "note"
249
265
  t.integer "position"
250
- t.datetime "created_at", :null => false
251
- t.datetime "updated_at", :null => false
266
+ t.datetime "created_at"
267
+ t.datetime "updated_at"
252
268
  end
253
269
 
254
- create_table "frequencies", :force => true do |t|
255
- t.string "name", :null => false
270
+ create_table "frequencies", force: true do |t|
271
+ t.string "name", null: false
256
272
  t.text "display_name"
257
273
  t.text "note"
258
274
  t.integer "position"
259
- t.datetime "created_at", :null => false
260
- t.datetime "updated_at", :null => false
275
+ t.datetime "created_at"
276
+ t.datetime "updated_at"
261
277
  end
262
278
 
263
- create_table "identifier_types", :force => true do |t|
279
+ create_table "identifier_types", force: true do |t|
264
280
  t.string "name"
265
281
  t.text "display_name"
266
282
  t.text "note"
267
283
  t.integer "position"
268
- t.datetime "created_at", :null => false
269
- t.datetime "updated_at", :null => false
284
+ t.datetime "created_at"
285
+ t.datetime "updated_at"
270
286
  end
271
287
 
272
- create_table "identifiers", :force => true do |t|
273
- t.string "body", :null => false
274
- t.integer "identifier_type_id", :null => false
288
+ create_table "identifiers", force: true do |t|
289
+ t.string "body", null: false
290
+ t.integer "identifier_type_id", null: false
275
291
  t.integer "manifestation_id"
276
292
  t.boolean "primary"
277
293
  t.integer "position"
278
- t.datetime "created_at", :null => false
279
- t.datetime "updated_at", :null => false
294
+ t.datetime "created_at"
295
+ t.datetime "updated_at"
280
296
  end
281
297
 
282
- add_index "identifiers", ["body", "identifier_type_id"], :name => "index_identifiers_on_body_and_identifier_type_id"
283
- add_index "identifiers", ["manifestation_id"], :name => "index_identifiers_on_manifestation_id"
298
+ add_index "identifiers", ["body", "identifier_type_id"], name: "index_identifiers_on_body_and_identifier_type_id"
299
+ add_index "identifiers", ["manifestation_id"], name: "index_identifiers_on_manifestation_id"
284
300
 
285
- create_table "import_requests", :force => true do |t|
301
+ create_table "import_requests", force: true do |t|
286
302
  t.string "isbn"
287
303
  t.string "state"
288
304
  t.integer "manifestation_id"
289
305
  t.integer "user_id"
290
- t.datetime "created_at", :null => false
291
- t.datetime "updated_at", :null => false
306
+ t.datetime "created_at"
307
+ t.datetime "updated_at"
292
308
  end
293
309
 
294
- add_index "import_requests", ["isbn"], :name => "index_import_requests_on_isbn"
295
- add_index "import_requests", ["manifestation_id"], :name => "index_import_requests_on_manifestation_id"
296
- add_index "import_requests", ["user_id"], :name => "index_import_requests_on_user_id"
310
+ add_index "import_requests", ["isbn"], name: "index_import_requests_on_isbn"
311
+ add_index "import_requests", ["manifestation_id"], name: "index_import_requests_on_manifestation_id"
312
+ add_index "import_requests", ["user_id"], name: "index_import_requests_on_user_id"
297
313
 
298
- create_table "items", :force => true do |t|
314
+ create_table "items", force: true do |t|
299
315
  t.string "call_number"
300
316
  t.string "item_identifier"
301
- t.datetime "created_at", :null => false
302
- t.datetime "updated_at", :null => false
317
+ t.datetime "created_at"
318
+ t.datetime "updated_at"
303
319
  t.datetime "deleted_at"
304
- t.integer "shelf_id", :default => 1, :null => false
305
- t.boolean "include_supplements", :default => false, :null => false
320
+ t.integer "shelf_id", default: 1, null: false
321
+ t.boolean "include_supplements", default: false, null: false
306
322
  t.text "note"
307
323
  t.string "url"
308
324
  t.integer "price"
309
- t.integer "lock_version", :default => 0, :null => false
310
- t.integer "required_role_id", :default => 1, :null => false
325
+ t.integer "lock_version", default: 0, null: false
326
+ t.integer "required_role_id", default: 1, null: false
311
327
  t.string "state"
312
- t.integer "required_score", :default => 0, :null => false
328
+ t.integer "required_score", default: 0, null: false
313
329
  t.datetime "acquired_at"
314
330
  t.integer "bookstore_id"
315
331
  t.integer "budget_type_id"
316
332
  end
317
333
 
318
- add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
319
- add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
320
- add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
321
- add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
334
+ add_index "items", ["bookstore_id"], name: "index_items_on_bookstore_id"
335
+ add_index "items", ["item_identifier"], name: "index_items_on_item_identifier"
336
+ add_index "items", ["required_role_id"], name: "index_items_on_required_role_id"
337
+ add_index "items", ["shelf_id"], name: "index_items_on_shelf_id"
322
338
 
323
- create_table "languages", :force => true do |t|
324
- t.string "name", :null => false
339
+ create_table "languages", force: true do |t|
340
+ t.string "name", null: false
325
341
  t.string "native_name"
326
342
  t.text "display_name"
327
343
  t.string "iso_639_1"
@@ -331,56 +347,56 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
331
347
  t.integer "position"
332
348
  end
333
349
 
334
- add_index "languages", ["iso_639_1"], :name => "index_languages_on_iso_639_1"
335
- add_index "languages", ["iso_639_2"], :name => "index_languages_on_iso_639_2"
336
- add_index "languages", ["iso_639_3"], :name => "index_languages_on_iso_639_3"
337
- add_index "languages", ["name"], :name => "index_languages_on_name", :unique => true
350
+ add_index "languages", ["iso_639_1"], name: "index_languages_on_iso_639_1"
351
+ add_index "languages", ["iso_639_2"], name: "index_languages_on_iso_639_2"
352
+ add_index "languages", ["iso_639_3"], name: "index_languages_on_iso_639_3"
353
+ add_index "languages", ["name"], name: "index_languages_on_name", unique: true
338
354
 
339
- create_table "licenses", :force => true do |t|
340
- t.string "name", :null => false
355
+ create_table "licenses", force: true do |t|
356
+ t.string "name", null: false
341
357
  t.string "display_name"
342
358
  t.text "note"
343
359
  t.integer "position"
344
- t.datetime "created_at", :null => false
345
- t.datetime "updated_at", :null => false
360
+ t.datetime "created_at"
361
+ t.datetime "updated_at"
346
362
  end
347
363
 
348
- create_table "manifestation_relationship_types", :force => true do |t|
349
- t.string "name", :null => false
364
+ create_table "manifestation_relationship_types", force: true do |t|
365
+ t.string "name", null: false
350
366
  t.text "display_name"
351
367
  t.text "note"
352
368
  t.integer "position"
353
- t.datetime "created_at", :null => false
354
- t.datetime "updated_at", :null => false
369
+ t.datetime "created_at"
370
+ t.datetime "updated_at"
355
371
  end
356
372
 
357
- create_table "manifestation_relationships", :force => true do |t|
373
+ create_table "manifestation_relationships", force: true do |t|
358
374
  t.integer "parent_id"
359
375
  t.integer "child_id"
360
376
  t.integer "manifestation_relationship_type_id"
361
- t.datetime "created_at", :null => false
362
- t.datetime "updated_at", :null => false
377
+ t.datetime "created_at"
378
+ t.datetime "updated_at"
363
379
  t.integer "position"
364
380
  end
365
381
 
366
- add_index "manifestation_relationships", ["child_id"], :name => "index_manifestation_relationships_on_child_id"
367
- add_index "manifestation_relationships", ["parent_id"], :name => "index_manifestation_relationships_on_parent_id"
382
+ add_index "manifestation_relationships", ["child_id"], name: "index_manifestation_relationships_on_child_id"
383
+ add_index "manifestation_relationships", ["parent_id"], name: "index_manifestation_relationships_on_parent_id"
368
384
 
369
- create_table "manifestations", :force => true do |t|
370
- t.text "original_title", :null => false
385
+ create_table "manifestations", force: true do |t|
386
+ t.text "original_title", null: false
371
387
  t.text "title_alternative"
372
388
  t.text "title_transcription"
373
389
  t.string "classification_number"
374
390
  t.string "manifestation_identifier"
375
391
  t.datetime "date_of_publication"
376
392
  t.datetime "date_copyrighted"
377
- t.datetime "created_at", :null => false
378
- t.datetime "updated_at", :null => false
393
+ t.datetime "created_at"
394
+ t.datetime "updated_at"
379
395
  t.datetime "deleted_at"
380
396
  t.string "access_address"
381
- t.integer "language_id", :default => 1, :null => false
382
- t.integer "carrier_type_id", :default => 1, :null => false
383
- t.integer "extent_id", :default => 1, :null => false
397
+ t.integer "language_id", default: 1, null: false
398
+ t.integer "carrier_type_id", default: 1, null: false
399
+ t.integer "extent_id", default: 1, null: false
384
400
  t.integer "start_page"
385
401
  t.integer "end_page"
386
402
  t.integer "height"
@@ -393,13 +409,13 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
393
409
  t.string "serial_number_string"
394
410
  t.integer "edition"
395
411
  t.text "note"
396
- t.boolean "repository_content", :default => false, :null => false
397
- t.integer "lock_version", :default => 0, :null => false
398
- t.integer "required_role_id", :default => 1, :null => false
412
+ t.boolean "repository_content", default: false, null: false
413
+ t.integer "lock_version", default: 0, null: false
414
+ t.integer "required_role_id", default: 1, null: false
399
415
  t.string "state"
400
- t.integer "required_score", :default => 0, :null => false
401
- t.integer "frequency_id", :default => 1, :null => false
402
- t.boolean "subscription_master", :default => false, :null => false
416
+ t.integer "required_score", default: 0, null: false
417
+ t.integer "frequency_id", default: 1, null: false
418
+ t.boolean "subscription_master", default: false, null: false
403
419
  t.string "attachment_file_name"
404
420
  t.string "attachment_content_type"
405
421
  t.integer "attachment_file_size"
@@ -418,7 +434,7 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
418
434
  t.integer "issue_number"
419
435
  t.integer "serial_number"
420
436
  t.string "ndc"
421
- t.integer "content_type_id", :default => 1
437
+ t.integer "content_type_id", default: 1
422
438
  t.integer "year_of_publication"
423
439
  t.text "attachment_meta"
424
440
  t.integer "month_of_publication"
@@ -427,43 +443,43 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
427
443
  t.text "statement_of_responsibility"
428
444
  end
429
445
 
430
- add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
431
- add_index "manifestations", ["carrier_type_id"], :name => "index_manifestations_on_carrier_type_id"
432
- add_index "manifestations", ["doi"], :name => "index_manifestations_on_doi"
433
- add_index "manifestations", ["frequency_id"], :name => "index_manifestations_on_frequency_id"
434
- add_index "manifestations", ["manifestation_identifier"], :name => "index_manifestations_on_manifestation_identifier"
435
- add_index "manifestations", ["required_role_id"], :name => "index_manifestations_on_required_role_id"
436
- add_index "manifestations", ["updated_at"], :name => "index_manifestations_on_updated_at"
446
+ add_index "manifestations", ["access_address"], name: "index_manifestations_on_access_address"
447
+ add_index "manifestations", ["carrier_type_id"], name: "index_manifestations_on_carrier_type_id"
448
+ add_index "manifestations", ["doi"], name: "index_manifestations_on_doi"
449
+ add_index "manifestations", ["frequency_id"], name: "index_manifestations_on_frequency_id"
450
+ add_index "manifestations", ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
451
+ add_index "manifestations", ["required_role_id"], name: "index_manifestations_on_required_role_id"
452
+ add_index "manifestations", ["updated_at"], name: "index_manifestations_on_updated_at"
437
453
 
438
- create_table "medium_of_performances", :force => true do |t|
439
- t.string "name", :null => false
454
+ create_table "medium_of_performances", force: true do |t|
455
+ t.string "name", null: false
440
456
  t.text "display_name"
441
457
  t.text "note"
442
458
  t.integer "position"
443
- t.datetime "created_at", :null => false
444
- t.datetime "updated_at", :null => false
459
+ t.datetime "created_at"
460
+ t.datetime "updated_at"
445
461
  end
446
462
 
447
- create_table "owns", :force => true do |t|
448
- t.integer "agent_id", :null => false
449
- t.integer "item_id", :null => false
463
+ create_table "owns", force: true do |t|
464
+ t.integer "agent_id", null: false
465
+ t.integer "item_id", null: false
450
466
  t.integer "position"
451
- t.datetime "created_at", :null => false
452
- t.datetime "updated_at", :null => false
467
+ t.datetime "created_at"
468
+ t.datetime "updated_at"
453
469
  end
454
470
 
455
- add_index "owns", ["agent_id"], :name => "index_owns_on_agent_id"
456
- add_index "owns", ["item_id"], :name => "index_owns_on_item_id"
471
+ add_index "owns", ["agent_id"], name: "index_owns_on_agent_id"
472
+ add_index "owns", ["item_id"], name: "index_owns_on_item_id"
457
473
 
458
- create_table "picture_files", :force => true do |t|
474
+ create_table "picture_files", force: true do |t|
459
475
  t.integer "picture_attachable_id"
460
476
  t.string "picture_attachable_type"
461
477
  t.string "content_type"
462
478
  t.text "title"
463
479
  t.string "thumbnail"
464
480
  t.integer "position"
465
- t.datetime "created_at", :null => false
466
- t.datetime "updated_at", :null => false
481
+ t.datetime "created_at"
482
+ t.datetime "updated_at"
467
483
  t.string "picture_file_name"
468
484
  t.string "picture_content_type"
469
485
  t.integer "picture_file_size"
@@ -472,51 +488,51 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
472
488
  t.string "picture_fingerprint"
473
489
  end
474
490
 
475
- add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], :name => "index_picture_files_on_picture_attachable_id_and_type"
491
+ add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], name: "index_picture_files_on_picture_attachable_id_and_type"
476
492
 
477
- create_table "produce_types", :force => true do |t|
493
+ create_table "produce_types", force: true do |t|
478
494
  t.string "name"
479
495
  t.text "display_name"
480
496
  t.text "note"
481
497
  t.integer "position"
482
- t.datetime "created_at", :null => false
483
- t.datetime "updated_at", :null => false
498
+ t.datetime "created_at"
499
+ t.datetime "updated_at"
484
500
  end
485
501
 
486
- create_table "produces", :force => true do |t|
487
- t.integer "agent_id", :null => false
488
- t.integer "manifestation_id", :null => false
502
+ create_table "produces", force: true do |t|
503
+ t.integer "agent_id", null: false
504
+ t.integer "manifestation_id", null: false
489
505
  t.integer "position"
490
- t.datetime "created_at", :null => false
491
- t.datetime "updated_at", :null => false
506
+ t.datetime "created_at"
507
+ t.datetime "updated_at"
492
508
  t.integer "produce_type_id"
493
509
  end
494
510
 
495
- add_index "produces", ["agent_id"], :name => "index_produces_on_agent_id"
496
- add_index "produces", ["manifestation_id"], :name => "index_produces_on_manifestation_id"
511
+ add_index "produces", ["agent_id"], name: "index_produces_on_agent_id"
512
+ add_index "produces", ["manifestation_id"], name: "index_produces_on_manifestation_id"
497
513
 
498
- create_table "realize_types", :force => true do |t|
514
+ create_table "realize_types", force: true do |t|
499
515
  t.string "name"
500
516
  t.text "display_name"
501
517
  t.text "note"
502
518
  t.integer "position"
503
- t.datetime "created_at", :null => false
504
- t.datetime "updated_at", :null => false
519
+ t.datetime "created_at"
520
+ t.datetime "updated_at"
505
521
  end
506
522
 
507
- create_table "realizes", :force => true do |t|
508
- t.integer "agent_id", :null => false
509
- t.integer "expression_id", :null => false
523
+ create_table "realizes", force: true do |t|
524
+ t.integer "agent_id", null: false
525
+ t.integer "expression_id", null: false
510
526
  t.integer "position"
511
- t.datetime "created_at", :null => false
512
- t.datetime "updated_at", :null => false
527
+ t.datetime "created_at"
528
+ t.datetime "updated_at"
513
529
  t.integer "realize_type_id"
514
530
  end
515
531
 
516
- add_index "realizes", ["agent_id"], :name => "index_realizes_on_agent_id"
517
- add_index "realizes", ["expression_id"], :name => "index_realizes_on_expression_id"
532
+ add_index "realizes", ["agent_id"], name: "index_realizes_on_agent_id"
533
+ add_index "realizes", ["expression_id"], name: "index_realizes_on_expression_id"
518
534
 
519
- create_table "resource_import_files", :force => true do |t|
535
+ create_table "resource_import_files", force: true do |t|
520
536
  t.integer "parent_id"
521
537
  t.string "content_type"
522
538
  t.integer "size"
@@ -528,74 +544,74 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
528
544
  t.string "resource_import_content_type"
529
545
  t.integer "resource_import_file_size"
530
546
  t.datetime "resource_import_updated_at"
531
- t.datetime "created_at", :null => false
532
- t.datetime "updated_at", :null => false
547
+ t.datetime "created_at"
548
+ t.datetime "updated_at"
533
549
  t.string "edit_mode"
534
550
  t.string "resource_import_fingerprint"
535
551
  t.text "error_message"
536
552
  end
537
553
 
538
- add_index "resource_import_files", ["parent_id"], :name => "index_resource_import_files_on_parent_id"
539
- add_index "resource_import_files", ["state"], :name => "index_resource_import_files_on_state"
540
- add_index "resource_import_files", ["user_id"], :name => "index_resource_import_files_on_user_id"
554
+ add_index "resource_import_files", ["parent_id"], name: "index_resource_import_files_on_parent_id"
555
+ add_index "resource_import_files", ["state"], name: "index_resource_import_files_on_state"
556
+ add_index "resource_import_files", ["user_id"], name: "index_resource_import_files_on_user_id"
541
557
 
542
- create_table "resource_import_results", :force => true do |t|
558
+ create_table "resource_import_results", force: true do |t|
543
559
  t.integer "resource_import_file_id"
544
560
  t.integer "manifestation_id"
545
561
  t.integer "item_id"
546
562
  t.text "body"
547
- t.datetime "created_at", :null => false
548
- t.datetime "updated_at", :null => false
563
+ t.datetime "created_at"
564
+ t.datetime "updated_at"
549
565
  end
550
566
 
551
- add_index "resource_import_results", ["item_id"], :name => "index_resource_import_results_on_item_id"
552
- add_index "resource_import_results", ["manifestation_id"], :name => "index_resource_import_results_on_manifestation_id"
553
- add_index "resource_import_results", ["resource_import_file_id"], :name => "index_resource_import_results_on_resource_import_file_id"
567
+ add_index "resource_import_results", ["item_id"], name: "index_resource_import_results_on_item_id"
568
+ add_index "resource_import_results", ["manifestation_id"], name: "index_resource_import_results_on_manifestation_id"
569
+ add_index "resource_import_results", ["resource_import_file_id"], name: "index_resource_import_results_on_resource_import_file_id"
554
570
 
555
- create_table "roles", :force => true do |t|
571
+ create_table "roles", force: true do |t|
556
572
  t.string "name"
557
573
  t.text "display_name"
558
574
  t.text "note"
559
575
  t.integer "position"
560
- t.datetime "created_at", :null => false
561
- t.datetime "updated_at", :null => false
576
+ t.datetime "created_at"
577
+ t.datetime "updated_at"
562
578
  end
563
579
 
564
- create_table "series_has_manifestations", :force => true do |t|
580
+ create_table "series_has_manifestations", force: true do |t|
565
581
  t.integer "series_statement_id"
566
582
  t.integer "manifestation_id"
567
583
  t.integer "position"
568
- t.datetime "created_at", :null => false
569
- t.datetime "updated_at", :null => false
584
+ t.datetime "created_at"
585
+ t.datetime "updated_at"
570
586
  end
571
587
 
572
- add_index "series_has_manifestations", ["manifestation_id"], :name => "index_series_has_manifestations_on_manifestation_id"
573
- add_index "series_has_manifestations", ["series_statement_id"], :name => "index_series_has_manifestations_on_series_statement_id"
588
+ add_index "series_has_manifestations", ["manifestation_id"], name: "index_series_has_manifestations_on_manifestation_id"
589
+ add_index "series_has_manifestations", ["series_statement_id"], name: "index_series_has_manifestations_on_series_statement_id"
574
590
 
575
- create_table "series_statement_merge_lists", :force => true do |t|
591
+ create_table "series_statement_merge_lists", force: true do |t|
576
592
  t.string "title"
577
- t.datetime "created_at", :null => false
578
- t.datetime "updated_at", :null => false
593
+ t.datetime "created_at"
594
+ t.datetime "updated_at"
579
595
  end
580
596
 
581
- create_table "series_statement_merges", :force => true do |t|
582
- t.integer "series_statement_id", :null => false
583
- t.integer "series_statement_merge_list_id", :null => false
584
- t.datetime "created_at", :null => false
585
- t.datetime "updated_at", :null => false
597
+ create_table "series_statement_merges", force: true do |t|
598
+ t.integer "series_statement_id", null: false
599
+ t.integer "series_statement_merge_list_id", null: false
600
+ t.datetime "created_at"
601
+ t.datetime "updated_at"
586
602
  end
587
603
 
588
- add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
589
- add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
604
+ add_index "series_statement_merges", ["series_statement_id"], name: "index_series_statement_merges_on_series_statement_id"
605
+ add_index "series_statement_merges", ["series_statement_merge_list_id"], name: "index_series_statement_merges_on_list_id"
590
606
 
591
- create_table "series_statements", :force => true do |t|
607
+ create_table "series_statements", force: true do |t|
592
608
  t.text "original_title"
593
609
  t.text "numbering"
594
610
  t.text "title_subseries"
595
611
  t.text "numbering_subseries"
596
612
  t.integer "position"
597
- t.datetime "created_at", :null => false
598
- t.datetime "updated_at", :null => false
613
+ t.datetime "created_at"
614
+ t.datetime "updated_at"
599
615
  t.text "title_transcription"
600
616
  t.text "title_alternative"
601
617
  t.string "series_statement_identifier"
@@ -611,59 +627,59 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
611
627
  t.integer "root_manifestation_id"
612
628
  end
613
629
 
614
- add_index "series_statements", ["manifestation_id"], :name => "index_series_statements_on_manifestation_id"
615
- add_index "series_statements", ["root_manifestation_id"], :name => "index_series_statements_on_root_manifestation_id"
616
- add_index "series_statements", ["series_statement_identifier"], :name => "index_series_statements_on_series_statement_identifier"
630
+ add_index "series_statements", ["manifestation_id"], name: "index_series_statements_on_manifestation_id"
631
+ add_index "series_statements", ["root_manifestation_id"], name: "index_series_statements_on_root_manifestation_id"
632
+ add_index "series_statements", ["series_statement_identifier"], name: "index_series_statements_on_series_statement_identifier"
617
633
 
618
- create_table "subject_has_classifications", :force => true do |t|
634
+ create_table "subject_has_classifications", force: true do |t|
619
635
  t.integer "subject_id"
620
636
  t.string "subject_type"
621
- t.integer "classification_id", :null => false
622
- t.datetime "created_at", :null => false
623
- t.datetime "updated_at", :null => false
637
+ t.integer "classification_id", null: false
638
+ t.datetime "created_at"
639
+ t.datetime "updated_at"
624
640
  end
625
641
 
626
- add_index "subject_has_classifications", ["classification_id"], :name => "index_subject_has_classifications_on_classification_id"
627
- add_index "subject_has_classifications", ["subject_id"], :name => "index_subject_has_classifications_on_subject_id"
642
+ add_index "subject_has_classifications", ["classification_id"], name: "index_subject_has_classifications_on_classification_id"
643
+ add_index "subject_has_classifications", ["subject_id"], name: "index_subject_has_classifications_on_subject_id"
628
644
 
629
- create_table "subject_heading_type_has_subjects", :force => true do |t|
630
- t.integer "subject_id", :null => false
645
+ create_table "subject_heading_type_has_subjects", force: true do |t|
646
+ t.integer "subject_id", null: false
631
647
  t.string "subject_type"
632
- t.integer "subject_heading_type_id", :null => false
633
- t.datetime "created_at", :null => false
634
- t.datetime "updated_at", :null => false
648
+ t.integer "subject_heading_type_id", null: false
649
+ t.datetime "created_at"
650
+ t.datetime "updated_at"
635
651
  end
636
652
 
637
- add_index "subject_heading_type_has_subjects", ["subject_id"], :name => "index_subject_heading_type_has_subjects_on_subject_id"
653
+ add_index "subject_heading_type_has_subjects", ["subject_id"], name: "index_subject_heading_type_has_subjects_on_subject_id"
638
654
 
639
- create_table "subject_heading_types", :force => true do |t|
640
- t.string "name", :null => false
655
+ create_table "subject_heading_types", force: true do |t|
656
+ t.string "name", null: false
641
657
  t.text "display_name"
642
658
  t.text "note"
643
659
  t.integer "position"
644
- t.datetime "created_at", :null => false
645
- t.datetime "updated_at", :null => false
660
+ t.datetime "created_at"
661
+ t.datetime "updated_at"
646
662
  end
647
663
 
648
- create_table "subject_types", :force => true do |t|
649
- t.string "name", :null => false
664
+ create_table "subject_types", force: true do |t|
665
+ t.string "name", null: false
650
666
  t.text "display_name"
651
667
  t.text "note"
652
668
  t.integer "position"
653
- t.datetime "created_at", :null => false
654
- t.datetime "updated_at", :null => false
669
+ t.datetime "created_at"
670
+ t.datetime "updated_at"
655
671
  end
656
672
 
657
- create_table "subjects", :force => true do |t|
673
+ create_table "subjects", force: true do |t|
658
674
  t.integer "parent_id"
659
675
  t.integer "use_term_id"
660
676
  t.string "term"
661
677
  t.text "term_transcription"
662
- t.integer "subject_type_id", :null => false
678
+ t.integer "subject_type_id", null: false
663
679
  t.text "scope_note"
664
680
  t.text "note"
665
- t.integer "required_role_id", :default => 1, :null => false
666
- t.integer "lock_version", :default => 0, :null => false
681
+ t.integer "required_role_id", default: 1, null: false
682
+ t.integer "lock_version", default: 0, null: false
667
683
  t.datetime "created_at"
668
684
  t.datetime "updated_at"
669
685
  t.datetime "deleted_at"
@@ -672,34 +688,34 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
672
688
  t.integer "subject_heading_type_id"
673
689
  end
674
690
 
675
- add_index "subjects", ["manifestation_id"], :name => "index_subjects_on_manifestation_id"
676
- add_index "subjects", ["parent_id"], :name => "index_subjects_on_parent_id"
677
- add_index "subjects", ["required_role_id"], :name => "index_subjects_on_required_role_id"
678
- add_index "subjects", ["subject_type_id"], :name => "index_subjects_on_subject_type_id"
679
- add_index "subjects", ["term"], :name => "index_subjects_on_term"
680
- add_index "subjects", ["use_term_id"], :name => "index_subjects_on_use_term_id"
691
+ add_index "subjects", ["manifestation_id"], name: "index_subjects_on_manifestation_id"
692
+ add_index "subjects", ["parent_id"], name: "index_subjects_on_parent_id"
693
+ add_index "subjects", ["required_role_id"], name: "index_subjects_on_required_role_id"
694
+ add_index "subjects", ["subject_type_id"], name: "index_subjects_on_subject_type_id"
695
+ add_index "subjects", ["term"], name: "index_subjects_on_term"
696
+ add_index "subjects", ["use_term_id"], name: "index_subjects_on_use_term_id"
681
697
 
682
- create_table "user_has_roles", :force => true do |t|
698
+ create_table "user_has_roles", force: true do |t|
683
699
  t.integer "user_id"
684
700
  t.integer "role_id"
685
- t.datetime "created_at", :null => false
686
- t.datetime "updated_at", :null => false
701
+ t.datetime "created_at"
702
+ t.datetime "updated_at"
687
703
  end
688
704
 
689
- create_table "users", :force => true do |t|
705
+ create_table "users", force: true do |t|
690
706
  t.integer "user_group_id"
691
707
  t.integer "required_role_id"
692
708
  t.string "username"
693
709
  t.text "note"
694
710
  t.string "locale"
695
- t.datetime "created_at", :null => false
696
- t.datetime "updated_at", :null => false
697
- t.string "email", :default => "", :null => false
698
- t.string "encrypted_password", :default => "", :null => false
711
+ t.datetime "created_at"
712
+ t.datetime "updated_at"
713
+ t.string "email", default: "", null: false
714
+ t.string "encrypted_password", default: "", null: false
699
715
  t.string "reset_password_token"
700
716
  t.datetime "reset_password_sent_at"
701
717
  t.datetime "remember_created_at"
702
- t.integer "sign_in_count", :default => 0
718
+ t.integer "sign_in_count", default: 0
703
719
  t.datetime "current_sign_in_at"
704
720
  t.datetime "last_sign_in_at"
705
721
  t.string "current_sign_in_ip"
@@ -709,36 +725,36 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
709
725
  t.datetime "confirmed_at"
710
726
  t.datetime "confirmation_sent_at"
711
727
  t.string "unconfirmed_email"
712
- t.integer "failed_attempts", :default => 0
728
+ t.integer "failed_attempts", default: 0
713
729
  t.string "unlock_token"
714
730
  t.datetime "locked_at"
715
731
  t.string "authentication_token"
716
732
  end
717
733
 
718
- add_index "users", ["email"], :name => "index_users_on_email"
719
- add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true
734
+ add_index "users", ["email"], name: "index_users_on_email"
735
+ add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
720
736
 
721
- create_table "versions", :force => true do |t|
722
- t.string "item_type", :null => false
723
- t.integer "item_id", :null => false
724
- t.string "event", :null => false
737
+ create_table "versions", force: true do |t|
738
+ t.string "item_type", null: false
739
+ t.integer "item_id", null: false
740
+ t.string "event", null: false
725
741
  t.string "whodunnit"
726
742
  t.text "object"
727
743
  t.datetime "created_at"
728
744
  end
729
745
 
730
- add_index "versions", ["item_type", "item_id"], :name => "index_versions_on_item_type_and_item_id"
746
+ add_index "versions", ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id"
731
747
 
732
- create_table "work_has_subjects", :force => true do |t|
748
+ create_table "work_has_subjects", force: true do |t|
733
749
  t.integer "subject_id"
734
750
  t.string "subject_type"
735
751
  t.integer "work_id"
736
752
  t.integer "position"
737
- t.datetime "created_at", :null => false
738
- t.datetime "updated_at", :null => false
753
+ t.datetime "created_at"
754
+ t.datetime "updated_at"
739
755
  end
740
756
 
741
- add_index "work_has_subjects", ["subject_id"], :name => "index_work_has_subjects_on_subject_id"
742
- add_index "work_has_subjects", ["work_id"], :name => "index_work_has_subjects_on_work_id"
757
+ add_index "work_has_subjects", ["subject_id"], name: "index_work_has_subjects_on_subject_id"
758
+ add_index "work_has_subjects", ["work_id"], name: "index_work_has_subjects_on_work_id"
743
759
 
744
760
  end
Binary file
data/spec/spec_helper.rb CHANGED
@@ -36,7 +36,7 @@ end
36
36
 
37
37
  VCR.configure do |c|
38
38
  c.cassette_library_dir = 'spec/cassette_library'
39
- c.hook_into :fakeweb
39
+ c.hook_into :webmock
40
40
  c.configure_rspec_metadata!
41
41
  c.allow_http_connections_when_no_cassette = true
42
42
  end
metadata CHANGED
@@ -1,49 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_manifestation_viewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre15
4
+ version: 0.1.0.pre16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-23 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: enju_biblio
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 3.2.19
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '4.2'
19
+ version: 0.1.0.pre60
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 3.2.19
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '4.2'
26
+ version: 0.1.0.pre60
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: enju_leaf
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: 1.1.0.rc14
33
+ version: 1.1.0.rc15
40
34
  type: :development
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: 1.1.0.rc14
40
+ version: 1.1.0.rc15
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: sqlite3
49
43
  requirement: !ruby/object:Gem::Requirement
@@ -64,14 +58,14 @@ dependencies:
64
58
  requirements:
65
59
  - - "~>"
66
60
  - !ruby/object:Gem::Version
67
- version: '3.0'
61
+ version: '3.1'
68
62
  type: :development
69
63
  prerelease: false
70
64
  version_requirements: !ruby/object:Gem::Requirement
71
65
  requirements:
72
66
  - - "~>"
73
67
  - !ruby/object:Gem::Version
74
- version: '3.0'
68
+ version: '3.1'
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: factory_girl_rails
77
71
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +95,7 @@ dependencies:
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  - !ruby/object:Gem::Dependency
104
- name: fakeweb
98
+ name: webmock
105
99
  requirement: !ruby/object:Gem::Requirement
106
100
  requirements:
107
101
  - - ">="
@@ -176,6 +170,8 @@ files:
176
170
  - spec/dummy/db/migrate/112_create_frequencies.rb
177
171
  - spec/dummy/db/migrate/117_create_form_of_works.rb
178
172
  - spec/dummy/db/migrate/125_create_donates.rb
173
+ - spec/dummy/db/migrate/133_create_agent_merges.rb
174
+ - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
179
175
  - spec/dummy/db/migrate/142_create_classifications.rb
180
176
  - spec/dummy/db/migrate/143_create_subject_has_classifications.rb
181
177
  - spec/dummy/db/migrate/144_create_classification_types.rb
@@ -335,6 +331,8 @@ test_files:
335
331
  - spec/dummy/db/migrate/112_create_frequencies.rb
336
332
  - spec/dummy/db/migrate/117_create_form_of_works.rb
337
333
  - spec/dummy/db/migrate/125_create_donates.rb
334
+ - spec/dummy/db/migrate/133_create_agent_merges.rb
335
+ - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
338
336
  - spec/dummy/db/migrate/142_create_classifications.rb
339
337
  - spec/dummy/db/migrate/143_create_subject_has_classifications.rb
340
338
  - spec/dummy/db/migrate/144_create_classification_types.rb