enju_message 0.3.0.beta.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +10 -0
  3. data/app/models/message.rb +5 -5
  4. data/app/models/message_request.rb +3 -4
  5. data/app/models/message_request_transition.rb +3 -4
  6. data/app/models/message_template.rb +3 -3
  7. data/app/models/message_transition.rb +3 -4
  8. data/app/views/message_templates/_form.html.erb +1 -1
  9. data/app/views/messages/index.rss.builder +2 -2
  10. data/db/migrate/149_create_message_templates.rb +3 -8
  11. data/db/migrate/154_create_messages.rb +4 -8
  12. data/db/migrate/20080819181903_create_message_requests.rb +2 -7
  13. data/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +2 -7
  14. data/db/migrate/20120125050502_add_depth_to_message.rb +1 -2
  15. data/db/migrate/20140518111006_create_message_transitions.rb +3 -8
  16. data/db/migrate/20140518135713_create_message_request_transitions.rb +3 -8
  17. data/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +1 -1
  18. data/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +1 -1
  19. data/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb +1 -1
  20. data/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb +1 -1
  21. data/lib/enju_message/version.rb +1 -1
  22. data/spec/controllers/messages_controller_spec.rb +27 -25
  23. data/spec/dummy/app/controllers/application_controller.rb +0 -1
  24. data/spec/dummy/app/jobs/application_job.rb +7 -0
  25. data/spec/dummy/app/models/application_record.rb +3 -0
  26. data/spec/dummy/app/models/user.rb +1 -1
  27. data/spec/dummy/bin/bundle +1 -1
  28. data/spec/dummy/bin/setup +1 -3
  29. data/spec/dummy/bin/update +4 -2
  30. data/spec/dummy/bin/yarn +3 -3
  31. data/spec/dummy/config/application.rb +1 -1
  32. data/spec/dummy/config/environments/development.rb +9 -2
  33. data/spec/dummy/config/environments/production.rb +7 -4
  34. data/spec/dummy/config/environments/test.rb +5 -1
  35. data/spec/dummy/config/storage.yml +34 -0
  36. data/spec/dummy/db/migrate/005_create_manifestations.rb +3 -3
  37. data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +2 -4
  38. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +4 -5
  39. data/spec/dummy/db/migrate/20150421023923_create_identities.rb +14 -0
  40. data/spec/dummy/db/migrate/20151126005552_add_provider_to_identity.rb +5 -0
  41. data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -8
  42. data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +11 -0
  43. data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +11 -0
  44. data/spec/dummy/db/migrate/20170114174536_add_profile_id_to_user.rb +5 -0
  45. data/spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb +11 -0
  46. data/spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb +11 -0
  47. data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +1 -1
  48. data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +1 -1
  49. data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +1 -1
  50. data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +1 -1
  51. data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +1 -1
  52. data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +1 -1
  53. data/spec/dummy/db/migrate/20181026064038_add_login_banner_to_library_group.rb +6 -0
  54. data/spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb +14 -0
  55. data/spec/dummy/db/migrate/20181030074920_add_not_null_to_position_on_library.rb +14 -0
  56. data/spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb +27 -0
  57. data/spec/dummy/db/migrate/20190818075603_add_memo_to_manifestation.rb +5 -0
  58. data/spec/dummy/db/migrate/20190818075628_add_memo_to_item.rb +5 -0
  59. data/spec/dummy/db/migrate/20191219122214_create_custom_properties.rb +12 -0
  60. data/spec/dummy/db/schema.rb +125 -34
  61. data/spec/factories/message.rb +4 -4
  62. data/spec/factories/message_request.rb +1 -1
  63. data/spec/factories/profile.rb +10 -7
  64. data/spec/factories/user.rb +25 -22
  65. data/spec/fixtures/message_request_transitions.yml +2 -2
  66. data/spec/fixtures/message_requests.yml +2 -3
  67. data/spec/fixtures/message_templates.yml +2 -2
  68. data/spec/fixtures/messages.yml +3 -3
  69. data/spec/models/message_request_spec.rb +2 -3
  70. data/spec/models/message_spec.rb +3 -3
  71. data/spec/models/message_template_spec.rb +2 -2
  72. data/spec/views/messages/index.html.erb_spec.rb +3 -9
  73. metadata +99 -28
  74. data/README.rdoc +0 -10
  75. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  76. data/spec/dummy/config/initializers/session_store.rb +0 -8
@@ -1,10 +0,0 @@
1
- = EnjuMessage
2
- {<img src="https://travis-ci.org/next-l/enju_message.svg?branch=1.3" alt="Build Status" />}[https://travis-ci.org/next-l/enju_message]
3
- {<img src="https://coveralls.io/repos/next-l/enju_message/badge.svg?branch=1.3&service=github" alt="Coverage Status" />}[https://coveralls.io/github/next-l/enju_message?branch=1.3]
4
- {<img src="https://hakiri.io/github/next-l/enju_message/1.3.svg" alt="security" />}[https://hakiri.io/github/next-l/enju_message/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,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '9e365175b4255ddc2772a096bc9926017d8ad7a16a56970fe1db7ef57ae19776178228e20899dd3ba1726d29ca5c8075e168a243a06fc776788cbc5afc5525a2'
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Dummy::Application.config.session_store :active_record_store