enju_event 0.1.17.pre17 → 0.1.17.pre18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/event_import_files_controller.rb +7 -2
  3. data/app/controllers/event_import_results_controller.rb +1 -1
  4. data/app/models/event.rb +11 -13
  5. data/app/models/event_import_file.rb +52 -73
  6. data/app/models/event_import_file_state_machine.rb +19 -0
  7. data/app/models/event_import_file_transition.rb +20 -0
  8. data/app/views/calendar/index.html.erb +2 -2
  9. data/app/views/event_categories/edit.html.erb +2 -2
  10. data/app/views/event_categories/index.html.erb +2 -2
  11. data/app/views/event_categories/new.html.erb +2 -2
  12. data/app/views/event_categories/show.html.erb +2 -2
  13. data/app/views/event_import_files/edit.html.erb +2 -2
  14. data/app/views/event_import_files/index.html.erb +4 -4
  15. data/app/views/event_import_files/new.html.erb +17 -4
  16. data/app/views/event_import_files/show.html.erb +13 -3
  17. data/app/views/event_import_results/index.html.erb +6 -6
  18. data/app/views/event_import_results/{index.csv.erb → index.tsv.erb} +0 -0
  19. data/app/views/event_import_results/show.html.erb +2 -2
  20. data/app/views/events/edit.html.erb +2 -2
  21. data/app/views/events/index.html.erb +2 -2
  22. data/app/views/events/new.html.erb +2 -2
  23. data/app/views/events/show.html.erb +8 -3
  24. data/app/views/participates/edit.html.erb +2 -2
  25. data/app/views/participates/index.html.erb +2 -2
  26. data/app/views/participates/new.html.erb +2 -2
  27. data/app/views/participates/show.html.erb +2 -2
  28. data/app/workers/event_import_file_queue.rb +7 -0
  29. data/config/locales/translation_en.yml +1 -0
  30. data/config/locales/translation_ja.yml +1 -0
  31. data/db/migrate/20081028093607_create_event_import_files.rb +0 -2
  32. data/db/migrate/20140523171309_create_event_import_file_transitions.rb +14 -0
  33. data/db/migrate/20140628071719_add_user_encoding_to_event_import_file.rb +5 -0
  34. data/lib/enju_event/engine.rb +1 -1
  35. data/lib/enju_event/version.rb +1 -1
  36. data/spec/dummy/db/migrate/005_create_manifestations.rb +0 -12
  37. data/spec/dummy/db/migrate/006_create_items.rb +2 -2
  38. data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
  39. data/spec/dummy/db/migrate/032_create_checkins.rb +17 -0
  40. data/spec/dummy/db/migrate/033_create_checkouts.rb +25 -0
  41. data/spec/dummy/db/migrate/035_create_reserves.rb +27 -0
  42. data/spec/dummy/db/migrate/059_create_libraries.rb +1 -7
  43. data/spec/dummy/db/migrate/069_create_shelves.rb +1 -5
  44. data/spec/dummy/db/migrate/{20111201163342_create_user_groups.rb → 077_create_user_groups.rb} +2 -2
  45. data/spec/dummy/db/migrate/080_create_library_groups.rb +2 -9
  46. data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
  47. data/spec/dummy/db/migrate/121_create_checked_items.rb +17 -0
  48. data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
  49. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +16 -0
  50. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +16 -0
  51. data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
  52. data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
  53. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +16 -0
  54. data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
  55. data/spec/dummy/db/migrate/143_create_subject_has_classifications.rb +16 -0
  56. data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
  57. data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
  58. data/spec/dummy/db/migrate/146_create_subject_types.rb +16 -0
  59. data/spec/dummy/db/migrate/149_create_message_templates.rb +18 -0
  60. data/spec/dummy/db/migrate/154_create_messages.rb +24 -0
  61. data/spec/dummy/db/migrate/20080606052544_create_work_has_subjects.rb +18 -0
  62. data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +20 -0
  63. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
  64. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
  65. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +17 -0
  66. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +17 -0
  67. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +25 -0
  68. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +18 -0
  69. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +17 -0
  70. data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +16 -0
  71. data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +16 -0
  72. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +17 -0
  73. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +17 -0
  74. data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +16 -0
  75. data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +16 -0
  76. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +17 -0
  77. data/spec/dummy/db/migrate/20090208044541_create_subject_heading_type_has_subjects.rb +16 -0
  78. data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +27 -0
  79. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +21 -0
  80. data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
  81. data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +9 -0
  82. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +11 -0
  83. data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +9 -0
  84. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  85. data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +9 -0
  86. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +13 -0
  87. data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +11 -0
  88. data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
  89. data/spec/dummy/db/migrate/20111201155456_devise_create_users.rb +42 -0
  90. data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +5 -0
  91. data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +6 -0
  92. data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +6 -0
  93. data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
  94. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
  95. data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
  96. data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +5 -0
  97. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
  98. data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
  99. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +26 -0
  100. data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +5 -0
  101. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +5 -0
  102. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +5 -0
  103. data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
  104. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +8 -0
  105. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
  106. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
  107. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
  108. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
  109. data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
  110. data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
  111. data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
  112. data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
  113. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
  114. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
  115. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +5 -0
  116. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +5 -0
  117. data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
  118. data/spec/dummy/db/schema.rb +613 -92
  119. data/spec/dummy/db/test.sqlite3 +0 -0
  120. data/spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_import_file_sample1.tsv +7 -7
  121. data/spec/dummy/solr/default/data/index/_b2.fdt +0 -0
  122. data/spec/dummy/solr/default/data/index/{_14y.fdx → _b2.fdx} +0 -0
  123. data/spec/dummy/solr/default/data/index/{_14y.fnm → _b2.fnm} +0 -0
  124. data/spec/dummy/solr/default/data/index/{_14y.nvd → _b2.nvd} +0 -0
  125. data/spec/dummy/solr/default/data/index/{_14y.nvm → _b2.nvm} +0 -0
  126. data/spec/dummy/solr/default/data/index/{_14y.si → _b2.si} +0 -0
  127. data/spec/dummy/solr/default/data/index/{_14y_Lucene41_0.doc → _b2_Lucene41_0.doc} +0 -0
  128. data/spec/dummy/solr/default/data/index/{_14y_Lucene41_0.pos → _b2_Lucene41_0.pos} +0 -0
  129. data/spec/dummy/solr/default/data/index/{_14y_Lucene41_0.tim → _b2_Lucene41_0.tim} +0 -0
  130. data/spec/dummy/solr/default/data/index/{_14y_Lucene41_0.tip → _b2_Lucene41_0.tip} +0 -0
  131. data/spec/dummy/solr/default/data/index/_b3.fdt +0 -0
  132. data/spec/dummy/solr/default/data/index/{_14z.fdx → _b3.fdx} +0 -0
  133. data/spec/dummy/solr/default/data/index/{_14z.fnm → _b3.fnm} +0 -0
  134. data/spec/dummy/solr/default/data/index/{_14z.nvd → _b3.nvd} +0 -0
  135. data/spec/dummy/solr/default/data/index/{_14z.nvm → _b3.nvm} +0 -0
  136. data/spec/dummy/solr/default/data/index/{_14z.si → _b3.si} +0 -0
  137. data/spec/dummy/solr/default/data/index/{_14z_Lucene41_0.doc → _b3_Lucene41_0.doc} +0 -0
  138. data/spec/dummy/solr/default/data/index/_b3_Lucene41_0.pos +0 -0
  139. data/spec/dummy/solr/default/data/index/_b3_Lucene41_0.tim +0 -0
  140. data/spec/dummy/solr/default/data/index/_b3_Lucene41_0.tip +0 -0
  141. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  142. data/spec/dummy/solr/default/data/index/segments_ht +0 -0
  143. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000630 +0 -0
  144. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000631 +0 -0
  145. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000002010 → tlog.0000000000000000632} +0 -0
  146. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000633 +0 -0
  147. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000634 +0 -0
  148. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000002013 → tlog.0000000000000000635} +0 -0
  149. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000636 +0 -0
  150. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000637 +0 -0
  151. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000002016 → tlog.0000000000000000638} +0 -0
  152. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000639 +0 -0
  153. data/spec/dummy/solr/test/data/index/segments.gen +0 -0
  154. data/spec/dummy/solr/test/data/index/segments_1 +0 -0
  155. data/spec/fixtures/event_import_files.yml +1 -4
  156. data/spec/fixtures/libraries.yml +0 -5
  157. data/spec/models/event_import_file_spec.rb +14 -6
  158. data/spec/models/event_spec.rb +1 -1
  159. data/spec/spec_helper.rb +3 -0
  160. data/spec/support/resque.rb +32 -0
  161. metadata +271 -140
  162. data/spec/dummy/db/development.sqlite3 +0 -0
  163. data/spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb +0 -9
  164. data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +0 -21
  165. data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +0 -9
  166. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +0 -9
  167. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +0 -12
  168. data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +0 -11
  169. data/spec/dummy/db/migrate/20111201155456_create_users.rb +0 -14
  170. data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +0 -52
  171. data/spec/dummy/solr/default/data/index/_14y.fdt +0 -0
  172. data/spec/dummy/solr/default/data/index/_14z.fdt +0 -0
  173. data/spec/dummy/solr/default/data/index/_14z_Lucene41_0.pos +0 -0
  174. data/spec/dummy/solr/default/data/index/_14z_Lucene41_0.tim +0 -0
  175. data/spec/dummy/solr/default/data/index/_14z_Lucene41_0.tip +0 -0
  176. data/spec/dummy/solr/default/data/index/segments_1k3 +0 -0
  177. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002008 +0 -0
  178. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002009 +0 -0
  179. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002011 +0 -0
  180. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002012 +0 -0
  181. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002014 +0 -0
  182. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002015 +0 -0
  183. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000002017 +0 -0
  184. data/spec/dummy/solr/test/data/index/_a.fdt +0 -0
  185. data/spec/dummy/solr/test/data/index/_a.fdx +0 -0
  186. data/spec/dummy/solr/test/data/index/_a.fnm +0 -0
  187. data/spec/dummy/solr/test/data/index/_a.nvd +0 -0
  188. data/spec/dummy/solr/test/data/index/_a.nvm +0 -0
  189. data/spec/dummy/solr/test/data/index/_a.si +0 -0
  190. data/spec/dummy/solr/test/data/index/_a_Lucene41_0.doc +0 -0
  191. data/spec/dummy/solr/test/data/index/_a_Lucene41_0.pos +0 -0
  192. data/spec/dummy/solr/test/data/index/_a_Lucene41_0.tim +0 -0
  193. data/spec/dummy/solr/test/data/index/_a_Lucene41_0.tip +0 -0
  194. data/spec/dummy/solr/test/data/index/segments_n +0 -0
  195. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000013 +0 -0
  196. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000014 +0 -0
  197. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000015 +0 -0
  198. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000016 +0 -0
  199. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000017 +0 -0
  200. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000018 +0 -0
  201. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000019 +0 -0
  202. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000020 +0 -0
  203. data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000021 +0 -0
