enju_oai 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/lib/enju_oai/engine.rb +1 -8
  2. data/lib/enju_oai/version.rb +1 -1
  3. data/spec/controllers/manifestations_controller_spec.rb +4 -0
  4. data/spec/dummy/app/controllers/application_controller.rb +1 -1
  5. data/spec/dummy/config/application.rb +3 -1
  6. data/spec/dummy/config/initializers/devise.rb +0 -4
  7. data/spec/dummy/config/routes.rb +2 -0
  8. data/spec/dummy/db/migrate/001_create_patrons.rb +0 -1
  9. data/spec/dummy/db/migrate/005_create_manifestations.rb +0 -3
  10. data/spec/dummy/db/migrate/012_create_owns.rb +0 -2
  11. data/spec/dummy/db/migrate/015_create_creates.rb +0 -2
  12. data/spec/dummy/db/migrate/047_create_produces.rb +0 -2
  13. data/spec/dummy/db/migrate/059_create_libraries.rb +1 -3
  14. data/spec/dummy/db/migrate/069_create_shelves.rb +15 -0
  15. data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
  16. data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
  17. data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
  18. data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
  19. data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
  20. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +0 -2
  21. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +0 -2
  22. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
  23. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
  24. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  25. data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +22 -0
  26. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +22 -0
  27. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
  28. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  29. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
  30. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
  31. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +15 -0
  32. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
  33. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
  34. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
  35. data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +12 -0
  36. data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +9 -0
  37. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  38. data/spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb +9 -0
  39. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
  40. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  41. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  42. data/spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb +13 -0
  43. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
  44. data/spec/dummy/db/migrate/20110918161853_rename_series_statement_manifestation_id_to_root_manifestation_id.rb +13 -0
  45. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
  46. data/spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb +9 -0
  47. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
  48. data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
  49. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
  50. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
  51. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
  52. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
  53. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +5 -0
  54. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  55. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +5 -0
  56. data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +9 -0
  57. data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +9 -0
  58. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
  59. data/spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +6 -0
  60. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +5 -0
  61. data/spec/dummy/db/schema.rb +288 -43
  62. data/spec/dummy/db/test.sqlite3 +0 -0
  63. data/spec/dummy/solr/conf/admin-extra.html +31 -0
  64. data/spec/dummy/solr/conf/elevate.xml +36 -0
  65. data/spec/dummy/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  66. data/spec/dummy/solr/conf/protwords.txt +21 -0
  67. data/spec/dummy/solr/conf/schema.xml +250 -0
  68. data/spec/dummy/solr/conf/scripts.conf +24 -0
  69. data/spec/dummy/solr/conf/solrconfig.xml +934 -0
  70. data/spec/dummy/solr/conf/spellings.txt +2 -0
  71. data/spec/dummy/solr/conf/stopwords.txt +58 -0
  72. data/spec/dummy/solr/conf/synonyms.txt +31 -0
  73. data/spec/dummy/solr/data/test/index/_c.fdt +0 -0
  74. data/spec/dummy/solr/data/test/index/_c.fdx +0 -0
  75. data/spec/dummy/solr/data/test/index/_c.fnm +7 -0
  76. data/spec/dummy/solr/data/test/index/_c.frq +0 -0
  77. data/spec/dummy/solr/data/test/index/_c.nrm +1 -0
  78. data/spec/dummy/solr/data/test/index/_c.prx +0 -0
  79. data/spec/dummy/solr/data/test/index/_c.tii +0 -0
  80. data/spec/dummy/solr/data/test/index/_c.tis +0 -0
  81. data/spec/dummy/solr/data/test/index/_d.fdt +0 -0
  82. data/spec/dummy/solr/data/test/index/_d.fdx +0 -0
  83. data/spec/dummy/solr/data/test/index/_d.fnm +7 -0
  84. data/spec/dummy/solr/data/test/index/_d.frq +0 -0
  85. data/spec/dummy/solr/data/test/index/_d.nrm +1 -0
  86. data/spec/dummy/solr/data/test/index/_d.prx +0 -0
  87. data/spec/dummy/solr/data/test/index/_d.tii +0 -0
  88. data/spec/dummy/solr/data/test/index/_d.tis +0 -0
  89. data/spec/dummy/solr/data/test/index/_e.fdt +0 -0
  90. data/spec/dummy/solr/data/test/index/_e.fdx +0 -0
  91. data/spec/dummy/solr/data/test/index/_e.fnm +7 -0
  92. data/spec/dummy/solr/data/test/index/_e.frq +0 -0
  93. data/spec/dummy/solr/data/test/index/_e.nrm +1 -0
  94. data/spec/dummy/solr/data/test/index/_e.prx +0 -0
  95. data/spec/dummy/solr/data/test/index/_e.tii +0 -0
  96. data/spec/dummy/solr/data/test/index/_e.tis +0 -0
  97. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  98. data/spec/dummy/solr/data/test/index/segments_1p +0 -0
  99. data/spec/dummy/solr/data/test/spellchecker/segments.gen +0 -0
  100. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  101. data/spec/factories/user.rb +6 -3
  102. data/spec/fixtures/bookstores.yml +107 -0
  103. data/spec/fixtures/budget_types.yml +29 -0
  104. data/spec/fixtures/content_types.yml +36 -0
  105. data/spec/fixtures/countries.yml +2059 -0
  106. data/spec/fixtures/create_types.yml +47 -0
  107. data/spec/fixtures/creates.yml +2 -3
  108. data/spec/fixtures/donates.yml +31 -0
  109. data/spec/fixtures/exemplifies.yml +8 -3
  110. data/spec/fixtures/extents.yml +29 -0
  111. data/spec/fixtures/form_of_works.yml +39 -0
  112. data/spec/fixtures/frequencies.yml +85 -0
  113. data/spec/fixtures/import_requests.yml +27 -0
  114. data/spec/fixtures/items.yml +0 -5
  115. data/spec/fixtures/languages.yml +1901 -0
  116. data/spec/fixtures/libraries.yml +25 -32
  117. data/spec/fixtures/library_groups.yml +2 -5
  118. data/spec/fixtures/licenses.yml +29 -0
  119. data/spec/fixtures/manifestation_relationship_types.yml +29 -0
  120. data/spec/fixtures/manifestation_relationships.yml +30 -0
  121. data/spec/fixtures/manifestations.yml +9 -13
  122. data/spec/fixtures/medium_of_performances.yml +29 -0
  123. data/spec/fixtures/owns.yml +26 -0
  124. data/spec/fixtures/patron_import_files.yml +47 -0
  125. data/spec/fixtures/patron_import_results.yml +29 -0
  126. data/spec/fixtures/patron_relationship_types.yml +34 -0
  127. data/spec/fixtures/patron_relationships.yml +25 -0
  128. data/spec/fixtures/patron_types.yml +0 -6
  129. data/spec/fixtures/patrons.yml +3 -3
  130. data/spec/fixtures/picture_files.yml +63 -0
  131. data/spec/fixtures/produce_types.yml +31 -0
  132. data/spec/fixtures/produces.yml +2 -3
  133. data/spec/fixtures/realize_types.yml +39 -0
  134. data/spec/fixtures/realizes.yml +2 -3
  135. data/spec/fixtures/request_status_types.yml +63 -0
  136. data/spec/fixtures/request_types.yml +55 -0
  137. data/spec/fixtures/resource_import_files.yml +47 -0
  138. data/spec/fixtures/resource_import_results.yml +29 -0
  139. data/spec/fixtures/series_has_manifestations.yml +35 -0
  140. data/spec/fixtures/series_statements.yml +45 -0
  141. data/spec/fixtures/shelves.yml +47 -0
  142. data/spec/fixtures/user_groups.yml +51 -0
  143. data/spec/spec_helper.rb +13 -0
  144. metadata +244 -116
  145. data/spec/dummy/app/models/carrier_type.rb +0 -33
  146. data/spec/dummy/app/models/create.rb +0 -38
  147. data/spec/dummy/app/models/exemplify.rb +0 -45
  148. data/spec/dummy/app/models/item.rb +0 -276
  149. data/spec/dummy/app/models/manifestation.rb +0 -631
  150. data/spec/dummy/app/models/patron.rb +0 -290
  151. data/spec/dummy/app/models/produce.rb +0 -39
  152. data/spec/dummy/app/models/realize.rb +0 -38
  153. data/spec/dummy/app/models/search_engine.rb +0 -51
  154. data/spec/dummy/db/migrate/20101228081401_rename_postal_code_to_zip_code.rb +0 -11
  155. data/spec/dummy/lib/enju_leaf/calculate_stat.rb +0 -30
  156. data/spec/dummy/lib/enju_leaf/expire_editable_fragment.rb +0 -30
  157. data/spec/dummy/lib/enju_leaf/expire_fragment_cache.rb +0 -17
  158. data/spec/dummy/lib/enju_leaf/import_file.rb +0 -13
  159. data/spec/dummy/lib/enju_leaf/localized_name.rb +0 -13
  160. data/spec/dummy/lib/enju_leaf/master_model.rb +0 -19
  161. data/spec/dummy/lib/enju_leaf/url_validator.rb +0 -10
