enju_manifestation_viewer 0.3.0 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +10 -0
  3. data/Rakefile +1 -1
  4. data/app/controllers/iiif_images_controller.rb +6 -0
  5. data/app/helpers/enju_manifestation_viewer/book_jacket_helper.rb +7 -7
  6. data/app/views/iiif_images/show.json.jbuilder +37 -0
  7. data/app/views/manifestations/_hanmotocom_thumbnail.html.erb +1 -1
  8. data/app/views/manifestations/_nicovideo.html.erb +2 -2
  9. data/app/views/manifestations/{_openbd_thumbnail_header.html → _openbd_thumbnail_header.html.erb} +0 -0
  10. data/config/routes.rb +1 -0
  11. data/lib/enju_manifestation_viewer/version.rb +1 -1
  12. data/spec/controllers/iiif_images_controller_spec.rb +19 -0
  13. data/spec/dummy/app/assets/images/icons/book.png +0 -0
  14. data/spec/dummy/app/assets/javascripts/application.js +1 -0
  15. data/spec/dummy/app/helpers/application_helper.rb +1 -0
  16. data/spec/dummy/app/models/application_record.rb +3 -0
  17. data/spec/dummy/app/models/user.rb +12 -0
  18. data/spec/dummy/config/application.rb +1 -0
  19. data/spec/dummy/config/database.yml +17 -22
  20. data/spec/dummy/config/initializers/assets.rb +1 -0
  21. data/spec/dummy/config/routes.rb +1 -0
  22. data/spec/dummy/db/migrate/005_create_manifestations.rb +3 -3
  23. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +6 -5
  24. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +1 -0
  25. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
  26. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -0
  27. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -0
  28. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -0
  29. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +1 -1
  30. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +1 -1
  31. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +1 -1
  32. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +1 -1
  33. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +1 -1
  34. data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +1 -1
  35. data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +1 -1
  36. data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +1 -1
  37. data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +1 -1
  38. data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
  39. data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
  40. data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
  41. data/spec/dummy/db/migrate/20200425072340_create_manifestation_custom_properties.rb +12 -0
  42. data/spec/dummy/db/migrate/20200425072349_create_item_custom_properties.rb +12 -0
  43. data/spec/dummy/db/migrate/20200425074758_create_manifestation_custom_values.rb +12 -0
  44. data/spec/dummy/db/migrate/20200425074822_create_item_custom_values.rb +12 -0
  45. data/spec/dummy/db/schema.rb +73 -6
  46. data/spec/factories/manifestation.rb +14 -0
  47. data/spec/fixtures/carrier_types.yml +54 -0
  48. data/spec/fixtures/content_types.yml +98 -0
  49. data/spec/fixtures/frequencies.yml +68 -0
  50. data/spec/fixtures/languages.yml +1900 -0
  51. data/spec/fixtures/libraries.yml +102 -0
  52. data/spec/fixtures/profiles.yml +78 -0
  53. data/spec/fixtures/roles.yml +21 -0
  54. data/spec/fixtures/user_groups.yml +45 -0
  55. data/spec/fixtures/user_has_roles.yml +40 -0
  56. data/spec/fixtures/users.yml +51 -0
  57. data/spec/helpers/application_helper_spec.rb +1 -1
  58. data/spec/helpers/book_jacket_helper_spec.rb +2 -2
  59. data/spec/models/manifestation_spec.rb +13 -0
  60. data/spec/rails_helper.rb +8 -0
  61. data/spec/support/devise.rb +2 -2
  62. data/spec/system/library_groups_spec.rb +21 -0
  63. data/spec/system/manifestations_spec.rb +39 -0
  64. metadata +167 -18
  65. data/README.rdoc +0 -10
