--- !ruby/object:Gem::Specification name: view_models version: !ruby/object:Gem::Version prerelease: true segments: - 2 - 0 - 0 - ruby19 version: 2.0.0.ruby19 platform: ruby authors: - Florian Hanke - Kaspar Schiess - Niko Dittmann - Andreas Schacke autorequire: bindir: bin cert_chain: [] date: 2010-07-19 00:00:00 +02:00 default_executable: dependencies: - !ruby/object:Gem::Dependency name: activesupport prerelease: false requirement: &id001 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 2 - 2 - 0 version: 2.2.0 type: :runtime version_requirements: *id001 - !ruby/object:Gem::Dependency name: rspec prerelease: false requirement: &id002 !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 1 - 2 - 9 version: 1.2.9 type: :development version_requirements: *id002 description: "For Padrino and Rails 2 views. Adds the missing R (Representation) to Rails' MVC. Provides simple proxy functionality for your models, thus helps you keep the model and view representation separate. Define focused helper methods on the (view) model, more quickly understood and more easily testable. Also: Hierarchical rendering for your hierarchical models. So, in a nutshell: Polymorphism not just in the model, but also in the view. Have fun!" email: florian.hanke@gmail.com executables: [] extensions: [] extra_rdoc_files: [] files: - lib/init.rb - lib/padrino/README.textile - lib/padrino/init.rb - lib/padrino/lib/helpers/collection.rb - lib/padrino/lib/padrino/view_models.rb - lib/padrino/lib/view_models/base.rb - lib/rails2/README.textile - lib/rails2/TODO.textile - lib/rails2/generators/view_models/templates/README - lib/rails2/generators/view_models/templates/spec/view_model_spec.rb - lib/rails2/generators/view_models/templates/view_models/view_model.rb - lib/rails2/generators/view_models/templates/views/_empty.html.haml - lib/rails2/generators/view_models/templates/views/view_models/collection/_collection.html.erb - lib/rails2/generators/view_models/templates/views/view_models/collection/_collection.html.haml - lib/rails2/generators/view_models/templates/views/view_models/collection/_collection.text.erb - lib/rails2/generators/view_models/templates/views/view_models/collection/_list.html.erb - lib/rails2/generators/view_models/templates/views/view_models/collection/_list.text.erb - lib/rails2/generators/view_models/templates/views/view_models/collection/_pagination.html.haml - lib/rails2/generators/view_models/templates/views/view_models/collection/_pagination.text.erb - lib/rails2/generators/view_models/templates/views/view_models/collection/_table.html.haml - lib/rails2/generators/view_models/templates/views/view_models/collection/_table.text.erb - lib/rails2/generators/view_models/USAGE - lib/rails2/generators/view_models/view_models_generator.rb - lib/rails2/init.rb - lib/rails2/lib/experimental/modules_in_render_hierarchy.rb - lib/rails2/lib/extensions/view.rb - lib/rails2/lib/helpers/collection.rb - lib/rails2/lib/helpers/view.rb - lib/rails2/lib/view_models/base.rb - lib/rails2/lib/view_models/view.rb - lib/rails2/lib/view_models.rb - lib/shared/README.textile - lib/shared/init.rb - lib/shared/lib/view_models/base.rb - lib/shared/lib/view_models/context_extractor.rb - lib/shared/lib/view_models/extensions/active_record.rb - lib/shared/lib/view_models/extensions/model_reader.rb - lib/shared/lib/view_models/helpers/collection.rb - lib/shared/lib/view_models/helpers/mapping.rb - lib/shared/lib/view_models/path_store.rb - lib/shared/lib/view_models/render_options.rb - lib/shared/lib/view_models.rb - lib/view_models.rb has_rdoc: true homepage: http://floere.github.com/view_models licenses: [] post_install_message: rdoc_options: - --inline-source - --charset=UTF-8 require_paths: - lib required_ruby_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" required_rubygems_version: !ruby/object:Gem::Requirement none: false requirements: - - ">=" - !ruby/object:Gem::Version segments: - 0 version: "0" requirements: [] rubyforge_project: rubygems_version: 1.3.7 signing_key: specification_version: 3 summary: A model proxy for Rails views. Helps you keep the representation of a model and the model itself separate. test_files: []