--- !ruby/object:Gem::Specification name: e9_polls version: !ruby/object:Gem::Version prerelease: version: 1.0.1 platform: ruby authors: - Travis Cox autorequire: bindir: bin cert_chain: [] date: 2011-04-29 00:00:00 -04:00 default_executable: dependencies: [] description: | ** NOTE - This gem depends on e9_base, but does not reference it. It WILL NOT FUNCTION for apps which aren't built on the e9 Rails 3 CMS ** == E9Polls Provites a Poll renderable for the e9 Rails 3 CMS. == Installation 1. Include the gem and run the install generator to copy over the necessary files, then migrate. rails g e9_polls:install This will install the db migration, the JS and CSS required for the plugin to function properly, and an initializer. Modify the CSS as you see fit and the JS as required (carefully). Check out the initializer and modify if necessary. For non-Ajax fallbacks it uses the 'application' layout. This should be changed if the app doesn't use application layout as a sensible default. 2. Migrate the database. rake db:migrate 3. Finally, include the generated javascript and css (e9_polls.js and e9_polls.css) in the fashion suited to the app. 4. There is no #4. email: - travis@e9digital.com executables: [] extensions: [] extra_rdoc_files: [] files: - .gitignore - Gemfile - README.rdoc - Rakefile - app/controllers/e9_polls/polls_controller.rb - app/helpers/e9_polls/polls_helper.rb - app/models/poll.rb - app/models/poll_answer.rb - app/views/e9_polls/poll_answers/_nested_attribute_template.html.haml - app/views/e9_polls/poll_answers/_poll_answer.html.haml - app/views/e9_polls/polls/_form.html.haml - app/views/e9_polls/polls/_poll.html.haml - app/views/e9_polls/polls/_results.html.haml - app/views/e9_polls/polls/_results_inner.html.haml - app/views/e9_polls/polls/_table.html.haml - app/views/e9_polls/polls/create.js.erb - app/views/e9_polls/polls/destroy.js.erb - app/views/e9_polls/polls/edit.html.haml - app/views/e9_polls/polls/index.html.haml - app/views/e9_polls/polls/index.js.erb - app/views/e9_polls/polls/new.html.haml - app/views/e9_polls/polls/results.html.haml - app/views/e9_polls/polls/show.html.haml - app/views/e9_polls/polls/update.js.erb - config/locales/en.yml - config/routes.rb - e9_polls.gemspec - e9_polls.js - lib/e9_polls.rb - lib/e9_polls/global_helper.rb - lib/e9_polls/model.rb - lib/e9_polls/version.rb - lib/generators/e9_polls/install_generator.rb - lib/generators/e9_polls/templates/initializer.rb - lib/generators/e9_polls/templates/javascript.js - lib/generators/e9_polls/templates/migration.rb - lib/generators/e9_polls/templates/stylesheet.css has_rdoc: true homepage: http://github.com/e9digital/e9_polls licenses: [] post_install_message: rdoc_options: [] require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version version: "0" required_rubygems_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version version: "0" requirements: [] rubyforge_project: e9_polls rubygems_version: 1.6.2 signing_key: specification_version: 3 summary: Polls module for the e9 Rails 3 cms test_files: []