enju_event 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -0
  3. data/app/controllers/concerns/enju_event/enju_libraries_controller.rb +17 -0
  4. data/app/controllers/event_categories_controller.rb +1 -1
  5. data/app/controllers/event_export_files_controller.rb +1 -1
  6. data/app/controllers/event_import_files_controller.rb +3 -2
  7. data/app/controllers/event_import_results_controller.rb +2 -2
  8. data/app/controllers/events_controller.rb +7 -1
  9. data/app/controllers/participates_controller.rb +1 -1
  10. data/app/jobs/event_export_file_job.rb +1 -1
  11. data/app/jobs/event_import_file_job.rb +1 -1
  12. data/app/mailers/event_export_mailer.rb +17 -0
  13. data/app/mailers/event_import_mailer.rb +17 -0
  14. data/app/models/concerns/enju_event/enju_library.rb +15 -0
  15. data/app/models/event.rb +37 -24
  16. data/app/models/event_category.rb +1 -1
  17. data/app/models/event_export_file.rb +15 -10
  18. data/app/models/event_export_file_transition.rb +1 -1
  19. data/app/models/event_import_file.rb +13 -3
  20. data/app/models/event_import_file_transition.rb +1 -1
  21. data/app/models/event_import_result.rb +1 -2
  22. data/app/models/participate.rb +1 -1
  23. data/app/models/place.rb +1 -1
  24. data/app/views/event_export_mailer/completed.en.text.erb +9 -0
  25. data/app/views/event_export_mailer/completed.ja.text.erb +9 -0
  26. data/app/views/event_export_mailer/failed.en.text.erb +9 -0
  27. data/app/views/event_export_mailer/failed.ja.text.erb +9 -0
  28. data/app/views/event_import_files/_results.html.erb +26 -0
  29. data/app/views/event_import_files/show.html.erb +70 -74
  30. data/app/views/event_import_mailer/completed.en.text.erb +9 -0
  31. data/app/views/event_import_mailer/completed.ja.text.erb +9 -0
  32. data/app/views/event_import_mailer/failed.en.text.erb +9 -0
  33. data/app/views/event_import_mailer/failed.ja.text.erb +9 -0
  34. data/app/views/event_import_results/index.html.erb +0 -11
  35. data/app/views/events/index.html.erb +22 -22
  36. data/app/views/events/index.txt.ruby +7 -0
  37. data/app/views/layouts/mailer.html.erb +13 -0
  38. data/app/views/layouts/mailer.text.erb +1 -0
  39. data/config/locales/translation_en.yml +12 -0
  40. data/config/locales/translation_ja.yml +12 -0
  41. data/lib/enju_event/version.rb +1 -1
  42. data/spec/controllers/event_import_files_controller_spec.rb +2 -2
  43. data/spec/controllers/event_import_results_controller_spec.rb +2 -2
  44. data/spec/controllers/libraries_controller_spec.rb +41 -0
  45. data/spec/dummy/app/assets/config/manifest.js +5 -0
  46. data/spec/dummy/app/jobs/application_job.rb +7 -0
  47. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  48. data/spec/dummy/app/models/application_record.rb +3 -0
  49. data/spec/dummy/app/models/user.rb +1 -1
  50. data/spec/dummy/config/application.rb +1 -1
  51. data/spec/dummy/config/initializers/assets.rb +1 -0
  52. data/spec/dummy/config/storage.yml +34 -0
  53. data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +2 -4
  54. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +4 -5
  55. data/spec/dummy/db/migrate/20150421023923_create_identities.rb +14 -0
  56. data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +5 -0
  57. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -8
  58. data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +11 -0
  59. data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +11 -0
  60. data/spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb +11 -0
  61. data/spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb +11 -0
  62. data/spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb +13 -0
  63. data/spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb +13 -0
  64. data/spec/dummy/db/migrate/20181026064038_add_login_banner_to_library_group.rb +6 -0
  65. data/spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb +14 -0
  66. data/spec/dummy/db/migrate/20181030074920_add_not_null_to_position_on_library.rb +14 -0
  67. data/spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb +27 -0
  68. data/spec/dummy/db/migrate/20190311154610_create_periodicals.rb +10 -0
  69. data/spec/dummy/db/migrate/20190314151124_add_full_name_translations_to_create.rb +7 -0
  70. data/spec/dummy/db/schema.rb +114 -25
  71. data/spec/factories/event_export_file.rb +5 -0
  72. data/spec/factories/event_import_file.rb +7 -0
  73. data/spec/factories/event_import_result.rb +6 -0
  74. data/spec/mailers/event_export_spec.rb +5 -0
  75. data/spec/mailers/event_import_spec.rb +5 -0
  76. data/spec/mailers/previews/event_export_preview.rb +4 -0
  77. data/spec/mailers/previews/event_import_preview.rb +4 -0
  78. data/spec/models/event_export_file_spec.rb +1 -1
  79. data/spec/models/event_import_file_spec.rb +1 -1
  80. data/spec/rails_helper.rb +6 -0
  81. data/spec/system/event_import_results_spec.rb +17 -0
  82. data/spec/system/events_spec.rb +22 -0
  83. data/spec/views/events/index.json.jbuilder_spec.rb +22 -0
  84. metadata +153 -9
  85. data/README.rdoc +0 -10
  86. data/spec/support/resque.rb +0 -32
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-28 00:00:00.000000000 Z
11
+ date: 2019-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_message
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3.2
61
+ version: 1.3.3
62
62
  type: :development
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: 1.3.2
68
+ version: 1.3.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '2.3'
145
+ version: '2.5'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '2.3'
152
+ version: '2.5'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: simplecov
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -220,6 +220,76 @@ dependencies:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: capybara
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '3.11'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: '3.11'
237
+ - !ruby/object:Gem::Dependency
238
+ name: selenium-webdriver
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: puma
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: annotate
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'
279
+ - !ruby/object:Gem::Dependency
280
+ name: rails
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '5.2'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '5.2'
223
293
  description: Event management for Next-L Enju
