enju_library 0.3.7 → 0.3.8.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/enju_library/controller.rb +5 -5
- data/app/models/library_group.rb +5 -2
- data/app/models/user_export_file_state_machine.rb +1 -1
- data/app/models/user_import_file.rb +7 -7
- data/app/models/user_import_file_state_machine.rb +1 -1
- data/app/views/layouts/libraries.html.erb +31 -0
- data/app/views/libraries/_form.html.erb +1 -1
- data/app/views/libraries/_map.html.erb +10 -23
- data/app/views/libraries/_map_header.html.erb +6 -0
- data/config/locales/translation_en.yml +2 -0
- data/config/locales/translation_ja.yml +2 -0
- data/lib/enju_library/version.rb +1 -1
- data/spec/dummy/db/migrate/20200425072340_create_manifestation_custom_properties.rb +12 -0
- data/spec/dummy/db/migrate/20200425072349_create_item_custom_properties.rb +12 -0
- data/spec/dummy/db/migrate/20200425074758_create_manifestation_custom_values.rb +12 -0
- data/spec/dummy/db/migrate/20200425074822_create_item_custom_values.rb +12 -0
- data/spec/dummy/db/schema.rb +43 -10
- data/spec/fixtures/library_groups.yml +3 -0
- data/spec/models/library_group_spec.rb +3 -0
- data/spec/system/libraries_spec.rb +5 -5
- metadata +415 -393
- data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +0 -12
@@ -1,12 +0,0 @@
|
|
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
|