@@ -0,0 +1,5 @@
1
+ class AddMemoToManifestation < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :manifestations, :memo, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddMemoToItem < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :items, :memo, :text
4
+ end
5
+ end
@@ -0,0 +1,12 @@
1
+ class CreateCustomProperties < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :custom_properties do |t|
4
+ t.integer :resource_id, null: false
5
+ t.string :resource_type, null: false
6
+ t.text :label, null: false
7
+ t.text :value
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ class CreateManifestationCustomProperties < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :manifestation_custom_properties do |t|
4
+ t.string :name, null: false, comment: 'ラベル名', index: {unique: true}
5
+ t.text :display_name, null: false, comment: '表示名'
6
+ t.text :note, comment: '備考'
7
+ t.integer :position, default: 1, null: false
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ class CreateItemCustomProperties < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :item_custom_properties do |t|
4
+ t.string :name, null: false, comment: 'ラベル名', index: {unique: true}
5
+ t.text :display_name, null: false, comment: '表示名'
6
+ t.text :note, comment: '備考'
7
+ t.integer :position, default: 1, null: false
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ class CreateManifestationCustomValues < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :manifestation_custom_values do |t|
4
+ t.references :manifestation_custom_property, null: false, foreign_key: true, index: {name: 'index_manifestation_custom_values_on_custom_property_id'}
5
+ t.references :manifestation, null: false, foreign_key: true
6
+ t.text :value
7
+
8
+ t.timestamps
9
+ end
10
+ add_index :manifestation_custom_values, [:manifestation_custom_property_id, :manifestation_id], unique: true, name: 'index_manifestation_custom_values_on_property_manifestation'
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ class CreateItemCustomValues < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :item_custom_values do |t|
4
+ t.references :item_custom_property, null: false, foreign_key: true, index: {name: 'index_item_custom_values_on_custom_property_id'}
5
+ t.references :item, null: false, foreign_key: true
6
+ t.text :value
7
+
8
+ t.timestamps
9
+ end
10
+ add_index :item_custom_values, [:item_custom_property_id, :item_id], unique: true, name: 'index_item_custom_values_on_custom_item_property_and_item_id'
11
+ end
12
+ end
@@ -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: 2020_04_25_074822) do
14
14
 
15
15
  create_table "accepts", force: :cascade do |t|
16
16
  t.integer "basket_id"
@@ -20,6 +20,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
20
20
  t.datetime "updated_at"
21
21
  t.index ["basket_id"], name: "index_accepts_on_basket_id"
22
22
  t.index ["item_id"], name: "index_accepts_on_item_id"
23
+ t.index ["librarian_id"], name: "index_accepts_on_librarian_id"
23
24
  end
24
25
 
25
26
  create_table "agent_import_file_transitions", force: :cascade do |t|
@@ -261,6 +262,15 @@ ActiveRecord::Schema.define(version: 20180107161410) do
261
262
  t.index ["work_id"], name: "index_creates_on_work_id"
262
263
  end
263
264
 
265
+ create_table "custom_properties", force: :cascade do |t|
266
+ t.integer "resource_id", null: false
267
+ t.string "resource_type", null: false
268
+ t.text "label", null: false
269
+ t.text "value"
270
+ t.datetime "created_at", null: false
271
+ t.datetime "updated_at", null: false
272
+ end
273
+
264
274
  create_table "donates", force: :cascade do |t|
265
275
  t.integer "agent_id", null: false
266
276
  t.integer "item_id", null: false
@@ -343,6 +353,27 @@ ActiveRecord::Schema.define(version: 20180107161410) do
343
353
  t.index ["user_id"], name: "index_import_requests_on_user_id"
344
354
  end
345
355
 