@@ -0,0 +1,2 @@
1
+ pizza
2
+ history
@@ -0,0 +1,58 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ #-----------------------------------------------------------------------
17
+ # a couple of test stopwords to test that the words are really being
18
+ # configured from this file:
19
+ stopworda
20
+ stopwordb
21
+
22
+ #Standard english stop words taken from Lucene's StopAnalyzer
23
+ a
24
+ an
25
+ and
26
+ are
27
+ as
28
+ at
29
+ be
30
+ but
31
+ by
32
+ for
33
+ if
34
+ in
35
+ into
36
+ is
37
+ it
38
+ no
39
+ not
40
+ of
41
+ on
42
+ or
43
+ s
44
+ such
45
+ t
46
+ that
47
+ the
48
+ their
49
+ then
50
+ there
51
+ these
52
+ they
53
+ this
54
+ to
55
+ was
56
+ will
57
+ with
58
+
@@ -0,0 +1,31 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ #-----------------------------------------------------------------------
14
+ #some test synonym mappings unlikely to appear in real input text
15
+ aaa => aaaa
16
+ bbb => bbbb1 bbbb2
17
+ ccc => cccc1,cccc2
18
+ a\=>a => b\=>b
19
+ a\,a => b\,b
20
+ fooaaa,baraaa,bazaaa
21
+
22
+ # Some synonym groups specific to this example
23
+ GB,gib,gigabyte,gigabytes
24
+ MB,mib,megabyte,megabytes
25
+ Television, Televisions, TV, TVs
26
+ #notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
27
+ #after us won't split it into two words.
28
+
29
+ # Synonym mappings can be used for spelling correction too
30
+ pixima => pixma
31
+
@@ -0,0 +1,7 @@
1
+ ����*idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -0,0 +1 @@
1
+ NRM�ttrxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttptxy|||||||||||tuuu|||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||||||||||||||||||||wxwwx|||||||||||||||||||||||||||u|||||||||||||||||uvw|||||||x|||||||||||||||||||||||||||||||||||||||y||||||||||||w���|||||||||||||||||||||||||||||||||��|||||||||||w���|||||||||||||||||||||||||||||||||xy|||||||||||tuuu|||||||||||||||||||||||||||||||||ttrxtuxutrtwsssuuvyrttrvrrtxtxswuywtrtyvywtuwwttpt||||��|||||��||||||||||||||||||||||||||||||||||||||tt|||||||||||||||||||||||||||||||||||||||||||||||
@@ -0,0 +1,7 @@
1
+ ����*idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dm
@@ -0,0 +1 @@
1
+ NRM�xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xuuwuyutxxvxvxwtyvxwxxxvvtwwxvytwxwrwvxxyxuyxyuysx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@@ -0,0 +1,7 @@
1
+ ����0idtype
2
+ class_nametitle_smconnect_title_sconnect_creator_sconnect_publisher_sisbn_smcarrier_type_s
3
+ library_sm
4
+ language_sitem_identifier_smshelf_sm created_at_d updated_at_dcreator_ids_imcontributor_ids_impublisher_ids_im item_ids_imrequired_role_id_i start_page_i
5
+ end_page_inumber_of_pages_iseries_statement_id_irepository_content_b
6
+ creator_sm sort_title_s periodical_bperiodical_master_b
7
+ title_text creator_textcontributor_textpublisher_textitem_identifier_text aulast_text aufirst_textau_text btitle_text isbn_textoriginal_manifestation_ids_im jtitle_text pub_date_dmissn_sm issn_textvolume_number_imissue_number_imserial_number_im atitle_text
@@ -0,0 +1 @@
1
+ NRM�vruwvvuur|xutttttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|xu||tttwwuuuuuuxx|||||y|||��|||||||���������||||||||||||xw|||||||||||||||||||||||||y||||||||||||||||||||||||||tt|||||||||||||
@@ -2,31 +2,34 @@ FactoryGirl.define do
2
2
  factory :admin, :class => User do |f|
