enju_manifestation_viewer 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -0
  3. data/Rakefile +1 -1
  4. data/lib/enju_manifestation_viewer/version.rb +1 -1
  5. data/spec/dummy/app/assets/images/icons/book.png +0 -0
  6. data/spec/dummy/app/assets/javascripts/application.js +1 -0
  7. data/spec/dummy/app/helpers/application_helper.rb +1 -0
  8. data/spec/dummy/config/application.rb +1 -0
  9. data/spec/dummy/config/initializers/assets.rb +1 -0
  10. data/spec/dummy/db/migrate/005_create_manifestations.rb +3 -3
  11. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +6 -5
  12. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +1 -0
  13. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
  14. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -0
  15. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -0
  16. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -0
  17. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +1 -1
  18. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +1 -1
  19. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +1 -1
  20. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +1 -1
  21. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +1 -1
  22. data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +1 -1
  23. data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +1 -1
  24. data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +1 -1
  25. data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +1 -1
  26. data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
  27. data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
  28. data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
  29. data/spec/dummy/db/schema.rb +12 -1
  30. data/spec/dummy/tmp/development_secret.txt +1 -0
  31. data/spec/factories/manifestation.rb +14 -0
  32. data/spec/fixtures/carrier_types.yml +54 -0
  33. data/spec/fixtures/content_types.yml +98 -0
  34. data/spec/fixtures/frequencies.yml +68 -0
  35. data/spec/fixtures/languages.yml +1900 -0
  36. data/spec/fixtures/libraries.yml +102 -0
  37. data/spec/fixtures/profiles.yml +78 -0
  38. data/spec/fixtures/roles.yml +21 -0
  39. data/spec/fixtures/user_groups.yml +45 -0
  40. data/spec/fixtures/user_has_roles.yml +40 -0
  41. data/spec/fixtures/users.yml +51 -0
  42. data/spec/models/manifestation_spec.rb +13 -0
  43. data/spec/rails_helper.rb +7 -0
  44. data/spec/support/devise.rb +2 -2
  45. data/spec/system/library_groups_spec.rb +21 -0
  46. data/spec/system/manifestations_spec.rb +39 -0
  47. metadata +296 -194
  48. data/README.rdoc +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8402fad41b7fe458265c9c5653a956e8a7b0f76e9cecb71390469c21ec7907c
4
- data.tar.gz: d7b023d94d1ce3ca592c9466101320d835396e6df56167f43d2495845fe051e4
3
+ metadata.gz: 046c7d5b6644e0bd210b5772a62ba1089ec132a807fa5f503dd946ca63c28c71
4
+ data.tar.gz: 974ebba6926a46a46967b8428e2fcac76eb206eae18b056d42d54de1a87c84b1
5
5
  SHA512:
6
- metadata.gz: 4bd754d28e3bbbf0a8714855200e74b6831f8b1336989664301727e23b5f9430bed0cf72d8f8eae7cb83236dc4523bf365ee4bd3815401d44835c04f1488a778
7
- data.tar.gz: 4999a302424852eb1ac56925c3b4a2a06f9729f81ae44e1087e8d92ad16067138e0fa7c1ad987319c1fa693637c005e1eeaea2885e3fd4735215e1082233e6a6
6
+ metadata.gz: c9c0220d289966313d20dbd7c4b62b057bfc26d56856ac723d47278650e3872af0ca8bf9ecfbc228a437db5d13a77889b005345b8d4840ddb875cf0ee81b9384
7
+ data.tar.gz: 3d1b92b54101d10135c28d56812a1df5c4f0b4c40b4f3e52fe413b0ca51d17e583d2a335a7cdb56954d0ce556d6a3e5e4269e572ba494c460f907de156f1e76b
@@ -0,0 +1,17 @@
1
+ # EnjuManifestationViewer
2
+ [<img
3
+ src="https://travis-ci.com/next-l/enju_manifestation_viewer.svg?branch=1.3"
4
+ alt="Build Status" />](https://travis-ci.com/next-l/enju_manifestation_viewer)
5
+ [<img
6
+ src="https://coveralls.io/repos/next-l/enju_manifestation_viewer/badge.svg?bra
7
+ nch=1.3&service=github" alt="Coverage Status"
8
+ />](https://coveralls.io/github/next-l/enju_manifestation_viewer?branch=1.3)
9
+ [<img src="https://hakiri.io/github/next-l/enju_manifestation_viewer/1.3.svg"
10
+ alt="security"
11
+ />](https://hakiri.io/github/next-l/enju_manifestation_viewer/1.3)
12
+
13
+ This project rocks and uses MIT-LICENSE.
14
+
15
+ ## 製作者・貢献者 (Authors and contributors)
16
+ * [TANABE, Kosuke](https://github.com/nabeta) ([@nabeta](https://twitter.com/nabeta))
17
+ * [Project Next-L](https://www.next-l.jp) ([@ProjectNextL](https://twitter.com/ProjectNextL))
data/Rakefile CHANGED
@@ -16,7 +16,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
16
16
  rdoc.rdoc_dir = 'rdoc'
17
17
  rdoc.title = 'EnjuManifestationViewer'
18
18
  rdoc.options << '--line-numbers'
19
- rdoc.rdoc_files.include('README.rdoc')
19
+ rdoc.rdoc_files.include('README.md')
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module EnjuManifestationViewer
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -10,4 +10,5 @@
10
10
  // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
+ //= require jquery2
13
14
  //= require_tree .
@@ -1,2 +1,3 @@
1
1
  module ApplicationHelper
2
+ include EnjuLeaf::ApplicationHelper
2
3
  end
@@ -4,6 +4,7 @@ require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
6
  require "enju_manifestation_viewer"
7
+ require "enju_leaf"
7
8
  require "enju_biblio"
8
9
 
9
10
  module Dummy
@@ -12,3 +12,4 @@ Rails.application.config.assets.paths << Rails.root.join('node_modules')
12
12
  # application.js, application.css, and all non-JS/CSS in the app/assets
13
13
  # folder are already added.
14
14
  # Rails.application.config.assets.precompile += %w( admin.js admin.css )
15
+ Rails.application.config.assets.precompile += %w( icons/page_white_text.png unknown_resource.png )
@@ -32,10 +32,10 @@ class CreateManifestations < ActiveRecord::Migration[4.2]
32
32
  t.integer :frequency_id, default: 1, null: false
33
33
  t.boolean :subscription_master, default: false, null: false
34
34
  end
35
- # add_index :manifestations, :carrier_type_id
36
- # add_index :manifestations, :required_role_id
35
+ #add_index :manifestations, :carrier_type_id
36
+ #add_index :manifestations, :required_role_id
37
37
  add_index :manifestations, :access_address
38
- # add_index :manifestations, :frequency_id
38
+ #add_index :manifestations, :frequency_id
39
39
  add_index :manifestations, :manifestation_identifier
40
40
  add_index :manifestations, :updated_at
41
41
  add_index :manifestations, :date_of_publication
@@ -1,17 +1,18 @@
1
1
  class CreateCountries < ActiveRecord::Migration[4.2]
2
+
2
3
  # ISO 3166 is the International Standard for country codes.
3
4
  #
4
- # ISO 3166-1:2006 Codes for the representation of names of countries and their subdivisions - Part 1:
5
- # Country codes which is what most users know as ISO's country codes. First published in 1974, it is has since
6
- # then become one of the world's most popular and most widely used standard solution for coding country names.
7
- # It contains a two-letter code which is recommended as the general purpose code, a three-letter code which has
5
+ # ISO 3166-1:2006 Codes for the representation of names of countries and their subdivisions - Part 1:
6
+ # Country codes which is what most users know as ISO's country codes. First published in 1974, it is has since
7
+ # then become one of the world's most popular and most widely used standard solution for coding country names.
8
+ # It contains a two-letter code which is recommended as the general purpose code, a three-letter code which has
8
9
  # better mnenomic properties and a numeric-3 code which can be useful if script independence of the codes is important.
9
10
  #
10
11
  # http://www.iso.org/iso/country_codes/background_on_iso_3166/what_is_iso_3166.htm
11
12
 
12
13
  def change
13
14
  create_table :countries do |t|
14
- t.string :name, size: 80, null: false
15
+ t.string :name, size: 80, null: false
15
16
  t.text :display_name
16
17
  t.string :alpha_2, size: 2
17
18
  t.string :alpha_3, size: 3
@@ -1,4 +1,5 @@
1
1
  class CreateLanguages < ActiveRecord::Migration[4.2]
2
+
2
3
  # ISO 639 is the set of international standards that lists short codes for language names.
3
4
  # Note this doesn't include macrolanguages (dialects)
4
5
  # Information on macrolanguages http://en.wikipedia.org/wiki/ISO_639_macrolanguage
@@ -10,6 +10,6 @@ class CreatePictureFiles < ActiveRecord::Migration[4.2]
10
10
 
11
11
  t.timestamps
12
12
  end
13
- add_index :picture_files, %i[picture_attachable_id picture_attachable_type], name: "index_picture_files_on_picture_attachable_id_and_type"
13
+ add_index :picture_files, [:picture_attachable_id, :picture_attachable_type], name: "index_picture_files_on_picture_attachable_id_and_type"
14
14
  end
15
15
  end
@@ -1,5 +1,6 @@
1
1
  class AddTitleSubseriesTranscriptionToSeriesStatement < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column :series_statements, :title_subseries_transcription, :text
4
+
4
5
  end
5
6
  end
@@ -1,5 +1,6 @@
1
1
  class AddBudgetTypeIdToItem < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column :items, :budget_type_id, :integer
4
+
4
5
  end
5
6
  end
@@ -1,5 +1,6 @@
1
1
  class AddContentTypeIdToManifestation < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_column :manifestations, :content_type_id, :integer, default: 1
4
+
4
5
  end
5
6
  end
@@ -9,7 +9,7 @@ class CreateIdentifiers < ActiveRecord::Migration[4.2]
9
9
 
10
10
  t.timestamps
11
11
  end
12
- add_index :identifiers, %i[body identifier_type_id]
12
+ add_index :identifiers, [:body, :identifier_type_id]
13
13
  add_index :identifiers, :manifestation_id
14
14
  end
15
15
  end
@@ -13,6 +13,6 @@ class CreateResourceImportFileTransitions < ActiveRecord::Migration[4.2]
13
13
  end
14
14
 
15
15
  add_index :resource_import_file_transitions, :resource_import_file_id, name: "index_resource_import_file_transitions_on_file_id"
16
- add_index :resource_import_file_transitions, %i[sort_key resource_import_file_id], unique: true, name: "index_resource_import_file_transitions_on_sort_key_and_file_id"
16
+ add_index :resource_import_file_transitions, [:sort_key, :resource_import_file_id], unique: true, name: "index_resource_import_file_transitions_on_sort_key_and_file_id"
17
17
  end
18
18
  end
@@ -13,6 +13,6 @@ class CreateImportRequestTransitions < ActiveRecord::Migration[4.2]
13
13
  end
14
14
 
15
15
  add_index :import_request_transitions, :import_request_id
16
- add_index :import_request_transitions, %i[sort_key import_request_id], unique: true, name: "index_import_request_transitions_on_sort_key_and_request_id"
16
+ add_index :import_request_transitions, [:sort_key, :import_request_id], unique: true, name: "index_import_request_transitions_on_sort_key_and_request_id"
17
17
  end
18
18
  end
@@ -13,6 +13,6 @@ class CreateAgentImportFileTransitions < ActiveRecord::Migration[4.2]
13
13
  end
14
14
 
15
15
  add_index :agent_import_file_transitions, :agent_import_file_id
16
- add_index :agent_import_file_transitions, %i[sort_key agent_import_file_id], unique: true, name: "index_agent_import_file_transitions_on_sort_key_and_file_id"
16
+ add_index :agent_import_file_transitions, [:sort_key, :agent_import_file_id], unique: true, name: "index_agent_import_file_transitions_on_sort_key_and_file_id"
17
17
  end
18
18
  end
@@ -13,6 +13,6 @@ class CreateResourceExportFileTransitions < ActiveRecord::Migration[4.2]
13
13
  end
14
14
 
15
15
  add_index :resource_export_file_transitions, :resource_export_file_id, name: "index_resource_export_file_transitions_on_file_id"
16
- add_index :resource_export_file_transitions, %i[sort_key resource_export_file_id], unique: true, name: "index_resource_export_file_transitions_on_sort_key_and_file_id"
16
+ add_index :resource_export_file_transitions, [:sort_key, :resource_export_file_id], unique: true, name: "index_resource_export_file_transitions_on_sort_key_and_file_id"
17
17
  end
18
18
  end
@@ -2,7 +2,7 @@ class AddConstraintsToMostRecentForAgentImportFileTransitions < ActiveRecord::Mi
2
2
  disable_ddl_transaction!
3
3
 
4
4
  def up
5
- add_index :agent_import_file_transitions, %i[agent_import_file_id most_recent], unique: true, where: "most_recent", name: "index_agent_import_file_transitions_parent_most_recent" # , algorithm: :concurrently
5
+ add_index :agent_import_file_transitions, [:agent_import_file_id, :most_recent], unique: true, where: "most_recent", name: "index_agent_import_file_transitions_parent_most_recent" #, algorithm: :concurrently
6
6
  change_column_null :agent_import_file_transitions, :most_recent, false
7
7
  end
8
8
 
@@ -2,7 +2,7 @@ class AddConstraintsToMostRecentForResourceImportFileTransitions < ActiveRecord:
2
2
  disable_ddl_transaction!
3
3
 
4
4
  def up
5
- add_index :resource_import_file_transitions, %i[resource_import_file_id most_recent], unique: true, where: "most_recent", name: "index_resource_import_file_transitions_parent_most_recent" # , algorithm: :concurrently
5
+ add_index :resource_import_file_transitions, [:resource_import_file_id, :most_recent], unique: true, where: "most_recent", name: "index_resource_import_file_transitions_parent_most_recent" #, algorithm: :concurrently
6
6
  change_column_null :resource_import_file_transitions, :most_recent, false
7
7
  end
8
8
 
@@ -2,7 +2,7 @@ class AddConstraintsToMostRecentForResourceExportFileTransitions < ActiveRecord:
2
2
  disable_ddl_transaction!
3
3
 
4
4
  def up
5
- add_index :resource_export_file_transitions, %i[resource_export_file_id most_recent], unique: true, where: "most_recent", name: "index_resource_export_file_transitions_parent_most_recent" # , algorithm: :concurrently
5
+ add_index :resource_export_file_transitions, [:resource_export_file_id, :most_recent], unique: true, where: "most_recent", name: "index_resource_export_file_transitions_parent_most_recent" #, algorithm: :concurrently
6
6
  change_column_null :resource_export_file_transitions, :most_recent, false
7
7
  end
8
8
 
@@ -2,7 +2,7 @@ class AddConstraintsToMostRecentForImportRequestTransitions < ActiveRecord::Migr
2
2
  disable_ddl_transaction!
3
3
 
4
4
  def up
5
- add_index :import_request_transitions, %i[import_request_id most_recent], unique: true, where: "most_recent", name: "index_import_request_transitions_parent_most_recent" # , algorithm: :concurrently
5
+ add_index :import_request_transitions, [:import_request_id, :most_recent], unique: true, where: "most_recent", name: "index_import_request_transitions_parent_most_recent" #, algorithm: :concurrently
6
6
  change_column_null :import_request_transitions, :most_recent, false
7
7
  end
8
8
 
@@ -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
@@ -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: 2018_01_07_161410) 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"
@@ -262,6 +262,15 @@ ActiveRecord::Schema.define(version: 2018_01_07_161410) do
262
262
  t.index ["work_id"], name: "index_creates_on_work_id"
263
263
  end
264
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
+
265
274
  create_table "donates", force: :cascade do |t|
266
275
  t.integer "agent_id", null: false
267
276
  t.integer "item_id", null: false
@@ -365,6 +374,7 @@ ActiveRecord::Schema.define(version: 2018_01_07_161410) do
365
374
  t.string "binding_call_number"
366
375
  t.datetime "binded_at"
367
376
  t.integer "manifestation_id", null: false
377
+ t.text "memo"
368
378
  t.index ["binding_item_identifier"], name: "index_items_on_binding_item_identifier"
369
379
  t.index ["bookstore_id"], name: "index_items_on_bookstore_id"
370
380
  t.index ["item_identifier"], name: "index_items_on_item_identifier"
@@ -547,6 +557,7 @@ ActiveRecord::Schema.define(version: 2018_01_07_161410) do
547
557
  t.text "publication_place"
548
558
  t.text "extent"
549
559
  t.text "dimensions"
560
+ t.text "memo"
550
561
  t.index ["access_address"], name: "index_manifestations_on_access_address"
551
562
  t.index ["date_of_publication"], name: "index_manifestations_on_date_of_publication"
552
563
  t.index ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
@@ -0,0 +1 @@
1
+ 633f3802f0912e5f83fe064b815de64fe800f62b40d7167fa257cde2a6ca25d18dab4acc7c226ad0e0caaba45c4937ef6df68fc278b4ebcd2aa24193d088c1a6
@@ -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
+ #