356
+ create_table "item_custom_properties", force: :cascade do |t|
357
+ t.string "name", null: false
358
+ t.text "display_name", null: false
359
+ t.text "note"
360
+ t.integer "position", default: 1, null: false
361
+ t.datetime "created_at", null: false
362
+ t.datetime "updated_at", null: false
363
+ t.index ["name"], name: "index_item_custom_properties_on_name", unique: true
364
+ end
365
+
366
+ create_table "item_custom_values", force: :cascade do |t|
367
+ t.integer "item_custom_property_id", null: false
368
+ t.integer "item_id", null: false
369
+ t.text "value"
370
+ t.datetime "created_at", null: false
371
+ t.datetime "updated_at", null: false
372
+ t.index ["item_custom_property_id", "item_id"], name: "index_item_custom_values_on_custom_item_property_and_item_id", unique: true
373
+ t.index ["item_custom_property_id"], name: "index_item_custom_values_on_custom_property_id"
374
+ t.index ["item_id"], name: "index_item_custom_values_on_item_id"
375
+ end
376
+
346
377
  create_table "items", force: :cascade do |t|
347
378
  t.string "call_number"
348
379
  t.string "item_identifier"
@@ -364,6 +395,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
364
395
  t.string "binding_call_number"
365
396
  t.datetime "binded_at"
366
397
  t.integer "manifestation_id", null: false
398
+ t.text "memo"
367
399
  t.index ["binding_item_identifier"], name: "index_items_on_binding_item_identifier"
368
400
  t.index ["bookstore_id"], name: "index_items_on_bookstore_id"
369
401
  t.index ["item_identifier"], name: "index_items_on_item_identifier"
@@ -401,7 +433,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
401
433
  t.text "note"
402
434
  t.integer "call_number_rows", default: 1, null: false
403
435
  t.string "call_number_delimiter", default: "|", null: false
404
- t.integer "library_group_id", default: 1, null: false
436
+ t.integer "library_group_id", null: false
405
437
  t.integer "users_count", default: 0, null: false
406
438
  t.integer "position"
407
439
  t.integer "country_id"
@@ -413,7 +445,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
413
445
  t.float "latitude"
414
446
  t.float "longitude"
415
447
  t.index ["library_group_id"], name: "index_libraries_on_library_group_id"
416
- t.index ["name"], name: "index_libraries_on_name", unique: true
448
+ t.index ["name"], name: "index_libraries_on_name"
417
449
  end
418
450
 
419
451
  create_table "library_group_translations", force: :cascade do |t|
@@ -467,6 +499,27 @@ ActiveRecord::Schema.define(version: 20180107161410) do
467
499
  t.datetime "updated_at"
468
500
  end
469
501
 
502
+ create_table "manifestation_custom_properties", force: :cascade do |t|
503
+ t.string "name", null: false
504
+ t.text "display_name", null: false
505
+ t.text "note"
506
+ t.integer "position", default: 1, null: false
507
+ t.datetime "created_at", null: false
508
+ t.datetime "updated_at", null: false
509
+ t.index ["name"], name: "index_manifestation_custom_properties_on_name", unique: true
510
+ end
511
+
512
+ create_table "manifestation_custom_values", force: :cascade do |t|
513
+ t.integer "manifestation_custom_property_id", null: false
514
+ t.integer "manifestation_id", null: false
515
+ t.text "value"
516
+ t.datetime "created_at", null: false
517
+ t.datetime "updated_at", null: false
518
+ t.index ["manifestation_custom_property_id", "manifestation_id"], name: "index_manifestation_custom_values_on_property_manifestation", unique: true
519
+ t.index ["manifestation_custom_property_id"], name: "index_manifestation_custom_values_on_custom_property_id"
520
+ t.index ["manifestation_id"], name: "index_manifestation_custom_values_on_manifestation_id"
521
+ end
522
+
470
523
  create_table "manifestation_relationship_types", force: :cascade do |t|
471
524
  t.string "name", null: false
472
525
  t.text "display_name"
@@ -530,7 +583,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
530
583
  t.datetime "valid_until"
531
584
  t.datetime "date_submitted"
532
585
  t.datetime "date_accepted"
533
- t.datetime "date_caputured"
586
+ t.datetime "date_captured"
534
587
  t.string "pub_date"
535
588
  t.string "edition_string"
536
589
  t.integer "volume_number"
@@ -546,6 +599,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
546
599
  t.text "publication_place"
