# Gem::Specification for Hobo-0.8 # Originally generated by Echoe Gem::Specification.new do |s| s.name = %q{hobo} s.version = "0.8" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Tom Locke"] s.date = %q{2008-09-03} s.default_executable = %q{hobo} s.description = %q{The web app builder for Rails} s.email = %q{tom@tomlocke.com} s.executables = ["hobo"] s.extra_rdoc_files = ["bin/hobo", "lib/action_view_extensions/helpers/tag_helper.rb", "lib/active_record/association_collection.rb", "lib/active_record/association_proxy.rb", "lib/active_record/association_reflection.rb", "lib/extensions/test_case.rb", "lib/hobo/authentication_support.rb", "lib/hobo/bundle.rb", "lib/hobo/composite_model.rb", "lib/hobo/controller.rb", "lib/hobo/dev_controller.rb", "lib/hobo/dryml/dryml_builder.rb", "lib/hobo/dryml/dryml_generator.rb", "lib/hobo/dryml/dryml_support_controller.rb", "lib/hobo/dryml/parser/attribute.rb", "lib/hobo/dryml/parser/base_parser.rb", "lib/hobo/dryml/parser/document.rb", "lib/hobo/dryml/parser/element.rb", "lib/hobo/dryml/parser/elements.rb", "lib/hobo/dryml/parser/source.rb", "lib/hobo/dryml/parser/text.rb", "lib/hobo/dryml/parser/tree_parser.rb", "lib/hobo/dryml/parser.rb", "lib/hobo/dryml/part_context.rb", "lib/hobo/dryml/scoped_variables.rb", "lib/hobo/dryml/tag_parameters.rb", "lib/hobo/dryml/taglib.rb", "lib/hobo/dryml/template.rb", "lib/hobo/dryml/template_environment.rb", "lib/hobo/dryml/template_handler.rb", "lib/hobo/dryml.rb", "lib/hobo/find_for.rb", "lib/hobo/generator.rb", "lib/hobo/guest.rb", "lib/hobo/hobo_helper.rb", "lib/hobo/include_in_save.rb", "lib/hobo/lifecycles/actions.rb", "lib/hobo/lifecycles/creator.rb", "lib/hobo/lifecycles/lifecycle.rb", "lib/hobo/lifecycles/state.rb", "lib/hobo/lifecycles/transition.rb", "lib/hobo/lifecycles.rb", "lib/hobo/model.rb", "lib/hobo/model_controller.rb", "lib/hobo/model_router.rb", "lib/hobo/model_support.rb", "lib/hobo/rapid_helper.rb", "lib/hobo/scopes/apply_scopes.rb", "lib/hobo/scopes/association_proxy_extensions.rb", "lib/hobo/scopes/automatic_scopes.rb", "lib/hobo/scopes/named_scope_extensions.rb", "lib/hobo/scopes.rb", "lib/hobo/static_tags", "lib/hobo/undefined.rb", "lib/hobo/undefined_access_error.rb", "lib/hobo/user.rb", "lib/hobo/user_controller.rb", "lib/hobo.rb", "LICENSE.txt", "README", "tasks/environments.rake", "tasks/fix_dryml.rake", "tasks/generate_tag_reference.rb", "tasks/hobo_tasks.rake"] s.files = ["bin/hobo", "CHANGES.txt", "dryml_generators/rapid/cards.dryml.erb", "dryml_generators/rapid/forms.dryml.erb", "dryml_generators/rapid/pages.dryml.erb", "init.rb", "lib/action_view_extensions/helpers/tag_helper.rb", "lib/active_record/association_collection.rb", "lib/active_record/association_proxy.rb", "lib/active_record/association_reflection.rb", "lib/extensions/test_case.rb", "lib/hobo/authentication_support.rb", "lib/hobo/bundle.rb", "lib/hobo/composite_model.rb", "lib/hobo/controller.rb", "lib/hobo/dev_controller.rb", "lib/hobo/dryml/dryml_builder.rb", "lib/hobo/dryml/dryml_generator.rb", "lib/hobo/dryml/dryml_support_controller.rb", "lib/hobo/dryml/parser/attribute.rb", "lib/hobo/dryml/parser/base_parser.rb", "lib/hobo/dryml/parser/document.rb", "lib/hobo/dryml/parser/element.rb", "lib/hobo/dryml/parser/elements.rb", "lib/hobo/dryml/parser/source.rb", "lib/hobo/dryml/parser/text.rb", "lib/hobo/dryml/parser/tree_parser.rb", "lib/hobo/dryml/parser.rb", "lib/hobo/dryml/part_context.rb", "lib/hobo/dryml/scoped_variables.rb", "lib/hobo/dryml/tag_parameters.rb", "lib/hobo/dryml/taglib.rb", "lib/hobo/dryml/template.rb", "lib/hobo/dryml/template_environment.rb", "lib/hobo/dryml/template_handler.rb", "lib/hobo/dryml.rb", "lib/hobo/find_for.rb", "lib/hobo/generator.rb", "lib/hobo/guest.rb", "lib/hobo/hobo_helper.rb", "lib/hobo/include_in_save.rb", "lib/hobo/lifecycles/actions.rb", "lib/hobo/lifecycles/creator.rb", "lib/hobo/lifecycles/lifecycle.rb", "lib/hobo/lifecycles/state.rb", "lib/hobo/lifecycles/transition.rb", "lib/hobo/lifecycles.rb", "lib/hobo/model.rb", "lib/hobo/model_controller.rb", "lib/hobo/model_router.rb", "lib/hobo/model_support.rb", "lib/hobo/rapid_helper.rb", "lib/hobo/scopes/apply_scopes.rb", "lib/hobo/scopes/association_proxy_extensions.rb", "lib/hobo/scopes/automatic_scopes.rb", "lib/hobo/scopes/named_scope_extensions.rb", "lib/hobo/scopes.rb", "lib/hobo/static_tags", "lib/hobo/undefined.rb", "lib/hobo/undefined_access_error.rb", "lib/hobo/user.rb", "lib/hobo/user_controller.rb", "lib/hobo.rb", "LICENSE.txt", "Manifest", "rails_generators/hobo/hobo_generator.rb", "rails_generators/hobo/templates/application.css", "rails_generators/hobo/templates/application.dryml", "rails_generators/hobo/templates/dryml-support.js", "rails_generators/hobo/templates/guest.rb", "rails_generators/hobo/templates/initializer.rb", "rails_generators/hobo_front_controller/hobo_front_controller_generator.rb", "rails_generators/hobo_front_controller/templates/controller.rb", "rails_generators/hobo_front_controller/templates/functional_test.rb", "rails_generators/hobo_front_controller/templates/helper.rb", "rails_generators/hobo_front_controller/templates/index.dryml", "rails_generators/hobo_front_controller/USAGE", "rails_generators/hobo_model/hobo_model_generator.rb", "rails_generators/hobo_model/templates/fixtures.yml", "rails_generators/hobo_model/templates/model.rb", "rails_generators/hobo_model/templates/unit_test.rb", "rails_generators/hobo_model/USAGE", "rails_generators/hobo_model_controller/hobo_model_controller_generator.rb", "rails_generators/hobo_model_controller/templates/controller.rb", "rails_generators/hobo_model_controller/templates/functional_test.rb", "rails_generators/hobo_model_controller/templates/helper.rb", "rails_generators/hobo_model_controller/USAGE", "rails_generators/hobo_model_resource/hobo_model_resource_generator.rb", "rails_generators/hobo_model_resource/templates/controller.rb", "rails_generators/hobo_model_resource/templates/functional_test.rb", "rails_generators/hobo_model_resource/templates/helper.rb", "rails_generators/hobo_rapid/hobo_rapid_generator.rb", "rails_generators/hobo_rapid/templates/blank.gif", "rails_generators/hobo_rapid/templates/hobo-rapid.css", "rails_generators/hobo_rapid/templates/hobo-rapid.js", "rails_generators/hobo_rapid/templates/IE7.js", "rails_generators/hobo_rapid/templates/lowpro.js", "rails_generators/hobo_rapid/templates/nicedit.js", "rails_generators/hobo_rapid/templates/nicEditorIcons.gif", "rails_generators/hobo_rapid/templates/reset.css", "rails_generators/hobo_rapid/templates/themes/clean/public/images/fieldbg.gif", "rails_generators/hobo_rapid/templates/themes/clean/public/images/pencil.png", "rails_generators/hobo_rapid/templates/themes/clean/public/images/small_close.png", "rails_generators/hobo_rapid/templates/themes/clean/public/images/spinner.gif", "rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/clean.css", "rails_generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css", "rails_generators/hobo_rapid/templates/themes/clean/views/clean.dryml", "rails_generators/hobo_subsite/hobo_subsite_generator.rb", "rails_generators/hobo_subsite/templates/application.dryml", "rails_generators/hobo_subsite/templates/controller.rb", "rails_generators/hobo_subsite/templates/site_taglib.dryml", "rails_generators/hobo_user_controller/hobo_user_controller_generator.rb", "rails_generators/hobo_user_controller/templates/controller.rb", "rails_generators/hobo_user_controller/templates/functional_test.rb", "rails_generators/hobo_user_controller/templates/helper.rb", "rails_generators/hobo_user_controller/USAGE", "rails_generators/hobo_user_model/hobo_user_model_generator.rb", "rails_generators/hobo_user_model/templates/fixtures.yml", "rails_generators/hobo_user_model/templates/forgot_password.erb", "rails_generators/hobo_user_model/templates/mailer.rb", "rails_generators/hobo_user_model/templates/model.rb", "rails_generators/hobo_user_model/templates/unit_test.rb", "rails_generators/hobo_user_model/USAGE", "README", "script/destroy", "script/generate", "taglibs/core.dryml", "taglibs/rapid.dryml", "taglibs/rapid_document_tags.dryml", "taglibs/rapid_editing.dryml", "taglibs/rapid_forms.dryml", "taglibs/rapid_generics.dryml", "taglibs/rapid_lifecycles.dryml", "taglibs/rapid_navigation.dryml", "taglibs/rapid_pages.dryml", "taglibs/rapid_plus.dryml", "taglibs/rapid_support.dryml", "taglibs/rapid_user_pages.dryml", "tasks/environments.rake", "tasks/fix_dryml.rake", "tasks/generate_tag_reference.rb", "tasks/hobo_tasks.rake", "test/test_generator_helper.rb", "test/test_helper.rb", "test/test_hobo_model_controller_generator.rb", "uninstall.rb", "hobo.gemspec"] s.has_rdoc = true s.homepage = %q{http://hobocentral.net/} s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hobo", "--main", "README"] s.require_paths = ["lib"] s.rubyforge_project = %q{hobo} s.rubygems_version = %q{1.2.0} s.summary = %q{The web app builder for Rails} s.test_files = ["test/test_generator_helper.rb", "test/test_helper.rb", "test/test_hobo_model_controller_generator.rb"] if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 2 if current_version >= 3 then s.add_runtime_dependency(%q, [">= 0.8"]) s.add_runtime_dependency(%q, [">= 0.8"]) s.add_runtime_dependency(%q, ["= 2.1"]) s.add_runtime_dependency(%q, [">= 2.2.1"]) else s.add_dependency(%q, [">= 0.8"]) s.add_dependency(%q, [">= 0.8"]) s.add_dependency(%q, ["= 2.1"]) s.add_dependency(%q, [">= 2.2.1"]) end else s.add_dependency(%q, [">= 0.8"]) s.add_dependency(%q, [">= 0.8"]) s.add_dependency(%q, ["= 2.1"]) s.add_dependency(%q, [">= 2.2.1"]) end end # # Original Rakefile source (requires the Echoe gem): # # require 'rake' # require 'rake/rdoctask' # require 'rake/testtask' # # load "tasks/generate_tag_reference.rb" # # desc 'Default: run specs.' # task :default => :spec # # desc 'Generate documentation for the Hobo plugin.' # Rake::RDocTask.new(:rdoc) do |rdoc| # rdoc.rdoc_dir = 'rdoc' # rdoc.title = 'Hobo' # rdoc.options << '--line-numbers' << '--inline-source' # rdoc.rdoc_files.include('README') # rdoc.rdoc_files.include('lib/**/*.rb') # end # # require 'echoe' # # Echoe.new('hobo') do |p| # p.author = "Tom Locke" # p.email = "tom@tomlocke.com" # p.summary = "The web app builder for Rails" # p.url = "http://hobocentral.net/" # p.project = "hobo" # # p.changelog = "CHANGES.txt" # p.version = "0.8" # # p.dependencies = [ # 'hobosupport >=0.8', # 'hobofields >=0.8', # 'rails =2.1', # 'mislav-will_paginate >=2.2.1'] # end # # # # # # --- RSpec --- # # # # In rails 1.2, plugins aren't available in the path until they're loaded. # # Check to see if the rspec plugin is installed first and require # # it if it is. If not, use the gem version. # PLUGIN_DIR = File.dirname(__FILE__) # # rspec_base = File.expand_path(PLUGIN_DIR + '/spec/rails_root/vendor/plugins/rspec/lib') # $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base) # require '../hobo_spec/rails_root/vendor/plugins/rspec/lib/spec/rake/spectask' # require '../hobo_spec/rails_root/vendor/plugins/rspec/lib/spec/translator' # # spec_prereq = :noop # File.exist?(File.join(PLUGIN_DIR, 'config', 'database.yml')) ? "db:test:prepare" : :noop # task :noop do # end # # task :stats => "spec:statsetup" # # SPEC_HOME = "#{PLUGIN_DIR}/../hobo_spec" # # desc "Run all specs in spec directory (excluding plugin specs)" # Spec::Rake::SpecTask.new(:spec => spec_prereq) do |t| # t.spec_opts = ['--options', "\"#{SPEC_HOME}/spec.opts\""] # t.spec_files = FileList["#{SPEC_HOME}/unit/**/*_spec.rb"] # end # # namespace :spec do # desc "Run all specs in spec directory with RCov (excluding plugin specs)" # Spec::Rake::SpecTask.new(:rcov) do |t| # t.spec_opts = ['--options', "\"#{SPEC_HOME}/spec.opts\""] # t.spec_files = FileList["#{SPEC_HOME}/unit/**/*_spec.rb"] # t.rcov = true # t.rcov_opts = ['--exclude', 'spec', '--rails'] # end # # desc "Print Specdoc for all specs (excluding plugin specs)" # Spec::Rake::SpecTask.new(:doc) do |t| # t.spec_opts = ["--format", "specdoc", "--dry-run"] # t.spec_files = FileList["#{SPEC_HOME}/unit/**/*_spec.rb"] # end # # [:models, :controllers, :views, :helpers].each do |sub| # desc "Run the specs under spec/#{sub}" # Spec::Rake::SpecTask.new(sub => spec_prereq) do |t| # t.spec_opts = ['--options', "\"#{SPEC_HOME}/spec.opts\""] # t.spec_files = FileList["#{SPEC_HOME}/#{sub}/**/*_spec.rb"] # end # end # # # Setup specs for stats # task :statsetup do # require 'code_statistics' # ::STATS_DIRECTORIES << %w(Model\ specs spec/models) # ::STATS_DIRECTORIES << %w(View\ specs spec/views) # ::STATS_DIRECTORIES << %w(Controller\ specs spec/controllers) # ::STATS_DIRECTORIES << %w(Helper\ specs spec/views) # ::CodeStatistics::TEST_TYPES << "Model specs" # ::CodeStatistics::TEST_TYPES << "View specs" # ::CodeStatistics::TEST_TYPES << "Controller specs" # ::CodeStatistics::TEST_TYPES << "Helper specs" # ::STATS_DIRECTORIES.delete_if {|a| a[0] =~ /test/} # end # # namespace :db do # namespace :fixtures do # desc "Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y" # task :load => :environment do # require 'active_record/fixtures' # ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym) # (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(SPEC_HOME, 'fixtures', '*.{yml,csv}'))).each do |fixture_file| # Fixtures.create_fixtures("#{SPEC_HOME}/fixtures", File.basename(fixture_file, '.*')) # end # end # end # end # end