popolo 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.md +41 -0
- data/Rakefile +16 -0
- data/app/assets/javascripts/popolo/application.js +13 -0
- data/app/assets/stylesheets/popolo/application.css +13 -0
- data/app/controllers/popolo/areas_controller.rb +48 -0
- data/app/controllers/popolo/organizations_controller.rb +48 -0
- data/app/controllers/popolo/people_controller.rb +12 -0
- data/app/controllers/popolo/posts_controller.rb +12 -0
- data/app/controllers/popolo_controller.rb +3 -0
- data/app/helpers/popolo_helper.rb +10 -0
- data/app/models/popolo/address.rb +27 -0
- data/app/models/popolo/area.rb +25 -0
- data/app/models/popolo/event.rb +46 -0
- data/app/models/popolo/identifier.rb +15 -0
- data/app/models/popolo/link.rb +16 -0
- data/app/models/popolo/membership.rb +25 -0
- data/app/models/popolo/organization.rb +32 -0
- data/app/models/popolo/other_name.rb +21 -0
- data/app/models/popolo/person.rb +49 -0
- data/app/models/popolo/post.rb +25 -0
- data/app/models/popolo/source.rb +29 -0
- data/app/views/popolo/areas/index.html.erb +1 -0
- data/app/views/popolo/areas/show.html.erb +1 -0
- data/app/views/popolo/areas_or_organizations/_index.html.erb +31 -0
- data/app/views/popolo/areas_or_organizations/_show.html.erb +30 -0
- data/app/views/popolo/organizations/index.html.erb +1 -0
- data/app/views/popolo/organizations/show.html.erb +1 -0
- data/app/views/popolo/people/index.html.erb +0 -0
- data/app/views/popolo/people/show.html.erb +0 -0
- data/app/views/popolo/posts/index.html.erb +0 -0
- data/app/views/popolo/posts/show.html.erb +0 -0
- data/config/routes.rb +15 -0
- data/lib/generators/popolo_generator.rb +36 -0
- data/lib/generators/templates/README +7 -0
- data/lib/popolo/engine.rb +7 -0
- data/lib/popolo/mixins/eventable.rb +15 -0
- data/lib/popolo/mixins/sluggable.rb +64 -0
- data/lib/popolo/version.rb +3 -0
- data/lib/popolo.rb +18 -0
- data/spec/controllers/popolo/areas_controller_spec.rb +59 -0
- data/spec/controllers/popolo/organizations_controller_spec.rb +59 -0
- data/spec/controllers/popolo/people_controller_spec.rb +30 -0
- data/spec/controllers/popolo/posts_controller_spec.rb +30 -0
- data/spec/controllers/popolo_controller_spec.rb +4 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/cat.rb +6 -0
- data/spec/dummy/app/models/dog.rb +10 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +62 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/mongoid.yml +68 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/log/development.log +6 -0
- data/spec/dummy/log/test.log +35513 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories.rb +25 -0
- data/spec/helpers/popolo_helper_spec.rb +4 -0
- data/spec/models/popolo/address_spec.rb +4 -0
- data/spec/models/popolo/area_spec.rb +4 -0
- data/spec/models/popolo/event_spec.rb +7 -0
- data/spec/models/popolo/identifier_spec.rb +5 -0
- data/spec/models/popolo/link_spec.rb +5 -0
- data/spec/models/popolo/membership_spec.rb +27 -0
- data/spec/models/popolo/organization_spec.rb +25 -0
- data/spec/models/popolo/other_name_spec.rb +25 -0
- data/spec/models/popolo/person_spec.rb +25 -0
- data/spec/models/popolo/post_spec.rb +5 -0
- data/spec/models/popolo/source_spec.rb +7 -0
- data/spec/popolo/mixins/sluggable_spec.rb +153 -0
- data/spec/popolo_spec.rb +4 -0
- data/spec/routing/popolo/areas_routing_spec.rb +29 -0
- data/spec/routing/popolo/organizations_routing_spec.rb +29 -0
- data/spec/routing/popolo/people_routing_spec.rb +21 -0
- data/spec/routing/popolo/posts_routing_spec.rb +21 -0
- data/spec/spec_helper.rb +81 -0
- 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.