Binary file
@@ -1,7 +1,7 @@
1
- name,category,library,start_at,end_at,dummy
2
- ,do not delete this row,,,,dummy
3
- ,do not delete this row,,,,dummy
4
- イベント名,カテゴリ。休館日の場合はclosed,図書館名,開始日,終了日,インポート省略
5
- hogehoge,おはなし会,kamata,2009-04-01,2009-04-03,
6
- hogehoge,,hachioji,,,
7
- 休館日,closed,kamata,2011-04-01,2011-04-03,
1
+ name category library start_at end_at all_day note dummy
2
+ イベント名 カテゴリ。休館日の場合はclosed 図書館名 開始日 終了日 終日 注記 インポート省略
3
+ hogehoge おはなし会 kamata 2009-04-01 2009-04-03 無視(dummyあり) t
4
+ hogehoge hachioji 失敗
5
+ 休館日 closed kamata 2011-04-01 2011-04-03 成功(end_atなし、all_dayあり)
6
+ イベント2 kamata 2014-07-01 失敗(end_atなし、all_dayなし)
7
+ イベント3 kamata 2014-07-01 t 成功(end_atなし、all_dayあり)
@@ -6,21 +6,18 @@ event_import_file_00001:
6
6
  event_import_file_size: 1
7
7
  user_id: 1