224
294
  email:
225
295
  - nabeta@fastmail.fm
@@ -228,7 +298,7 @@ extensions: []
228
298
  extra_rdoc_files: []
229
299
  files:
230
300
  - MIT-LICENSE
231
- - README.rdoc
301
+ - README.md
232
302
  - Rakefile
233
303
  - app/assets/config/enju_event_manifest.js
234
304
  - app/assets/images/icons/calendar.png
@@ -240,6 +310,7 @@ files:
240
310
  - app/assets/stylesheets/enju_event/application.css
241
311
  - app/assets/stylesheets/enju_event/fullcalendar.css
242
312
  - app/controllers/concerns/enju_event/controller.rb
313
+ - app/controllers/concerns/enju_event/enju_libraries_controller.rb
243
314
  - app/controllers/event_categories_controller.rb
244
315
  - app/controllers/event_export_files_controller.rb
245
316
  - app/controllers/event_import_files_controller.rb
@@ -249,6 +320,9 @@ files:
249
320
  - app/controllers/places_controller.rb
250
321
  - app/jobs/event_export_file_job.rb
251
322
  - app/jobs/event_import_file_job.rb
323
+ - app/mailers/event_export_mailer.rb
324
+ - app/mailers/event_import_mailer.rb
325
+ - app/models/concerns/enju_event/enju_library.rb
252
326
  - app/models/event.rb
253
327
  - app/models/event_category.rb
254
328
  - app/models/event_export_file.rb
@@ -277,10 +351,19 @@ files:
277
351
  - app/views/event_export_files/index.html.erb
278
352
  - app/views/event_export_files/new.html.erb
279
353
  - app/views/event_export_files/show.html.erb
