enju_leaf 1.1.0.rc6 → 1.1.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/mobile.js +1 -1
  3. data/app/assets/stylesheets/mobile.css +1 -1
  4. data/app/views/devise/sessions/new.html.erb +1 -1
  5. data/app/views/my_accounts/edit.html.erb +1 -1
  6. data/app/views/users/edit.html.erb +1 -1
  7. data/lib/enju_leaf.rb +0 -4
  8. data/lib/enju_leaf/version.rb +1 -1
  9. data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +16 -14
  10. data/lib/generators/enju_leaf/setup/setup_generator.rb +4 -1
  11. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +620 -0
  12. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Administrator/with_valid_params/redirects_to_the_created_import_request.yml +620 -0
  13. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/assigns_a_newly_created_import_request_as_import_request.yml +620 -0
  14. data/spec/cassette_library/ImportRequestsController/POST_create/When_logged_in_as_Librarian/with_valid_params/redirects_to_the_created_import_request.yml +620 -0
  15. data/spec/cassette_library/Manifestation/should_import_isbn.yml +537 -0
  16. data/spec/cassette_library/Question/test_should_get_crd_search.yml +437 -0
  17. data/spec/dummy/config/initializers/devise.rb +2 -0
  18. data/spec/dummy/db/schema.rb +1 -1
  19. data/spec/dummy/db/test.sqlite3 +0 -0
  20. data/spec/dummy/solr/conf/schema.xml +19 -2
  21. data/spec/dummy/solr/conf/solrconfig.xml +588 -855
  22. data/spec/dummy/solr/default/data/index/_z.fdt +0 -0
  23. data/spec/dummy/solr/default/data/index/_z.fdx +0 -0
  24. data/spec/dummy/solr/default/data/index/_z.fnm +0 -0
  25. data/spec/dummy/solr/default/data/index/_z.nvd +0 -0
  26. data/spec/dummy/solr/default/data/index/_z.nvm +0 -0
  27. data/spec/dummy/solr/default/data/index/_z.si +0 -0
  28. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.doc +0 -0
  29. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.pos +0 -0
  30. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.tim +0 -0
  31. data/spec/dummy/solr/default/data/index/_z_Lucene41_0.tip +0 -0
  32. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  33. data/spec/dummy/solr/default/data/index/segments_21 +0 -0
  34. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000062 +0 -0
  35. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000063 +0 -0
  36. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000064 +0 -0
  37. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000065 +0 -0
  38. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000066 +0 -0
  39. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000067 +0 -0
  40. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000068 +0 -0
  41. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000069 +0 -0
  42. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000070 +0 -0
  43. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000071 +0 -0
  44. data/spec/dummy/solr/{data/test/spellchecker → development/data/index}/segments.gen +0 -0
  45. data/spec/dummy/solr/development/data/index/segments_1 +0 -0
  46. data/spec/dummy/solr/solr.xml +8 -0
  47. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  48. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  49. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  50. data/spec/dummy/tmp/cache/ACB/B20/manifestation_search_total +0 -0
  51. data/spec/factories/user.rb +3 -3
  52. data/spec/fixtures/user_groups.yml +3 -3
  53. data/vendor/assets/javascripts/jquery.colorbox.js +118 -97
  54. data/vendor/assets/javascripts/{jquery.mobile-1.3.1.js → jquery.mobile-1.3.2.js} +788 -764
  55. data/vendor/assets/stylesheets/{jquery.mobile-1.3.1.css → jquery.mobile-1.3.2.css} +11 -7
  56. metadata +77 -109
  57. data/db/fixtures2/bookstores.yml +0 -9
  58. data/db/fixtures2/carrier_type_has_checkout_types.yml +0 -8
  59. data/db/fixtures2/carrier_types.yml +0 -29
  60. data/db/fixtures2/checkout_types.yml +0 -22
  61. data/db/fixtures2/circulation_statuses.yml +0 -106
  62. data/db/fixtures2/classification_types.yml +0 -7
  63. data/db/fixtures2/content_types.yml +0 -22
  64. data/db/fixtures2/countries.yml +0 -2044
  65. data/db/fixtures2/create_types.yml +0 -47
  66. data/db/fixtures2/event_categories.yml +0 -13
  67. data/db/fixtures2/form_of_works.yml +0 -7
  68. data/db/fixtures2/frequencies.yml +0 -55
  69. data/db/fixtures2/languages.yml +0 -1885
  70. data/db/fixtures2/libraries.yml +0 -25
  71. data/db/fixtures2/library_groups.yml +0 -10
  72. data/db/fixtures2/licenses.yml +0 -15
  73. data/db/fixtures2/manifestation_relationship_types.yml +0 -14
  74. data/db/fixtures2/message_templates.yml +0 -84
  75. data/db/fixtures2/patron_relationship_types.yml +0 -20
  76. data/db/fixtures2/patron_types.yml +0 -16
  77. data/db/fixtures2/patrons.yml +0 -19
  78. data/db/fixtures2/produce_types.yml +0 -32
  79. data/db/fixtures2/realize_types.yml +0 -40
  80. data/db/fixtures2/request_status_types.yml +0 -37
  81. data/db/fixtures2/request_types.yml +0 -29
  82. data/db/fixtures2/roles.yml +0 -29
  83. data/db/fixtures2/shelves.yml +0 -15
  84. data/db/fixtures2/subject_types.yml +0 -28
  85. data/db/fixtures2/use_restrictions.yml +0 -79
  86. data/db/fixtures2/user_groups.yml +0 -7
  87. data/db/schema.rb +0 -1896
  88. data/spec/dummy/solr/data/test/index/_9t.fdt +0 -0
  89. data/spec/dummy/solr/data/test/index/_9t.fdx +0 -0
  90. data/spec/dummy/solr/data/test/index/_9t.fnm +0 -4
  91. data/spec/dummy/solr/data/test/index/_9t.frq +0 -1
  92. data/spec/dummy/solr/data/test/index/_9t.nrm +0 -1
  93. data/spec/dummy/solr/data/test/index/_9t.prx +0 -0
  94. data/spec/dummy/solr/data/test/index/_9t.tii +0 -0
  95. data/spec/dummy/solr/data/test/index/_9t.tis +0 -0
  96. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  97. data/spec/dummy/solr/data/test/index/segments_ju +0 -0
  98. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sprockets/16453aa846d172232cb70ea0ef5d25bb +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/1b984bdbd3204a51a82d0e01a1569e2d +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/1d1ea12f4657d43009075ba81a2ff949 +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/22c8941ab6dec8cd7b3f725e1989dc20 +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/62899096da1a3e67660f3b88068be8c9 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/65b2e4f67eab21b30217e29075f433b2 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/87d24a3f43f175d4d17babe9203c79a7 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/b9cc8f1cd929beaef586e5f42a2aa4c2 +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  113. data/spec/fixtures_old/inventory_files.yml +0 -40