8
8
  event_import_content_type: text/csv
9
- state: completed
10
9
  event_import_file_00002:
11
10
  id: 2
12
11
  event_import_file_name: MyString
13
12
  event_import_file_size: 1
14
13
  user_id: 1
15
14
  event_import_content_type: text/csv
16
- state: pending
17
15
  event_import_file_00003:
18
16
  id: 3
19
17
  event_import_file_name: MyString
20
18
  event_import_file_size: 1
21
19
  user_id: 1
22
20
  event_import_content_type: text/csv
23
- state: pending
24
21
 
25
22
  # == Schema Information
26
23
  #
@@ -33,7 +30,6 @@ event_import_file_00003:
33
30
  # user_id :integer
34
31
  # note :text
35
32
  # executed_at :datetime
36
- # state :string(255)
37
33
  # event_import_file_name :string(255)
38
34
  # event_import_content_type :string(255)
39
35
  # event_import_file_size :integer
@@ -43,5 +39,6 @@ event_import_file_00003:
43
39
  # updated_at :datetime not null
44
40
  # event_import_fingerprint :string(255)
45
41
  # error_message :text
42
+ # user_encoding :string(255)
46
43
  #
47
44
 
@@ -14,7 +14,6 @@ library_00001:
14
14
  street:
15
15
  created_at: 2007-08-13 18:10:00 +09:00
16
16
  library_group_id: 1
17
- agent_id: 1
18
17
  call_number_delimiter: "|"
19
18
  position: 1
20
19
  library_00002:
@@ -32,7 +31,6 @@ library_00002:
32
31
  street:
33
32
  created_at: 2007-08-13 18:10:00 +09:00
34
33
  library_group_id: 1
35
- agent_id: 2
36
34
  call_number_delimiter: "|"
37
35
  position: 2
38
36
  isil: "JP-0000000"
@@ -51,7 +49,6 @@ library_00003:
51
49
  street:
52
50
  created_at: 2007-08-14 16:37:00 +09:00
53
51
  library_group_id: 1
54
- agent_id: 3
55
52
  call_number_delimiter: "|"
56
53
  position: 3
57
54
  library_00004:
@@ -69,7 +66,6 @@ library_00004:
69
66
  street:
70
67
  created_at: 2007-08-23 19:51:00 +09:00
71
68
  library_group_id: 1
72
- agent_id: 4
73
69
  call_number_delimiter: "|"
74
70
  position: 4
75
71
 
@@ -78,7 +74,6 @@ library_00004:
78
74
  # Table name: libraries
79
75
  #
80
76
  # id :integer not null, primary key
81
- # agent_id :integer
82
77
  # agent_type :string(255)
83
78
  # name :string(255) not null
84
79
  # display_name :text
@@ -2,6 +2,7 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe EventImportFile do
5
+ fixtures :users
5
6
  #pending "add some examples to (or delete) #{__FILE__}"
6
7
 
7
8
  describe "When it is written in utf-8" do
@@ -13,13 +14,13 @@ describe EventImportFile do
13
14
  closing_days_size = Event.closing_days.size
14
15
  old_events_count = Event.count
15
16
  old_import_results_count = EventImportResult.count
16
- @file.import_start.should eq({:imported => 3, :failed => 0})
17
+ @file.import_start.should eq({:imported => 3, :failed => 1})
17
18
  Event.count.should eq old_events_count + 3
18
19
  Event.closing_days.size.should eq closing_days_size + 1
19
- EventImportResult.count.should eq old_import_results_count + 4
20
+ EventImportResult.count.should eq old_import_results_count + 5
20
21
 
21
- @file.event_import_fingerprint.should be_true
22
- @file.executed_at.should be_true
22
+ @file.event_import_fingerprint.should be_truthy
23
+ @file.executed_at.should be_truthy
23
24
  end
24
25
  end
25
26
 
@@ -65,7 +66,7 @@ describe EventImportFile do
65
66
 
66
67
  event2 = Event.find(2)
67
68
  event2.end_at.to_s.should eq Time.zone.parse('2012-04-03').beginning_of_day.to_s
68
- event2.all_day.should be_false
69
+ event2.all_day.should be_falsy
69
70
  event2.library.name.should eq 'mita'