547
600
  t.text "extent"
548
601
  t.text "dimensions"
602
+ t.text "memo"
549
603
  t.index ["access_address"], name: "index_manifestations_on_access_address"
550
604
  t.index ["date_of_publication"], name: "index_manifestations_on_date_of_publication"
551
605
  t.index ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
@@ -683,6 +737,10 @@ ActiveRecord::Schema.define(version: 20180107161410) do
683
737
 
684
738
  create_table "resource_export_files", force: :cascade do |t|
685
739
  t.integer "user_id"
740
+ t.string "resource_export_file_name"
741
+ t.string "resource_export_content_type"
742
+ t.integer "resource_export_file_size"
743
+ t.datetime "resource_export_updated_at"
686
744
  t.datetime "executed_at"
687
745
  t.datetime "created_at"
688
746
  t.datetime "updated_at"
@@ -803,7 +861,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
803
861
  t.string "name", null: false
804
862
  t.text "display_name"
805
863
  t.text "note"
806
- t.integer "library_id", default: 1, null: false
864
+ t.integer "library_id", null: false
807
865
  t.integer "items_count", default: 0, null: false
808
866
  t.integer "position"
809
867
  t.datetime "created_at"
@@ -848,13 +906,19 @@ ActiveRecord::Schema.define(version: 20180107161410) do
848
906
  t.index ["sort_key", "user_export_file_id"], name: "index_user_export_file_transitions_on_sort_key_and_file_id", unique: true
849
907
  t.index ["user_export_file_id", "most_recent"], name: "index_user_export_file_transitions_parent_most_recent", unique: true, where: "most_recent"
850
908
  t.index ["user_export_file_id"], name: "index_user_export_file_transitions_on_file_id"
909
+ t.index ["user_export_file_id"], name: "index_user_export_file_transitions_on_user_export_file_id"
851
910
  end
852
911
 
853
912
  create_table "user_export_files", force: :cascade do |t|
854
913
  t.integer "user_id"
914
+ t.string "user_export_file_name"
915
+ t.string "user_export_content_type"
916
+ t.integer "user_export_file_size"
917
+ t.datetime "user_export_updated_at"
855
918
  t.datetime "executed_at"
856
919
  t.datetime "created_at"
857
920
  t.datetime "updated_at"
921
+ t.index ["user_id"], name: "index_user_export_files_on_user_id"
858
922
  end
859
923
 
860
924
  create_table "user_groups", force: :cascade do |t|
@@ -897,7 +961,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
897
961
  t.datetime "executed_at"
898
962
  t.string "user_import_file_name"
899
963
  t.string "user_import_content_type"
900
- t.string "user_import_file_size"
964
+ t.integer "user_import_file_size"
901
965
  t.datetime "user_import_updated_at"
902
966
  t.string "user_import_fingerprint"
903
967
  t.string "edit_mode"
@@ -907,6 +971,7 @@ ActiveRecord::Schema.define(version: 20180107161410) do
907
971
  t.string "user_encoding"
908
972
  t.integer "default_library_id"
909
973
  t.integer "default_user_group_id"
974
+ t.index ["user_id"], name: "index_user_import_files_on_user_id"
910
975
  end
911
976
 
912
977
  create_table "user_import_results", force: :cascade do |t|
@@ -916,6 +981,8 @@ ActiveRecord::Schema.define(version: 20180107161410) do
916
981
  t.datetime "created_at"
917
982
  t.datetime "updated_at"
918
983
  t.text "error_message"
984
+ t.index ["user_id"], name: "index_user_import_results_on_user_id"
985
+ t.index ["user_import_file_id"], name: "index_user_import_results_on_user_import_file_id"
919
986
  end
920
987
 
921
988
  create_table "users", force: :cascade do |t|
