popolo 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/LICENSE +20 -0
  2. data/README.md +41 -0
  3. data/Rakefile +16 -0
  4. data/app/assets/javascripts/popolo/application.js +13 -0
  5. data/app/assets/stylesheets/popolo/application.css +13 -0
  6. data/app/controllers/popolo/areas_controller.rb +48 -0
  7. data/app/controllers/popolo/organizations_controller.rb +48 -0
  8. data/app/controllers/popolo/people_controller.rb +12 -0
  9. data/app/controllers/popolo/posts_controller.rb +12 -0
  10. data/app/controllers/popolo_controller.rb +3 -0
  11. data/app/helpers/popolo_helper.rb +10 -0
  12. data/app/models/popolo/address.rb +27 -0
  13. data/app/models/popolo/area.rb +25 -0
  14. data/app/models/popolo/event.rb +46 -0
  15. data/app/models/popolo/identifier.rb +15 -0
  16. data/app/models/popolo/link.rb +16 -0
  17. data/app/models/popolo/membership.rb +25 -0
  18. data/app/models/popolo/organization.rb +32 -0
  19. data/app/models/popolo/other_name.rb +21 -0
  20. data/app/models/popolo/person.rb +49 -0
  21. data/app/models/popolo/post.rb +25 -0
  22. data/app/models/popolo/source.rb +29 -0
  23. data/app/views/popolo/areas/index.html.erb +1 -0
  24. data/app/views/popolo/areas/show.html.erb +1 -0
  25. data/app/views/popolo/areas_or_organizations/_index.html.erb +31 -0
  26. data/app/views/popolo/areas_or_organizations/_show.html.erb +30 -0
  27. data/app/views/popolo/organizations/index.html.erb +1 -0
  28. data/app/views/popolo/organizations/show.html.erb +1 -0
  29. data/app/views/popolo/people/index.html.erb +0 -0
  30. data/app/views/popolo/people/show.html.erb +0 -0
  31. data/app/views/popolo/posts/index.html.erb +0 -0
  32. data/app/views/popolo/posts/show.html.erb +0 -0
  33. data/config/routes.rb +15 -0
  34. data/lib/generators/popolo_generator.rb +36 -0
  35. data/lib/generators/templates/README +7 -0
  36. data/lib/popolo/engine.rb +7 -0
  37. data/lib/popolo/mixins/eventable.rb +15 -0
  38. data/lib/popolo/mixins/sluggable.rb +64 -0
  39. data/lib/popolo/version.rb +3 -0
  40. data/lib/popolo.rb +18 -0
  41. data/spec/controllers/popolo/areas_controller_spec.rb +59 -0
  42. data/spec/controllers/popolo/organizations_controller_spec.rb +59 -0
  43. data/spec/controllers/popolo/people_controller_spec.rb +30 -0
  44. data/spec/controllers/popolo/posts_controller_spec.rb +30 -0
  45. data/spec/controllers/popolo_controller_spec.rb +4 -0
  46. data/spec/dummy/Rakefile +7 -0
  47. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  48. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  49. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  50. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  51. data/spec/dummy/app/models/cat.rb +6 -0
  52. data/spec/dummy/app/models/dog.rb +10 -0
  53. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  54. data/spec/dummy/config/application.rb +62 -0
  55. data/spec/dummy/config/boot.rb +10 -0
  56. data/spec/dummy/config/environment.rb +5 -0
  57. data/spec/dummy/config/environments/development.rb +37 -0
  58. data/spec/dummy/config/environments/production.rb +67 -0
  59. data/spec/dummy/config/environments/test.rb +37 -0
  60. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  61. data/spec/dummy/config/initializers/session_store.rb +8 -0
  62. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  63. data/spec/dummy/config/locales/en.yml +5 -0
  64. data/spec/dummy/config/mongoid.yml +68 -0
  65. data/spec/dummy/config/routes.rb +3 -0
  66. data/spec/dummy/config.ru +4 -0
  67. data/spec/dummy/log/development.log +6 -0
  68. data/spec/dummy/log/test.log +35513 -0
  69. data/spec/dummy/public/404.html +26 -0
  70. data/spec/dummy/public/422.html +26 -0
  71. data/spec/dummy/public/500.html +25 -0
  72. data/spec/dummy/public/favicon.ico +0 -0
  73. data/spec/dummy/script/rails +6 -0
  74. data/spec/factories.rb +25 -0
  75. data/spec/helpers/popolo_helper_spec.rb +4 -0
  76. data/spec/models/popolo/address_spec.rb +4 -0
  77. data/spec/models/popolo/area_spec.rb +4 -0
  78. data/spec/models/popolo/event_spec.rb +7 -0
  79. data/spec/models/popolo/identifier_spec.rb +5 -0
  80. data/spec/models/popolo/link_spec.rb +5 -0
  81. data/spec/models/popolo/membership_spec.rb +27 -0
  82. data/spec/models/popolo/organization_spec.rb +25 -0
  83. data/spec/models/popolo/other_name_spec.rb +25 -0
  84. data/spec/models/popolo/person_spec.rb +25 -0
  85. data/spec/models/popolo/post_spec.rb +5 -0
  86. data/spec/models/popolo/source_spec.rb +7 -0
  87. data/spec/popolo/mixins/sluggable_spec.rb +153 -0
  88. data/spec/popolo_spec.rb +4 -0
  89. data/spec/routing/popolo/areas_routing_spec.rb +29 -0
  90. data/spec/routing/popolo/organizations_routing_spec.rb +29 -0
  91. data/spec/routing/popolo/people_routing_spec.rb +21 -0
  92. data/spec/routing/popolo/posts_routing_spec.rb +21 -0
  93. data/spec/spec_helper.rb +81 -0
  94. metadata +416 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.