3
3
  f.sequence(:username){|n| "admin_#{n}"}
4
4
  f.sequence(:email){|n| "admin_#{n}@example.jp"}
5
+ f.role {Role.find_by_name('Administrator')}
5
6
  f.password 'adminpassword'
6
7
  f.password_confirmation 'adminpassword'
8
+ f.user_group {UserGroup.first}
7
9
  f.required_role {Role.find_by_name('User')}
8
10
  f.sequence(:user_number){|n| "user_number_#{n}"}
9
- f.after_build {|user| user.role = Role.find_by_name('Administrator')}
10
11
  end
11
12
 
12
13
  factory :librarian, :class => User do |f|
13
14
  f.sequence(:username){|n| "librarian_#{n}"}
14
15
  f.sequence(:email){|n| "librarian_#{n}@example.jp"}
16
+ f.role {Role.find_by_name('Librarian')}
15
17
  f.password 'librarianpassword'
16
18
  f.password_confirmation 'librarianpassword'
19
+ f.user_group {UserGroup.first}
17
20
  f.required_role {Role.find_by_name('User')}
18
21
  f.sequence(:user_number){|n| "user_number_#{n}"}
19
- f.after_build {|user| user.role = Role.find_by_name('Librarian')}
20
22
  end
21
23
 
22
24
  factory :user, :class => User do |f|