354
+ - app/views/event_export_mailer/completed.en.text.erb
355
+ - app/views/event_export_mailer/completed.ja.text.erb
356
+ - app/views/event_export_mailer/failed.en.text.erb
357
+ - app/views/event_export_mailer/failed.ja.text.erb
358
+ - app/views/event_import_files/_results.html.erb
280
359
  - app/views/event_import_files/edit.html.erb
281
360
  - app/views/event_import_files/index.html.erb
282
361
  - app/views/event_import_files/new.html.erb
283
362
  - app/views/event_import_files/show.html.erb
363
+ - app/views/event_import_mailer/completed.en.text.erb
364
+ - app/views/event_import_mailer/completed.ja.text.erb
365
+ - app/views/event_import_mailer/failed.en.text.erb
366
+ - app/views/event_import_mailer/failed.ja.text.erb
284
367
  - app/views/event_import_results/index.html.erb
285
368
  - app/views/event_import_results/index.txt.erb
286
369
  - app/views/event_import_results/show.html.erb
@@ -295,10 +378,13 @@ files:
295
378
  - app/views/events/index.json.jbuilder
296
379
  - app/views/events/index.rss.builder
297
380
  - app/views/events/index.txt.erb
381
+ - app/views/events/index.txt.ruby
298
382
  - app/views/events/new.html.erb
299
383
  - app/views/events/show.html+phone.erb
300
384
  - app/views/events/show.html.erb
301
385
  - app/views/layouts/calendar.html.erb
386
+ - app/views/layouts/mailer.html.erb
387
+ - app/views/layouts/mailer.text.erb
302
388
  - app/views/participates/edit.html.erb
303
389
  - app/views/participates/index.html.erb
304
390
  - app/views/participates/new.html.erb
@@ -346,12 +432,17 @@ files:
346
432
  - spec/controllers/event_import_files_controller_spec.rb
347
433
  - spec/controllers/event_import_results_controller_spec.rb
348
434
  - spec/controllers/events_controller_spec.rb
435
+ - spec/controllers/libraries_controller_spec.rb
349
436
  - spec/controllers/participates_controller_spec.rb
350
437
  - spec/dummy/Rakefile
438
+ - spec/dummy/app/assets/config/manifest.js
351
439
  - spec/dummy/app/assets/javascripts/application.js
352
440
  - spec/dummy/app/assets/stylesheets/application.css
353
441
  - spec/dummy/app/controllers/application_controller.rb
354
442
  - spec/dummy/app/helpers/application_helper.rb
443
+ - spec/dummy/app/jobs/application_job.rb
444
+ - spec/dummy/app/mailers/application_mailer.rb
445
+ - spec/dummy/app/models/application_record.rb
355
446
  - spec/dummy/app/models/user.rb
356
447
  - spec/dummy/app/views/layouts/application.html.erb
357
448
  - spec/dummy/bin/bundle
@@ -386,6 +477,7 @@ files:
386
477
  - spec/dummy/config/routes.rb
387
478
  - spec/dummy/config/secrets.yml
388
479
  - spec/dummy/config/spring.rb
480
+ - spec/dummy/config/storage.yml
389
481
  - spec/dummy/config/sunspot.yml
390
482
  - spec/dummy/db/migrate/001_create_agents.rb
391
483
  - spec/dummy/db/migrate/002_devise_create_users.rb
@@ -566,11 +658,15 @@ files:
566
658
  - spec/dummy/db/migrate/20141014065831_add_shelf_id_to_checkout.rb
567
659
  - spec/dummy/db/migrate/20150117111136_add_foreign_key_to_items_referencing_manifestations.rb
568
660
  - spec/dummy/db/migrate/20150221063719_add_settings_to_library_group.rb
661
+ - spec/dummy/db/migrate/20150421023923_create_identities.rb
569
662
  - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
570
663
  - spec/dummy/db/migrate/20150924115059_create_withdraws.rb
