# -*- encoding: utf-8 -*- # stub: view_models 1.5.2 ruby lib Gem::Specification.new do |s| s.name = "view_models".freeze s.version = "1.5.2".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Florian Hanke".freeze, "Kaspar Schiess".freeze, "Niko Dittmann".freeze, "Andreas Schacke".freeze] s.date = "2010-03-01" s.description = "The view models gem adds the missing R (Representation) to Rails' MVC. It provides simple proxy functionality for your models and thus helps you keep the model and view representations of a model separate, as it should be. Also, you can define helper methods on the (view) model instead of globally to keep them focused, more quickly understood and more easily testable. View Models also introduce hierarchical rendering for your hierarchical models. If the account view is not defined for the subclass FemaleUser, it checks if it is defined for User, for example, to see when there is no specific view, if there is a general view. So, in other words: Polymorphism not just in the model, but also in the view.".freeze s.email = "florian.hanke@gmail.com".freeze s.extra_rdoc_files = ["README.textile".freeze] s.files = ["CHANGELOG".freeze, "MIT-LICENSE".freeze, "README.textile".freeze, "Rakefile".freeze, "VERSION.yml".freeze, "generators/view_models/USAGE".freeze, "generators/view_models/templates/README".freeze, "generators/view_models/templates/spec/view_model_spec.rb".freeze, "generators/view_models/templates/view_models/view_model.rb".freeze, "generators/view_models/templates/views/_empty.html.haml".freeze, "generators/view_models/templates/views/view_models/collection/_collection.html.erb".freeze, "generators/view_models/templates/views/view_models/collection/_collection.html.haml".freeze, "generators/view_models/templates/views/view_models/collection/_collection.text.erb".freeze, "generators/view_models/templates/views/view_models/collection/_list.html.erb".freeze, "generators/view_models/templates/views/view_models/collection/_list.html.haml".freeze, "generators/view_models/templates/views/view_models/collection/_list.text.erb".freeze, "generators/view_models/templates/views/view_models/collection/_pagination.html.haml".freeze, "generators/view_models/templates/views/view_models/collection/_pagination.text.erb".freeze, "generators/view_models/templates/views/view_models/collection/_table.html.haml".freeze, "generators/view_models/templates/views/view_models/collection/_table.text.erb".freeze, "generators/view_models/view_models_generator.rb".freeze, "lib/extensions/active_record.rb".freeze, "lib/extensions/model_reader.rb".freeze, "lib/extensions/view.rb".freeze, "lib/helpers/collection.rb".freeze, "lib/helpers/rails.rb".freeze, "lib/helpers/view.rb".freeze, "lib/view_models.rb".freeze, "lib/view_models/base.rb".freeze, "lib/view_models/controller_extractor.rb".freeze, "lib/view_models/path_store.rb".freeze, "lib/view_models/render_options.rb".freeze, "lib/view_models/view.rb".freeze, "rails/init.rb".freeze, "spec/integration/integration_spec.rb".freeze, "spec/integration/models/sub_subclass.rb".freeze, "spec/integration/models/subclass.rb".freeze, "spec/integration/view_models/project.rb".freeze, "spec/integration/view_models/sub_subclass.rb".freeze, "spec/integration/view_models/subclass.rb".freeze, "spec/integration/views/view_models/collection/_collection.html.erb".freeze, "spec/integration/views/view_models/collection/_collection.text.erb".freeze, "spec/integration/views/view_models/collection/_list.html.erb".freeze, "spec/integration/views/view_models/collection/_list.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_capture_in_template.erb".freeze, "spec/integration/views/view_models/sub_subclass/_capture_in_view_model.erb".freeze, "spec/integration/views/view_models/sub_subclass/_collection_example.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/_collection_example.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_collection_item.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/_collection_item.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_exists.erb".freeze, "spec/integration/views/view_models/sub_subclass/_exists.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/_exists.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_exists_in_both.erb".freeze, "spec/integration/views/view_models/sub_subclass/_inner.also_explicit.erb".freeze, "spec/integration/views/view_models/sub_subclass/_inner.nesting.erb".freeze, "spec/integration/views/view_models/sub_subclass/_list_example.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/_list_example.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_list_item.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/_list_item.text.erb".freeze, "spec/integration/views/view_models/sub_subclass/_outer.explicit.erb".freeze, "spec/integration/views/view_models/sub_subclass/_outer.nesting.erb".freeze, "spec/integration/views/view_models/sub_subclass/_part_that_is_dependent_on_the_view_model.erb".freeze, "spec/integration/views/view_models/sub_subclass/show.html.erb".freeze, "spec/integration/views/view_models/sub_subclass/show.text.erb".freeze, "spec/integration/views/view_models/subclass/_exists_in_both.erb".freeze, "spec/integration/views/view_models/subclass/_no_sub_subclass.erb".freeze, "spec/integration/views/view_models/subclass/_not_found_in_sub_subclass.erb".freeze, "spec/lib/extensions/active_record_spec.rb".freeze, "spec/lib/extensions/model_reader_spec.rb".freeze, "spec/lib/helpers/collection_spec.rb".freeze, "spec/lib/helpers/rails_spec.rb".freeze, "spec/lib/helpers/view_spec.rb".freeze, "spec/lib/view_models/base_spec.rb".freeze, "spec/lib/view_models/view_spec.rb".freeze, "spec/spec_helper.rb".freeze, "spec/spec_helper_extensions.rb".freeze] s.homepage = "http://floere.github.com/view_models".freeze s.rdoc_options = ["--inline-source".freeze, "--charset=UTF-8".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "A model proxy for Rails views. Helps you keep the representation of a model and the model itself separate.".freeze s.test_files = ["spec/integration/integration_spec.rb".freeze, "spec/integration/models/sub_subclass.rb".freeze, "spec/integration/models/subclass.rb".freeze, "spec/integration/view_models/project.rb".freeze, "spec/integration/view_models/sub_subclass.rb".freeze, "spec/integration/view_models/subclass.rb".freeze, "spec/lib/extensions/active_record_spec.rb".freeze, "spec/lib/extensions/model_reader_spec.rb".freeze, "spec/lib/helpers/collection_spec.rb".freeze, "spec/lib/helpers/rails_spec.rb".freeze, "spec/lib/helpers/view_spec.rb".freeze, "spec/lib/view_models/base_spec.rb".freeze, "spec/lib/view_models/view_spec.rb".freeze, "spec/spec_helper.rb".freeze, "spec/spec_helper_extensions.rb".freeze] end