23
25
  f.sequence(:username){|n| "user_#{n}"}
24
26
  f.sequence(:email){|n| "user_#{n}@example.jp"}
27
+ f.role {Role.find_by_name('User')}
25
28
  f.password 'userpassword'
26
29
  f.password_confirmation 'userpassword'
30
+ f.user_group {UserGroup.first}
27
31
  f.required_role {Role.find_by_name('User')}
28
32
  f.sequence(:user_number){|n| "user_number_#{n}"}
29
- f.after_build {|user| user.role = Role.find_by_name('User')}
30
33
  end
31
34
 
32
35
  factory :invalid_user, :class => User do |f|
@@ -0,0 +1,107 @@
1
+ ---
2
+ bookstore_00001:
3
+ name: unknown
4
+ fax_number:
5
+ updated_at: 2008-02-10 11:14:57.605329 +09:00
6
+ deleted_at:
7
+ telephone_number:
8
+ id: 1
9
+ note: ""
10
+ address: ""
11
+ created_at: 2008-02-10 11:14:57.605329 +09:00
12
+ position: 1
13
+ bookstore_00002:
14
+ name: !binary |
15
+ 5a+E6LSI
16
+
17
+ fax_number: ""
18
+ updated_at: 2008-02-10 12:15:14.840711 +09:00
19
+ deleted_at:
20
+ telephone_number: ""
21
+ id: 2
22
+ note: ""
23
+ address: ""
24
+ created_at: 2008-02-10 11:16:02.598844 +09:00
25
+ position: 2
26
+ bookstore_00003:
27
+ name: !binary |
28
+ 5pyJ6Zqj5aCC
29
+
30
+ fax_number: ""
31
+ updated_at: 2008-02-10 12:15:33.555463 +09:00
32
+ deleted_at:
33
+ telephone_number: ""
34
+ id: 3
35
+ note: ""
36
+ address: ""
37
+ created_at: 2008-02-10 11:16:11.585284 +09:00
38
+ position: 3
39
+ bookstore_00004:
40
+ name: !binary |
41
+ 57SA5LyK5ZyL5bGL5pu45bqX
42
+
43
+ fax_number: ""
44
+ updated_at: 2008-02-10 12:16:07.726445 +09:00
45
+ deleted_at:
46
+ telephone_number: ""
47
+ id: 4
48
+ note: ""
49
+ address: ""
50
+ created_at: 2008-02-10 11:16:22.565660 +09:00
51
+ position: 4
52
+ bookstore_00005:
53
+ name: !binary |
54
+ 5Li45ZaE
55
+
56
+ fax_number: ""
57
+ updated_at: 2008-02-10 12:16:17.990285 +09:00
58
+ deleted_at:
59
+ telephone_number: ""
60
+ id: 5
61
+ note: ""
62
+ address: ""
63
+ created_at: 2008-02-10 12:15:44.923758 +09:00
64
+ position: 5
65
+ bookstore_00006:
66
+ name: !binary |
67
+ 5Zuz5pu46aSo5rWB6YCa44K744Oz44K/44O8
68
+
69
+ fax_number: ""
70
+ updated_at: 2008-02-10 12:16:25.906073 +09:00
71
+ deleted_at:
72
+ telephone_number: ""
73
+ id: 6
74
+ note: ""
75
+ address: ""
76
+ created_at: 2008-02-10 12:15:54.558517 +09:00
77
+ position: 6
78
+ bookstore_00007:
79
+ name: Example store
80
+ fax_number: ""
81
+ updated_at: 2008-02-10 12:16:25.906073 +09:00
82
+ deleted_at:
83
+ telephone_number: ""
84
+ id: 7
85
+ note: ""
86
+ address: ""
87
+ created_at: 2008-02-10 12:15:54.558517 +09:00
88
+ position: 7
89
+
90
+ # == Schema Information
91
+ #
92
+ # Table name: bookstores
93
+ #
94
+ # id :integer not null, primary key
95
+ # name :text not null
96
+ # zip_code :string(255)
97
+ # address :text
98
+ # note :text
99
+ # telephone_number :string(255)
100
+ # fax_number :string(255)
101
+ # url :string(255)
102
+ # position :integer
103
+ # deleted_at :datetime
104
+ # created_at :datetime
105
+ # updated_at :datetime
106
+ #
107
+
@@ -0,0 +1,29 @@
1
+ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
+
3
+ public_fund:
4
+ name: Public fund
5
+ display_name: Public fund
6
+ note:
7
+ position: 1
8
+ id: 1
9
+
10
+ donation:
11
+ name: Donation
12
+ display_name: Donation
13
+ note:
14
+ position: 2
15
+ id: 2
16
+
17
+ # == Schema Information
18
+ #
19
+ # Table name: budget_types
20
+ #
21
+ # id :integer not null, primary key
22
+ # name :string(255)
23
+ # display_name :text
24
+ # note :text
25
+ # position :integer
26
+ # created_at :datetime
27
+ # updated_at :datetime
28
+ #
29
+
@@ -0,0 +1,36 @@
1
+ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
+
3
+ one:
4
+ id: 1
5
+ name: text
6
+ display_name: text
7
+ note: MyText
8
+ position: 1
9
+
10
+ two:
11
+ id: 2
12
+ name: Cartographic Dataset
13
+ display_name: Cartographic Dataset
14
+ note: MyText
15
+ position: 2
16
+
17
+ three:
18
+ id: 3
19
+ name: Cartographic Image
20
+ display_name: Cartographic Image
21
+ note: MyText
22
+ position: 3
23
+
24
+ # == Schema Information
25
+ #
26
+ # Table name: content_types
27
+ #
28
+ # id :integer not null, primary key
29
+ # name :string(255) not null
30
+ # display_name :text
31
+ # note :text
32
+ # position :integer
33
+ # created_at :datetime
34
+ # updated_at :datetime
35
+ #
36
+