70
71
 
71
72
  event3 = Event.find(3)
@@ -82,6 +83,13 @@ describe EventImportFile do
82
83
  Event.count.should eq old_event_count - 2
83
84
  end
84
85
  end
86
+
87
+ it "should import in background" do
88
+ file = EventImportFile.create :event_import => File.new("#{Rails.root.to_s}/../../examples/event_import_file_sample1.tsv")
89
+ file.user = users(:admin)
90
+ file.save
91
+ EventImportFileQueue.perform(file.id).should be_truthy
92
+ end
85
93
  end
86
94
 
87
95
  # == Schema Information
@@ -95,7 +103,6 @@ end
95
103
  # user_id :integer
96
104
  # note :text
97
105
  # executed_at :datetime
98
- # state :string(255)
99
106
  # event_import_file_name :string(255)
100
107
  # event_import_content_type :string(255)
101
108
  # event_import_file_size :integer
@@ -105,5 +112,6 @@ end
105
112
  # updated_at :datetime not null
106
113
  # event_import_fingerprint :string(255)
107
114
  # error_message :text
115
+ # user_encoding :string(255)
108
116
  #
109
117
 
@@ -8,7 +8,7 @@ describe Event do
8
8
  event = events(:event_00001)
9
9
  event.all_day = true
10
10
  event.set_all_day
11
- event.all_day.should be_true
11
+ event.all_day.should be_truthy
12
12
  end
13
13
 
14
14
  it "should set all_day and beginning_of_day" do
data/spec/spec_helper.rb CHANGED
@@ -7,6 +7,7 @@ require File.expand_path("../dummy/config/environment", __FILE__)
7
7
  require 'rspec/rails'
8
8
  require 'factory_girl'
9
9
  require 'sunspot-rails-tester'
10
+ require 'rspec/active_model/mocks'
10
11
 
11
12
  # Requires supporting ruby files with custom matchers and macros, etc,
12
13
  # in spec/support/ and its subdirectories.
@@ -43,6 +44,8 @@ RSpec.configure do |config|
43
44
  Sunspot.session = $original_sunspot_session
44
45
  Sunspot.remove_all!
45
46
  end
47
+
48
+ config.infer_spec_type_from_file_location!
46
49
  end
47
50
 
48
51
  FactoryGirl.definition_file_paths << "#{::Rails.root}/../../spec/factories"
@@ -0,0 +1,32 @@
1
+ # https://github.com/resque/resque/wiki/RSpec-and-Resque
2
+ RSpec.configure do |config|
3
+ REDIS_PID = "#{Rails.root}/tmp/pids/redis-test.pid"
4
+ REDIS_CACHE_PATH = "#{Rails.root}/tmp/cache/"
5
+
6
+ unless ENV["TRAVIS"]
7
+ config.before(:suite) do
8
+ redis_options = {
9
+ "daemonize" => 'yes',
10
+ "pidfile" => REDIS_PID,
11
+ "port" => 9736,
12
+ "timeout" => 300,
13
+ "save 900" => 1,
14
+ "save 300" => 1,
15
+ "save 60" => 10000,
16
+ "dbfilename" => "dump.rdb",
17
+ "dir" => REDIS_CACHE_PATH,
18
+ "loglevel" => "debug",
19
+ "logfile" => "stdout",
20
+ "databases" => 16
21
+ }.map { |k, v| "#{k} #{v}" }.join("\n")
22
+ `echo '#{redis_options}' | redis-server -`
23
+ end
24
+
25
+ config.after(:suite) do
26
+ %x{
27
+ cat #{REDIS_PID} | xargs kill -QUIT
28
+ rm -f #{REDIS_CACHE_PATH}dump.rdb
29
+ }
30
+ end
31
+ end
32
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_event
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17.pre17
4
+ version: 0.1.17.pre18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-08 00:00:00.000000000 Z
11
+ date: 2014-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event-calendar
@@ -56,18 +56,18 @@ dependencies:
56
56
  name: paperclip
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '3.5'
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '3.5'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: state_machine
70
+ name: statesman
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.1.14.pre12
89
+ version: 0.1.14.pre14
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.1.14.pre12
96
+ version: 0.1.14.pre14
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: enju_seed
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.1.1.pre9
103
+ version: 0.1.1.pre10
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.1.1.pre9
110
+ version: 0.1.1.pre10
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: ri_cal
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: rspec-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '='
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.99'
159
+ version: '3.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '='
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '2.99'
166
+ version: '3.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: factory_girl_rails
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 1.1.0.rc9
187
+ version: 1.1.0.rc11
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 1.1.0.rc9
194
+ version: 1.1.0.rc11
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: sunspot_solr
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -248,6 +248,34 @@ dependencies:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: annotate
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rspec-activemodel-mocks
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
251
279
  description: Event management for Next-L Enju
252
280
  email:
253
281
  - nabeta@fastmail.fm
@@ -269,6 +297,8 @@ files:
269
297
  - app/models/event.rb
270
298
  - app/models/event_category.rb
271
299
  - app/models/event_import_file.rb
300
+ - app/models/event_import_file_state_machine.rb
301
+ - app/models/event_import_file_transition.rb
272
302
  - app/models/event_import_result.rb
273
303
  - app/models/participate.rb
274
304
  - app/views/calendar/index.html.erb
@@ -281,8 +311,8 @@ files:
281
311
  - app/views/event_import_files/index.html.erb
282
312
  - app/views/event_import_files/new.html.erb
283
313
  - app/views/event_import_files/show.html.erb