@@ -1,25 +0,0 @@
1
- ---
2
- library_00001:
3
- name: web
4
- short_display_name: Web
5
- display_name: World Wide Web
6
- fax_number:
7
- telephone_number_1:
8
- telephone_number_2:
9
- id: 1
10
- region:
11
- library_group_id: 1
12
- call_number_delimiter: "|"
13
- position: 1
14
- library_00002:
15
- name: yours
16
- short_display_name: your_library
17
- display_name: Your Library
18
- fax_number:
19
- telephone_number_1:
20
- telephone_number_2:
21
- id: 2
22
- region: somewhere
23
- library_group_id: 1
24
- call_number_delimiter: "|"
25
- position: 2
@@ -1,10 +0,0 @@
1
- library_group_00001:
2
- id: 1
3
- name: enju_library
4
- display_name: "en: Enju Library\r\n\
5
- ja: えんじゅ図書館"
6
- short_name: enju
7
- email: library@example.jp
8
- note:
9
- my_networks: 0.0.0.0/0
10
- login_banner: Next-L Enju, an open-source integrated library system. You can edit this message after logging in as Administrator.
@@ -1,15 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- one:
4
- id: 1
5
- name: unknown
6
- display_name: unknown
7
- note: unknown
8
- position: 1
9
-
10
- two:
11
- id: 2
12
- name: mit
13
- display_name: MIT
14
- note: MIT
15
- position: 2
@@ -1,14 +0,0 @@
1
- ---
2
- manifestation_relationship_type_00001:
3
- position: 1
4
- name: Reproduction
5
- id: 1
6
- display_name: "en: Reproduction\r\n\
7
- ja: 複製"
8
-
9
- manifestation_relationship_type_00002:
10
- position: 2
11
- name: Alternate
12
- id: 2
13
- display_name: "en: Alternate\r\n\
14
- ja: 代替"
@@ -1,84 +0,0 @@
1
- message_template_00001:
2
- id: 1
3
- status: reservation_accepted_for_patron
4
- title: Reservation accepted
5
- body: Reservation accepted
6
- position: 1
7
- locale: ja
8
- message_template_00002:
9
- id: 2
10
- status: item_received_for_patron
11
- title: Item received
12
- body: Item received
13
- position: 2
14
- locale: ja
15
- message_template_00003:
16
- id: 3
17
- status: reservation_expired_for_patron
18
- title: Reservation expired
19
- body: Reservation expired
20
- position: 3
21
- locale: ja
22
- message_template_00004:
23
- id: 4
24
- status: reservation_expired_for_library
25
- title: Reservation expired
26
- body: Reservation expired
27
- position: 4
28
- locale: ja
29
- message_template_00005:
30
- id: 5
31
- status: reservation_canceled_for_patron
32
- title: Reservation canceled
33
- body: Reservation canceled
34
- position: 5
35
- locale: ja
36
- message_template_00006:
37
- id: 6
38
- status: reservation_canceled_for_library
39
- title: Reservation canceled
40
- body: Reservation canceled
41
- position: 6
42
- locale: ja
43
- message_template_00007:
44
- id: 7
45
- status: recall_item
46
- title: Recall item
47
- body: Recall item
48
- position: 7
49
- locale: ja
50
- message_template_00008:
51
- id: 8
52
- status: recall_overdue_item
53
- title: Recall overdue item
54
- body: Recall overdue item
55
- position: 8
56
- locale: ja
57
- message_template_00009:
58
- id: 9
59
- status: reservation_accepted_for_library
60
- title: Reservation accepted
61
- body: Reservation accepted
62
- position: 9
63
- locale: ja
64
- message_template_00010:
65
- id: 10
66
- status: item_received_for_library
67
- title: Item received
68
- body: Item received
69
- position: 10
70
- locale: ja
71
- message_template_00011:
72
- id: 11
73
- status: reservation_postponed_for_patron
74
- title: Reservation postponed
75
- body: Reservation postponed
76
- position: 11
77
- locale: ja
78
- message_template_00012:
79
- id: 12
80
- status: reservation_postponed_for_library
81
- title: Reservation postponed
82
- body: Reservation postponed
83
- position: 12
84
- locale: ja
@@ -1,20 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- patron_relationship_type_00001:
4
- id: 1
5
- name: See also
6
- display_name: See also
7
- note:
8
- position: 1
9
- patron_relationship_type_00002:
10
- id: 2
11
- name: Member
12
- display_name: Member
13
- note:
14
- position: 2
15
- patron_relationship_type_00003:
16
- id: 3
17
- name: Child
18
- display_name: Child
19
- note:
20
- position: 3
@@ -1,16 +0,0 @@
1
- ---
2
- patron_type_00001:
3
- id: 1
4
- name: Person
5
- display_name: "en: Person\r\n\
6
- ja: 個人"
7
- note:
8
- position: 1
9
-
10
- patron_type_00002:
11
- id: 2
12
- name: CorporateBody
13
- display_name: "en: CorporateBody\r\n\
14
- ja: 団体"
15
- note:
16
- position: 2
@@ -1,19 +0,0 @@
1
- ---
2
- patron_00001:
3
- place: ""
4
- full_name: Administrator
5
- other_designation: ""
6
- id: 1
7
- address_1:
8
- language_id: 1
9
- patron_type_id: 1
10
- required_role_id: 1
11
- patron_00002:
12
- place: ""
13
- full_name: Your Library
14
- other_designation: ""
15
- id: 2
16
- address_1:
17
- language_id: 1
18
- patron_type_id: 2
19
- required_role_id: 1
@@ -1,32 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- publisher:
4
- name: publisher
5
- display_name: "en: Publisher\r\n\
6
- ja: 出版者"
7
- note:
8
- position: 1
9
- id: 1
10
-
11
- seller:
12
- name: seller
13
- display_name: "en: Seller\r\n\
14
- ja: 販売者"
15
- note:
16
- position: 2
17
- id: 2
18
-
19
-
20
- # == Schema Information
21
- #
22
- # Table name: create_types
23
- #
24
- # id :integer not null, primary key
25
- # name :string(255)
26
- # display_name :text
27
- # note :text
28
- # position :integer
29
- # created_at :datetime
30
- # updated_at :datetime
31
- #
32
-
@@ -1,40 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
-
3
- editor:
4
- name: editor
5
- display_name: "en: Editor\r\n\
6
- ja: 編者"
7
- note:
8
- position: 1
9
- id: 1
10
-
11
- translator:
12
- name: translator
13
- display_name: "en: Translator\r\n\
14
- ja: 訳者"
15
- note:
16
- position: 2
17
- id: 2
18
-
19
- illustrator:
20
- name: illustrator
21
- display_name: "en: Illustrator\r\n\
22
- ja: 作画者"
23
- note:
24
- position: 3
25
- id: 3
26
-
27
-
28
- # == Schema Information
29
- #
30
- # Table name: create_types
31
- #
32
- # id :integer not null, primary key
33
- # name :string(255)
34
- # display_name :text
35
- # note :text
36
- # position :integer
37
- # created_at :datetime
38
- # updated_at :datetime
39
- #
40
-
@@ -1,37 +0,0 @@
1
- ---
2
- request_status_type_00001:
3
- name: Available For Pickup
4
- display_name: Available For Pickup
5
- id: 1
6
- position: 1
7
- note: ""
8
- request_status_type_00002:
9
- name: Cannot Fulfill Request
10
- display_name: Cannot Fulfill Request
11
- id: 2
12
- position: 2
13
- note: ""
14
- request_status_type_00003:
15
- name: Expired
16
- display_name: Expired
17
- id: 3
18
- position: 3
19
- note: ""
20
- request_status_type_00004:
21
- name: In Process
22
- display_name: In Process
23
- id: 4
24
- position: 4
25
- note: ""
26
- request_status_type_00005:
27
- name: Need to Accept Conditions
28
- display_name: Need to Accept Conditions
29
- id: 5
30
- position: 5
31
- note: ""
32
- request_status_type_00006:
33
- name: Requested Via ILL
34
- display_name: Requested Via ILL
35
- id: 6
36
- position: 6
37
- note: ""
@@ -1,29 +0,0 @@
1
- ---
2
- request_type_00001:
3
- name: Estimate
4
- display_name: Estimate
5
- id: 1
6
- position: 1
7
- note: ""
8
- request_type_00002:
9
- name: Hold
10
- display_name: Hold
11
- id: 2
12
- position: 2
13
- note: ""
14
- request_type_00003:
15
- name: Loan
16
- display_name: Loan
17
- position: 3
18
- note: ""
19
- request_type_00004:
20
- name: Non-Returnable Copy
21
- display_name: Non-Returnable Copy
22
- position: 4
23
- note: ""
24
- request_type_00005:
25
- name: Stack Retrieval
26
- display_name: Stack Retrieval
27
- id: 5
28
- position: 5
29
- note: ""
@@ -1,29 +0,0 @@
1
- ---
2
- role_00001:
3
- name: Guest
4
- display_name: Guest
5
- id: 1
6
- position: 1
7
- score: 1
8
- note:
9
- role_00002:
10
- name: User
11
- display_name: User
12
- id: 2
13
- position: 2
14
- score: 2
15
- note:
16
- role_00003:
17
- name: Librarian
18
- display_name: Librarian
19
- id: 3
20
- position: 3
21
- score: 3
22
- note:
23
- role_00004:
24
- name: Administrator
25
- display_name: Administrator
26
- id: 4
27
- position: 4
28
- score: 4
29
- note:
@@ -1,15 +0,0 @@
1
- ---
2
- shelf_00001:
3
- name: web
4
- display_name: Library bookmark
5
- id: 1
6
- note:
7
- library_id: 1
8
- position: 1
9
- shelf_00002:
10
- name: first_shelf
11
- display_name: First shelf
12
- id: 2
13
- note:
14
- library_id: 2
15
- position: 2
@@ -1,28 +0,0 @@
1
- ---
2
- subject_type_00001:
3
- id: 1
4
- name: Concept
5
- display_name: Concept
6
- note:
7
- position: 1
8
-
9
- subject_type_00002:
10
- id: 2
11
- name: Event
12
- display_name: Event
13
- note:
14
- position: 2
15
-
16
- subject_type_00003:
17
- id: 3
18
- name: Object
19
- display_name: Object
20
- note:
21
- position: 3
22
-
23
- subject_type_00004:
24
- id: 4
25
- name: Place
26
- display_name: Place
27
- note:
28
- position: 4
@@ -1,79 +0,0 @@
1
- ---
2
- use_restriction_00001:
3
- name: Available For Supply Without Return
4
- display_name: Available For Supply Without Return
5
- id: 1
6
- position: 1
7
- note: ""
8
- use_restriction_00002:
9
- name: In Library Use Only
10
- display_name: "en: In Library Use Only\r\nja: 館内利用のみ可"
11
- id: 2
12
- position: 2
13
- note: ""
14
- use_restriction_00003:
15
- name: Limited Circulation, Long Loan Period
16
- display_name: "en: Limited Circulation, Long Loan Period\r\nja: 長期期間貸出"
17
- id: 3
18
- position: 3
19
- note: ""
20
- use_restriction_00004:
21
- name: Limited Circulation, Normal Loan Period
22
- display_name: "en: Limited Circulation, Normal Loan Period\r\nja: 通常期間貸出"
23
- id: 4
24
- position: 4
25
- note: ""
26
- use_restriction_00005:
27
- name: Limited Circulation, Short Loan Period
28
- display_name: "en: Limited Circulation, Short Loan Period\r\nja: 短期期間貸出"
29
- id: 5
30
- position: 5
31
- note: ""
32
- use_restriction_00006:
33
- name: No Reproduction
34
- display_name: No Reproduction
35
- id: 6
36
- position: 6
37
- note: ""
38
- use_restriction_00007:
39
- name: Not For Loan
40
- display_name: "en: Not For Loan\r\nja: 貸出不可"
41
- id: 7
42
- position: 7
43
- note: ""
44
- use_restriction_00008:
45
- name: Overnight Only
46
- display_name: "en: Overnight Only\r\nja: 一夜貸出のみ"
47
- id: 8
48
- position: 8
49
- note: ""
50
- use_restriction_00009:
51
- name: Renewals Not Permitted
52
- display_name: Renewals Not Permitted
53
- id: 9
54
- position: 9
55
- note: ""
56
- use_restriction_00010:
57
- name: Supervision Required
58
- display_name: Supervision Required
59
- id: 10
60
- position: 10
61
- note: ""
62
- use_restriction_00011:
63
- name: Term Loan
64
- display_name: Term Loan
65
- id: 11
66
- position: 11
67
- note: ""
68
- use_restriction_00012:
69
- name: Use Only In Controlled Access
70
- display_name: Use Only In Controlled Access
71
- id: 12
72
- position: 12
73
- note: ""
74
- use_restriction_00013:
75
- name: User Signature Required
76
- display_name: User Signature Required
77
- id: 13
78
- position: 13
79
- note: ""