@@ -0,0 +1,14 @@
1
+ FactoryBot.define do
2
+ factory :manifestation do |f|
3
+ f.sequence(:original_title){|n| "manifestation_title_#{n}"}
4
+ f.carrier_type_id{CarrierType.find(1).id}
5
+ end
6
+
7
+ factory :manifestation_serial, class: Manifestation do |f|
8
+ f.sequence(:original_title){|n| "manifestation_title_#{n}"}
9
+ f.carrier_type_id{CarrierType.find(1).id}
10
+ f.language_id{Language.find(1).id}
11
+ f.serial{true}
12
+ f.series_statements{[FactoryBot.create(:series_statement_serial)]}
13
+ end
14
+ end
@@ -0,0 +1,54 @@
1
+ ---
2
+ carrier_type_00001:
3
+ name: volume
4
+ display_name: Volume
5
+ updated_at: 2007-11-20 16:04:29.853828 +09:00
6
+ id: 1
7
+ note: !binary |
8
+ 5pys44Gn44GZ44CC
9
+
10
+ created_at: 2007-11-20 15:47:03.641530 +09:00
11
+ position: 1
12
+ carrier_type_00002:
13
+ name: audio_disc
14
+ display_name: Audio disc
15
+ updated_at: 2007-12-19 01:45:26.040674 +09:00
16
+ id: 2
17
+ note: "\xE9\x9F\xB3\xE6\xA5\xBDCD\xE3\x81\xA7\xE3\x81\x99\xE3\x80\x82"
18
+ created_at: 2007-12-19 01:45:26.040674 +09:00
19
+ position: 2
20
+ carrier_type_00003:
21
+ name: videodisc
22
+ display_name: Video disc
23
+ updated_at: 2007-12-23 04:24:23.151410 +09:00
24
+ id: 3
25
+ note: "DVD\xE3\x81\xA7\xE3\x81\x99\xE3\x80\x82"
26
+ created_at: 2007-12-23 04:24:23.151410 +09:00
27
+ position: 3
28
+ carrier_type_00004:
29
+ name: online_resource
30
+ display_name: online_resource
31
+ updated_at: 2007-12-24 01:30:50.637433 +09:00
32
+ id: 4
33
+ note: !binary |
34
+ 44Kz44Oz44OU44Ol44O844K/44Gu44OV44Kh44Kk44Or44Gn44GZ44CC
35
+
36
+ created_at: 2007-12-24 01:30:50.637433 +09:00
37
+ position: 4
38
+
39
+ # == Schema Information
40
+ #
41
+ # Table name: carrier_types
42
+ #
43
+ # id :integer not null, primary key
44
+ # name :string not null
45
+ # display_name :text
46
+ # note :text
47
+ # position :integer
48
+ # created_at :datetime
49
+ # updated_at :datetime
50
+ # attachment_file_name :string
51
+ # attachment_content_type :string
52
+ # attachment_file_size :integer
53
+ # attachment_updated_at :datetime
54
+ #
@@ -0,0 +1,98 @@
1
+ ---
2
+ content_type_00001:
3
+ id: 1
4
+ name: text
5
+ display_name: "en: text\r\n\
6
+ ja: 文字"
7
+ note:
8
+ position: 1
9
+ content_type_00002:
10
+ id: 2
11
+ name: performed_music
12
+ display_name: "en: Performed music\r\n\
13
+ ja: 音楽"
14
+ note: 曲の演奏など
15
+ position: 2
16
+ content_type_00003:
17
+ id: 3
18
+ name: two_dimensional_moving_image
19
+ display_name: "en: Two-dimensional moving image\r\n\
20
+ ja: 動画"
21
+ note:
22
+ position: 3
23
+ content_type_00004:
24
+ id: 4
25
+ name: tactile_text
26
+ display_name: "en: Tactile text\r\n\
27
+ ja: 点字など"
28
+ note: 触ることのできる文字
29
+ position: 4
30
+ content_type_00005:
31
+ id: 5
32
+ name: still_image
33
+ display_name: "en: Still image\r\n\
34
+ ja: 画像"
35
+ note: 静止画像
36
+ position: 5
37
+ content_type_00006:
38
+ id: 6
39
+ name: cartographic_image
40
+ display_name: "en: Cartographic image\r\n\
41
+ ja: 地図"
42
+ note:
43
+ position: 6
44
+ content_type_00007:
45
+ id: 7
46
+ name: spoken_word
47
+ display_name: "en: Spoken word\r\n\
48
+ ja: 音声"
49
+ note: 読み上げ音声など
50
+ position: 7
51
+ content_type_00008:
52
+ id: 8
53
+ name: sounds
54
+ display_name: "en: Sounds\r\n\
55
+ ja: 音"
56
+ note: 波音など
57
+ position: 8
58
+ content_type_00009:
59
+ id: 9
60
+ name: notated_music
61
+ display_name: "en: Notated music\r\n\
62
+ ja: 楽譜"
63
+ note:
64
+ position: 9
65
+ content_type_00010:
66
+ id: 10
67
+ name: three_dimensional_moving_image
68
+ display_name: "en: Three-dimensional moving image\r\n\
69
+ ja: 3D動画"
70
+ note:
71
+ position: 10
72
+ content_type_00011:
73
+ id: 11
74
+ name: other
75
+ display_name: "en: Other\r\n\
76
+ ja: その他"
77
+ note: LCMARCに由来
78
+ position: 11
79
+ content_type_00012:
80
+ id: 12
81
+ name: unspecified
82
+ display_name: "en: Unspecified\r\n\
83
+ ja: 不明"
84
+ note: LCMARCに由来
85
+ position: 12
86
+
87
+ # == Schema Information
88
+ #
89
+ # Table name: content_types
90
+ #
91
+ # id :integer not null, primary key
92
+ # name :string not null
93
+ # display_name :text
94
+ # note :text
95
+ # position :integer
96
+ # created_at :datetime
97
+ # updated_at :datetime
98
+ #
@@ -0,0 +1,68 @@
1
+ ---
2
+ frequency_00001:
3
+ name: unknown
4
+ display_name: "en: unknown\r\n\
5
+ ja: 不明・不定期刊"
6
+ id: 1
7
+ position: 1
8
+ frequency_00002:
9
+ name: daily
10
+ display_name: "en: daily\r\n\
11
+ ja: 日刊"
12
+ id: 2
13
+ position: 2
14
+ frequency_00003:
15
+ name: weekly
16
+ display_name: "en: weekly\r\n\
17
+ ja: 週刊"
18
+ id: 3
19
+ position: 3
20
+ frequency_00004:
21
+ name: biweekly
22
+ display_name: "en: biweekly\r\n\
23
+ ja: 隔週刊"
24
+ id: 4
25
+ position: 4
26
+ frequency_00005:
27
+ name: monthly
28
+ display_name: "en: monthly\r\n\
29
+ ja: 月刊"
30
+ id: 5
31
+ position: 5
32
+ frequency_00006:
33
+ name: bimonthly
34
+ display_name: "en: bimonthly\r\n\
35
+ ja: 隔月刊"
36
+ id: 6
37
+ position: 6
38
+ frequency_00007:
39
+ name: quarterly
40
+ display_name: "en: quarterly\r\n\
41
+ ja: 季刊"
42
+ id: 7
43
+ position: 7
44
+ frequency_00008:
45
+ name: yearly
46
+ display_name: "en: yearly\r\n\
47
+ ja: 年刊"
48
+ id: 8
49
+ position: 8
50
+ frequency_00009:
51
+ name: biyearly
52
+ display_name: "en: biyearly\r\n\
53
+ ja: 隔年刊"
54
+ id: 9
55
+ position: 9
56
+
57
+ # == Schema Information
58
+ #
59
+ # Table name: frequencies
60
+ #
61
+ # id :integer not null, primary key
62
+ # name :string not null
63
+ # display_name :text
64
+ # note :text
65
+ # position :integer
66
+ # created_at :datetime
67
+ # updated_at :datetime
68
+ #