571
664
  - spec/dummy/db/migrate/20151125004028_add_profile_id_to_agent.rb
665
+ - spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb
572
666
  - spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb
573
667
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
668
+ - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
669
+ - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
574
670
  - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
575
671
  - spec/dummy/db/migrate/20160627232219_add_most_recent_to_user_import_file_transitions.rb
576
672
  - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
@@ -586,6 +682,8 @@ files:
586
682
  - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
587
683
  - spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb
588
684
  - spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
685
+ - spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb
686
+ - spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb
589
687
  - spec/dummy/db/migrate/20170305064014_add_csv_charset_conversion_to_library_group.rb
590
688
  - spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb
591
689
  - spec/dummy/db/migrate/20171119051258_set_not_null_to_manifestation_id_on_items.rb
@@ -598,6 +696,14 @@ files:
598
696
  - spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb
599
697
  - spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb
600
698
  - spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb
699
+ - spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb
700
+ - spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb
701
+ - spec/dummy/db/migrate/20181026064038_add_login_banner_to_library_group.rb
702
+ - spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
703
+ - spec/dummy/db/migrate/20181030074920_add_not_null_to_position_on_library.rb
704
+ - spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb
705
+ - spec/dummy/db/migrate/20190311154610_create_periodicals.rb
706
+ - spec/dummy/db/migrate/20190314151124_add_full_name_translations_to_create.rb
601
707
  - spec/dummy/db/schema.rb
602
708
  - spec/dummy/public/404.html
603
709
  - spec/dummy/public/422.html
@@ -607,6 +713,9 @@ files:
607
713
  - spec/factories/country.rb
608
714
  - spec/factories/event.rb
609
715
  - spec/factories/event_category.rb
716
+ - spec/factories/event_export_file.rb
717
+ - spec/factories/event_import_file.rb
718
+ - spec/factories/event_import_result.rb
610
719
  - spec/factories/library.rb
611
720
  - spec/factories/participate.rb
612
721
  - spec/factories/profile.rb
@@ -630,6 +739,10 @@ files:
630
739
  - spec/fixtures/user_groups.yml
631
740
  - spec/fixtures/user_has_roles.yml
632
741
  - spec/fixtures/users.yml
742
+ - spec/mailers/event_export_spec.rb
743
+ - spec/mailers/event_import_spec.rb
744
+ - spec/mailers/previews/event_export_preview.rb
745
+ - spec/mailers/previews/event_import_preview.rb
633
746
  - spec/models/event_category_spec.rb
634
747
  - spec/models/event_export_file_spec.rb
635
748
  - spec/models/event_import_file_spec.rb
@@ -640,11 +753,13 @@ files:
640
753
  - spec/spec_helper.rb
641
754
  - spec/support/controller_macros.rb
642
755
  - spec/support/devise.rb
643
- - spec/support/resque.rb
756
+ - spec/system/event_import_results_spec.rb
757
+ - spec/system/events_spec.rb
644
758
  - spec/views/event_export_files/edit.html.erb_spec.rb
645
759
  - spec/views/event_export_files/index.html.erb_spec.rb
646
760
  - spec/views/event_export_files/new.html.erb_spec.rb
647
761
  - spec/views/event_export_files/show.html.erb_spec.rb
762
+ - spec/views/events/index.json.jbuilder_spec.rb
648
763
  homepage: https://github.com/next-l/enju_event
649
764
  licenses: []
650
765
  metadata: {}
@@ -669,9 +784,13 @@ specification_version: 4
669
784
  summary: enju_event plugin
670
785
  test_files:
671
786
  - spec/spec_helper.rb
787
+ - spec/dummy/app/mailers/application_mailer.rb
788
+ - spec/dummy/app/models/application_record.rb
672
789
  - spec/dummy/app/models/user.rb
790
+ - spec/dummy/app/jobs/application_job.rb
673
791
  - spec/dummy/app/controllers/application_controller.rb