284
- - app/views/event_import_results/index.csv.erb
285
314
  - app/views/event_import_results/index.html.erb
315
+ - app/views/event_import_results/index.tsv.erb
286
316
  - app/views/event_import_results/show.html.erb
287
317
  - app/views/events/_all_day.html.erb
288
318
  - app/views/events/_form.html.erb
@@ -301,6 +331,7 @@ files:
301
331
  - app/views/participates/index.html.erb
302
332
  - app/views/participates/new.html.erb
303
333
  - app/views/participates/show.html.erb
334
+ - app/workers/event_import_file_queue.rb
304
335
  - config/locales/translation_en.yml
305
336
  - config/locales/translation_ja.yml
306
337
  - config/routes.rb
@@ -313,6 +344,8 @@ files:
313
344
  - db/migrate/20120413051535_add_event_import_fingerprint_to_event_import_file.rb
314
345
  - db/migrate/20120413170734_add_error_message_to_event_import_file.rb
315
346
  - db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb
347
+ - db/migrate/20140523171309_create_event_import_file_transitions.rb
348
+ - db/migrate/20140628071719_add_user_encoding_to_event_import_file.rb
316
349
  - lib/enju_event.rb
317
350
  - lib/enju_event/engine.rb
318
351
  - lib/enju_event/import_file.rb
@@ -355,81 +388,126 @@ files:
355
388
  - spec/dummy/config/initializers/wrap_parameters.rb
356
389
  - spec/dummy/config/locales/en.yml
357
390
  - spec/dummy/config/routes.rb
358
- - spec/dummy/db/development.sqlite3
359
391
  - spec/dummy/db/migrate/001_create_agents.rb
360
392
  - spec/dummy/db/migrate/005_create_manifestations.rb
361
393
  - spec/dummy/db/migrate/006_create_items.rb
362
394
  - spec/dummy/db/migrate/012_create_owns.rb
363
395
  - spec/dummy/db/migrate/015_create_creates.rb
396
+ - spec/dummy/db/migrate/029_create_subjects.rb
397
+ - spec/dummy/db/migrate/032_create_checkins.rb
398
+ - spec/dummy/db/migrate/033_create_checkouts.rb
399
+ - spec/dummy/db/migrate/035_create_reserves.rb
364
400
  - spec/dummy/db/migrate/047_create_produces.rb
365
401
  - spec/dummy/db/migrate/059_create_libraries.rb
366
402
  - spec/dummy/db/migrate/069_create_shelves.rb
367
403
  - spec/dummy/db/migrate/073_create_carrier_types.rb
404
+ - spec/dummy/db/migrate/077_create_user_groups.rb
368
405
  - spec/dummy/db/migrate/080_create_library_groups.rb
369
406
  - spec/dummy/db/migrate/112_create_frequencies.rb
370
407
  - spec/dummy/db/migrate/117_create_form_of_works.rb
408
+ - spec/dummy/db/migrate/120_create_baskets.rb
409
+ - spec/dummy/db/migrate/121_create_checked_items.rb
410
+ - spec/dummy/db/migrate/124_create_bookstores.rb
371
411
  - spec/dummy/db/migrate/125_create_donates.rb
412
+ - spec/dummy/db/migrate/127_create_use_restrictions.rb
413
+ - spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb
414
+ - spec/dummy/db/migrate/130_create_request_status_types.rb
415
+ - spec/dummy/db/migrate/131_create_request_types.rb
416
+ - spec/dummy/db/migrate/132_create_circulation_statuses.rb
417
+ - spec/dummy/db/migrate/142_create_classifications.rb
418
+ - spec/dummy/db/migrate/143_create_subject_has_classifications.rb
419
+ - spec/dummy/db/migrate/144_create_classification_types.rb
420
+ - spec/dummy/db/migrate/145_create_subject_heading_types.rb
421
+ - spec/dummy/db/migrate/146_create_subject_types.rb
422
+ - spec/dummy/db/migrate/149_create_message_templates.rb
423
+ - spec/dummy/db/migrate/154_create_messages.rb
424
+ - spec/dummy/db/migrate/20080606052544_create_work_has_subjects.rb
425
+ - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
372
426
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
373
427
  - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
374
428
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
429
+ - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
430
+ - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
431
+ - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
375
432
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
376
433
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
377
434
  - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
378
435
  - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
379
436
  - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
437
+ - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
438
+ - spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb
439
+ - spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
440
+ - spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb
441
+ - spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb
442
+ - spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb
443
+ - spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb
444
+ - spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
445
+ - spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb
446
+ - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
447
+ - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
448
+ - spec/dummy/db/migrate/20090208044541_create_subject_heading_type_has_subjects.rb
449
+ - spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
380
450
  - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
381
451
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
382
452
  - spec/dummy/db/migrate/20090719201843_create_extents.rb
383
453
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
384
454
  - spec/dummy/db/migrate/20090720091429_create_content_types.rb
385
455
  - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
456
+ - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
386
457
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
387
458
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
388
459
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
389
460
  - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
390
461
  - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
391
462
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
392
- - spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb
393
463
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
464
+ - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
394
465
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
395
466
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
396
- - spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
397
467
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
398
468
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
399
469
  - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
400
470
  - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
401
471
  - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
402
472
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
403
- - spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb
404
473
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
405
474
  - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
406
475
  - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
476
+ - spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb
477
+ - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
478
+ - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
407
479
  - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
480
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
408
481
  - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
409
482
  - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
410
483
  - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
