enju_loc 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +5 -5
  2. data/MIT-LICENSE +0 -0
  3. data/README.md +15 -0
  4. data/Rakefile +1 -1
  5. data/lib/enju_loc/version.rb +1 -1
  6. data/spec/dummy/app/models/application_record.rb +3 -0
  7. data/spec/dummy/config/application.rb +1 -1
  8. data/spec/dummy/config/database.yml +17 -22
  9. data/spec/dummy/db/migrate/001_create_agents.rb +6 -6
  10. data/spec/dummy/db/migrate/005_create_manifestations.rb +9 -9
  11. data/spec/dummy/db/migrate/006_create_items.rb +5 -5
  12. data/spec/dummy/db/migrate/012_create_owns.rb +2 -2
  13. data/spec/dummy/db/migrate/015_create_creates.rb +2 -2
  14. data/spec/dummy/db/migrate/047_create_produces.rb +2 -2
  15. data/spec/dummy/db/migrate/073_create_carrier_types.rb +1 -1
  16. data/spec/dummy/db/migrate/077_create_user_groups.rb +1 -1
  17. data/spec/dummy/db/migrate/112_create_frequencies.rb +1 -1
  18. data/spec/dummy/db/migrate/117_create_form_of_works.rb +1 -1
  19. data/spec/dummy/db/migrate/124_create_bookstores.rb +1 -1
  20. data/spec/dummy/db/migrate/125_create_donates.rb +2 -2
  21. data/spec/dummy/db/migrate/130_create_request_status_types.rb +1 -1
  22. data/spec/dummy/db/migrate/131_create_request_types.rb +1 -1
  23. data/spec/dummy/db/migrate/133_create_agent_merges.rb +1 -1
  24. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +2 -2
  25. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +1 -1
  26. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +5 -5
  27. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +4 -4
  28. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +5 -5
  29. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
  30. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +1 -1
  31. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +1 -1
  32. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +1 -1
  33. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +1 -1
  34. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +1 -1
  35. data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +1 -1
  36. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +1 -1
  37. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +2 -2
  38. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -1
  39. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +1 -1
  40. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +2 -2
  41. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -8
  42. data/spec/dummy/db/migrate/20190713114940_add_profile_id_to_user.rb +5 -0
  43. data/spec/dummy/db/migrate/20190713115451_add_full_name_translations_to_profile.rb +5 -0
  44. data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
  45. data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
  46. data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
  47. data/spec/dummy/db/schema.rb +15 -1
  48. metadata +283 -230
  49. data/README.rdoc +0 -11
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20180107161410) do
13
+ ActiveRecord::Schema.define(version: 2019_12_19_122214) do
14
14
 
15
15
  create_table "accepts", force: :cascade do |t|
16
16
  t.integer "basket_id"
@@ -287,6 +287,15 @@ ActiveRecord::Schema.define(version: 20180107161410) do
287
287
  t.index ["work_id"], name: "index_creates_on_work_id"
288
288
  end
289
289
 
290
+ create_table "custom_properties", force: :cascade do |t|
291
+ t.integer "resource_id", null: false
292
+ t.string "resource_type", null: false
293
+ t.text "label", null: false
294
+ t.text "value"
295
+ t.datetime "created_at", null: false
296
+ t.datetime "updated_at", null: false
297
+ end
298
+
290
299
  create_table "donates", force: :cascade do |t|
291
300
  t.integer "agent_id", null: false
292
301
  t.integer "item_id", null: false
@@ -399,6 +408,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
399
408
  t.string "binding_call_number"
400
409
  t.datetime "binded_at"
401
410
  t.integer "manifestation_id", null: false
411
+ t.text "memo"
402
412
  t.index ["binding_item_identifier"], name: "index_items_on_binding_item_identifier"
403
413
  t.index ["bookstore_id"], name: "index_items_on_bookstore_id"
404
414
  t.index ["item_identifier"], name: "index_items_on_item_identifier"
@@ -580,6 +590,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
580
590
  t.text "extent_of_text"
581
591
  t.text "extent"
582
592
  t.text "dimensions"
593
+ t.text "memo"
583
594
  t.index ["access_address"], name: "index_manifestations_on_access_address"
584
595
  t.index ["date_of_publication"], name: "index_manifestations_on_date_of_publication"
585
596
  t.index ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
@@ -725,6 +736,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
725
736
  t.datetime "expired_at"
726
737
  t.text "full_name_transcription"
727
738
  t.datetime "date_of_birth"
739
+ t.json "full_name_translations", default: {}, null: false
728
740
  t.index ["user_id"], name: "index_profiles_on_user_id"
729
741
  t.index ["user_number"], name: "index_profiles_on_user_number", unique: true
730
742
  end
@@ -1092,7 +1104,9 @@ ActiveRecord::Schema.define(version: 20180107161410) do
1092
1104
  t.string "unlock_token"
1093
1105
  t.datetime "locked_at"
1094
1106
  t.datetime "confirmed_at"
1107
+ t.integer "profile_id"
1095
1108
  t.index ["email"], name: "index_users_on_email"
1109
+ t.index ["profile_id"], name: "index_users_on_profile_id"
1096
1110
  t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
1097
1111
  t.index ["unlock_token"], name: "index_users_on_unlock_token", unique: true
1098
1112
  t.index ["username"], name: "index_users_on_username", unique: true