674
792
  - spec/dummy/app/views/layouts/application.html.erb
793
+ - spec/dummy/app/assets/config/manifest.js
675
794
  - spec/dummy/app/assets/javascripts/application.js
676
795
  - spec/dummy/app/assets/stylesheets/application.css
677
796
  - spec/dummy/app/helpers/application_helper.rb
@@ -690,6 +809,7 @@ test_files:
690
809
  - spec/dummy/config/environments/test.rb
691
810
  - spec/dummy/config/spring.rb
692
811
  - spec/dummy/config/environment.rb
812
+ - spec/dummy/config/storage.yml
693
813
  - spec/dummy/config/application.rb
694
814
  - spec/dummy/config/puma.rb
695
815
  - spec/dummy/config/database.yml
@@ -723,13 +843,18 @@ test_files:
723
843
  - spec/dummy/db/migrate/20140709113413_create_user_export_files.rb
724
844
  - spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb
725
845
  - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
846
+ - spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb
726
847
  - spec/dummy/db/migrate/035_create_reserves.rb
848
+ - spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb
727
849
  - spec/dummy/db/migrate/047_create_produces.rb
728
850
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
851
+ - spec/dummy/db/migrate/20150421023923_create_identities.rb
729
852
  - spec/dummy/db/migrate/20160610093229_add_html_snippet_to_library_group.rb
730
853
  - spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb
854
+ - spec/dummy/db/migrate/20190314151124_add_full_name_translations_to_create.rb
731
855
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
732
856
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
857
+ - spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb
733
858
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
734
859
  - spec/dummy/db/migrate/20120319173203_create_accepts.rb
735
860
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
@@ -738,6 +863,7 @@ test_files:
738
863
  - spec/dummy/db/migrate/124_create_bookstores.rb
739
864
  - spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb
740
865
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
866
+ - spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
741
867
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
742
868
  - spec/dummy/db/migrate/20160813203039_add_user_id_to_library_group.rb
743
869
  - spec/dummy/db/migrate/20081030023412_create_checkout_types.rb
@@ -756,6 +882,7 @@ test_files:
756
882
  - spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb
757
883
  - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
758
884
  - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
885
+ - spec/dummy/db/migrate/20181026064038_add_login_banner_to_library_group.rb
759
886
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
760
887
  - spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb
761
888
  - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
@@ -802,10 +929,12 @@ test_files:
802
929
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
803
930
  - spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb
804
931
  - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
932
+ - spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb
805
933
  - spec/dummy/db/migrate/006_create_items.rb
806
934
  - spec/dummy/db/migrate/069_create_shelves.rb
807
935
  - spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb
808
936
  - spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb
937
+ - spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb
809
938
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
810
939
  - spec/dummy/db/migrate/20150506105356_add_error_message_to_user_import_result.rb
811
940
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
@@ -813,7 +942,9 @@ test_files:
813
942
  - spec/dummy/db/migrate/20160627232316_add_most_recent_to_user_export_file_transitions.rb
814
943
  - spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb
815
944
  - spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb
945
+ - spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
816
946
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
947
+ - spec/dummy/db/migrate/20190311154610_create_periodicals.rb
817
948
  - spec/dummy/db/migrate/077_create_user_groups.rb
818
949
  - spec/dummy/db/migrate/127_create_use_restrictions.rb
819
950
  - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
@@ -870,6 +1001,7 @@ test_files:
870
1001
  - spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb
871
1002
  - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
872
1003
  - spec/dummy/db/migrate/032_create_checkins.rb
1004
+ - spec/dummy/db/migrate/20160319144230_create_issn_records.rb
873
1005
  - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
874
1006
  - spec/dummy/db/migrate/20160801080643_add_most_recent_to_agent_import_file_transitions.rb
