enju_ndl 0.3.2 → 0.4.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +2 -7
- data/Rakefile +24 -13
- data/app/models/concerns/enju_ndl/enju_agent.rb +12 -0
- data/{lib/enju_ndl/ndl_search.rb → app/models/concerns/enju_ndl/enju_manifestation.rb} +36 -30
- data/{lib/enju_ndl/crd.rb → app/models/concerns/enju_ndl/enju_question.rb} +12 -9
- data/app/models/jpno_record.rb +14 -0
- data/app/models/ndl_bib_id_record.rb +14 -0
- data/app/models/ndla_record.rb +14 -0
- data/db/migrate/20170116150432_create_jpno_records.rb +10 -0
- data/db/migrate/20171126072934_create_ndla_records.rb +10 -0
- data/db/migrate/20190501043418_create_ndl_bib_id_records.rb +10 -0
- data/lib/enju_ndl.rb +1 -21
- data/lib/enju_ndl/version.rb +1 -1
- data/spec/dummy/app/models/user.rb +5 -1
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/setup +1 -3
- data/spec/dummy/bin/update +4 -2
- data/spec/dummy/bin/yarn +3 -3
- data/spec/dummy/config/application.rb +2 -1
- data/spec/dummy/config/database.yml +70 -9
- data/spec/dummy/config/initializers/assets.rb +1 -1
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +2 -4
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +4 -5
- data/spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb +12 -0
- data/spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb +6 -0
- data/spec/dummy/db/migrate/20190630151446_add_display_name_translations_to_role.rb +5 -0
- data/spec/dummy/db/migrate/20190712163038_add_display_name_translations_to_carrier_type.rb +21 -0
- data/spec/dummy/db/migrate/20190713114940_add_profile_id_to_user.rb +5 -0
- data/spec/dummy/db/migrate/20190713115451_add_full_name_translations_to_profile.rb +5 -0
- data/spec/dummy/db/schema.rb +195 -147
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/fixtures/agent_types.yml +10 -11
- data/spec/fixtures/carrier_types.yml +28 -24
- data/spec/fixtures/frequencies.yml +17 -25
- data/spec/fixtures/profiles.yml +9 -12
- data/spec/fixtures/roles.yml +16 -13
- data/spec/fixtures/users.yml +7 -0
- data/spec/rails_helper.rb +5 -1
- metadata +377 -445
- data/app/assets/config/enju_ndl_manifest.js +0 -0
- data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +0 -5
- data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +0 -5
- data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +0 -12
File without changes
|
@@ -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
|