411
- - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
412
- - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
484
+ - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
485
+ - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
413
486
  - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
487
+ - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
488
+ - spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
414
489
  - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
415
490
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
416
491
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
417
492
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
418
493
  - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
419
- - spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
420
494
  - spec/dummy/db/migrate/20111124110059_create_create_types.rb
421
495
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
422
496
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
423
497
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
424
498
  - spec/dummy/db/migrate/20111201121844_create_roles.rb
425
- - spec/dummy/db/migrate/20111201155456_create_users.rb
426
- - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
427
- - spec/dummy/db/migrate/20111201163342_create_user_groups.rb
499
+ - spec/dummy/db/migrate/20111201155456_devise_create_users.rb
428
500
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
501
+ - spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb
502
+ - spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb
429
503
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
504
+ - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
430
505
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
506
+ - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
431
507
  - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
432
508
  - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
509
+ - spec/dummy/db/migrate/20120319173203_create_accepts.rb
510
+ - spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb
433
511
  - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
434
512
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
435
513
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
@@ -440,8 +518,30 @@ files:
440
518
  - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
441
519
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
442
520
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
521
+ - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
522
+ - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
443
523
  - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
444
524
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
525
+ - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
526
+ - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
527
+ - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
528
+ - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
529
+ - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
530
+ - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
531
+ - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
532
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
533
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
534
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
535
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
536
+ - spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
537
+ - spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
538
+ - spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
539
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
540
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
541
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
542
+ - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
543
+ - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
544
+ - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
445
545
  - spec/dummy/db/schema.rb
446
546
  - spec/dummy/db/test.sqlite3
447
547
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_destroy_file.tsv
@@ -464,62 +564,43 @@ files:
464
564
  - spec/dummy/solr/conf/spellings.txt
465
565
  - spec/dummy/solr/conf/stopwords.txt
466
566
  - spec/dummy/solr/conf/synonyms.txt
467
- - spec/dummy/solr/default/data/index/_14y.fdt
468
- - spec/dummy/solr/default/data/index/_14y.fdx
469
- - spec/dummy/solr/default/data/index/_14y.fnm
470
- - spec/dummy/solr/default/data/index/_14y.nvd
471
- - spec/dummy/solr/default/data/index/_14y.nvm
472
- - spec/dummy/solr/default/data/index/_14y.si
473
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.doc
474
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.pos
475
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.tim
476
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.tip
477
- - spec/dummy/solr/default/data/index/_14z.fdt
478
- - spec/dummy/solr/default/data/index/_14z.fdx
479
- - spec/dummy/solr/default/data/index/_14z.fnm
480
- - spec/dummy/solr/default/data/index/_14z.nvd
481
- - spec/dummy/solr/default/data/index/_14z.nvm
482
- - spec/dummy/solr/default/data/index/_14z.si
483
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.doc
484
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.pos
485
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.tim
486
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.tip
567
+ - spec/dummy/solr/default/data/index/_b2.fdt
568
+ - spec/dummy/solr/default/data/index/_b2.fdx
569
+ - spec/dummy/solr/default/data/index/_b2.fnm
570
+ - spec/dummy/solr/default/data/index/_b2.nvd
571
+ - spec/dummy/solr/default/data/index/_b2.nvm
572
+ - spec/dummy/solr/default/data/index/_b2.si
573
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.doc
574
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.pos
575
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.tim
576
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.tip
577
+ - spec/dummy/solr/default/data/index/_b3.fdt
578
+ - spec/dummy/solr/default/data/index/_b3.fdx
579
+ - spec/dummy/solr/default/data/index/_b3.fnm
580
+ - spec/dummy/solr/default/data/index/_b3.nvd
581
+ - spec/dummy/solr/default/data/index/_b3.nvm
582
+ - spec/dummy/solr/default/data/index/_b3.si
583
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.doc
584
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.pos
585
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.tim
586
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.tip
487
587
  - spec/dummy/solr/default/data/index/segments.gen
488
- - spec/dummy/solr/default/data/index/segments_1k3
489
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002008
490
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002009
491
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002010
492
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002011
493
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002012
494
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002013
495
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002014
496
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002015
497
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002016
498
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002017
588
+ - spec/dummy/solr/default/data/index/segments_ht
589
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000630
590
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000631
591
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000632
592
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000633
593
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000634
594
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000635
595
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000636
596
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000637
597
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000638
598
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000639
499
599
  - spec/dummy/solr/development/data/index/segments.gen
500
600
  - spec/dummy/solr/development/data/index/segments_1
501
601
  - spec/dummy/solr/solr.xml
502
- - spec/dummy/solr/test/data/index/_a.fdt
503
- - spec/dummy/solr/test/data/index/_a.fdx
504
- - spec/dummy/solr/test/data/index/_a.fnm
505
- - spec/dummy/solr/test/data/index/_a.nvd
506
- - spec/dummy/solr/test/data/index/_a.nvm
507
- - spec/dummy/solr/test/data/index/_a.si
508
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.doc
509
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.pos
510
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.tim
511
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.tip
512
602
  - spec/dummy/solr/test/data/index/segments.gen
513
- - spec/dummy/solr/test/data/index/segments_n
514
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000013
515
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000014
516
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000015
517
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000016
518
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000017
519
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000018
520
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000019
521
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000020
522
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000021
603
+ - spec/dummy/solr/test/data/index/segments_1
523
604
  - spec/factories/agent.rb
524
605
  - spec/factories/country.rb
525
606
  - spec/factories/event.rb
@@ -551,6 +632,7 @@ files:
551
632
  - spec/spec_helper.rb