875
1007
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
@@ -904,6 +1036,7 @@ test_files:
904
1036
  - spec/dummy/db/migrate/20090831220301_create_lending_policies.rb
905
1037
  - spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb
906
1038
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
1039
+ - spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb
907
1040
  - spec/dummy/db/migrate/121_create_checked_items.rb
908
1041
  - spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb
909
1042
  - spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb
@@ -925,19 +1058,28 @@ test_files:
925
1058
  - spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb
926
1059
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
927
1060
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
1061
+ - spec/dummy/db/migrate/20181030074920_add_not_null_to_position_on_library.rb
1062
+ - spec/mailers/event_export_spec.rb
1063
+ - spec/mailers/event_import_spec.rb
1064
+ - spec/mailers/previews/event_export_preview.rb
1065
+ - spec/mailers/previews/event_import_preview.rb
928
1066
  - spec/models/event_category_spec.rb
929
1067
  - spec/models/participate_spec.rb
930
1068
  - spec/models/event_import_result_spec.rb
931
1069
  - spec/models/event_import_file_spec.rb
932
1070
  - spec/models/event_spec.rb
933
1071
  - spec/models/event_export_file_spec.rb
1072
+ - spec/system/event_import_results_spec.rb
1073
+ - spec/system/events_spec.rb
934
1074
  - spec/support/controller_macros.rb
935
1075
  - spec/support/devise.rb
936
- - spec/support/resque.rb
937
1076
  - spec/factories/participate.rb
938
1077
  - spec/factories/event_category.rb
1078
+ - spec/factories/event_import_file.rb
939
1079
  - spec/factories/agent.rb
1080
+ - spec/factories/event_import_result.rb
940
1081
  - spec/factories/country.rb
1082
+ - spec/factories/event_export_file.rb
941
1083
  - spec/factories/profile.rb
942
1084
  - spec/factories/library.rb
943
1085
  - spec/factories/event.rb
@@ -963,6 +1105,7 @@ test_files:
963
1105
  - spec/fixtures/languages.yml
964
1106
  - spec/controllers/event_import_results_controller_spec.rb
965
1107
  - spec/controllers/event_categories_controller_spec.rb
1108
+ - spec/controllers/libraries_controller_spec.rb
966
1109
  - spec/controllers/event_export_files_controller_spec.rb
967
1110
  - spec/controllers/event_import_files_controller_spec.rb
968
1111
  - spec/controllers/participates_controller_spec.rb
@@ -971,4 +1114,5 @@ test_files:
971
1114
  - spec/views/event_export_files/show.html.erb_spec.rb
972
1115
  - spec/views/event_export_files/new.html.erb_spec.rb
973
1116
  - spec/views/event_export_files/index.html.erb_spec.rb
1117
+ - spec/views/events/index.json.jbuilder_spec.rb
974
1118
  - spec/rails_helper.rb
data/README.rdoc DELETED
@@ -1,10 +0,0 @@
1
- = EnjuEvent
2
- {<img src="https://travis-ci.org/next-l/enju_event.svg?branch=1.3" alt="Build Status" />}[https://travis-ci.org/next-l/enju_event]
3
- {<img src="https://coveralls.io/repos/next-l/enju_event/badge.svg?branch=1.3&service=github" alt="Coverage Status" />}[https://coveralls.io/github/next-l/enju_event?branch=1.3]
4
- {<img src="https://hakiri.io/github/next-l/enju_event/1.3.svg" alt="security" />}[https://hakiri.io/github/next-l/enju_event/1.3]
5
-
6
- This project rocks and uses MIT-LICENSE.
7
-
8
- == 製作者・貢献者 (Authors and contributors)
9
- * {TANABE, Kosuke}[https://github.com/nabeta] ({@nabeta}[https://twitter.com/nabeta])
10
- * {Project Next-L}[https://www.next-l.jp] ({@ProjectNextL}[https://twitter.com/ProjectNextL])
@@ -1,32 +0,0 @@
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