enju_leaf 1.1.0.rc15 → 1.1.0.rc16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +2 -2
- data/app/assets/javascripts/mobile.js +1 -1
- data/app/assets/stylesheets/mobile.css +1 -1
- data/app/controllers/my_accounts_controller.rb +5 -5
- data/app/controllers/page_controller.rb +10 -2
- data/app/models/profile.rb +15 -5
- data/app/models/user_export_file.rb +1 -1
- data/app/models/user_import_file.rb +2 -2
- data/app/views/my_accounts/_edit_credential.html.erb +10 -0
- data/app/views/my_accounts/edit.html.erb +2 -4
- data/app/views/page/_header.html.erb +3 -3
- data/app/views/page/_menu.html.erb +3 -0
- data/app/views/page/configuration.html.erb +3 -0
- data/app/views/page/opensearch.xml.builder +1 -1
- data/app/views/page/system_information.html.erb +23 -0
- data/app/views/profiles/_edit_credential.html.erb +10 -0
- data/app/views/profiles/edit.html.erb +3 -4
- data/app/views/profiles/index.html.erb +4 -4
- data/app/views/profiles/new.html.erb +10 -0
- data/config/locales/translation_en.yml +3 -0
- data/config/locales/translation_ja.yml +3 -0
- data/config/routes.rb +1 -0
- data/db/migrate/20140524074813_create_user_import_file_transitions.rb +5 -1
- data/db/migrate/20140709113905_create_user_export_file_transitions.rb +5 -1
- data/db/migrate/20141003181336_add_full_name_transcription_to_profile.rb +5 -0
- data/db/migrate/20141003182825_add_date_of_birth_to_profile.rb +5 -0
- data/lib/enju_leaf/controller.rb +4 -4
- data/lib/enju_leaf/helper.rb +7 -0
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/enju_leaf.rb +0 -48
- data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +1 -1
- data/lib/generators/enju_leaf/setup/setup_generator.rb +9 -0
- data/lib/generators/enju_leaf/setup/templates/Procfile +1 -1
- data/lib/tasks/enju_leaf_tasks.rake +6 -0
- data/lib/tasks/profile.rb +1 -1
- data/spec/controllers/page_controller_spec.rb +15 -0
- data/spec/dummy/config/database.yml +23 -18
- data/spec/dummy/db/migrate/001_create_agents.rb +0 -2
- data/spec/dummy/db/migrate/005_create_manifestations.rb +1 -2
- data/spec/dummy/db/migrate/006_create_items.rb +0 -2
- data/spec/dummy/db/migrate/035_create_reserves.rb +0 -1
- data/spec/dummy/db/migrate/133_create_agent_merges.rb +15 -0
- data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +13 -0
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -3
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -4
- data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +0 -1
- data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140529014410_create_item_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +5 -1
- data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
- data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
- data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
- data/spec/dummy/db/migrate/{20140810061942_add_user_id_to_stat.rb → 20140810061942_add_user_id_to_user_checkout_stat.rb} +1 -1
- data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
- data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb +6 -0
- data/spec/dummy/db/schema.rb +674 -663
- data/spec/fixtures/agent_import_results.yml +0 -3
- data/spec/fixtures/agents.yml +0 -12
- data/spec/fixtures/checked_items.yml +4 -4
- data/spec/fixtures/checkouts.yml +12 -12
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -3
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -3
- data/spec/fixtures/manifestations.yml +114 -114
- data/spec/fixtures/reserves.yml +17 -17
- data/spec/fixtures/user_checkout_stats.yml +0 -3
- data/spec/fixtures/user_reserve_stats.yml +0 -3
- data/spec/fixtures/users.yml +1 -1
- data/spec/spec_helper.rb +2 -0
- data/vendor/assets/javascripts/{jquery.mobile-1.4.3.js → jquery.mobile-1.4.4.js} +191 -116
- data/vendor/assets/stylesheets/{jquery.mobile-1.4.3.css → jquery.mobile-1.4.4.css} +10 -2
- metadata +79 -264
- data/app/models/local_patron.rb +0 -27
- data/lib/enju_leaf/bookmark_url.rb +0 -45
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +0 -11
- data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +0 -5
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_delete_file.tsv +0 -4
- data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_import_file_sample.tsv +0 -7
- data/spec/dummy/private/system/user_import_files/user_imports/980/190/963/original/user_update_file.tsv +0 -4
- data/spec/dummy/private/system/user_import_files/user_imports/980/190/964/original/user_delete_file.tsv +0 -4
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140815-3963-1s1td26.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140815-69229-i0rcty.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140816-21120-1w731r8.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140818-59118-14fm7df.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140818-59989-vmovk5.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140818-75062-kpzjyb.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140818-75773-1lhgyub.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140818-75927-j8wteq.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140820-9103-mfcugd.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140822-13160-wz7o56.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140824-39018-fw3fdj.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140828-69043-tbwoqv.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140915-22971-1jmyywh.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140915-23153-j4x3ru.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140915-67244-1uo8pkb.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-80298-14af9pc.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-80450-1qhv5cf.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-80529-1hahtrn.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-80725-tqmhnv.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-81018-wl1hgj.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-81246-wll5s.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-81371-8uz50r.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140922-84122-1u96hw6.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20140926-7716-bbs13d.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141002-57000-yu6qop.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141002-57206-2j8sg2.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141002-57328-p8lryh.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141002-57609-1j3dd67.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141003-78097-dw5i2k.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140711-28652-1dj3e98.txt +0 -148
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140711-29117-13jb6ol.txt +0 -148
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140721-65743-1tnagd4.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140815-3963-1kk8o87.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140815-69229-188nwub.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140816-21120-twzfb6.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140818-59118-1lhrtka.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140818-59989-1prz707.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140818-75062-10bxh78.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140818-75773-ekgeho.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140818-75927-uay97k.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140820-9103-tuuox.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140822-13160-17b5dbh.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140824-39018-o12xa4.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140915-22971-d4ul8o.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140915-23153-1qmzqi6.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140915-67244-1ps1qsi.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-80298-121rh7h.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-80450-wdetsg.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-80529-lmet02.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-80725-1l6tliy.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-81018-azm74f.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-81246-1rjpksn.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-81371-aroaof.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140922-84122-7d6kls.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20140926-7716-1nap0l.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141002-57000-3nb1bj.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141002-57206-197ca0p.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141002-57328-1kra77f.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141002-57609-iymry0.txt +0 -8
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141003-78097-1ocngi2.txt +0 -8
- data/spec/dummy/solr/conf/admin-extra.html +0 -31
- data/spec/dummy/solr/conf/elevate.xml +0 -36
- data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +0 -246
- data/spec/dummy/solr/conf/protwords.txt +0 -21
- data/spec/dummy/solr/conf/schema.xml +0 -255
- data/spec/dummy/solr/conf/scripts.conf +0 -24
- data/spec/dummy/solr/conf/solrconfig.xml +0 -667
- data/spec/dummy/solr/conf/spellings.txt +0 -2
- data/spec/dummy/solr/conf/stopwords.txt +0 -58
- data/spec/dummy/solr/conf/synonyms.txt +0 -31
- data/spec/dummy/solr/default/data/index/_7b.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_7b.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_7b.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_7b.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_7b.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_7b.si +0 -0
- data/spec/dummy/solr/default/data/index/_7b_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_7b_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_7b_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_7b_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_ev +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000524 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000525 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000526 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000527 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000528 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000529 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000530 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000531 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000532 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000533 +0 -0
- data/spec/dummy/solr/development/data/index/segments.gen +0 -0
- data/spec/dummy/solr/development/data/index/segments_1 +0 -0
- data/spec/dummy/solr/solr.xml +0 -8
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_1 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/ACB/B20/manifestation_search_total +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/154f7b83f2da0e86effbe25f32135177 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1b984bdbd3204a51a82d0e01a1569e2d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3054c50144654f9c7e57bb0639a276e9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3bd7a263237ba366f64d938fe5303757 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/62899096da1a3e67660f3b88068be8c9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/65b2e4f67eab21b30217e29075f433b2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/87d24a3f43f175d4d17babe9203c79a7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d38d8658b30de1d068603968227680d4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/stdout +0 -1653
- data/spec/dummy/tmp/pids/redis-test.pid +0 -1
@@ -4,14 +4,12 @@ one:
|
|
4
4
|
id: 1
|
5
5
|
agent_import_file_id: 1
|
6
6
|
agent_id: 1
|
7
|
-
user_id: 1
|
8
7
|
body: MyText
|
9
8
|
|
10
9
|
two:
|
11
10
|
id: 2
|
12
11
|
agent_import_file_id: 1
|
13
12
|
agent_id: 1
|
14
|
-
user_id: 1
|
15
13
|
body: MyText
|
16
14
|
|
17
15
|
# == Schema Information
|
@@ -21,7 +19,6 @@ two:
|
|
21
19
|
# id :integer not null, primary key
|
22
20
|
# agent_import_file_id :integer
|
23
21
|
# agent_id :integer
|
24
|
-
# user_id :integer
|
25
22
|
# body :text
|
26
23
|
# created_at :datetime
|
27
24
|
# updated_at :datetime
|
data/spec/fixtures/agents.yml
CHANGED
@@ -15,7 +15,6 @@ agent_00001:
|
|
15
15
|
agent_type_id: 1
|
16
16
|
required_role_id: 1
|
17
17
|
created_at: 2007-11-19 17:06:06.507237 +09:00
|
18
|
-
user_id: 1
|
19
18
|
agent_00002:
|
20
19
|
place: ""
|
21
20
|
last_name: Librarian1
|
@@ -32,7 +31,6 @@ agent_00002:
|
|
32
31
|
agent_type_id: 1
|
33
32
|
required_role_id: 4
|
34
33
|
created_at: 2007-11-19 17:06:07.724517 +09:00
|
35
|
-
user_id: 2
|
36
34
|
agent_00003:
|
37
35
|
place:
|
38
36
|
last_name: Kosuke
|
@@ -49,7 +47,6 @@ agent_00003:
|
|
49
47
|
agent_type_id: 1
|
50
48
|
required_role_id: 3
|
51
49
|
created_at: 2007-12-04 16:25:01.523618 +09:00
|
52
|
-
user_id: 3
|
53
50
|
agent_00004:
|
54
51
|
place:
|
55
52
|
last_name: Librarian2
|
@@ -66,7 +63,6 @@ agent_00004:
|
|
66
63
|
agent_type_id: 1
|
67
64
|
required_role_id: 1
|
68
65
|
created_at: 2007-12-04 16:25:01.785027 +09:00
|
69
|
-
user_id: 4
|
70
66
|
agent_00005:
|
71
67
|
place: ""
|
72
68
|
last_name: User2
|
@@ -83,7 +79,6 @@ agent_00005:
|
|
83
79
|
agent_type_id: 1
|
84
80
|
required_role_id: 2
|
85
81
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
86
|
-
user_id: 5
|
87
82
|
agent_00006:
|
88
83
|
place: ""
|
89
84
|
last_name: New agent 1
|
@@ -180,7 +175,6 @@ agent_00011:
|
|
180
175
|
agent_type_id: 1
|
181
176
|
required_role_id: 1
|
182
177
|
created_at: 2007-11-19 17:24:50.153417 +09:00
|
183
|
-
user_id: 6
|
184
178
|
agent_00101:
|
185
179
|
place: ""
|
186
180
|
last_name: テスト名字
|
@@ -278,17 +272,11 @@ agent_00202:
|
|
278
272
|
required_role_id: 1
|
279
273
|
created_at: 2010-03-15 17:00:00.579396 +09:00
|
280
274
|
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
275
|
# == Schema Information
|
287
276
|
#
|
288
277
|
# Table name: agents
|
289
278
|
#
|
290
279
|
# id :integer not null, primary key
|
291
|
-
# user_id :integer
|
292
280
|
# last_name :string(255)
|
293
281
|
# middle_name :string(255)
|
294
282
|
# first_name :string(255)
|
@@ -3,22 +3,22 @@ checked_item_00001:
|
|
3
3
|
id: 1
|
4
4
|
item_id: 10
|
5
5
|
basket_id: 1
|
6
|
-
due_date: <%= 1.week.from_now %>
|
6
|
+
due_date: <%= 1.week.from_now.to_s(:db) %>
|
7
7
|
checked_item_00002:
|
8
8
|
id: 2
|
9
9
|
item_id: 6
|
10
10
|
basket_id: 2
|
11
|
-
due_date: <%= 1.week.from_now %>
|
11
|
+
due_date: <%= 1.week.from_now.to_s(:db) %>
|
12
12
|
checked_item_00003:
|
13
13
|
id: 3
|
14
14
|
item_id: 6
|
15
15
|
basket_id: 9
|
16
|
-
due_date: <%= 1.week.from_now %>
|
16
|
+
due_date: <%= 1.week.from_now.to_s(:db) %>
|
17
17
|
checked_item_00004:
|
18
18
|
id: 4
|
19
19
|
item_id: 12
|
20
20
|
basket_id: 8
|
21
|
-
due_date: <%= 1.week.from_now %>
|
21
|
+
due_date: <%= 1.week.from_now.to_s(:db) %>
|
22
22
|
|
23
23
|
# == Schema Information
|
24
24
|
#
|
data/spec/fixtures/checkouts.yml
CHANGED
@@ -7,7 +7,7 @@ checkout_00001:
|
|
7
7
|
id: 1
|
8
8
|
librarian_id: 1
|
9
9
|
checkout_renewal_count: 0
|
10
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
10
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
11
11
|
created_at: 2007-09-08 01:19:02.285850 +09:00
|
12
12
|
basket_id: 1
|
13
13
|
checkout_00002:
|
@@ -18,7 +18,7 @@ checkout_00002:
|
|
18
18
|
id: 2
|
19
19
|
librarian_id: 1
|
20
20
|
checkout_renewal_count: 0
|
21
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
21
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
22
22
|
created_at: 2007-09-08 01:34:07.363023 +09:00
|
23
23
|
basket_id: 1
|
24
24
|
checkout_00003:
|
@@ -29,7 +29,7 @@ checkout_00003:
|
|
29
29
|
id: 3
|
30
30
|
librarian_id: 1
|
31
31
|
checkout_renewal_count: 0
|
32
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
32
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
33
33
|
created_at: 2007-09-08 01:39:03.210081 +09:00
|
34
34
|
basket_id: 2
|
35
35
|
checkout_00004:
|
@@ -40,7 +40,7 @@ checkout_00004:
|
|
40
40
|
id: 4
|
41
41
|
librarian_id: 1
|
42
42
|
checkout_renewal_count: 0
|
43
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
43
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
44
44
|
created_at: 2007-09-08 01:39:04.210081 +09:00
|
45
45
|
basket_id: 3
|
46
46
|
checkout_00005:
|
@@ -51,7 +51,7 @@ checkout_00005:
|
|
51
51
|
id: 5
|
52
52
|
librarian_id: 1
|
53
53
|
checkout_renewal_count: 0
|
54
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
54
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
55
55
|
created_at: 2007-09-08 01:39:05.210081 +09:00
|
56
56
|
basket_id: 4
|
57
57
|
checkout_00006:
|
@@ -72,7 +72,7 @@ checkout_00007:
|
|
72
72
|
id: 7
|
73
73
|
librarian_id: 1
|
74
74
|
checkout_renewal_count: 0
|
75
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
75
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
76
76
|
created_at: 2007-09-08 01:39:07.210081 +09:00
|
77
77
|
basket_id: 5
|
78
78
|
checkout_00008:
|
@@ -83,7 +83,7 @@ checkout_00008:
|
|
83
83
|
id: 8
|
84
84
|
librarian_id: 1
|
85
85
|
checkout_renewal_count: 0
|
86
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
86
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
87
87
|
created_at: 2007-09-08 01:39:08.210081 +09:00
|
88
88
|
basket_id: 6
|
89
89
|
checkout_00009:
|
@@ -94,7 +94,7 @@ checkout_00009:
|
|
94
94
|
id: 9
|
95
95
|
librarian_id: 1
|
96
96
|
checkout_renewal_count: 1
|
97
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
97
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
98
98
|
created_at: 2007-09-08 01:39:09.210081 +09:00
|
99
99
|
basket_id: 7
|
100
100
|
checkout_00010:
|
@@ -105,7 +105,7 @@ checkout_00010:
|
|
105
105
|
id: 10
|
106
106
|
librarian_id: 1
|
107
107
|
checkout_renewal_count: 1
|
108
|
-
due_date: <%= 2.day.from_now.beginning_of_day %>
|
108
|
+
due_date: <%= 2.day.from_now.beginning_of_day.to_s(:db) %>
|
109
109
|
created_at: 2007-09-08 01:39:10.210081 +09:00
|
110
110
|
basket_id: 7
|
111
111
|
checkout_00011:
|
@@ -116,7 +116,7 @@ checkout_00011:
|
|
116
116
|
id: 11
|
117
117
|
librarian_id: 1
|
118
118
|
checkout_renewal_count: 1
|
119
|
-
due_date: <%= 180.days.ago.beginning_of_day %>
|
119
|
+
due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
|
120
120
|
created_at: 2007-09-08 01:39:11.210081 +09:00
|
121
121
|
basket_id: 7
|
122
122
|
checkout_00012:
|
@@ -127,7 +127,7 @@ checkout_00012:
|
|
127
127
|
id: 12
|
128
128
|
librarian_id: 1
|
129
129
|
checkout_renewal_count: 1
|
130
|
-
due_date: <%= 180.days.ago.beginning_of_day %>
|
130
|
+
due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
|
131
131
|
created_at: 2007-09-08 01:39:12.210081 +09:00
|
132
132
|
basket_id: 8
|
133
133
|
checkin_id: 5
|
@@ -139,7 +139,7 @@ checkout_00013:
|
|
139
139
|
id: 13
|
140
140
|
librarian_id: 1
|
141
141
|
checkout_renewal_count: 1
|
142
|
-
due_date: <%= 180.days.ago.beginning_of_day %>
|
142
|
+
due_date: <%= 180.days.ago.beginning_of_day.to_s(:db) %>
|
143
143
|
created_at: 2007-09-08 01:39:13.210081 +09:00
|
144
144
|
basket_id: 8
|
145
145
|
checkin_id: 4
|
@@ -5,14 +5,12 @@ one:
|
|
5
5
|
start_date: 2008-12-12 17:00:38
|
6
6
|
end_date: 2008-12-13 17:00:38
|
7
7
|
note: MyText
|
8
|
-
state: pending
|
9
8
|
|
10
9
|
two:
|
11
10
|
id: 2
|
12
11
|
start_date: 2008-12-12 17:00:38
|
13
12
|
end_date: 2008-12-13 17:00:38
|
14
13
|
note: MyText
|
15
|
-
state: pending
|
16
14
|
|
17
15
|
# == Schema Information
|
18
16
|
#
|
@@ -22,7 +20,6 @@ two:
|
|
22
20
|
# start_date :datetime
|
23
21
|
# end_date :datetime
|
24
22
|
# note :text
|
25
|
-
# state :string(255)
|
26
23
|
# created_at :datetime
|
27
24
|
# updated_at :datetime
|
28
25
|
# started_at :datetime
|
@@ -5,14 +5,12 @@ one:
|
|
5
5
|
start_date: 2008-12-17 04:07:24
|
6
6
|
end_date: 2008-12-18 04:07:24
|
7
7
|
note: MyText
|
8
|
-
state: pending
|
9
8
|
|
10
9
|
two:
|
11
10
|
id: 2
|
12
11
|
start_date: 2008-12-17 04:07:24
|
13
12
|
end_date: 2008-12-18 04:07:24
|
14
13
|
note: MyText
|
15
|
-
state: pending
|
16
14
|
|
17
15
|
# == Schema Information
|
18
16
|
#
|
@@ -22,7 +20,6 @@ two:
|
|
22
20
|
# start_date :datetime
|
23
21
|
# end_date :datetime
|
24
22
|
# note :text
|
25
|
-
# state :string(255)
|
26
23
|
# created_at :datetime
|
27
24
|
# updated_at :datetime
|
28
25
|
# started_at :datetime
|