552
633
  - spec/support/controller_macros.rb
553
634
  - spec/support/devise.rb
635
+ - spec/support/resque.rb
554
636
  homepage: https://github.com/next-l/enju_event
555
637
  licenses: []
556
638
  metadata: {}
@@ -608,81 +690,126 @@ test_files:
608
690
  - spec/dummy/config/locales/en.yml
609
691
  - spec/dummy/config/routes.rb
610
692
  - spec/dummy/config.ru
611
- - spec/dummy/db/development.sqlite3
612
693
  - spec/dummy/db/migrate/001_create_agents.rb
613
694
  - spec/dummy/db/migrate/005_create_manifestations.rb
614
695
  - spec/dummy/db/migrate/006_create_items.rb
615
696
  - spec/dummy/db/migrate/012_create_owns.rb
616
697
  - spec/dummy/db/migrate/015_create_creates.rb
698
+ - spec/dummy/db/migrate/029_create_subjects.rb
699
+ - spec/dummy/db/migrate/032_create_checkins.rb
700
+ - spec/dummy/db/migrate/033_create_checkouts.rb
701
+ - spec/dummy/db/migrate/035_create_reserves.rb
617
702
  - spec/dummy/db/migrate/047_create_produces.rb
618
703
  - spec/dummy/db/migrate/059_create_libraries.rb
619
704
  - spec/dummy/db/migrate/069_create_shelves.rb
620
705
  - spec/dummy/db/migrate/073_create_carrier_types.rb
706
+ - spec/dummy/db/migrate/077_create_user_groups.rb
621
707
  - spec/dummy/db/migrate/080_create_library_groups.rb
622
708
  - spec/dummy/db/migrate/112_create_frequencies.rb
623
709
  - spec/dummy/db/migrate/117_create_form_of_works.rb
710
+ - spec/dummy/db/migrate/120_create_baskets.rb
711
+ - spec/dummy/db/migrate/121_create_checked_items.rb
712
+ - spec/dummy/db/migrate/124_create_bookstores.rb
624
713
  - spec/dummy/db/migrate/125_create_donates.rb
714
+ - spec/dummy/db/migrate/127_create_use_restrictions.rb
715
+ - spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb
716
+ - spec/dummy/db/migrate/130_create_request_status_types.rb
717
+ - spec/dummy/db/migrate/131_create_request_types.rb
718
+ - spec/dummy/db/migrate/132_create_circulation_statuses.rb
719
+ - spec/dummy/db/migrate/142_create_classifications.rb
720
+ - spec/dummy/db/migrate/143_create_subject_has_classifications.rb
721
+ - spec/dummy/db/migrate/144_create_classification_types.rb
722
+ - spec/dummy/db/migrate/145_create_subject_heading_types.rb
723
+ - spec/dummy/db/migrate/146_create_subject_types.rb
724
+ - spec/dummy/db/migrate/149_create_message_templates.rb
725
+ - spec/dummy/db/migrate/154_create_messages.rb
726
+ - spec/dummy/db/migrate/20080606052544_create_work_has_subjects.rb
727
+ - spec/dummy/db/migrate/20080819181903_create_message_requests.rb
625
728
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
626
729
  - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
627
730
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
731
+ - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
732
+ - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
733
+ - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
628
734
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
629
735
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
630
736
  - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
631
737
  - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
632
738
  - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
739
+ - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
740
+ - spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb
741
+ - spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
742
+ - spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb
743
+ - spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb
744
+ - spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb
745
+ - spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb
746
+ - spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb
747
+ - spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb
748
+ - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
749
+ - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
750
+ - spec/dummy/db/migrate/20090208044541_create_subject_heading_type_has_subjects.rb
751
+ - spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb
633
752
  - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
634
753
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
635
754
  - spec/dummy/db/migrate/20090719201843_create_extents.rb
636
755
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
637
756
  - spec/dummy/db/migrate/20090720091429_create_content_types.rb
638
757
  - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
758
+ - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
639
759
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
640
760
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
641
761
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
642
762
  - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
643
763
  - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
644
764
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
645
- - spec/dummy/db/migrate/20100222124420_add_allow_bookmark_external_url_to_library_group.rb
646
765
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
766
+ - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
647
767
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
648
768
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
649
- - spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb
650
769
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
651
770
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
652
771
  - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
653
772
  - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
654
773
  - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
655
774
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
656
- - spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb
657
775
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
658
776
  - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
659
777
  - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
778
+ - spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb
779
+ - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
780
+ - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
660
781
  - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
782
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
661
783
  - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
662
784
  - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
663
785
  - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
664
- - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
665
- - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
786
+ - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
787
+ - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
666
788
  - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
789
+ - spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
790
+ - spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
667
791
  - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
668
792
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
669
793
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
670
794
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
671
795
  - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
672
- - spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb
673
796
  - spec/dummy/db/migrate/20111124110059_create_create_types.rb
674
797
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
675
798
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
676
799
  - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
677
800
  - spec/dummy/db/migrate/20111201121844_create_roles.rb
678
- - spec/dummy/db/migrate/20111201155456_create_users.rb
679
- - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
680
- - spec/dummy/db/migrate/20111201163342_create_user_groups.rb
801
+ - spec/dummy/db/migrate/20111201155456_devise_create_users.rb
681
802
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
803
+ - spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb
804
+ - spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb
682
805
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
806
+ - spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb
683
807
  - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
808
+ - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
684
809
  - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
685
810
  - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
811
+ - spec/dummy/db/migrate/20120319173203_create_accepts.rb
812
+ - spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb
686
813
  - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
687
814
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
688
815
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
@@ -693,8 +820,30 @@ test_files:
693
820
  - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
694
821
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
695
822
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
823
+ - spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb
824
+ - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
696
825
  - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
697
826
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
827
+ - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
828
+ - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
829
+ - spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb
830
+ - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
831
+ - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
832
+ - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
833
+ - spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
834
+ - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
835
+ - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
836
+ - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
837
+ - spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
838
+ - spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb
839
+ - spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb
840
+ - spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb
841
+ - spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
842
+ - spec/dummy/db/migrate/20130506175834_create_identifiers.rb
843
+ - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
844
+ - spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb
845
+ - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
846
+ - spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb
698
847
  - spec/dummy/db/schema.rb
699
848
  - spec/dummy/db/test.sqlite3
700
849
  - spec/dummy/private/system/event_import_files/event_imports/000/000/004/original/event_destroy_file.tsv
@@ -718,62 +867,43 @@ test_files:
718
867
  - spec/dummy/solr/conf/spellings.txt
719
868
  - spec/dummy/solr/conf/stopwords.txt
720
869
  - spec/dummy/solr/conf/synonyms.txt
721
- - spec/dummy/solr/default/data/index/_14y.fdt
722
- - spec/dummy/solr/default/data/index/_14y.fdx
723
- - spec/dummy/solr/default/data/index/_14y.fnm
724
- - spec/dummy/solr/default/data/index/_14y.nvd
725
- - spec/dummy/solr/default/data/index/_14y.nvm
726
- - spec/dummy/solr/default/data/index/_14y.si
727
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.doc
728
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.pos
729
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.tim
730
- - spec/dummy/solr/default/data/index/_14y_Lucene41_0.tip
731
- - spec/dummy/solr/default/data/index/_14z.fdt
732
- - spec/dummy/solr/default/data/index/_14z.fdx
733
- - spec/dummy/solr/default/data/index/_14z.fnm
734
- - spec/dummy/solr/default/data/index/_14z.nvd
735
- - spec/dummy/solr/default/data/index/_14z.nvm
736
- - spec/dummy/solr/default/data/index/_14z.si
737
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.doc
738
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.pos
739
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.tim
740
- - spec/dummy/solr/default/data/index/_14z_Lucene41_0.tip
870
+ - spec/dummy/solr/default/data/index/_b2.fdt
871
+ - spec/dummy/solr/default/data/index/_b2.fdx
872
+ - spec/dummy/solr/default/data/index/_b2.fnm
873
+ - spec/dummy/solr/default/data/index/_b2.nvd
874
+ - spec/dummy/solr/default/data/index/_b2.nvm
875
+ - spec/dummy/solr/default/data/index/_b2.si
876
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.doc
877
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.pos
878
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.tim
879
+ - spec/dummy/solr/default/data/index/_b2_Lucene41_0.tip
880
+ - spec/dummy/solr/default/data/index/_b3.fdt
881
+ - spec/dummy/solr/default/data/index/_b3.fdx
882
+ - spec/dummy/solr/default/data/index/_b3.fnm
883
+ - spec/dummy/solr/default/data/index/_b3.nvd
884
+ - spec/dummy/solr/default/data/index/_b3.nvm
885
+ - spec/dummy/solr/default/data/index/_b3.si
886
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.doc
887
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.pos
888
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.tim
889
+ - spec/dummy/solr/default/data/index/_b3_Lucene41_0.tip
741
890
  - spec/dummy/solr/default/data/index/segments.gen
742
- - spec/dummy/solr/default/data/index/segments_1k3
743
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002008
744
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002009
745
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002010
746
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002011
747
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002012
748
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002013
749
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002014
750
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002015
751
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002016
752
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000002017
891
+ - spec/dummy/solr/default/data/index/segments_ht
892
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000630
893
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000631
894
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000632
895
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000633
896
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000634
897
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000635
898
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000636
899
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000637
900
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000638
901
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000000639
753
902
  - spec/dummy/solr/development/data/index/segments.gen
754
903
  - spec/dummy/solr/development/data/index/segments_1
755
904
  - spec/dummy/solr/solr.xml
756
- - spec/dummy/solr/test/data/index/_a.fdt
757
- - spec/dummy/solr/test/data/index/_a.fdx
758
- - spec/dummy/solr/test/data/index/_a.fnm
759
- - spec/dummy/solr/test/data/index/_a.nvd
760
- - spec/dummy/solr/test/data/index/_a.nvm
761
- - spec/dummy/solr/test/data/index/_a.si
762
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.doc
763
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.pos
764
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.tim
765
- - spec/dummy/solr/test/data/index/_a_Lucene41_0.tip
766
905
  - spec/dummy/solr/test/data/index/segments.gen
767
- - spec/dummy/solr/test/data/index/segments_n
768
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000013
769
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000014
770
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000015
771
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000016
772
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000017
773
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000018
774
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000019
775
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000020
776
- - spec/dummy/solr/test/data/tlog/tlog.0000000000000000021
906
+ - spec/dummy/solr/test/data/index/segments_1
777
907
  - spec/factories/agent.rb
778
908
  - spec/factories/country.rb
779
909
  - spec/factories/event.rb
@@ -805,3 +935,4 @@ test_files:
805
935
  - spec/spec_helper.rb
806
936
  - spec/support/controller_macros.rb
807
937
  - spec/support/devise.rb
938
+ - spec/support/resque.rb