├── public ├── favicon.ico ├── javascripts │ ├── jquery.js │ └── application.js ├── images │ ├── rails.png │ └── sake.gif └── robots.txt ├── test ├── models ├── controllers ├── fixtures │ └── tasks │ │ ├── version.task │ │ ├── spec.task │ │ ├── testing.task │ │ ├── production.task │ │ ├── gems_find.task │ │ ├── pastie_patch.task │ │ └── yaml_to_spec.task └── functional │ └── favorites_controller_test.rb ├── vendor ├── plugins │ ├── cache_fu │ │ ├── CHANGELOG │ │ ├── lib │ │ │ └── acts_as_cached │ │ │ │ ├── cache_methods.rb │ │ │ │ └── recipes.rb │ │ └── README │ ├── will_paginate │ │ ├── .gitignore │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── user.rb │ │ │ │ ├── admin.rb │ │ │ │ ├── projects.yml │ │ │ │ ├── reply.rb │ │ │ │ ├── topic.rb │ │ │ │ ├── developers_projects.yml │ │ │ │ └── developer.rb │ │ │ ├── console │ │ │ ├── lib │ │ │ │ ├── html_inner_text.rb │ │ │ │ └── load_fixtures.rb │ │ │ └── database.yml │ │ └── init.rb │ ├── acts_as_sphinx │ │ ├── init.rb │ │ ├── install.rb │ │ └── README │ ├── attachment_fu │ │ ├── test │ │ │ ├── fixtures │ │ │ │ └── files │ │ │ │ │ ├── foo.txt │ │ │ │ │ ├── rails.png │ │ │ │ │ └── fake │ │ │ │ │ └── rails.png │ │ │ └── database.yml │ │ ├── .gitignore │ │ ├── install.rb │ │ └── amazon_s3.yml.tpl │ ├── bj │ │ ├── uninstall.rb │ │ ├── HISTORY │ │ ├── lib │ │ │ ├── bj │ │ │ │ └── errors.rb │ │ │ ├── main │ │ │ │ └── softspoken.rb │ │ │ └── orderedautohash.rb │ │ ├── tasks │ │ │ └── bj_tasks.rake │ │ └── test │ │ │ └── bj_test.rb │ ├── fixture_scenarios │ │ ├── install.rb │ │ ├── uninstall.rb │ │ ├── History.txt │ │ ├── init.rb │ │ └── test │ │ │ └── fixture_scenarios_test.rb │ ├── simply_versioned │ │ ├── init.rb │ │ ├── install.rb │ │ ├── uninstall.rb │ │ ├── rdoc │ │ │ └── created.rid │ │ ├── tasks │ │ │ └── simply_versioned_tasks.rake │ │ └── generators │ │ │ └── simply_versioned_migration │ │ │ └── simply_versioned_migration_generator.rb │ ├── exception_logger │ │ ├── uninstall.rb │ │ ├── install.rb │ │ ├── init.rb │ │ ├── views │ │ │ └── logged_exceptions │ │ │ │ ├── destroy.rjs │ │ │ │ ├── destroy_all.rjs │ │ │ │ ├── show.rjs │ │ │ │ ├── query.rjs │ │ │ │ └── _feed.rhtml │ │ ├── tasks │ │ │ └── exception_logger_tasks.rake │ │ └── test │ │ │ └── exception_logger_test.rb │ ├── form_test_helper │ │ ├── uninstall.rb │ │ ├── install.rb │ │ ├── TODO │ │ ├── test │ │ │ └── fixtures │ │ │ │ └── controllers │ │ │ │ ├── other_controller.rb │ │ │ │ └── admin │ │ │ │ └── namespaced_controller.rb │ │ ├── tasks │ │ │ └── form_test_helper_tasks.rake │ │ └── init.rb │ ├── association_pagination │ │ ├── init.rb │ │ └── lib │ │ │ └── association_pagination.rb │ ├── validates_email_veracity_of │ │ ├── init.rb │ │ └── test │ │ │ ├── rails_root │ │ │ ├── config │ │ │ │ ├── environments │ │ │ │ │ ├── mysql.rb │ │ │ │ │ ├── sqlite.rb │ │ │ │ │ ├── postgresql.rb │ │ │ │ │ └── sqlite3.rb │ │ │ │ └── environment.rb │ │ │ ├── app │ │ │ │ ├── models │ │ │ │ │ ├── email.rb │ │ │ │ │ ├── email_mx_only.rb │ │ │ │ │ ├── email_timeout.rb │ │ │ │ │ ├── email_skip_remote.rb │ │ │ │ │ ├── email_fail_on_timeout.rb │ │ │ │ │ └── email_invalid_domains.rb │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ └── controllers │ │ │ │ │ └── application.rb │ │ │ ├── script │ │ │ │ ├── console │ │ │ │ └── runner │ │ │ ├── vendor │ │ │ │ └── plugins │ │ │ │ │ └── phone_validation │ │ │ │ │ └── init.rb │ │ │ ├── validates_email_veracity_of_test.sqlite3.db │ │ │ ├── db │ │ │ │ └── migrate │ │ │ │ │ └── 001_create_emails.rb │ │ │ └── Rakefile │ │ │ └── fixtures │ │ │ └── email.yml │ ├── restful_authentication │ │ ├── install.rb │ │ └── generators │ │ │ └── authenticated │ │ │ ├── USAGE │ │ │ └── templates │ │ │ ├── helper.rb │ │ │ ├── model_helper.rb │ │ │ ├── activation.html.erb │ │ │ ├── signup_notification.html.erb │ │ │ └── observer.rb │ ├── hubahuba │ │ ├── init.rb │ │ └── lib │ │ │ ├── string.rb │ │ │ ├── enumerable.rb │ │ │ └── rails.rb │ ├── auto_migrations │ │ ├── init.rb │ │ ├── test │ │ │ └── auto_migrations_test.rb │ │ └── tasks │ │ │ └── auto_migrations_tasks.rake │ ├── fixture_scenarios_builder │ │ ├── install.rb │ │ ├── init.rb │ │ ├── lib │ │ │ └── fixture_scenarios_hack.rb │ │ └── tasks │ │ │ └── fixture_scenarios_builder_tasks.rake │ ├── test_spec_on_rails │ │ ├── test │ │ │ └── test_helper.rb │ │ ├── CHANGELOG │ │ └── lib │ │ │ └── test │ │ │ └── spec │ │ │ ├── rails │ │ │ ├── test_status.rb │ │ │ ├── test_template.rb │ │ │ ├── test_layout.rb │ │ │ └── should_validate.rb │ │ │ └── rails.rb │ └── request_timer │ │ └── init.rb ├── rails │ ├── railties │ │ ├── html │ │ │ ├── favicon.ico │ │ │ ├── images │ │ │ │ └── rails.png │ │ │ ├── javascripts │ │ │ │ └── application.js │ │ │ └── robots.txt │ │ ├── configs │ │ │ ├── empty.log │ │ │ ├── initializers │ │ │ │ ├── mime_types.rb │ │ │ │ └── inflections.rb │ │ │ └── databases │ │ │ │ └── sqlite2.yml │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── plugins │ │ │ │ │ ├── default │ │ │ │ │ │ ├── plugin_with_no_lib_dir │ │ │ │ │ │ │ └── init.rb │ │ │ │ │ │ └── stubby │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── stubby_mixin.rb │ │ │ │ │ │ │ ├── generators │ │ │ │ │ │ │ └── stubby_generator │ │ │ │ │ │ │ │ └── stubby_generator.rb │ │ │ │ │ │ │ └── init.rb │ │ │ │ │ └── alternate │ │ │ │ │ │ └── a │ │ │ │ │ │ └── generators │ │ │ │ │ │ └── a_generator │ │ │ │ │ │ └── a_generator.rb │ │ │ │ ├── lib │ │ │ │ │ └── generators │ │ │ │ │ │ ├── missing_class │ │ │ │ │ │ └── missing_class_generator.rb │ │ │ │ │ │ └── working │ │ │ │ │ │ └── working_generator.rb │ │ │ │ └── environment_with_constant.rb │ │ │ └── mocks │ │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── commands │ │ │ │ ├── about.rb │ │ │ │ ├── update.rb │ │ │ │ ├── performance │ │ │ │ │ └── request.rb │ │ │ │ ├── destroy.rb │ │ │ │ └── generate.rb │ │ │ ├── rails_generator │ │ │ │ ├── generators │ │ │ │ │ ├── components │ │ │ │ │ │ ├── mailer │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── view.rhtml │ │ │ │ │ │ │ │ ├── fixture.rhtml │ │ │ │ │ │ │ │ ├── view.erb │ │ │ │ │ │ │ │ ├── fixture.erb │ │ │ │ │ │ │ │ └── mailer.rb │ │ │ │ │ │ ├── plugin │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── init.rb │ │ │ │ │ │ │ │ ├── plugin.rb │ │ │ │ │ │ │ │ ├── install.rb │ │ │ │ │ │ │ │ ├── uninstall.rb │ │ │ │ │ │ │ │ ├── tasks.rake │ │ │ │ │ │ │ │ ├── USAGE │ │ │ │ │ │ │ │ ├── unit_test.rb │ │ │ │ │ │ │ │ ├── generator.rb │ │ │ │ │ │ │ │ └── README │ │ │ │ │ │ ├── controller │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ ├── view.html.erb │ │ │ │ │ │ │ │ ├── controller.rb │ │ │ │ │ │ │ │ └── functional_test.rb │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── model.rb │ │ │ │ │ │ │ │ ├── unit_test.rb │ │ │ │ │ │ │ │ └── migration.rb │ │ │ │ │ │ ├── resource │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ ├── controller.rb │ │ │ │ │ │ │ │ └── functional_test.rb │ │ │ │ │ │ ├── scaffold │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ └── view_show.html.erb │ │ │ │ │ │ ├── observer │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── observer.rb │ │ │ │ │ │ │ │ └── unit_test.rb │ │ │ │ │ │ ├── integration_test │ │ │ │ │ │ │ ├── templates │ │ │ │ │ │ │ │ └── integration_test.rb │ │ │ │ │ │ │ └── USAGE │ │ │ │ │ │ └── session_migration │ │ │ │ │ │ │ └── USAGE │ │ │ │ │ └── applications │ │ │ │ │ │ └── app │ │ │ │ │ │ └── USAGE │ │ │ │ └── scripts │ │ │ │ │ ├── generate.rb │ │ │ │ │ └── update.rb │ │ │ ├── railties_path.rb │ │ │ ├── rails │ │ │ │ └── version.rb │ │ │ ├── tasks │ │ │ │ ├── log.rake │ │ │ │ ├── rails.rb │ │ │ │ └── misc.rake │ │ │ └── console_sandbox.rb │ │ ├── builtin │ │ │ └── rails_info │ │ │ │ ├── rails │ │ │ │ ├── info_helper.rb │ │ │ │ └── info_controller.rb │ │ │ │ └── rails_info_controller.rb │ │ ├── bin │ │ │ ├── about │ │ │ ├── console │ │ │ ├── destroy │ │ │ ├── plugin │ │ │ ├── runner │ │ │ ├── server │ │ │ ├── generate │ │ │ ├── process │ │ │ │ ├── reaper │ │ │ │ ├── spawner │ │ │ │ └── inspector │ │ │ └── performance │ │ │ │ ├── profiler │ │ │ │ ├── request │ │ │ │ └── benchmarker │ │ ├── helpers │ │ │ ├── application_helper.rb │ │ │ └── application.rb │ │ ├── doc │ │ │ └── README_FOR_APP │ │ └── fresh_rakefile │ ├── activerecord │ │ ├── .gitignore │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── all │ │ │ │ │ ├── tasks.yml │ │ │ │ │ ├── developers.yml │ │ │ │ │ └── people.csv │ │ │ │ ├── .gitignore │ │ │ │ ├── naked │ │ │ │ │ ├── csv │ │ │ │ │ │ └── accounts.csv │ │ │ │ │ └── yml │ │ │ │ │ │ ├── accounts.yml │ │ │ │ │ │ ├── courses.yml │ │ │ │ │ │ └── companies.yml │ │ │ │ ├── fk_test_has_pk.yml │ │ │ │ ├── minimalistics.yml │ │ │ │ ├── fk_test_has_fk.yml │ │ │ │ ├── items.yml │ │ │ │ ├── warehouse-things.yml │ │ │ │ ├── legacy_things.yml │ │ │ │ ├── computers.yml │ │ │ │ ├── reserved_words │ │ │ │ │ ├── distinct.yml │ │ │ │ │ ├── select.yml │ │ │ │ │ ├── values.yml │ │ │ │ │ ├── group.yml │ │ │ │ │ └── distincts_selects.yml │ │ │ │ ├── author_addresses.yml │ │ │ │ ├── author_favorites.yml │ │ │ │ ├── vertices.yml │ │ │ │ ├── tags.yml │ │ │ │ ├── people.yml │ │ │ │ ├── ships.yml │ │ │ │ ├── courses.yml │ │ │ │ ├── movies.yml │ │ │ │ ├── mixed_case_monkeys.yml │ │ │ │ ├── owners.yml │ │ │ │ ├── books.yml │ │ │ │ ├── projects.yml │ │ │ │ ├── edges.yml │ │ │ │ ├── readers.yml │ │ │ │ ├── subscribers.yml │ │ │ │ ├── mateys.yml │ │ │ │ ├── authors.yml │ │ │ │ ├── price_estimates.yml │ │ │ │ ├── categories │ │ │ │ │ ├── subsubdir │ │ │ │ │ │ └── arbitrary_filename.yml │ │ │ │ │ └── special_categories.yml │ │ │ │ ├── funny_jokes.yml │ │ │ │ ├── categories_ordered.yml │ │ │ │ ├── treasures.yml │ │ │ │ ├── pets.yml │ │ │ │ ├── tasks.yml │ │ │ │ ├── entrants.yml │ │ │ │ ├── pirates.yml │ │ │ │ ├── categories.yml │ │ │ │ ├── parrots_pirates.yml │ │ │ │ ├── categorizations.yml │ │ │ │ ├── developers.yml │ │ │ │ ├── developers_projects.yml │ │ │ │ ├── categories_posts.yml │ │ │ │ ├── customers.yml │ │ │ │ ├── accounts.yml │ │ │ │ └── taggings.yml │ │ │ ├── schema │ │ │ │ ├── openbase.drop.sql │ │ │ │ ├── db22.drop.sql │ │ │ │ ├── sqlite2.drop.sql │ │ │ │ ├── postgresql2.drop.sql │ │ │ │ ├── openbase2.drop.sql │ │ │ │ ├── sybase2.drop.sql │ │ │ │ ├── frontbase2.drop.sql │ │ │ │ ├── firebird2.drop.sql │ │ │ │ ├── oracle2.drop.sql │ │ │ │ ├── postgresql2.sql │ │ │ │ ├── frontbase2.sql │ │ │ │ ├── db22.sql │ │ │ │ ├── sybase2.sql │ │ │ │ ├── sqlite2.sql │ │ │ │ ├── openbase2.sql │ │ │ │ ├── oracle2.sql │ │ │ │ ├── firebird2.sql │ │ │ │ └── schema2.rb │ │ │ ├── models │ │ │ │ ├── binary.rb │ │ │ │ ├── default.rb │ │ │ │ ├── task.rb │ │ │ │ ├── minimalistic.rb │ │ │ │ ├── course.rb │ │ │ │ ├── entrant.rb │ │ │ │ ├── ship.rb │ │ │ │ ├── joke.rb │ │ │ │ ├── keyboard.rb │ │ │ │ ├── legacy_thing.rb │ │ │ │ ├── pet.rb │ │ │ │ ├── owner.rb │ │ │ │ ├── reader.rb │ │ │ │ ├── column_name.rb │ │ │ │ ├── mixed_case_monkey.rb │ │ │ │ ├── movie.rb │ │ │ │ ├── computer.rb │ │ │ │ ├── price_estimate.rb │ │ │ │ ├── matey.rb │ │ │ │ ├── subject.rb │ │ │ │ ├── categorization.rb │ │ │ │ ├── auto_id.rb │ │ │ │ ├── subscriber.rb │ │ │ │ ├── warehouse_thing.rb │ │ │ │ ├── item.rb │ │ │ │ ├── book.rb │ │ │ │ ├── treasure.rb │ │ │ │ ├── order.rb │ │ │ │ ├── tag.rb │ │ │ │ ├── pirate.rb │ │ │ │ ├── edge.rb │ │ │ │ ├── person.rb │ │ │ │ ├── citation.rb │ │ │ │ ├── parrot.rb │ │ │ │ ├── vertex.rb │ │ │ │ └── tagging.rb │ │ │ ├── assets │ │ │ │ ├── example.log │ │ │ │ └── flowers.jpg │ │ │ ├── migrations │ │ │ │ ├── duplicate │ │ │ │ │ ├── 3_foo.rb │ │ │ │ │ ├── 1_people_have_last_names.rb │ │ │ │ │ ├── 2_we_need_reminders.rb │ │ │ │ │ └── 3_innocent_jointable.rb │ │ │ │ ├── missing │ │ │ │ │ ├── 1_people_have_last_names.rb │ │ │ │ │ ├── 1000_people_have_middle_names.rb │ │ │ │ │ ├── 3_we_need_reminders.rb │ │ │ │ │ └── 4_innocent_jointable.rb │ │ │ │ └── valid │ │ │ │ │ ├── 1_people_have_last_names.rb │ │ │ │ │ ├── 2_we_need_reminders.rb │ │ │ │ │ └── 3_innocent_jointable.rb │ │ │ ├── config.rb │ │ │ └── cases │ │ │ │ └── connection_test_firebird.rb │ │ ├── lib │ │ │ ├── activerecord.rb │ │ │ └── active_record │ │ │ │ └── version.rb │ │ └── examples │ │ │ └── associations.png │ ├── actionpack │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── test │ │ │ │ │ ├── _partial.erb │ │ │ │ │ ├── _hello.builder │ │ │ │ │ ├── _partial.js.erb │ │ │ │ │ ├── _partial.html.erb │ │ │ │ │ ├── _partial_only.erb │ │ │ │ │ ├── hello_world.erb │ │ │ │ │ ├── _customer.erb │ │ │ │ │ ├── _form.erb │ │ │ │ │ ├── greeting.erb │ │ │ │ │ ├── formatted_html_erb.html.erb │ │ │ │ │ ├── formatted_xml_erb.builder │ │ │ │ │ ├── hello_world_with_layout_false.erb │ │ │ │ │ ├── greeting.js.rjs │ │ │ │ │ ├── _labelling_form.erb │ │ │ │ │ ├── _person.erb │ │ │ │ │ ├── render_file_with_ivar.erb │ │ │ │ │ ├── render_file_with_locals.erb │ │ │ │ │ ├── formatted_xml_erb.html.erb │ │ │ │ │ ├── formatted_xml_erb.xml.erb │ │ │ │ │ ├── _customer_greeting.erb │ │ │ │ │ ├── _hash_greeting.erb │ │ │ │ │ ├── _partial_for_use_in_layout.html.erb │ │ │ │ │ ├── render_to_string_test.erb │ │ │ │ │ ├── _layout_for_partial.html.erb │ │ │ │ │ ├── dot.directory │ │ │ │ │ │ └── render_file_with_ivar.erb │ │ │ │ │ ├── _customer_counter.erb │ │ │ │ │ ├── action_talk_to_layout.erb │ │ │ │ │ ├── capturing.erb │ │ │ │ │ ├── _hash_object.erb │ │ │ │ │ ├── content_for.erb │ │ │ │ │ ├── hello_world_from_rxml.builder │ │ │ │ │ ├── block_content_for.erb │ │ │ │ │ ├── content_for_with_parameter.erb │ │ │ │ │ ├── delete_with_js.rjs │ │ │ │ │ ├── erb_content_for.erb │ │ │ │ │ ├── hello.builder │ │ │ │ │ ├── hello_world_container.builder │ │ │ │ │ ├── content_for_concatenated.erb │ │ │ │ │ ├── non_erb_block_content_for.builder │ │ │ │ │ ├── list.erb │ │ │ │ │ ├── using_layout_around_block.html.erb │ │ │ │ │ ├── calling_partial_with_layout.html.erb │ │ │ │ │ ├── potential_conflicts.erb │ │ │ │ │ ├── hello_xml_world.builder │ │ │ │ │ ├── enum_rjs_test.rjs │ │ │ │ │ └── update_element_with_capture.erb │ │ │ │ ├── public │ │ │ │ │ ├── javascripts │ │ │ │ │ │ ├── application.js │ │ │ │ │ │ ├── bank.js │ │ │ │ │ │ └── robber.js │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 500.html │ │ │ │ │ ├── stylesheets │ │ │ │ │ │ ├── bank.css │ │ │ │ │ │ └── robber.css │ │ │ │ │ └── images │ │ │ │ │ │ └── rails.png │ │ │ │ ├── topics │ │ │ │ │ └── _topic.html.erb │ │ │ │ ├── layout_tests │ │ │ │ │ ├── views │ │ │ │ │ │ └── hello.rhtml │ │ │ │ │ ├── alt │ │ │ │ │ │ └── hello.rhtml │ │ │ │ │ └── layouts │ │ │ │ │ │ ├── item.rhtml │ │ │ │ │ │ ├── third_party_template_library.mab │ │ │ │ │ │ ├── layout_test.rhtml │ │ │ │ │ │ ├── multiple_extensions.html.erb │ │ │ │ │ │ └── controller_name_space │ │ │ │ │ │ └── nested.rhtml │ │ │ │ ├── post_test │ │ │ │ │ ├── post │ │ │ │ │ │ ├── index.html.erb │ │ │ │ │ │ └── index.iphone.erb │ │ │ │ │ ├── super_post │ │ │ │ │ │ ├── index.html.erb │ │ │ │ │ │ └── index.iphone.erb │ │ │ │ │ └── layouts │ │ │ │ │ │ ├── post.html.erb │ │ │ │ │ │ └── super_post.iphone.erb │ │ │ │ ├── fun │ │ │ │ │ └── games │ │ │ │ │ │ └── hello_world.erb │ │ │ │ ├── override2 │ │ │ │ │ └── layouts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── sub.erb │ │ │ │ ├── respond_to │ │ │ │ │ ├── using_defaults.html.erb │ │ │ │ │ ├── using_defaults.xml.builder │ │ │ │ │ ├── using_defaults_with_type_list.html.erb │ │ │ │ │ ├── custom_constant_handling_without_block.mobile.erb │ │ │ │ │ ├── using_defaults.js.rjs │ │ │ │ │ ├── all_types_with_layout.html.erb │ │ │ │ │ ├── using_defaults_with_type_list.xml.builder │ │ │ │ │ ├── all_types_with_layout.js.rjs │ │ │ │ │ ├── iphone_with_html_response_type.html.erb │ │ │ │ │ ├── layouts │ │ │ │ │ │ ├── standard.html.erb │ │ │ │ │ │ ├── missing.html.erb │ │ │ │ │ │ └── standard.iphone.erb │ │ │ │ │ ├── using_defaults_with_type_list.js.rjs │ │ │ │ │ └── iphone_with_html_response_type.iphone.erb │ │ │ │ ├── scope │ │ │ │ │ └── test │ │ │ │ │ │ └── modgreet.erb │ │ │ │ ├── addresses │ │ │ │ │ └── list.erb │ │ │ │ ├── override │ │ │ │ │ └── test │ │ │ │ │ │ └── hello_world.erb │ │ │ │ ├── content_type │ │ │ │ │ ├── render_default_for_rhtml.rhtml │ │ │ │ │ ├── render_default_for_rjs.rjs │ │ │ │ │ ├── render_default_for_rxml.rxml │ │ │ │ │ └── render_default_content_types_for_respond_to.rhtml │ │ │ │ ├── customers │ │ │ │ │ └── _customer.html.erb │ │ │ │ ├── layouts │ │ │ │ │ ├── yield.erb │ │ │ │ │ ├── builder.builder │ │ │ │ │ ├── standard.erb │ │ │ │ │ ├── talk_from_action.erb │ │ │ │ │ ├── partial_with_layout.erb │ │ │ │ │ └── block_with_layout.erb │ │ │ │ ├── helpers │ │ │ │ │ ├── fun │ │ │ │ │ │ ├── pdf_helper.rb │ │ │ │ │ │ └── games_helper.rb │ │ │ │ │ └── abc_helper.rb │ │ │ │ ├── functional_caching │ │ │ │ │ ├── _partial.erb │ │ │ │ │ ├── html_fragment_cached_with_partial.html.erb │ │ │ │ │ ├── fragment_cached.html.erb │ │ │ │ │ └── js_fragment_cached_with_partial.js.rjs │ │ │ │ ├── topic.rb │ │ │ │ ├── project.rb │ │ │ │ ├── multipart │ │ │ │ │ ├── single_parameter │ │ │ │ │ ├── bracketed_param │ │ │ │ │ ├── binary_file │ │ │ │ │ ├── mixed_files │ │ │ │ │ ├── mona_lisa.jpg │ │ │ │ │ └── text_file │ │ │ │ ├── projects.yml │ │ │ │ ├── reply.rb │ │ │ │ ├── company.rb │ │ │ │ ├── developer.rb │ │ │ │ ├── developers_projects.yml │ │ │ │ ├── replies.yml │ │ │ │ ├── developers.yml │ │ │ │ └── companies.yml │ │ │ ├── controller │ │ │ │ ├── controller_fixtures │ │ │ │ │ ├── app │ │ │ │ │ │ └── controllers │ │ │ │ │ │ │ ├── user_controller.rb │ │ │ │ │ │ │ └── admin │ │ │ │ │ │ │ └── user_controller.rb │ │ │ │ │ └── vendor │ │ │ │ │ │ └── plugins │ │ │ │ │ │ └── bad_plugin │ │ │ │ │ │ └── lib │ │ │ │ │ │ └── plugin_controller.rb │ │ │ │ └── fake_models.rb │ │ │ ├── testing_sandbox.rb │ │ │ └── adv_attr_test.rb │ │ └── lib │ │ │ ├── actionpack.rb │ │ │ ├── action_controller │ │ │ ├── templates │ │ │ │ └── rescues │ │ │ │ │ ├── unknown_action.erb │ │ │ │ │ ├── missing_template.erb │ │ │ │ │ ├── routing_error.erb │ │ │ │ │ └── diagnostics.erb │ │ │ ├── session │ │ │ │ └── mem_cache_store.rb │ │ │ ├── vendor │ │ │ │ └── html-scanner │ │ │ │ │ └── html │ │ │ │ │ └── version.rb │ │ │ └── cgi_ext.rb │ │ │ └── action_pack │ │ │ └── version.rb │ ├── activesupport │ │ ├── test │ │ │ ├── dependencies │ │ │ │ ├── conflict.rb │ │ │ │ ├── service_two.rb │ │ │ │ ├── requires_nonexistent0.rb │ │ │ │ ├── requires_nonexistent1.rb │ │ │ │ ├── cross_site_depender.rb │ │ │ │ ├── check_warnings.rb │ │ │ │ ├── service_one.rb │ │ │ │ ├── mutual_one.rb │ │ │ │ ├── mutual_two.rb │ │ │ │ └── raises_exception.rb │ │ │ ├── autoloading_fixtures │ │ │ │ ├── e.rb │ │ │ │ ├── a │ │ │ │ │ ├── b.rb │ │ │ │ │ └── c │ │ │ │ │ │ ├── d.rb │ │ │ │ │ │ └── e │ │ │ │ │ │ └── f.rb │ │ │ │ ├── conflict.rb │ │ │ │ ├── application.rb │ │ │ │ ├── cross_site_dependency.rb │ │ │ │ ├── raises_name_error.rb │ │ │ │ ├── class_folder │ │ │ │ │ ├── inline_class.rb │ │ │ │ │ ├── class_folder_subclass.rb │ │ │ │ │ └── nested_class.rb │ │ │ │ ├── module_folder │ │ │ │ │ ├── inline_class.rb │ │ │ │ │ ├── nested_sibling.rb │ │ │ │ │ └── nested_class.rb │ │ │ │ ├── module_with_custom_const_missing │ │ │ │ │ └── a │ │ │ │ │ │ └── b.rb │ │ │ │ ├── class_folder.rb │ │ │ │ ├── multiple_constant_file.rb │ │ │ │ ├── raises_no_method_error.rb │ │ │ │ └── counting_loader.rb │ │ │ └── core_ext │ │ │ │ ├── symbol_test.rb │ │ │ │ ├── pathname_test.rb │ │ │ │ ├── proc_test.rb │ │ │ │ ├── bigdecimal.rb │ │ │ │ └── base64_ext_test.rb │ │ └── lib │ │ │ ├── activesupport.rb │ │ │ └── active_support │ │ │ ├── core_ext │ │ │ ├── test.rb │ │ │ ├── bigdecimal.rb │ │ │ ├── float.rb │ │ │ ├── cgi.rb │ │ │ ├── base64.rb │ │ │ ├── pathname.rb │ │ │ ├── object.rb │ │ │ ├── benchmark.rb │ │ │ ├── class.rb │ │ │ ├── kernel.rb │ │ │ ├── integer.rb │ │ │ ├── string │ │ │ │ └── xchar.rb │ │ │ ├── module │ │ │ │ ├── loading.rb │ │ │ │ └── inclusion.rb │ │ │ ├── array │ │ │ │ └── random_access.rb │ │ │ ├── range │ │ │ │ └── overlaps.rb │ │ │ ├── date │ │ │ │ └── behavior.rb │ │ │ ├── time │ │ │ │ └── behavior.rb │ │ │ ├── proc.rb │ │ │ ├── numeric.rb │ │ │ ├── date.rb │ │ │ ├── kernel │ │ │ │ └── agnostics.rb │ │ │ ├── pathname │ │ │ │ └── clean_within.rb │ │ │ ├── module.rb │ │ │ ├── object │ │ │ │ └── conversions.rb │ │ │ ├── base64 │ │ │ │ └── encoding.rb │ │ │ └── cgi │ │ │ │ └── escape_skipping_slashes.rb │ │ │ ├── json │ │ │ ├── encoders │ │ │ │ ├── numeric.rb │ │ │ │ ├── regexp.rb │ │ │ │ ├── nil_class.rb │ │ │ │ ├── true_class.rb │ │ │ │ ├── false_class.rb │ │ │ │ ├── date.rb │ │ │ │ ├── symbol.rb │ │ │ │ ├── date_time.rb │ │ │ │ ├── time.rb │ │ │ │ ├── object.rb │ │ │ │ └── enumerable.rb │ │ │ └── variable.rb │ │ │ ├── values │ │ │ └── unicode_tables.dat │ │ │ ├── core_ext.rb │ │ │ ├── version.rb │ │ │ ├── testing │ │ │ └── default.rb │ │ │ ├── multibyte.rb │ │ │ ├── cache │ │ │ └── drb_store.rb │ │ │ ├── test_case.rb │ │ │ ├── multibyte │ │ │ └── handlers │ │ │ │ └── passthru_handler.rb │ │ │ ├── vendor │ │ │ └── builder-2.1.2 │ │ │ │ └── builder.rb │ │ │ └── base64.rb │ ├── actionmailer │ │ ├── lib │ │ │ ├── actionmailer.rb │ │ │ └── action_mailer │ │ │ │ ├── vendor │ │ │ │ └── tmail-1.2.2 │ │ │ │ │ ├── tmail │ │ │ │ │ ├── loader.rb │ │ │ │ │ ├── mbox.rb │ │ │ │ │ ├── main.rb │ │ │ │ │ └── index.rb │ │ │ │ │ └── tmail.rb │ │ │ │ ├── version.rb │ │ │ │ ├── utils.rb │ │ │ │ └── vendor.rb │ │ └── test │ │ │ └── fixtures │ │ │ ├── first_mailer │ │ │ └── share.erb │ │ │ ├── second_mailer │ │ │ └── share.erb │ │ │ ├── test_mailer │ │ │ ├── _subtemplate.text.plain.erb │ │ │ ├── rxml_template.rxml │ │ │ ├── rxml_template.builder │ │ │ ├── signed_up.erb │ │ │ ├── implicitly_multipart_example.text.yaml.erb │ │ │ ├── included_subtemplate.text.plain.erb │ │ │ ├── implicitly_multipart_example.ignored.erb │ │ │ ├── implicitly_multipart_example.rhtml.bak │ │ │ ├── custom_templating_extension.text.html.haml │ │ │ ├── custom_templating_extension.text.plain.haml │ │ │ ├── implicitly_multipart_example.text.plain.erb │ │ │ ├── signed_up_with_url.erb │ │ │ └── implicitly_multipart_example.text.html.erb │ │ │ ├── templates │ │ │ └── signed_up.erb │ │ │ ├── helper_mailer │ │ │ ├── use_example_helper.erb │ │ │ ├── use_helper.erb │ │ │ ├── use_helper_method.erb │ │ │ └── use_mail_helper.erb │ │ │ ├── path.with.dots │ │ │ └── funky_path_mailer │ │ │ │ └── multipart_with_template_path_with_dots.erb │ │ │ ├── raw_base64_decoded_string │ │ │ └── helpers │ │ │ └── example_helper.rb │ ├── activeresource │ │ ├── lib │ │ │ ├── activeresource.rb │ │ │ └── active_resource │ │ │ │ ├── version.rb │ │ │ │ └── formats │ │ │ │ └── json_format.rb │ │ └── test │ │ │ ├── fixtures │ │ │ ├── person.rb │ │ │ ├── street_address.rb │ │ │ └── beast.rb │ │ │ └── abstract_unit.rb │ ├── activemodel │ │ ├── lib │ │ │ └── active_model │ │ │ │ ├── base.rb │ │ │ │ ├── validations.rb │ │ │ │ └── callbacks.rb │ │ ├── Rakefile │ │ ├── CHANGES │ │ └── spec │ │ │ └── spec_helper.rb │ └── cleanlogs.sh └── gems │ └── test-spec-0.3.0 │ ├── ROADMAP │ ├── TODO │ └── test │ └── spec_testspec_order.rb ├── app ├── helpers │ ├── users_helper.rb │ ├── tasks_helper.rb │ ├── sessions_helper.rb │ └── application_helper.rb ├── views │ ├── tasks │ │ ├── index.html.erb │ │ └── show.html.erb │ └── sessions │ │ └── new.html.erb └── controllers │ ├── favorites_controller.rb │ └── application.rb ├── db ├── development.sqlite3 └── migrate │ ├── 004_add_favorite_tasks_table.rb │ ├── 001_create_tasks.rb │ └── 003_simply_versioned_migration.rb ├── script ├── about ├── plugin ├── runner ├── server ├── console ├── destroy ├── generate ├── process │ ├── reaper │ ├── spawner │ └── inspector └── performance │ ├── profiler │ ├── request │ └── benchmarker ├── config ├── initializers │ ├── mime_types.rb │ └── inflections.rb ├── routes.rb ├── database.yml └── environments │ └── production.rb ├── lib ├── tasks │ ├── bootstrap.rake │ └── environment.rake └── authenticated_test_helper.rb ├── .gitignore ├── Rakefile └── doc └── ideas.txt /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models: -------------------------------------------------------------------------------- 1 | unit -------------------------------------------------------------------------------- /test/controllers: -------------------------------------------------------------------------------- 1 | functional -------------------------------------------------------------------------------- /test/fixtures/tasks/version.task: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/CHANGELOG: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/empty.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/javascripts/jquery.js: -------------------------------------------------------------------------------- 1 | jquery-1.2.3.min.js -------------------------------------------------------------------------------- /vendor/rails/activerecord/.gitignore: -------------------------------------------------------------------------------- 1 | debug.log -------------------------------------------------------------------------------- /app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/tasks.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/tasks_helper.rb: -------------------------------------------------------------------------------- 1 | module TasksHelper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/.gitignore: -------------------------------------------------------------------------------- 1 | /pkg 2 | /doc 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/developers.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/people.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/sessions_helper.rb: -------------------------------------------------------------------------------- 1 | module SessionsHelper 2 | end -------------------------------------------------------------------------------- /vendor/plugins/acts_as_sphinx/init.rb: -------------------------------------------------------------------------------- 1 | require "acts_as_sphinx" -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/foo.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /vendor/plugins/bj/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/actionpack.rb: -------------------------------------------------------------------------------- 1 | require 'action_pack' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hello.builder: -------------------------------------------------------------------------------- 1 | xm.hello -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 1 -------------------------------------------------------------------------------- /vendor/plugins/acts_as_sphinx/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/init.rb: -------------------------------------------------------------------------------- 1 | require 'simply_versioned' 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/actionmailer.rb: -------------------------------------------------------------------------------- 1 | require 'action_mailer' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_only.erb: -------------------------------------------------------------------------------- 1 | only partial -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/lib/activerecord.rb: -------------------------------------------------------------------------------- 1 | require 'active_record' 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml: -------------------------------------------------------------------------------- 1 | qwerty 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/openbase.drop.sql: -------------------------------------------------------------------------------- 1 | DROP ALL 2 | go -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/e.rb: -------------------------------------------------------------------------------- 1 | class E 2 | end -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb: -------------------------------------------------------------------------------- 1 | first mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/404.html: -------------------------------------------------------------------------------- 1 | 404 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/500.html: -------------------------------------------------------------------------------- 1 | 500 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js: -------------------------------------------------------------------------------- 1 | // bank js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js: -------------------------------------------------------------------------------- 1 | // robber js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb: -------------------------------------------------------------------------------- 1 | <%= topic.title %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/db22.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sqlite2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/activesupport.rb: -------------------------------------------------------------------------------- 1 | require 'active_support' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb: -------------------------------------------------------------------------------- 1 | class A::B 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 2 -------------------------------------------------------------------------------- /vendor/plugins/association_pagination/init.rb: -------------------------------------------------------------------------------- 1 | require 'association_pagination' 2 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/.gitignore: -------------------------------------------------------------------------------- 1 | test/amazon_s3.yml 2 | test/debug.log 3 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/init.rb: -------------------------------------------------------------------------------- 1 | require 'validation_extensions' -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb: -------------------------------------------------------------------------------- 1 | second mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml: -------------------------------------------------------------------------------- 1 | hello.rhtml -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello Firefox -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css: -------------------------------------------------------------------------------- 1 | /* bank.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css: -------------------------------------------------------------------------------- 1 | /* robber.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.erb: -------------------------------------------------------------------------------- 1 |

This is grand!

2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/minimalistics.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/postgresql2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/activeresource.rb: -------------------------------------------------------------------------------- 1 | require 'active_resource' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb: -------------------------------------------------------------------------------- 1 | class A::C::D 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/service_two.rb: -------------------------------------------------------------------------------- 1 | class ServiceTwo 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/rdoc/created.rid: -------------------------------------------------------------------------------- 1 | Sun, 30 Dec 2007 11:52:57 +0000 2 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/mysql.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/sqlite.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb: -------------------------------------------------------------------------------- 1 | let's go! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb: -------------------------------------------------------------------------------- 1 | Living in a nested world -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml: -------------------------------------------------------------------------------- 1 | alt/hello.rhtml 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb: -------------------------------------------------------------------------------- 1 | layout: <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb: -------------------------------------------------------------------------------- 1 | Super Firefox -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Super iPhone -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb: -------------------------------------------------------------------------------- 1 |

Beautiful modules!

-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb: -------------------------------------------------------------------------------- 1 | formatted html erb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder: -------------------------------------------------------------------------------- 1 | xml.test 'failed' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/binary.rb: -------------------------------------------------------------------------------- 1 | class Binary < ActiveRecord::Base 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/openbase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses 2 | go 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sybase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses 2 | go 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb: -------------------------------------------------------------------------------- 1 | class A::C::E::F 2 | end -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/ROADMAP: -------------------------------------------------------------------------------- 1 | Version 1.0 (February 2006):: first stable release. 2 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/postgresql.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/sqlite3.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/addresses/list.erb: -------------------------------------------------------------------------------- 1 | We only need to get this far! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml: -------------------------------------------------------------------------------- 1 | item.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello overridden world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/frontbase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses CASCADE; 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/about.rb: -------------------------------------------------------------------------------- 1 | require 'environment' 2 | puts Rails::Info 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/development.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/db/development.sqlite3 -------------------------------------------------------------------------------- /public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/public/images/rails.png -------------------------------------------------------------------------------- /public/images/sake.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/public/images/sake.gif -------------------------------------------------------------------------------- /vendor/plugins/bj/HISTORY: -------------------------------------------------------------------------------- 1 | 2 | 2007-12-18T14:19:22.86-07:00 3 | - corrected install libs 4 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab: -------------------------------------------------------------------------------- 1 | Mab -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | fk_id: 1 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/items.yml: -------------------------------------------------------------------------------- 1 | dvd: 2 | id: 1 3 | name: Godfather 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/warehouse-things.yml: -------------------------------------------------------------------------------- 1 | one: 2 | id: 1 3 | value: 1000 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/default.rb: -------------------------------------------------------------------------------- 1 | class Default < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/task.rb: -------------------------------------------------------------------------------- 1 | class Task < ActiveRecord::Base 2 | 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/application.rb: -------------------------------------------------------------------------------- 1 | ApplicationController = 10 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails/info_helper.rb: -------------------------------------------------------------------------------- 1 | module Rails::InfoHelper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml: -------------------------------------------------------------------------------- 1 | <%= 'hello world!' %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs: -------------------------------------------------------------------------------- 1 | page.alert 'hello world!' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb: -------------------------------------------------------------------------------- 1 | <%= labelling_form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_person.erb: -------------------------------------------------------------------------------- 1 | Second: <%= name %> 2 | Third: <%= @name %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model/base.rb: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | class Base 3 | end 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml: -------------------------------------------------------------------------------- 1 | # i wonder what will happen here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/railties_path.rb: -------------------------------------------------------------------------------- 1 | RAILTIES_PATH = File.join(File.dirname(__FILE__), '..') 2 | -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/TODO: -------------------------------------------------------------------------------- 1 | - see ROADMAP 2 | - better handling of .should outside of specify(?) 3 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/loader.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/mailbox' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/mbox.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/mailbox' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml: -------------------------------------------------------------------------------- 1 | layout_test.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb: -------------------------------------------------------------------------------- 1 | Mobile -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb: -------------------------------------------------------------------------------- 1 | passed formatted html erb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb: -------------------------------------------------------------------------------- 1 | passed formatted xml erb -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/minimalistic.rb: -------------------------------------------------------------------------------- 1 | class Minimalistic < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb: -------------------------------------------------------------------------------- 1 | require 'RMagickDontExistDude' 2 | -------------------------------------------------------------------------------- /vendor/rails/cleanlogs.sh: -------------------------------------------------------------------------------- 1 | rm activerecord/debug.log activerecord/test/debug.log actionpack/debug.log 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb: -------------------------------------------------------------------------------- 1 | So, <%= example_format(@text) %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/yield.erb: -------------------------------------------------------------------------------- 1 | <%= yield :title %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | HTML for all_types_with_layout -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer_greeting.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= hash_greeting[:first_name] %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb: -------------------------------------------------------------------------------- 1 | Inside from partial (<%= name %>) -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb: -------------------------------------------------------------------------------- 1 | The value of foo is: ::<%= @foo %>:: 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/legacy_things.yml: -------------------------------------------------------------------------------- 1 | obtuse: 2 | id: 1 3 | tps_report_number: 500 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/firebird2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | DROP GENERATOR courses_seq; 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/oracle2.drop.sql: -------------------------------------------------------------------------------- 1 | drop table courses; 2 | drop sequence courses_seq; 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb: -------------------------------------------------------------------------------- 1 | class CrossSiteDependency 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/environment_with_constant.rb: -------------------------------------------------------------------------------- 1 | $initialize_test_set_from_env = 'success' 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb: -------------------------------------------------------------------------------- 1 | module StubbyMixin 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/builder.builder: -------------------------------------------------------------------------------- 1 | xml.wrapper do 2 | xml << @content_for_layout 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs: -------------------------------------------------------------------------------- 1 | page << "RJS for all_types_with_layout" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb: -------------------------------------------------------------------------------- 1 | Before (<%= name %>) 2 | <%= yield %> 3 | After -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model/validations.rb: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | module Validations 3 | end 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/course.rb: -------------------------------------------------------------------------------- 1 | class Course < ActiveRecord::Base 2 | has_many :entrants 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb: -------------------------------------------------------------------------------- 1 | require_dependency 'requires_nonexistent0' 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb: -------------------------------------------------------------------------------- 1 | # Include hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb: -------------------------------------------------------------------------------- 1 | # <%= class_name %> 2 | -------------------------------------------------------------------------------- /script/about: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/about' 4 | -------------------------------------------------------------------------------- /script/plugin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/plugin' 4 | -------------------------------------------------------------------------------- /script/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' 4 | -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/server' 4 | -------------------------------------------------------------------------------- /vendor/plugins/hubahuba/init.rb: -------------------------------------------------------------------------------- 1 | Dir[File.dirname(__FILE__) + "/lib/**/*.rb"].each do |file| 2 | require file 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb: -------------------------------------------------------------------------------- 1 | Hello, <%= person_name %>. Thanks for registering! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb: -------------------------------------------------------------------------------- 1 | yaml to: <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml: -------------------------------------------------------------------------------- 1 | world -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb: -------------------------------------------------------------------------------- 1 | Hello future from <%= @type -%>! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb: -------------------------------------------------------------------------------- 1 | <%= customer_counter.name %><%= customer_counter_counter %> -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model/callbacks.rb: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | module Callbacks 3 | 4 | end 5 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/entrant.rb: -------------------------------------------------------------------------------- 1 | class Entrant < ActiveRecord::Base 2 | belongs_to :course 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/ship.rb: -------------------------------------------------------------------------------- 1 | class Ship < ActiveRecord::Base 2 | self.record_timestamps = false 3 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/test.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/test/unit/assertions' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb: -------------------------------------------------------------------------------- 1 | class RaisesNameError 2 | FooBarBaz 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' 4 | -------------------------------------------------------------------------------- /script/destroy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/destroy' 4 | -------------------------------------------------------------------------------- /script/generate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/generate' 4 | -------------------------------------------------------------------------------- /vendor/plugins/auto_migrations/init.rb: -------------------------------------------------------------------------------- 1 | require 'auto_migrations' 2 | ActiveRecord::Migration.send :include, AutoMigrations 3 | -------------------------------------------------------------------------------- /vendor/plugins/hubahuba/lib/string.rb: -------------------------------------------------------------------------------- 1 | class String 2 | def to_md5 3 | Digest::MD5.hexdigest(self) 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/USAGE: -------------------------------------------------------------------------------- 1 | ./script/generate authenticated USERMODEL CONTROLLERNAME -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb: -------------------------------------------------------------------------------- 1 | module Fun::PdfHelper 2 | def foobar() 'baz' end 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/standard.erb: -------------------------------------------------------------------------------- 1 | <%= @content_for_layout %><%= @variable_for_layout %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb: -------------------------------------------------------------------------------- 1 | <% @title = "Talking to the layout" -%> 2 | Action was here! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/capturing.erb: -------------------------------------------------------------------------------- 1 | <% days = capture do %> 2 | Dreamy days 3 | <% end %> 4 | <%= days %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/assets/example.log: -------------------------------------------------------------------------------- 1 | # Logfile created on Wed Oct 31 16:05:13 +0000 2007 by logger.rb/1.5.2.9 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/computers.yml: -------------------------------------------------------------------------------- 1 | workstation: 2 | id: 1 3 | developer: 1 4 | extendedWarranty: 1 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml: -------------------------------------------------------------------------------- 1 | distinct1: 2 | id: 1 3 | 4 | distinct2: 5 | id: 2 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/joke.rb: -------------------------------------------------------------------------------- 1 | class Joke < ActiveRecord::Base 2 | set_table_name 'funny_jokes' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder::InlineClass 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb: -------------------------------------------------------------------------------- 1 | class ModuleFolder::InlineClass 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb: -------------------------------------------------------------------------------- 1 | class ModuleFolder::NestedSibling 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/cross_site_depender.rb: -------------------------------------------------------------------------------- 1 | class CrossSiteDepender 2 | CrossSiteDependency 3 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/bj/lib/bj/errors.rb: -------------------------------------------------------------------------------- 1 | class Bj 2 | class Error < ::StandardError; end 3 | class RailsRoot < Error; end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/bj/tasks/bj_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :bj do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb: -------------------------------------------------------------------------------- 1 | <% cache do %> 2 | Fragment caching in a partial 3 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb: -------------------------------------------------------------------------------- 1 | module Fun::GamesHelper 2 | def stratego() "Iz guuut!" end 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb: -------------------------------------------------------------------------------- 1 | multiple_extensions.html.erb <%= yield %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone future from <%= @type -%>! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/author_addresses.yml: -------------------------------------------------------------------------------- 1 | david_address: 2 | id: 1 3 | 4 | david_address_extra: 5 | id: 2 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/author_favorites.yml: -------------------------------------------------------------------------------- 1 | david_mary: 2 | id: 1 3 | author_id: 1 4 | favorite_author_id: 2 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/vertices.yml: -------------------------------------------------------------------------------- 1 | <% (1..5).each do |id| %> 2 | vertex_<%= id %>: 3 | id: <%= id %> 4 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/keyboard.rb: -------------------------------------------------------------------------------- 1 | class Keyboard < ActiveRecord::Base 2 | set_primary_key 'key_number' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/postgresql2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id serial primary key, 3 | name text 4 | ); 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb: -------------------------------------------------------------------------------- 1 | ModuleWithCustomConstMissing::A::B = "10" -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/check_warnings.rb: -------------------------------------------------------------------------------- 1 | $check_warnings_load_count += 1 2 | $checked_verbose = $VERBOSE 3 | -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/TODO: -------------------------------------------------------------------------------- 1 | Handle: 2 | * form_remote_tag 3 | * submit_to_remote 4 | * update_page with form or part of a form -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/test/fixtures/controllers/other_controller.rb: -------------------------------------------------------------------------------- 1 | class OtherController < ActionController::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb: -------------------------------------------------------------------------------- 1 | Hey Ho, <%= render :partial => "subtemplate" %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :partial => 'partial' %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hash_object.erb: -------------------------------------------------------------------------------- 1 | <%= hash_object[:first_name] %> 2 | <%= object[:first_name].reverse %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title do %>Putting stuff in the title!<% end %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/tags.yml: -------------------------------------------------------------------------------- 1 | general: 2 | id: 1 3 | name: General 4 | 5 | misc: 6 | id: 2 7 | name: Misc -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/legacy_thing.rb: -------------------------------------------------------------------------------- 1 | class LegacyThing < ActiveRecord::Base 2 | set_locking_column :version 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/pet.rb: -------------------------------------------------------------------------------- 1 | class Pet < ActiveRecord::Base 2 | set_primary_key :pet_id 3 | belongs_to :owner 4 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder 2 | ConstantInClassFolder = 'indeed' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/railties/html/images/rails.png -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /script/process/reaper: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/reaper' 4 | -------------------------------------------------------------------------------- /script/process/spawner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/spawner' 4 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/init.rb: -------------------------------------------------------------------------------- 1 | WillPaginate.enable 2 | LoggedExceptionsController.view_paths = [File.join(directory, 'views')] 3 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/model_helper.rb: -------------------------------------------------------------------------------- 1 | module <%= model_controller_class_name %>Helper 2 | end -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb: -------------------------------------------------------------------------------- 1 | This message brought to you by <%= name_of_the_mailer_class %>. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml: -------------------------------------------------------------------------------- 1 | controller_name_space/nested.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello" 3 | end 4 | "String return value" 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/topic.rb: -------------------------------------------------------------------------------- 1 | class Topic < ActiveRecord::Base 2 | has_many :replies, :dependent => :destroy 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/people.yml: -------------------------------------------------------------------------------- 1 | michael: 2 | id: 1 3 | first_name: Michael 4 | david: 5 | id: 2 6 | first_name: David -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/owner.rb: -------------------------------------------------------------------------------- 1 | class Owner < ActiveRecord::Base 2 | set_primary_key :owner_id 3 | has_many :pets 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/reader.rb: -------------------------------------------------------------------------------- 1 | class Reader < ActiveRecord::Base 2 | belongs_to :post 3 | belongs_to :person 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/frontbase2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id integer DEFAULT unique, 3 | name varchar(100) 4 | ); 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/about: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/about' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/destroy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/destroy' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/plugin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/plugin' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/server: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/server' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/mocks/routes.rb: -------------------------------------------------------------------------------- 1 | module ActionController 2 | module Routing 3 | class Routes 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /script/process/inspector: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/inspector' 4 | -------------------------------------------------------------------------------- /vendor/plugins/acts_as_sphinx/README: -------------------------------------------------------------------------------- 1 | ActsAsSphinx 2 | ============ 3 | 4 | http://www.datanoise.com/articles/2007/3/23/acts_as_sphinx-plugin 5 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/destroy.rjs: -------------------------------------------------------------------------------- 1 | page["exception-#{params[:id]}"].addClassName('deleted') 2 | page[:showpage].hide -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/destroy_all.rjs: -------------------------------------------------------------------------------- 1 | page[:exceptions].replace :partial => "exceptions" 2 | page[:showpage].hide -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/History.txt: -------------------------------------------------------------------------------- 1 | = TRUNK 2 | - added "scenarios_load_root_fixtures" option to set default root loading [Peter Williams] -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb: -------------------------------------------------------------------------------- 1 |

Unknown action

2 |

<%=h @exception.message %>

3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | Hello 2 | <% cache do %>This bit's fragment cached<% end %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs: -------------------------------------------------------------------------------- 1 | page.replace_html 'notices', :partial => 'partial' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb: -------------------------------------------------------------------------------- 1 | <%= @title || @content_for_title %> 2 | <%= @content_for_layout -%> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/block_content_for.erb: -------------------------------------------------------------------------------- 1 | <% block_content_for :title do 'Putting stuff in the title!' end %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff in the title!" %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs: -------------------------------------------------------------------------------- 1 | page.remove 'person' 2 | page.visual_effect :highlight, "project-#{@project_id}" 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/erb_content_for.erb: -------------------------------------------------------------------------------- 1 | <% erb_content_for :title do %>Putting stuff in the title!<% end %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello #{@name}" 3 | xml << render_file("test/greeting") 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/ships.yml: -------------------------------------------------------------------------------- 1 | black_pearl: 2 | name: "Black Pearl" 3 | interceptor: 4 | id: 2 5 | name: "Interceptor" 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/column_name.rb: -------------------------------------------------------------------------------- 1 | class ColumnName < ActiveRecord::Base 2 | def self.table_name () "colnametests" end 3 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/mixed_case_monkey.rb: -------------------------------------------------------------------------------- 1 | class MixedCaseMonkey < ActiveRecord::Base 2 | set_primary_key 'monkeyID' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/movie.rb: -------------------------------------------------------------------------------- 1 | class Movie < ActiveRecord::Base 2 | def self.primary_key 3 | "movieid" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/db22.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id INT NOT NULL PRIMARY KEY, 3 | name VARCHAR(255) NOT NULL 4 | ); 5 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/person.rb: -------------------------------------------------------------------------------- 1 | class Person < ActiveResource::Base 2 | self.site = "http://37s.sunrise.i:3000" 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb: -------------------------------------------------------------------------------- 1 | module ModuleFolder 2 | class NestedClass 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/service_one.rb: -------------------------------------------------------------------------------- 1 | $loaded_service_one ||= 0 2 | $loaded_service_one += 1 3 | 4 | class ServiceOne 5 | end -------------------------------------------------------------------------------- /vendor/rails/railties/bin/generate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/generate' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %> < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb: -------------------------------------------------------------------------------- 1 | class WorkingGenerator < Rails::Generator::NamedBase 2 | end 3 | -------------------------------------------------------------------------------- /script/performance/profiler: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/profiler' 4 | -------------------------------------------------------------------------------- /script/performance/request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/request' 4 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/init.rb: -------------------------------------------------------------------------------- 1 | unless ActiveRecord::Base.respond_to? :paginate 2 | require 'will_paginate' 3 | WillPaginate.enable 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/admin.rb: -------------------------------------------------------------------------------- 1 | class Admin < User 2 | has_many :companies, :finder_sql => 'SELECT * FROM companies' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb: -------------------------------------------------------------------------------- 1 | Have a lovely picture, from me. Enjoy! -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb: -------------------------------------------------------------------------------- 1 | Ignored when searching for implicitly multipart parts. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak: -------------------------------------------------------------------------------- 1 | Ignored when searching for implicitly multipart parts. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/fake_models.rb: -------------------------------------------------------------------------------- 1 | class Customer < Struct.new(:name, :id) 2 | def to_param 3 | id.to_s 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/project.rb: -------------------------------------------------------------------------------- 1 | class Project < ActiveRecord::Base 2 | has_and_belongs_to_many :developers, :uniq => true 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder: -------------------------------------------------------------------------------- 1 | xml.test do 2 | render :partial => 'hello', :locals => { :xm => xml } 3 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/assets/flowers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/activerecord/test/assets/flowers.jpg -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/select.yml: -------------------------------------------------------------------------------- 1 | select1: 2 | id: 1 3 | 4 | select2: 5 | id: 2 6 | 7 | select3: 8 | id: 3 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/computer.rb: -------------------------------------------------------------------------------- 1 | class Computer < ActiveRecord::Base 2 | belongs_to :developer, :foreign_key=>'developer' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb: -------------------------------------------------------------------------------- 1 |

Template is missing

2 |

<%=h @exception.message %>

3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb: -------------------------------------------------------------------------------- 1 | module AbcHelper 2 | def bare_a() end 3 | def bare_b() end 4 | def bare_c() end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/single_parameter: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/examples/associations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/activerecord/examples/associations.png -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/courses.yml: -------------------------------------------------------------------------------- 1 | ruby: 2 | id: 1 3 | name: Ruby Development 4 | 5 | java: 6 | id: 2 7 | name: Java Development 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/movies.yml: -------------------------------------------------------------------------------- 1 | first: 2 | movieid: 1 3 | name: Terminator 4 | 5 | second: 6 | movieid: 2 7 | name: Gladiator 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/values.yml: -------------------------------------------------------------------------------- 1 | values1: 2 | id: 1 3 | group_id: 2 4 | 5 | values2: 6 | id: 2 7 | group_id: 1 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sybase2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id int NOT NULL PRIMARY KEY, 3 | name varchar(255) NOT NULL 4 | ) 5 | go 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb: -------------------------------------------------------------------------------- 1 | require 'bigdecimal' 2 | require 'active_support/core_ext/bigdecimal/conversions' 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb: -------------------------------------------------------------------------------- 1 | MultipleConstantFile = 10 2 | SiblingConstant = MultipleConstantFile * 2 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb: -------------------------------------------------------------------------------- 1 | class RaisesNoMethodError 2 | self.foobar_method_doesnt_exist 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= action %> 2 | 3 | Find me in <%= path %> 4 | -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # Methods added to this helper will be available to all templates in the application. 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /script/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /test/fixtures/tasks/spec.task: -------------------------------------------------------------------------------- 1 | desc 'Show specs when testing' 2 | task 'spec' do 3 | ENV["TESTOPTS"] = "--runner=s" 4 | Rake::Task[:test].invoke 5 | end 6 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/fixtures/email.yml: -------------------------------------------------------------------------------- 1 | fake: 2 | address: test@fakefakefake.com 3 | real: 4 | address: wesley.moxam@savvica.com 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/bracketed_param: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo[baz]" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml: -------------------------------------------------------------------------------- 1 | first: 2 | monkeyID: 1 3 | fleaCount: 42 4 | second: 5 | monkeyID: 2 6 | fleaCount: 43 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/owners.yml: -------------------------------------------------------------------------------- 1 | blackbeard: 2 | owner_id: 1 3 | name: blackbeard 4 | 5 | ashley: 6 | owner_id: 2 7 | name: ashley 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/price_estimate.rb: -------------------------------------------------------------------------------- 1 | class PriceEstimate < ActiveRecord::Base 2 | belongs_to :estimate_of, :polymorphic => true 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sqlite2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE 'courses' ( 2 | 'id' INTEGER NOT NULL PRIMARY KEY, 3 | 'name' VARCHAR(255) NOT NULL 4 | ); 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb: -------------------------------------------------------------------------------- 1 | class Numeric 2 | def to_json(options = nil) #:nodoc: 3 | to_s 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb: -------------------------------------------------------------------------------- 1 | class Regexp 2 | def to_json(options = nil) #:nodoc: 3 | inspect 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/reaper: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/reaper' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/spawner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/spawner' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= action %> 2 | 3 | Find me in <%= path %> 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Observer < ActiveRecord::Observer 2 | end 3 | -------------------------------------------------------------------------------- /test/fixtures/tasks/testing.task: -------------------------------------------------------------------------------- 1 | desc 'Runs the following task in the test environment' 2 | task 'testing' do 3 | RAILS_ENV = ENV["RAILS_ENV"] = "test" 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/attachment_fu/test/fixtures/files/rails.png -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb: -------------------------------------------------------------------------------- 1 | From "Romeo and Juliet": 2 | 3 | <%= block_format @text %> 4 | 5 | Good ol' Shakespeare. 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml: -------------------------------------------------------------------------------- 1 | %p Hello there, 2 | 3 | %p 4 | Mr. 5 | = @recipient 6 | from haml -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb: -------------------------------------------------------------------------------- 1 | class Foo < ActiveRecord::Migration 2 | def self.up 3 | end 4 | 5 | def self.down 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/matey.rb: -------------------------------------------------------------------------------- 1 | class Matey < ActiveRecord::Base 2 | belongs_to :pirate 3 | belongs_to :target, :class_name => 'Pirate' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/subject.rb: -------------------------------------------------------------------------------- 1 | # used for OracleSynonymTest, see test/synonym_test_oci.rb 2 | # 3 | class Subject < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb: -------------------------------------------------------------------------------- 1 | class NilClass 2 | def to_json(options = nil) #:nodoc: 3 | 'null' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb: -------------------------------------------------------------------------------- 1 | class TrueClass 2 | def to_json(options = nil) #:nodoc: 3 | 'true' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/inspector: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/inspector' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails_info_controller.rb: -------------------------------------------------------------------------------- 1 | # Alias to ensure old public.html still works. 2 | RailsInfoController = Rails::InfoController 3 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/lib/acts_as_cached/cache_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/cache_fu/lib/acts_as_cached/cache_methods.rb -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/tasks/exception_logger_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :exception_logger do 3 | # # Task goes here 4 | # end -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/tasks/form_test_helper_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :form_test_helper do 3 | # # Task goes here 4 | # end -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml: -------------------------------------------------------------------------------- 1 | %p Hello there, 2 | 3 | %p 4 | Mr. 5 | = @recipient 6 | from haml -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb: -------------------------------------------------------------------------------- 1 | Plain text to <%= @recipient %>. 2 | Plain text to <%= @recipient %>. 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/binary_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/binary_file -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mixed_files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/mixed_files -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff " 2 | content_for :title, "in the title!" %> 3 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder: -------------------------------------------------------------------------------- 1 | content_for :title do 2 | 'Putting stuff in the title!' 3 | end 4 | xml << "\nGreat stuff!" -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/books.yml: -------------------------------------------------------------------------------- 1 | awdr: 2 | id: 1 3 | name: "Agile Web Development with Rails" 4 | 5 | rfr: 6 | id: 2 7 | name: "Ruby for Rails" 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb: -------------------------------------------------------------------------------- 1 | class FalseClass 2 | def to_json(options = nil) #:nodoc: 3 | 'false' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/performance/profiler: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/profiler' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/performance/request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/request' 4 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/show.rjs: -------------------------------------------------------------------------------- 1 | page[:showpage].replace_html :partial => "show" 2 | page[:showpage].visual_effect :blind_down, :duration => 0.25 -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/init.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit/testcase' 2 | require 'test/unit/testsuite' 3 | require 'active_record/fixtures' 4 | 5 | require 'fixture_scenarios' -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/tasks/simply_versioned_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :simply_versioned do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email.rb: -------------------------------------------------------------------------------- 1 | class Email < ActiveRecord::Base 2 | 3 | validates_email_veracity_of :address 4 | 5 | end -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/script/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/public/images/rails.png -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/list.erb: -------------------------------------------------------------------------------- 1 | <%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %> 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb: -------------------------------------------------------------------------------- 1 | $counting_loaded_times ||= 0 2 | $counting_loaded_times += 1 3 | 4 | module CountingLoader 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # Methods added to this helper will be available to all templates in the application. 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb: -------------------------------------------------------------------------------- 1 |

<%= class_name %>#<%= action %>

2 |

Find me in <%= path %>

3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb: -------------------------------------------------------------------------------- 1 | class <%= controller_class_name %>Controller < ApplicationController 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb: -------------------------------------------------------------------------------- 1 | class AGenerator < Rails::Generator::Base 2 | def manifest 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Mime::Type.register "text/richtext", :rtf 2 | Mime::Type.register_alias "text/plain", :ruby 3 | Mime::Type.register_alias "text/plain", :rb 4 | -------------------------------------------------------------------------------- /test/fixtures/tasks/production.task: -------------------------------------------------------------------------------- 1 | desc 'Runs the following task in the production environment' 2 | task 'production' do 3 | RAILS_ENV = ENV["RAILS_ENV"] = 'production' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/query.rjs: -------------------------------------------------------------------------------- 1 | page[:exceptions].replace :partial => "exceptions" 2 | page[:showpage].hide 3 | page[:feed].replace :partial => 'feed' -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/test/fixtures/controllers/admin/namespaced_controller.rb: -------------------------------------------------------------------------------- 1 | module Admin 2 | class NamespacedController < TestController 3 | 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/raw_base64_decoded_string: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionmailer/test/fixtures/raw_base64_decoded_string -------------------------------------------------------------------------------- /vendor/rails/activemodel/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | $LOAD_PATH << File.join(File.dirname(__FILE__), 'vendor', 'rspec', 'lib') 3 | require 'rake' 4 | require 'spec/rake/spectask' -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/categorization.rb: -------------------------------------------------------------------------------- 1 | class Categorization < ActiveRecord::Base 2 | belongs_to :post 3 | belongs_to :category 4 | belongs_to :author 5 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/date.rb: -------------------------------------------------------------------------------- 1 | class Date 2 | def to_json(options = nil) #:nodoc: 3 | %("#{strftime("%Y/%m/%d")}") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder::ClassFolderSubclass < ClassFolder 2 | ConstantInClassFolder 3 | end 4 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/reply.rb: -------------------------------------------------------------------------------- 1 | class Reply < ActiveRecord::Base 2 | belongs_to :topic, :include => [:replies] 3 | 4 | validates_presence_of :content 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/version' 2 | require 'tmail/mail' 3 | require 'tmail/mailbox' 4 | require 'tmail/core_extensions' 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb: -------------------------------------------------------------------------------- 1 | <% render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/edges.yml: -------------------------------------------------------------------------------- 1 | <% (1..4).each do |id| %> 2 | edge_<%= id %>: 3 | id: <%= id %> 4 | source_id: <%= id %> 5 | sink_id: <%= id + 1 %> 6 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/auto_id.rb: -------------------------------------------------------------------------------- 1 | class AutoId < ActiveRecord::Base 2 | def self.table_name () "auto_id_tests" end 3 | def self.primary_key () "auto_id" end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/subscriber.rb: -------------------------------------------------------------------------------- 1 | class Subscriber < ActiveRecord::Base 2 | set_primary_key 'nick' 3 | end 4 | 5 | class SpecialSubscriber < Subscriber 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/warehouse_thing.rb: -------------------------------------------------------------------------------- 1 | class WarehouseThing < ActiveRecord::Base 2 | set_table_name "warehouse-things" 3 | 4 | validates_uniqueness_of :value 5 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder 2 | class NestedClass 3 | end 4 | 5 | class SiblingClass 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/main.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/version' 2 | require 'tmail/mail' 3 | require 'tmail/mailbox' 4 | require 'tmail/core_extensions' 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/readers.yml: -------------------------------------------------------------------------------- 1 | michael_welcome: 2 | id: 1 3 | post_id: 1 4 | person_id: 1 5 | 6 | michael_authorless: 7 | id: 2 8 | post_id: 3 9 | person_id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/subscribers.yml: -------------------------------------------------------------------------------- 1 | first: 2 | nick: alterself 3 | name: Luke Holden 4 | 5 | second: 6 | nick: webster132 7 | name: David Heinemeier Hansson 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/openbase2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id integer UNIQUE INDEX DEFAULT _rowid, 3 | name text 4 | ) 5 | go 6 | CREATE PRIMARY KEY courses (id) 7 | go -------------------------------------------------------------------------------- /public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | /* $('#favorite_task').ajaxForm(function(res) { 3 | $('#favorite_task').find(':input').val(res.respondText) 4 | }) 5 | */ 6 | }) 7 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb: -------------------------------------------------------------------------------- 1 | module ExampleHelper 2 | def example_format(text) 3 | "#{text}" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb: -------------------------------------------------------------------------------- 1 | class Symbol 2 | def to_json(options = {}) #:nodoc: 3 | ActiveSupport::JSON.encode(to_s, options) 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb: -------------------------------------------------------------------------------- 1 | class StubbyGenerator < Rails::Generator::Base 2 | def manifest 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | <%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/mateys.yml: -------------------------------------------------------------------------------- 1 | blackbeard_to_redbeard: 2 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 3 | target_id: <%= Fixtures.identify(:redbeard) %> 4 | weight: 10 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb: -------------------------------------------------------------------------------- 1 | class DateTime 2 | def to_json(options = nil) #:nodoc: 3 | %("#{strftime("%Y/%m/%d %H:%M:%S %z")}") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :<%= file_name %> do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /vendor/plugins/bj/test/bj_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class BjTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/topic.rb: -------------------------------------------------------------------------------- 1 | class Topic < ActiveRecord::Base 2 | has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC' 3 | belongs_to :project 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb: -------------------------------------------------------------------------------- 1 | First: <%= @name %> 2 | <%= render :partial => "person", :locals => { :name => "Stephan" } -%> 3 | Fourth: <%= @name %> 4 | Fifth: <%= name %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/authors.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | author_address_id: 1 5 | author_address_extra_id: 2 6 | 7 | mary: 8 | id: 2 9 | name: Mary 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/price_estimates.yml: -------------------------------------------------------------------------------- 1 | saphire_1: 2 | price: 10 3 | estimate_of: sapphire (Treasure) 4 | 5 | sapphire_2: 6 | price: 20 7 | estimate_of: sapphire (Treasure) 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/oracle2.sql: -------------------------------------------------------------------------------- 1 | create table courses ( 2 | id int not null primary key, 3 | name varchar(255) not null 4 | ); 5 | 6 | create sequence courses_seq minvalue 10000; 7 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/mutual_one.rb: -------------------------------------------------------------------------------- 1 | $mutual_dependencies_count += 1 2 | require_dependency 'mutual_two' 3 | require_dependency 'mutual_two.rb' 4 | require_dependency 'mutual_two' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/mutual_two.rb: -------------------------------------------------------------------------------- 1 | $mutual_dependencies_count += 1 2 | require_dependency 'mutual_one.rb' 3 | require_dependency 'mutual_one' 4 | require_dependency 'mutual_one.rb' 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/reply.rb: -------------------------------------------------------------------------------- 1 | class Reply < ActiveRecord::Base 2 | belongs_to :topic, :include => [:replies] 3 | belongs_to :developer 4 | 5 | validates_presence_of :content 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // Place your application-specific JavaScript functions and classes here 2 | // This file is automatically included by javascript_include_tag :defaults 3 | -------------------------------------------------------------------------------- /app/views/tasks/index.html.erb: -------------------------------------------------------------------------------- 1 |

Listing tasks

2 | 3 | 8 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/vendor/plugins/phone_validation/init.rb: -------------------------------------------------------------------------------- 1 | init_path = "#{RAILS_ROOT}/../../init.rb" 2 | silence_warnings { eval(IO.read(init_path), binding, init_path) } 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml: -------------------------------------------------------------------------------- 1 | sub_special_3: 2 | id: 102 3 | name: A special category in an arbitrarily named subsubdir file 4 | type: SpecialCategory 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/item.rb: -------------------------------------------------------------------------------- 1 | class AbstractItem < ActiveRecord::Base 2 | self.abstract_class = true 3 | has_one :tagging, :as => :taggable 4 | end 5 | 6 | class Item < AbstractItem 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/street_address.rb: -------------------------------------------------------------------------------- 1 | class StreetAddress < ActiveResource::Base 2 | self.site = "http://37s.sunrise.i:3000/people/:person_id/" 3 | self.element_name = 'address' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/float.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/float/rounding' 2 | 3 | class Float #:nodoc: 4 | include ActiveSupport::CoreExtensions::Float::Rounding 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/time.rb: -------------------------------------------------------------------------------- 1 | class Time 2 | def to_json(options = nil) #:nodoc: 3 | %("#{strftime("%Y/%m/%d %H:%M:%S")} #{formatted_offset(false)}") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/raises_exception.rb: -------------------------------------------------------------------------------- 1 | $raises_exception_load_count += 1 2 | raise Exception, 'Loading me failed, so do not add to loaded or history.' 3 | $raises_exception_load_count += 1 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/update.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/update' 4 | Rails::Generator::Scripts::Update.new.run(ARGV) 5 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/activation.html.erb: -------------------------------------------------------------------------------- 1 | <%%= @<%= file_name %>.login %>, your account has been activated. You may now start adding your plugins: 2 | 3 | <%%= @url %> -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # Methods added to this helper will be available to all templates in the application. 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/funny_jokes.yml: -------------------------------------------------------------------------------- 1 | a_joke: 2 | id: 1 3 | name: Knock knock 4 | 5 | another_joke: 6 | id: 2 7 | name: | 8 | The \n Aristocrats 9 | Ate the candy 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %>. Please see our greeting at <%= @welcome_url %> <%= welcome_url %> 4 | 5 | <%= image_tag "somelogo.png" %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories_ordered.yml: -------------------------------------------------------------------------------- 1 | --- !!omap 2 | <% 100.times do |i| %> 3 | - fixture_no_<%= i %>: 4 | id: <%= i %> 5 | name: <%= "Category #{i}" %> 6 | type: Category 7 | <% end %> 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext.rb: -------------------------------------------------------------------------------- 1 | Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].sort.each do |path| 2 | filename = File.basename(path) 3 | require "active_support/core_ext/#{filename}" 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails/version.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/plugins/hubahuba/lib/enumerable.rb: -------------------------------------------------------------------------------- 1 | module Enumerable 2 | def map_with_index 3 | result = [] 4 | each_with_index do |e, i| 5 | result << yield(e, i) 6 | end 7 | result 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/treasures.yml: -------------------------------------------------------------------------------- 1 | diamond: 2 | name: $LABEL 3 | 4 | sapphire: 5 | name: $LABEL 6 | looter: redbeard (Pirate) 7 | 8 | ruby: 9 | name: $LABEL 10 | looter: louis (Parrot) 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/firebird2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id BIGINT NOT NULL PRIMARY KEY, 3 | name VARCHAR(255) NOT NULL 4 | ); 5 | CREATE GENERATOR courses_seq; 6 | SET GENERATOR courses_seq TO 10000; 7 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email_mx_only.rb: -------------------------------------------------------------------------------- 1 | class EmailMxOnly < ActiveRecord::Base 2 | 3 | set_table_name :emails 4 | validates_email_veracity_of :address, :mx_only => true 5 | 6 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/book.rb: -------------------------------------------------------------------------------- 1 | class Book < ActiveRecord::Base 2 | has_many :citations, :foreign_key => 'book1_id' 3 | has_many :references, :through => :citations, :source => :reference_of, :uniq => true 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/cgi/escape_skipping_slashes' 2 | 3 | class CGI #:nodoc: 4 | extend ActiveSupport::CoreExtensions::CGI::EscapeSkippingSlashes 5 | end 6 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /vendor/plugins/auto_migrations/test/auto_migrations_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class AutoMigrationsTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email_timeout.rb: -------------------------------------------------------------------------------- 1 | class EmailTimeout < ActiveRecord::Base 2 | 3 | set_table_name :emails 4 | validates_email_veracity_of :address, :timeout => 0.0001 5 | 6 | end -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/version.rb: -------------------------------------------------------------------------------- 1 | module ActionMailer 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/lib/active_record/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveRecord 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/treasure.rb: -------------------------------------------------------------------------------- 1 | class Treasure < ActiveRecord::Base 2 | has_and_belongs_to_many :parrots 3 | belongs_to :looter, :polymorphic => true 4 | 5 | has_many :price_estimates, :as => :estimate_of 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/base64.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/base64' 2 | require 'active_support/core_ext/base64/encoding' 3 | 4 | ActiveSupport::Base64.extend ActiveSupport::CoreExtensions::Base64::Encoding 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/performance/request.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'config/environment' 3 | require 'application' 4 | require 'action_controller/request_profiler' 5 | 6 | ActionController::RequestProfiler.run(ARGV) 7 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/test/exception_logger_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class ExceptionLoggerTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/test/fixture_scenarios_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class FixtureScenariosTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios_builder/install.rb: -------------------------------------------------------------------------------- 1 | puts 2 | puts "# Make sure you have the fixture_scenarios plugin installed." 3 | puts "# script/plugin install http://fixture-scenarios.googlecode.com/svn/trunk/fixture_scenarios" 4 | puts 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_pack/version.rb: -------------------------------------------------------------------------------- 1 | module ActionPack #:nodoc: 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/scripts/generate.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/../scripts' 2 | 3 | module Rails::Generator::Scripts 4 | class Generate < Base 5 | mandatory_options :command => :create 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email_skip_remote.rb: -------------------------------------------------------------------------------- 1 | class EmailSkipRemote < ActiveRecord::Base 2 | 3 | set_table_name :emails 4 | validates_email_veracity_of :address, :domain_check => false 5 | 6 | end -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/active_resource/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveResource 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 0 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'action_controller' 3 | require 'action_controller/assertions' 4 | 5 | $LOAD_PATH << File.dirname(__FILE__) + '/../lib' 6 | require 'test/spec/rails' 7 | require 'mocha' -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/validates_email_veracity_of_test.sqlite3.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/validates_email_veracity_of/test/rails_root/validates_email_veracity_of_test.sqlite3.db -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/utils.rb: -------------------------------------------------------------------------------- 1 | module ActionMailer 2 | module Utils #:nodoc: 3 | def normalize_new_lines(text) 4 | text.to_s.gsub(/\r\n?/, "\n") 5 | end 6 | module_function :normalize_new_lines 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/CHANGELOG: -------------------------------------------------------------------------------- 1 | 02/18/08 - Added Rakefile, began adding tests [Matthew Bass] 2 | 3 | 02/08/08 - Added support for route checking (i.e. assert_generates) [Jason Rudolph] 4 | 5 | 01/10/08 - Added CHANGELOG and LICENSE [Matthew Bass] -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.head do 3 | xml.title "Hello World" 4 | end 5 | 6 | xml.body do 7 | xml.p "abes" 8 | xml.p "monks" 9 | xml.p "wiseguys" 10 | end 11 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/pets.yml: -------------------------------------------------------------------------------- 1 | parrot: 2 | pet_id: 1 3 | name: parrot 4 | owner_id: 1 5 | 6 | chew: 7 | pet_id: 2 8 | name: chew 9 | owner_id: 2 10 | 11 | mochi: 12 | pet_id: 3 13 | name: mochi 14 | owner_id: 2 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/group.yml: -------------------------------------------------------------------------------- 1 | group1: 2 | id: 1 3 | select_id: 1 4 | order: x 5 | 6 | group2: 7 | id: 2 8 | select_id: 2 9 | order: y 10 | 11 | group3: 12 | id: 3 13 | select_id: 2 14 | order: z 15 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb: -------------------------------------------------------------------------------- 1 | require 'pathname' 2 | require 'active_support/core_ext/pathname/clean_within' 3 | 4 | class Pathname#:nodoc: 5 | extend ActiveSupport::CoreExtensions::Pathname::CleanWithin 6 | end 7 | 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Explain the generator 3 | 4 | Example: 5 | ./script/generate <%= file_name %> Thing 6 | 7 | This will create: 8 | what/will/it/create 9 | -------------------------------------------------------------------------------- /lib/tasks/bootstrap.rake: -------------------------------------------------------------------------------- 1 | namespace :db do 2 | desc 'Bootstrap the dev db' 3 | task :bootstrap => %w( db:drop db:create db:migrate db:scenario:build ) do 4 | ENV.update('SCENARIO' => 'default') 5 | Rake::Task['db:scenario:load'].invoke 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios_builder/init.rb: -------------------------------------------------------------------------------- 1 | if Test::Unit::TestSuite.instance_methods.include? 'run_with_finish' 2 | require 'scenario_builder' 3 | require 'fixture_scenarios_hack' 4 | else 5 | load File.join(File.dirname(__FILE__), 'install.rb') 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs: -------------------------------------------------------------------------------- 1 | page.select('.product').each do |value| 2 | page.visual_effect :highlight 3 | page.visual_effect :highlight, value 4 | page.sortable(value, :url => { :action => "order" }) 5 | page.draggable(value) 6 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/tasks.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html 2 | first_task: 3 | id: 1 4 | starting: 2005-03-30t06:30:00.00+01:00 5 | ending: 2005-03-30t08:30:00.00+01:00 6 | another_task: 7 | id: 2 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/entrants.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | course_id: 1 4 | name: Ruby Developer 5 | 6 | second: 7 | id: 2 8 | course_id: 1 9 | name: Ruby Guru 10 | 11 | third: 12 | id: 3 13 | course_id: 2 14 | name: Java Lover 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/order.rb: -------------------------------------------------------------------------------- 1 | class Order < ActiveRecord::Base 2 | belongs_to :billing, :class_name => 'Customer', :foreign_key => 'billing_customer_id' 3 | belongs_to :shipping, :class_name => 'Customer', :foreign_key => 'shipping_customer_id' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email_fail_on_timeout.rb: -------------------------------------------------------------------------------- 1 | class EmailFailOnTimeout < ActiveRecord::Base 2 | 3 | set_table_name :emails 4 | validates_email_veracity_of :address, :fail_on_timeout => true, :timeout => 0.0001 5 | 6 | end -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/index.rb: -------------------------------------------------------------------------------- 1 | # This is here for Rolls. 2 | # Rolls uses this instead of lib/tmail.rb. 3 | 4 | require 'tmail/version' 5 | require 'tmail/mail' 6 | require 'tmail/mailbox' 7 | require 'tmail/core_extensions' 8 | 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/tag.rb: -------------------------------------------------------------------------------- 1 | class Tag < ActiveRecord::Base 2 | has_many :taggings 3 | has_many :taggables, :through => :taggings 4 | has_one :tagging 5 | 6 | has_many :tagged_posts, :through => :taggings, :source => :taggable, :source_type => 'Post' 7 | end -------------------------------------------------------------------------------- /vendor/rails/railties/configs/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/destroy.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/destroy' 4 | 5 | ARGV.shift if ['--help', '-h'].include?(ARGV[0]) 6 | Rails::Generator::Scripts::Destroy.new.run(ARGV) 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/generate.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/generate' 4 | 5 | ARGV.shift if ['--help', '-h'].include?(ARGV[0]) 6 | Rails::Generator::Scripts::Generate.new.run(ARGV) 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class <%= class_name %>Test < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb: -------------------------------------------------------------------------------- 1 | module HTML #:nodoc: 2 | module Version #:nodoc: 3 | 4 | MAJOR = 0 5 | MINOR = 5 6 | TINY = 3 7 | 8 | STRING = [ MAJOR, MINOR, TINY ].join(".") 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/config.rb: -------------------------------------------------------------------------------- 1 | TEST_ROOT = File.expand_path(File.dirname(__FILE__)) 2 | ASSETS_ROOT = TEST_ROOT + "/assets" 3 | FIXTURES_ROOT = TEST_ROOT + "/fixtures" 4 | MIGRATIONS_ROOT = TEST_ROOT + "/migrations" 5 | SCHEMA_ROOT = TEST_ROOT + "/schema" 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/pirates.yml: -------------------------------------------------------------------------------- 1 | blackbeard: 2 | catchphrase: "Yar." 3 | parrot: george 4 | 5 | redbeard: 6 | catchphrase: "Avast!" 7 | parrot: louis 8 | created_on: <%= 2.weeks.ago.to_s(:db) %> 9 | updated_on: <%= 2.weeks.ago.to_s(:db) %> 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml: -------------------------------------------------------------------------------- 1 | distincts_selects1: 2 | distinct_id: 1 3 | select_id: 1 4 | 5 | distincts_selects2: 6 | distinct_id: 1 7 | select_id: 2 8 | 9 | distincts_selects3: 10 | distinct_id: 2 11 | select_id: 3 12 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/pirate.rb: -------------------------------------------------------------------------------- 1 | class Pirate < ActiveRecord::Base 2 | belongs_to :parrot 3 | has_and_belongs_to_many :parrots 4 | has_many :treasures, :as => :looter 5 | 6 | has_many :treasure_estimates, :through => :treasures, :source => :price_estimates 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/object.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/object/conversions' 2 | require 'active_support/core_ext/object/extending' 3 | require 'active_support/core_ext/object/instance_variables' 4 | require 'active_support/core_ext/object/misc' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/object.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info. 3 | def to_json(options = {}) 4 | ActiveSupport::JSON.encode(instance_values, options) 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/log.rake: -------------------------------------------------------------------------------- 1 | namespace :log do 2 | desc "Truncates all *.log files in log/ to zero bytes" 3 | task :clear do 4 | FileList["log/*.log"].each do |log_file| 5 | f = File.open(log_file, "w") 6 | f.close 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/text_file: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x 6 | Content-Disposition: form-data; name="file"; filename="file.txt" 7 | Content-Type: text/plain 8 | 9 | contents 10 | --AaB03x-- 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories/special_categories.yml: -------------------------------------------------------------------------------- 1 | sub_special_1: 2 | id: 100 3 | name: A special category in a subdir file 4 | type: SpecialCategory 5 | 6 | sub_special_2: 7 | id: 101 8 | name: Another special category 9 | type: SpecialCategory 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/edge.rb: -------------------------------------------------------------------------------- 1 | # This class models an edge in a directed graph. 2 | class Edge < ActiveRecord::Base 3 | belongs_to :source, :class_name => 'Vertex', :foreign_key => 'source_id' 4 | belongs_to :sink, :class_name => 'Vertex', :foreign_key => 'sink_id' 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/testing/default.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module Testing 3 | module Default #:nodoc: 4 | # Placeholder so test/unit ignores test cases without any tests. 5 | def default_test 6 | end 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/console_sandbox.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Base.send :increment_open_transactions 2 | ActiveRecord::Base.connection.begin_db_transaction 3 | at_exit do 4 | ActiveRecord::Base.connection.rollback_db_transaction 5 | ActiveRecord::Base.send :decrement_open_transactions 6 | end 7 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/install.rb: -------------------------------------------------------------------------------- 1 | require 'fileutils' 2 | 3 | s3_config = File.dirname(__FILE__) + '/../../../config/amazon_s3.yml' 4 | FileUtils.cp File.dirname(__FILE__) + '/amazon_s3.yml.tpl', s3_config unless File.exist?(s3_config) 5 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email_invalid_domains.rb: -------------------------------------------------------------------------------- 1 | class EmailInvalidDomains < ActiveRecord::Base 2 | 3 | set_table_name :emails 4 | validates_email_veracity_of :address, :invalid_domains => %w[invalid.com invalid.ca surely-not-valid.net] 5 | 6 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories.yml: -------------------------------------------------------------------------------- 1 | general: 2 | id: 1 3 | name: General 4 | type: Category 5 | 6 | technology: 7 | id: 2 8 | name: Technology 9 | type: Category 10 | 11 | sti_test: 12 | id: 3 13 | name: Special category 14 | type: SpecialCategory 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/person.rb: -------------------------------------------------------------------------------- 1 | class Person < ActiveRecord::Base 2 | has_many :readers 3 | has_many :posts, :through => :readers 4 | has_many :posts_with_no_comments, :through => :readers, :source => :post, :include => :comments, :conditions => 'comments.id is null' 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Generator < Rails::Generator::NamedBase 2 | def manifest 3 | record do |m| 4 | # m.directory "lib" 5 | # m.template 'README', "README" 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /app/controllers/favorites_controller.rb: -------------------------------------------------------------------------------- 1 | class FavoritesController < ApplicationController 2 | def index 3 | render :template => 'tasks/index' 4 | end 5 | 6 | private 7 | helper_method :current_tasks 8 | 9 | def current_tasks 10 | current_user.favorites 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/company.rb: -------------------------------------------------------------------------------- 1 | class Company < ActiveRecord::Base 2 | attr_protected :rating 3 | set_sequence_name :companies_nonstd_seq 4 | 5 | validates_presence_of :name 6 | def validate 7 | errors.add('rating', 'rating should not be 2') if rating == 2 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developer.rb: -------------------------------------------------------------------------------- 1 | class Developer < ActiveRecord::Base 2 | has_and_belongs_to_many :projects 3 | has_many :replies 4 | has_many :topics, :through => :replies 5 | end 6 | 7 | class DeVeLoPeR < ActiveRecord::Base 8 | set_table_name "developers" 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveMiddleNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "middle_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "middle_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb: -------------------------------------------------------------------------------- 1 | require 'benchmark' 2 | 3 | module Benchmark 4 | remove_method :realtime 5 | def realtime 6 | r0 = Time.now 7 | yield 8 | r1 = Time.now 9 | r1.to_f - r0.to_f 10 | end 11 | module_function :realtime 12 | end -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/signup_notification.html.erb: -------------------------------------------------------------------------------- 1 | Your account has been created. 2 | 3 | Username: <%%= @<%= file_name %>.login %> 4 | Password: <%%= @<%= file_name %>.password %> 5 | 6 | Visit this url to activate your account: 7 | 8 | <%%= @url %> -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/class.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/class/attribute_accessors' 2 | require 'active_support/core_ext/class/inheritable_attributes' 3 | require 'active_support/core_ext/class/removal' 4 | require 'active_support/core_ext/class/delegating_attributes' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/variable.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module JSON 3 | # A string that returns itself as its JSON-encoded form. 4 | class Variable < String 5 | def to_json(options=nil) 6 | self 7 | end 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/multibyte.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module Multibyte #:nodoc: 3 | DEFAULT_NORMALIZATION_FORM = :kc 4 | NORMALIZATIONS_FORMS = [:c, :kc, :d, :kd] 5 | UNICODE_VERSION = '5.0.0' 6 | end 7 | end 8 | 9 | require 'active_support/multibyte/chars' 10 | -------------------------------------------------------------------------------- /app/controllers/application.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | include AuthenticatedSystem 3 | helper :all 4 | 5 | protect_from_forgery 6 | 7 | if Rails.development? 8 | def current_user 9 | @current_user ||= User.find(:first) 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/parrots_pirates.yml: -------------------------------------------------------------------------------- 1 | george_blackbeard: 2 | parrot_id: <%= Fixtures.identify(:george) %> 3 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 4 | 5 | louis_blackbeard: 6 | parrot_id: <%= Fixtures.identify(:louis) %> 7 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 8 | -------------------------------------------------------------------------------- /db/migrate/004_add_favorite_tasks_table.rb: -------------------------------------------------------------------------------- 1 | class AddFavoriteTasksTable < ActiveRecord::Migration 2 | def self.up 3 | create_table :favorite_tasks, :id => false do |t| 4 | t.integer :user_id, :task_id 5 | end 6 | end 7 | 8 | def self.down 9 | drop_table :favorite_tasks 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/plugins/association_pagination/lib/association_pagination.rb: -------------------------------------------------------------------------------- 1 | module AssociationPagination 2 | # overwrite this in your association 3 | def page_order 4 | 'id DESC' 5 | end 6 | 7 | def page(page) 8 | paginate :page => (page || 1), :order => page_order, :per_page => 10 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/citation.rb: -------------------------------------------------------------------------------- 1 | class Citation < ActiveRecord::Base 2 | belongs_to :reference_of, :class_name => "Book", :foreign_key => :book2_id 3 | 4 | belongs_to :book1, :class_name => "Book", :foreign_key => :book1_id 5 | belongs_to :book2, :class_name => "Book", :foreign_key => :book2_id 6 | end 7 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/db/migrate/001_create_emails.rb: -------------------------------------------------------------------------------- 1 | class CreateEmails < ActiveRecord::Migration 2 | def self.up 3 | create_table :emails do |t| 4 | t.column :address, :string 5 | end 6 | end 7 | 8 | def self.down 9 | drop_table :emails 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb: -------------------------------------------------------------------------------- 1 | <%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %> 2 | <%= yield %> 3 | <%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- 1 | david_action_controller: 2 | developer_id: 1 3 | project_id: 2 4 | joined_on: 2004-10-10 5 | 6 | david_active_record: 7 | developer_id: 1 8 | project_id: 1 9 | joined_on: 2004-10-10 10 | 11 | jamis_active_record: 12 | developer_id: 2 13 | project_id: 1 -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb: -------------------------------------------------------------------------------- 1 | <% render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% end %> 2 | <%= yield %> 3 | <% render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %> 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/kernel/daemonizing' 2 | require 'active_support/core_ext/kernel/reporting' 3 | require 'active_support/core_ext/kernel/agnostics' 4 | require 'active_support/core_ext/kernel/requires' 5 | require 'active_support/core_ext/kernel/debugger' 6 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- 1 | david_action_controller: 2 | developer_id: 1 3 | project_id: 2 4 | joined_on: 2004-10-10 5 | 6 | david_active_record: 7 | developer_id: 1 8 | project_id: 1 9 | joined_on: 2004-10-10 10 | 11 | jamis_active_record: 12 | developer_id: 2 13 | project_id: 1 -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | HTML formatted message to <%= @recipient %>. 4 | 5 | 6 | 7 | 8 | HTML formatted message to <%= @recipient %>. 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/integer.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/integer/even_odd' 2 | require 'active_support/core_ext/integer/inflections' 3 | 4 | class Integer #:nodoc: 5 | include ActiveSupport::CoreExtensions::Integer::EvenOdd 6 | include ActiveSupport::CoreExtensions::Integer::Inflections 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' 2 | 3 | class <%= class_name %>Test < ActiveSupport::TestCase 4 | # Replace this with your real tests. 5 | def test_truth 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | test/fixtures/default 2 | test/fixtures/authentication 3 | log/* 4 | .DS_Store 5 | log 6 | tmp 7 | public/uploads 8 | public/attachments 9 | public/avatars 10 | db/schema.rb 11 | public/javascripts/jquery-1.2.1.js 12 | *.swp 13 | coverage 14 | rails_rcov 15 | test/models 16 | test/controllers 17 | db/development_structure.sql 18 | -------------------------------------------------------------------------------- /vendor/plugins/bj/lib/main/softspoken.rb: -------------------------------------------------------------------------------- 1 | module Main 2 | module Softspoken 3 | class << self 4 | attribute 'softspoken' => true 5 | def on!() softspoken(true) end 6 | def off!() softspoken(false) end 7 | def === other 8 | softspoken ? super : false 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' 3 | libs = [] 4 | dirname = File.dirname(__FILE__) 5 | 6 | libs << 'irb/completion' 7 | libs << File.join(dirname, 'lib', 'load_fixtures') 8 | 9 | exec "#{irb}#{libs.map{ |l| " -r #{l}" }.join} --simple-prompt" 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/cases/connection_test_firebird.rb: -------------------------------------------------------------------------------- 1 | require "cases/helper" 2 | 3 | class FirebirdConnectionTest < ActiveRecord::TestCase 4 | def test_charset_properly_set 5 | fb_conn = ActiveRecord::Base.connection.instance_variable_get(:@connection) 6 | assert_equal 'UTF8', fb_conn.database.character_set 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Controller < ApplicationController 2 | <% if options[:scaffold] -%> 3 | scaffold :<%= singular_name %> 4 | <% end -%> 5 | <% for action in actions -%> 6 | 7 | def <%= action %> 8 | end 9 | <% end -%> 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/amazon_s3.yml.tpl: -------------------------------------------------------------------------------- 1 | development: 2 | bucket_name: appname_development 3 | access_key_id: 4 | secret_access_key: 5 | 6 | test: 7 | bucket_name: appname_test 8 | access_key_id: 9 | secret_access_key: 10 | 11 | production: 12 | bucket_name: appname 13 | access_key_id: 14 | secret_access_key: 15 | -------------------------------------------------------------------------------- /vendor/plugins/request_timer/init.rb: -------------------------------------------------------------------------------- 1 | # Put this in your layout: 2 | # 3 | # <%= request_time 'Innocent text' %> 4 | # 5 | # Then use this bookmarklet: 6 | # 7 | # javascript:alert('rendered in '+document.getElementById('_rrt').getAttribute('title')) 8 | 9 | require 'request_timer' 10 | 11 | config.after_initialize { RequestTimer.setup } 12 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' 2 | 3 | class <%= class_name %>ObserverTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_truth 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | ActionController::Routing::Routes.draw do |map| 2 | map.resources :tasks, :member => { :favorite => :post } 3 | map.resources :users, :has_many => :favorites 4 | map.resource :session 5 | 6 | map.login '/login', :controller => 'sessions', :action => :new 7 | map.home '', :controller => 'tasks', :action => :index 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README: -------------------------------------------------------------------------------- 1 | <%= class_name %> 2 | <%= "=" * class_name.size %> 3 | 4 | Introduction goes here. 5 | 6 | 7 | Example 8 | ======= 9 | 10 | Example goes here. 11 | 12 | 13 | Copyright (c) <%= Date.today.year %> [name of plugin creator], released under the MIT license 14 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/scripts/update.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/../scripts' 2 | 3 | module Rails::Generator::Scripts 4 | class Update < Base 5 | mandatory_options :command => :update 6 | 7 | protected 8 | def banner 9 | "Usage: #{$0} [options] scaffold" 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rake/rdoctask' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categorizations.yml: -------------------------------------------------------------------------------- 1 | david_welcome_general: 2 | id: 1 3 | author_id: 1 4 | post_id: 1 5 | category_id: 1 6 | 7 | mary_thinking_sti: 8 | id: 2 9 | author_id: 2 10 | post_id: 2 11 | category_id: 3 12 | 13 | mary_thinking_general: 14 | id: 3 15 | author_id: 2 16 | post_id: 2 17 | category_id: 1 18 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' 2 | 3 | class <%= class_name %>ControllerTest < ActionController::TestCase 4 | # Replace this with your real tests. 5 | def test_truth 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/abstract_unit.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | $:.unshift "#{File.dirname(__FILE__)}/../lib" 4 | require 'active_resource' 5 | require 'active_resource/http_mock' 6 | 7 | $:.unshift "#{File.dirname(__FILE__)}/../test" 8 | require 'setter_trap' 9 | 10 | ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log") -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/symbol_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class SymbolTests < Test::Unit::TestCase 4 | def test_to_proc 5 | assert_equal %w(one two three), [:one, :two, :three].map(&:to_s) 6 | assert_equal(%w(one two three), 7 | {1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last)) 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/lib/acts_as_cached/recipes.rb: -------------------------------------------------------------------------------- 1 | Capistrano.configuration(:must_exist).load do 2 | %w(start stop restart kill status).each do |cmd| 3 | desc "#{cmd} your memcached servers" 4 | task "memcached_#{cmd}".to_sym, :roles => :app do 5 | run "RAILS_ENV=production #{ruby} #{current_path}/script/memcached_ctl #{cmd}" 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb: -------------------------------------------------------------------------------- 1 | begin 2 | # See http://bogomips.org/fast_xs/ by Eric Wong 3 | require 'fast_xs' 4 | 5 | class String 6 | alias_method :original_xs, :to_xs if method_defined?(:to_xs) 7 | alias_method :to_xs, :fast_xs 8 | end 9 | rescue LoadError 10 | # fast_xs extension unavailable. 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' 2 | 3 | class <%= controller_class_name %>ControllerTest < ActionController::TestCase 4 | # Replace this with your real tests. 5 | def test_truth 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/rails.rb: -------------------------------------------------------------------------------- 1 | $VERBOSE = nil 2 | 3 | # Load Rails rakefile extensions 4 | Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext } 5 | 6 | # Load any custom rakefile extensions 7 | Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } 8 | Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext } 9 | -------------------------------------------------------------------------------- /doc/ideas.txt: -------------------------------------------------------------------------------- 1 | - Recent Tasks 2 | - Tasks from Author 3 | - Profile with hCard 4 | - .rb respond_to 5 | - iPhone view 6 | - Moderation of new tasks w/ Admin users 7 | - simply_version'd sakes 8 | - Favorite sakes 9 | - simply_version'd FAQ 10 | - Morph routes trick 11 | - Sphinx Search 12 | - Popular Tasks 13 | - Recently Popular Tasks 14 | - Object caching 15 | - Fragment caching -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb: -------------------------------------------------------------------------------- 1 | class Module 2 | def as_load_path 3 | if self == Object || self == Kernel 4 | '' 5 | elsif is_a? Class 6 | parent == self ? '' : parent.as_load_path 7 | else 8 | name.split('::').collect do |word| 9 | word.underscore 10 | end * '/' 11 | end 12 | end 13 | end -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/_feed.rhtml: -------------------------------------------------------------------------------- 1 | <% 2 | feed_params = [:id, :query, :date_ranges_filter, :exception_names_filter, :controller_actions_filter].inject({:format => 'rss'}) do |p, key| 3 | params[key].blank? ? p : p.update(key => params[key]) 4 | end 5 | -%> 6 | -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/init.rb: -------------------------------------------------------------------------------- 1 | if RAILS_ENV == 'test' 2 | 3 | require "form_test_helper" 4 | Test::Unit::TestCase.send :include, FormTestHelper 5 | 6 | # I have to include FormTestHelper this way or it loads from gems and not vendor: 7 | module ActionController::Integration 8 | class Session 9 | include FormTestHelper 10 | end 11 | end 12 | 13 | end -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/test_status.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | class TestStatus < TestDummy 3 | 4 | def should_equal(status, message=nil) 5 | assert_response status, message 6 | end 7 | alias :should_be :should_equal 8 | 9 | def to_s 10 | @response.response_code.to_s 11 | end 12 | 13 | end 14 | end 15 | 16 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/test_template.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | class TestTemplate < TestDummy 3 | 4 | def should_equal(template, message=nil) 5 | assert_template template, message 6 | end 7 | alias :should_be :should_equal 8 | 9 | def to_s 10 | @response.rendered_file 11 | end 12 | 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/replies.yml: -------------------------------------------------------------------------------- 1 | witty_retort: 2 | id: 1 3 | topic_id: 1 4 | developer_id: 1 5 | content: Birdman is better! 6 | created_at: <%= 6.hours.ago.to_s(:db) %> 7 | updated_at: nil 8 | 9 | another: 10 | id: 2 11 | topic_id: 2 12 | developer_id: 1 13 | content: Nuh uh! 14 | created_at: <%= 1.hour.ago.to_s(:db) %> 15 | updated_at: nil -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/testing_sandbox.rb: -------------------------------------------------------------------------------- 1 | module TestingSandbox 2 | # Temporarily replaces KCODE for the block 3 | def with_kcode(kcode) 4 | if RUBY_VERSION < '1.9' 5 | old_kcode, $KCODE = $KCODE, kcode 6 | begin 7 | yield 8 | ensure 9 | $KCODE = old_kcode 10 | end 11 | else 12 | yield 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Array #:nodoc: 4 | module RandomAccess 5 | # Return a random element from the array. 6 | def rand 7 | self[Kernel.rand(length)] 8 | end 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails/info_controller.rb: -------------------------------------------------------------------------------- 1 | class Rails::InfoController < ActionController::Base 2 | def properties 3 | if local_request? 4 | render :inline => Rails::Info.to_html 5 | else 6 | render :text => '

For security purposes, this information is only available to local requests.

', :status => 500 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/fresh_rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rake/rdoctask' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/generators/simply_versioned_migration/simply_versioned_migration_generator.rb: -------------------------------------------------------------------------------- 1 | class SimplyVersionedMigrationGenerator < Rails::Generator::Base 2 | def manifest 3 | record do |m| 4 | m.migration_template 'migration.rb', 'db/migrate' 5 | end 6 | end 7 | 8 | def file_name 9 | "simply_versioned_migration" 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/developer.rb: -------------------------------------------------------------------------------- 1 | class Developer < User 2 | has_and_belongs_to_many :projects, :include => :topics, :order => 'projects.name' 3 | 4 | def self.with_poor_ones(&block) 5 | with_scope :find => { :conditions => ['salary <= ?', 80000], :order => 'salary' } do 6 | yield 7 | end 8 | end 9 | 10 | def self.per_page() 10 end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Range #:nodoc: 4 | # Check if Ranges overlap. 5 | module Overlaps 6 | def overlaps?(other) 7 | include?(other.first) || other.include?(first) 8 | end 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /test/fixtures/tasks/gems_find.task: -------------------------------------------------------------------------------- 1 | desc 'Return path to a gem in cache; e.g. sake gems:find activerecord | xargs mate' 2 | task 'gems:find' do 3 | if ARGV.last then 4 | gem_path = Gem.source_index.find_name(ARGV.last).last.full_gem_path 5 | else 6 | gem_path = Gem.source_index.find_name("sources").last.full_gem_path.split("sources").first 7 | end 8 | print(gem_path) 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/parrot.rb: -------------------------------------------------------------------------------- 1 | class Parrot < ActiveRecord::Base 2 | set_inheritance_column :parrot_sti_class 3 | has_and_belongs_to_many :pirates 4 | has_and_belongs_to_many :treasures 5 | has_many :loots, :as => :looter 6 | end 7 | 8 | class LiveParrot < Parrot 9 | end 10 | 11 | class DeadParrot < Parrot 12 | belongs_to :killer, :class_name => 'Pirate' 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/pathname_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class TestPathname < Test::Unit::TestCase 4 | def test_clean_within 5 | assert_equal "Hi", Pathname.clean_within("Hi") 6 | assert_equal "Hi", Pathname.clean_within("Hi/a/b/../..") 7 | assert_equal "Hello\nWorld", Pathname.clean_within("Hello/a/b/../..\na/b/../../World/c/..") 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | salary: 80000 5 | 6 | jamis: 7 | id: 2 8 | name: Jamis 9 | salary: 150000 10 | 11 | <% for digit in 3..10 %> 12 | dev_<%= digit %>: 13 | id: <%= digit %> 14 | name: fixture_<%= digit %> 15 | salary: 100000 16 | <% end %> 17 | 18 | poor_jamis: 19 | id: 11 20 | name: Jamis 21 | salary: 9000 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/developers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | salary: 80000 5 | 6 | jamis: 7 | id: 2 8 | name: Jamis 9 | salary: 150000 10 | 11 | <% for digit in 3..10 %> 12 | dev_<%= digit %>: 13 | id: <%= digit %> 14 | name: fixture_<%= digit %> 15 | salary: 100000 16 | <% end %> 17 | 18 | poor_jamis: 19 | id: 11 20 | name: Jamis 21 | salary: 9000 -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/proc_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class ProcTests < Test::Unit::TestCase 4 | def test_bind_returns_method_with_changed_self 5 | block = Proc.new { self } 6 | assert_equal self, block.call 7 | bound_block = block.bind("hello") 8 | assert_not_equal block, bound_block 9 | assert_equal "hello", bound_block.call 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/companies.yml: -------------------------------------------------------------------------------- 1 | thirty_seven_signals: 2 | id: 1 3 | name: 37Signals 4 | rating: 4 5 | 6 | TextDrive: 7 | id: 2 8 | name: TextDrive 9 | rating: 4 10 | 11 | PlanetArgon: 12 | id: 3 13 | name: Planet Argon 14 | rating: 4 15 | 16 | Google: 17 | id: 4 18 | name: Google 19 | rating: 4 20 | 21 | Ionist: 22 | id: 5 23 | name: Ioni.st 24 | rating: 4 -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/beast.rb: -------------------------------------------------------------------------------- 1 | class BeastResource < ActiveResource::Base 2 | self.site = 'http://beast.caboo.se' 3 | site.user = 'foo' 4 | site.password = 'bar' 5 | end 6 | 7 | class Forum < BeastResource 8 | # taken from BeastResource 9 | # self.site = 'http://beast.caboo.se' 10 | end 11 | 12 | class Topic < BeastResource 13 | self.site += '/forums/:forum_id' 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb: -------------------------------------------------------------------------------- 1 | require "#{File.dirname(__FILE__)}<%= '/..' * class_nesting_depth %>/../test_helper" 2 | 3 | class <%= class_name %>Test < ActionController::IntegrationTest 4 | # fixtures :your, :models 5 | 6 | # Replace this with your real tests. 7 | def test_truth 8 | assert true 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rake/rdoctask' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor.rb: -------------------------------------------------------------------------------- 1 | # Prefer gems to the bundled libs. 2 | require 'rubygems' 3 | 4 | begin 5 | gem 'tmail', '~> 1.2.2' 6 | rescue Gem::LoadError 7 | $:.unshift "#{File.dirname(__FILE__)}/vendor/tmail-1.2.2" 8 | end 9 | 10 | begin 11 | gem 'text-format', '>= 0.6.3' 12 | rescue Gem::LoadError 13 | $:.unshift "#{File.dirname(__FILE__)}/vendor/text-format-0.6.3" 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb: -------------------------------------------------------------------------------- 1 | <% replacement_function = update_element_function("products", :action => :update) do %> 2 |

Product 1

3 |

Product 2

4 | <% end %> 5 | <%= javascript_tag(replacement_function) %> 6 | 7 | <% update_element_function("status", :action => :update, :binding => binding) do %> 8 | You bought something! 9 | <% end %> 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- 1 | david_action_controller: 2 | developer_id: 1 3 | project_id: 2 4 | joined_on: 2004-10-10 5 | 6 | david_active_record: 7 | developer_id: 1 8 | project_id: 1 9 | joined_on: 2004-10-10 10 | 11 | jamis_active_record: 12 | developer_id: 2 13 | project_id: 1 14 | 15 | poor_jamis_active_record: 16 | developer_id: 11 17 | project_id: 1 -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/cache/drb_store.rb: -------------------------------------------------------------------------------- 1 | require 'drb' 2 | 3 | module ActiveSupport 4 | module Cache 5 | class DRbStore < MemoryStore #:nodoc: 6 | attr_reader :address 7 | 8 | def initialize(address = 'druby://localhost:9192') 9 | super() 10 | @address = address 11 | @data = DRbObject.new(nil, address) 12 | end 13 | end 14 | end 15 | end -------------------------------------------------------------------------------- /vendor/rails/activemodel/CHANGES: -------------------------------------------------------------------------------- 1 | Changes from extracting bits to ActiveModel 2 | 3 | * ActiveModel::Observer#add_observer! 4 | 5 | It has a custom hook to define after_find that should really be in a 6 | ActiveRecord::Observer subclass: 7 | 8 | def add_observer!(klass) 9 | klass.add_observer(self) 10 | klass.class_eval 'def after_find() end' unless 11 | klass.respond_to?(:after_find) 12 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Date #:nodoc: 4 | module Behavior 5 | # Enable more predictable duck-typing on Date-like classes. See 6 | # Object#acts_like?. 7 | def acts_like_date? 8 | true 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Time #:nodoc: 4 | module Behavior 5 | # Enable more predictable duck-typing on Time-like classes. See 6 | # Object#acts_like?. 7 | def acts_like_time? 8 | true 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb: -------------------------------------------------------------------------------- 1 | # I have access to my directory and the Rails config. 2 | raise 'directory expected but undefined in init.rb' unless defined? directory 3 | raise 'config expected but undefined in init.rb' unless defined? config 4 | 5 | # My lib/ dir must be in the load path. 6 | require 'stubby_mixin' 7 | raise 'missing mixin from my lib/ dir' unless defined? StubbyMixin 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/test_case.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit/testcase' 2 | require 'active_support/testing/setup_and_teardown' 3 | require 'active_support/testing/default' 4 | 5 | # TODO: move to core_ext 6 | class Test::Unit::TestCase #:nodoc: 7 | include ActiveSupport::Testing::SetupAndTeardown 8 | end 9 | 10 | module ActiveSupport 11 | class TestCase < Test::Unit::TestCase 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb: -------------------------------------------------------------------------------- 1 | <% for attribute in attributes -%> 2 |

3 | <%= attribute.column.human_name %>: 4 | <%%=h @<%= singular_name %>.<%= attribute.name %> %> 5 |

6 | 7 | <% end -%> 8 | 9 | <%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> | 10 | <%%= link_to 'Back', <%= plural_name %>_path %> 11 | -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | -------------------------------------------------------------------------------- /db/migrate/001_create_tasks.rb: -------------------------------------------------------------------------------- 1 | class CreateTasks < ActiveRecord::Migration 2 | def self.up 3 | create_table :tasks do |t| 4 | t.string :name 5 | t.text :body 6 | t.integer :views, :default => 0 7 | t.text :description 8 | t.integer :user_id 9 | t.boolean :approved 10 | 11 | t.timestamps 12 | end 13 | end 14 | 15 | def self.down 16 | drop_table :tasks 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /lib/authenticated_test_helper.rb: -------------------------------------------------------------------------------- 1 | module AuthenticatedTestHelper 2 | # Sets the current user in the session from the user fixtures. 3 | def login_as(user) 4 | @request.session[:user_id] = user ? users(user).id : nil 5 | end 6 | 7 | def authorize_as(user) 8 | @request.env["HTTP_AUTHORIZATION"] = user ? ActionController::HttpAuthentication::Basic.encode_credentials(users(user).login, 'test') : nil 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/hubahuba/lib/rails.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | def self.environment 3 | ENV['RAILS_ENV'].to_s.downcase 4 | end 5 | 6 | def self.development? 7 | environment == 'development' 8 | end 9 | 10 | def self.production? 11 | environment == 'production' 12 | end 13 | 14 | def self.test? 15 | environment == 'test' 16 | end 17 | 18 | def self.none? 19 | environment.empty? 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environment.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.dirname(__FILE__), 'boot') 2 | 3 | Rails::Initializer.run do |config| 4 | config.log_level = :debug 5 | config.cache_classes = false 6 | config.whiny_nils = true 7 | config.breakpoint_server = true 8 | config.load_paths << "#{File.dirname(__FILE__)}/../../../lib/" 9 | end 10 | 11 | Dependencies.log_activity = true 12 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/lib/html_inner_text.rb: -------------------------------------------------------------------------------- 1 | require 'action_controller/test_process' 2 | 3 | module HTML 4 | class Node 5 | def inner_text 6 | children.map(&:inner_text).join('') 7 | end 8 | end 9 | 10 | class Text 11 | def inner_text 12 | self.to_s 13 | end 14 | end 15 | 16 | class Tag 17 | def inner_text 18 | childless?? '' : super 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/controllers/application.rb: -------------------------------------------------------------------------------- 1 | # Filters added to this controller apply to all controllers in the application. 2 | # Likewise, all the methods added will be available for all controllers. 3 | 4 | class ApplicationController < ActionController::Base 5 | # Pick a unique cookie name to distinguish our session data from others' 6 | session :session_key => '_rail_root_session_id' 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb: -------------------------------------------------------------------------------- 1 | # Chars uses this handler when $KCODE is not set to 'UTF8'. Because this handler doesn't define any methods all call 2 | # will be forwarded to String. 3 | class ActiveSupport::Multibyte::Handlers::PassthruHandler #:nodoc: 4 | 5 | # Return the original byteoffset 6 | def self.translate_offset(string, byte_offset) #:nodoc: 7 | byte_offset 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | The 'rails' command creates a new Rails application with a default 3 | directory structure and configuration at the path you specify. 4 | 5 | Example: 6 | rails ~/Code/Ruby/weblog 7 | 8 | This generates a skeletal Rails installation in ~/Code/Ruby/weblog. 9 | See the README in the newly created application to get going. 10 | -------------------------------------------------------------------------------- /test/fixtures/tasks/pastie_patch.task: -------------------------------------------------------------------------------- 1 | desc 'Apply a patch directly from Pastie' 2 | task 'pastie:patch' do 3 | require("open-uri") 4 | pastie_url = "http://pastie.caboo.se/%s.txt" 5 | patch_id = ENV["PASTE"].gsub(/\D/, "") 6 | patch = open((pastie_url % patch_id)).read 7 | File.open("patch.diff", "w+") { |f| f.puts(patch) } 8 | `patch -p0 < patch.diff && rm patch.diff` 9 | puts("Patched with pastie ##{patch_id}.") 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/test_layout.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | class TestLayout < TestDummy 3 | 4 | def should_equal(expected, message=nil) 5 | layout = @response.layout.gsub(/layouts\//, '') 6 | assert_equal layout, expected, message 7 | end 8 | alias :should_be :should_equal 9 | 10 | def to_s 11 | @response.rendered_file 12 | end 13 | 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/proc.rb: -------------------------------------------------------------------------------- 1 | class Proc #:nodoc: 2 | def bind(object) 3 | block, time = self, Time.now 4 | (class << object; self end).class_eval do 5 | method_name = "__bind_#{time.to_i}_#{time.usec}" 6 | define_method(method_name, &block) 7 | method = instance_method(method_name) 8 | remove_method(method_name) 9 | method 10 | end.bind(object) 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %> < ActionMailer::Base 2 | <% for action in actions -%> 3 | 4 | def <%= action %>(sent_at = Time.now) 5 | @subject = '<%= class_name %>#<%= action %>' 6 | @body = {} 7 | @recipients = '' 8 | @from = '' 9 | @sent_on = sent_at 10 | @headers = {} 11 | end 12 | <% end -%> 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/vertex.rb: -------------------------------------------------------------------------------- 1 | # This class models a vertex in a directed graph. 2 | class Vertex < ActiveRecord::Base 3 | has_many :sink_edges, :class_name => 'Edge', :foreign_key => 'source_id' 4 | has_many :sinks, :through => :sink_edges 5 | 6 | has_and_belongs_to_many :sources, 7 | :class_name => 'Vertex', :join_table => 'edges', 8 | :foreign_key => 'sink_id', :association_foreign_key => 'source_id' 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/schema2.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Schema.define do 2 | 3 | # adapter name is checked because we are under a transition of 4 | # moving the sql files under activerecord/test/fixtures/db_definitions 5 | # to this file, schema.rb. 6 | if adapter_name == "MySQL" 7 | Course.connection.create_table :courses, :force => true do |t| 8 | t.column :name, :string, :null => false 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/numeric/time' 2 | require 'active_support/core_ext/numeric/bytes' 3 | require 'active_support/core_ext/numeric/conversions' 4 | 5 | class Numeric #:nodoc: 6 | include ActiveSupport::CoreExtensions::Numeric::Time 7 | include ActiveSupport::CoreExtensions::Numeric::Bytes 8 | include ActiveSupport::CoreExtensions::Numeric::Conversions 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/bigdecimal.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class BigDecimalTest < Test::Unit::TestCase 4 | def test_to_yaml 5 | assert_equal("--- 100000.30020320320000000000000000000000000000001\n", BigDecimal.new('100000.30020320320000000000000000000000000000001').to_yaml) 6 | assert_equal("--- .Inf\n", BigDecimal.new('Infinity').to_yaml) 7 | assert_equal("--- .NaN\n", BigDecimal.new('NaN').to_yaml) 8 | end 9 | end -------------------------------------------------------------------------------- /test/fixtures/tasks/yaml_to_spec.task: -------------------------------------------------------------------------------- 1 | desc 'Converts a YAML file into a test/spec skeleton' 2 | task 'yaml_to_spec' do 3 | require("yaml") 4 | puts(YAML.load_file((ENV["FILE"] or ((not puts("Pass in FILE argument.")) and exit))).inject("") do |t, (c, s)| 5 | (t + if s then 6 | (("context \"#{c}\" do" + (s.map { |d| "\n xspecify \"#{d}\" do\n end\n" } * "")) + "end\n\n") 7 | else 8 | "" 9 | end) 10 | end.strip) 11 | end 12 | -------------------------------------------------------------------------------- /vendor/plugins/auto_migrations/tasks/auto_migrations_tasks.rake: -------------------------------------------------------------------------------- 1 | namespace :db do 2 | namespace :auto do 3 | desc "Use schema.rb to auto-migrate" 4 | task :migrate => :environment do 5 | AutoMigrations.run 6 | end 7 | end 8 | 9 | namespace :schema do 10 | desc "Create migration from schema.rb" 11 | task :to_migration => :environment do 12 | AutoMigrations.schema_to_migration 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios_builder/lib/fixture_scenarios_hack.rb: -------------------------------------------------------------------------------- 1 | class Test::Unit::TestCase 2 | def self.scenario_with_builder(*args) 3 | # try to build ruby driven scenarios 4 | if File.exists? scenarios_rb = File.join(fixture_path, 'scenarios.rb') 5 | require scenarios_rb 6 | end 7 | scenario_without_builder(*args) 8 | end 9 | 10 | class << self 11 | alias_method_chain :scenario, :builder 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb: -------------------------------------------------------------------------------- 1 |

Routing Error

2 |

<%=h @exception.message %>

3 | <% unless @exception.failures.empty? %>

4 |

Failure reasons:

5 |
    6 | <% @exception.failures.each do |route, reason| %> 7 |
  1. <%=h route.inspect.gsub('\\', '') %> failed because <%=h reason.downcase %>
  2. 8 | <% end %> 9 |
10 |

<% end %> 11 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb: -------------------------------------------------------------------------------- 1 | class Module 2 | def included_in_classes 3 | classes = [] 4 | ObjectSpace.each_object(Class) { |k| classes << k if k.included_modules.include?(self) } 5 | 6 | classes.reverse.inject([]) do |unique_classes, klass| 7 | unique_classes << klass unless unique_classes.collect { |k| k.to_s }.include?(klass.to_s) 8 | unique_classes 9 | end 10 | end 11 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories_posts.yml: -------------------------------------------------------------------------------- 1 | general_welcome: 2 | category_id: 1 3 | post_id: 1 4 | 5 | technology_welcome: 6 | category_id: 2 7 | post_id: 1 8 | 9 | general_thinking: 10 | category_id: 1 11 | post_id: 2 12 | 13 | general_sti_habtm: 14 | category_id: 1 15 | post_id: 6 16 | 17 | sti_test_sti_habtm: 18 | category_id: 3 19 | post_id: 6 20 | 21 | general_hello: 22 | category_id: 1 23 | post_id: 4 24 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/base64_ext_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class Base64Test < Test::Unit::TestCase 4 | def test_no_newline_in_encoded_value 5 | assert_match(/\n/, ActiveSupport::Base64.encode64("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) 6 | assert_no_match(/\n/, ActiveSupport::Base64.encode64s("oneverylongstringthatwouldnormallybesplitupbynewlinesbytheregularbase64")) 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | -------------------------------------------------------------------------------- /test/functional/favorites_controller_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/../test_helper' 2 | 3 | context "FavoritesController" do 4 | scenario :default 5 | use_controller FavoritesController 6 | 7 | setup do 8 | login_as chris 9 | chris.favorite simple_task 10 | get :index, :user_id => chris.id 11 | end 12 | 13 | specify "lists a user's favorites" do 14 | body['.tasks'].should.include simple_task.name 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios_builder/tasks/fixture_scenarios_builder_tasks.rake: -------------------------------------------------------------------------------- 1 | namespace :db do 2 | namespace :scenario do 3 | desc 'Build scenarios' 4 | task :build => :environment do 5 | require 'active_record/fixtures' 6 | require 'fixture_scenarios' 7 | if File.exists? scenarios_rb = File.join(RAILS_ROOT, 'test', 'fixtures', 'scenarios.rb') 8 | require scenarios_rb 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/customers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | balance: 50 5 | address_street: Funny Street 6 | address_city: Scary Town 7 | address_country: Loony Land 8 | gps_location: 35.544623640962634x-105.9309951055148 9 | 10 | zaphod: 11 | id: 2 12 | name: Zaphod 13 | balance: 62 14 | address_street: Avenue Road 15 | address_city: Hamlet Town 16 | address_country: Nation Land 17 | gps_location: NULL -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/date.rb: -------------------------------------------------------------------------------- 1 | require 'date' 2 | require 'active_support/core_ext/date/behavior' 3 | require 'active_support/core_ext/date/calculations' 4 | require 'active_support/core_ext/date/conversions' 5 | 6 | class Date#:nodoc: 7 | include ActiveSupport::CoreExtensions::Date::Behavior 8 | include ActiveSupport::CoreExtensions::Date::Calculations 9 | include ActiveSupport::CoreExtensions::Date::Conversions 10 | end 11 | -------------------------------------------------------------------------------- /app/views/tasks/show.html.erb: -------------------------------------------------------------------------------- 1 |

2 | <%= current_task %> 3 | 4 | <% if logged_in? %> 5 | <% form_tag favorite_task_path, :id => 'favorite_task' do %> 6 | 7 | <% end %> 8 | <% end %> 9 |

10 | 11 | By <%= current_task.user %> <%= time_ago_in_words current_task.created_at %> 12 | 13 |
14 | <%= current_task.body %>
15 | 
16 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | VERSION = "0.1" 3 | end 4 | 5 | require 'test/spec' 6 | 7 | %w( 8 | test_spec_ext 9 | test_unit_ext 10 | 11 | test_dummy 12 | dummy_response 13 | test_status 14 | test_template 15 | 16 | should_redirect 17 | should_select 18 | should_validate 19 | 20 | use_controller 21 | 22 | ).each do |file| 23 | require "test/spec/rails/#{file}" 24 | end 25 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Stubs out a new integration test. Pass the name of the test, either 3 | CamelCased or under_scored, as an argument. The new test class is 4 | generated in test/integration/testname_test.rb 5 | 6 | Example: 7 | `./script/generate integration_test GeneralStories` creates a GeneralStories 8 | integration test in test/integration/general_stories_test.rb 9 | -------------------------------------------------------------------------------- /app/views/sessions/new.html.erb: -------------------------------------------------------------------------------- 1 | <% form_tag session_path do -%> 2 |


3 | <%= text_field_tag 'login' %>

4 | 5 |


6 | <%= password_field_tag 'password' %>

7 | 8 | 12 | 13 |

<%= submit_tag 'Log in' %>

14 | <% end -%> 15 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | #-- 4 | # Copyright 2004 by Jim Weirich (jim@weirichhouse.org). 5 | # All rights reserved. 6 | 7 | # Permission is granted for use, copying, modification, distribution, 8 | # and distribution of modified versions of this work as long as the 9 | # above copyright notice is included. 10 | #++ 11 | 12 | require 'builder/xmlmarkup' 13 | require 'builder/xmlevents' 14 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/README: -------------------------------------------------------------------------------- 1 | == cache_fu 2 | 3 | A rewrite of acts_as_cached. 4 | 5 | == Changes from acts_as_cached 1 6 | 7 | - You can no longer set a 'ttl' method on a class. Instead, 8 | pass :ttl to acts_as_cached: 9 | >> acts_as_cached :ttl => 15.minutes 10 | 11 | - The is_cached? method is aliased as cached? 12 | 13 | - set_cache on an instance can take a ttl 14 | >> @story.set_cache(15.days) 15 | 16 | 17 | Chris Wanstrath [ chris[at]ozmm[dot]org ] 18 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Makes backticks behave (somewhat more) similarly on all platforms. 3 | # On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the 4 | # spawned shell prints a message to stderr and sets $?. We emulate 5 | # Unix on the former but not the latter. 6 | def `(command) #:nodoc: 7 | super 8 | rescue Errno::ENOENT => e 9 | STDERR.puts "#$0: #{e}" 10 | end 11 | end -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- 1 | development: 2 | adapter: mysql 3 | encoding: utf8 4 | database: sakerb_development 5 | username: root 6 | password: 7 | host: localhost 8 | 9 | test: 10 | adapter: mysql 11 | encoding: utf8 12 | database: sakerb_test 13 | username: root 14 | password: 15 | host: localhost 16 | 17 | production: 18 | adapter: mysql 19 | encoding: utf8 20 | database: sakerb_production 21 | username: root 22 | password: 23 | host: localhost 24 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/tagging.rb: -------------------------------------------------------------------------------- 1 | # test that attr_readonly isn't called on the :taggable polymorphic association 2 | module Taggable 3 | end 4 | 5 | class Tagging < ActiveRecord::Base 6 | belongs_to :tag, :include => :tagging 7 | belongs_to :super_tag, :class_name => 'Tag', :foreign_key => 'super_tag_id' 8 | belongs_to :invalid_tag, :class_name => 'Tag', :foreign_key => 'tag_id' 9 | belongs_to :taggable, :polymorphic => true, :counter_cache => true 10 | end -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- 1 | config.cache_classes = true 2 | config.action_controller.consider_all_requests_local = false 3 | config.action_controller.perform_caching = true 4 | config.action_view.cache_template_loading = true 5 | config.action_mailer.raise_delivery_errors = false 6 | # config.action_controller.asset_host = "http://assets.example.com" 7 | 8 | ENV['RAILS_ASSET_ID'] = File.read(RAILS_ROOT + '/.git/refs/heads/deploy').chomp 9 | -------------------------------------------------------------------------------- /vendor/plugins/bj/lib/orderedautohash.rb: -------------------------------------------------------------------------------- 1 | # 2 | # auto vivifying ordered hash that dumps as yaml nicely 3 | # 4 | require 'orderedhash' unless defined? OrderedHash 5 | 6 | class AutoOrderedHash < OrderedHash 7 | def initialize(*args) 8 | super(*args){|a,k| a[k] = __class__.new(*args)} 9 | end 10 | def class # for nice yaml 11 | Hash 12 | end 13 | def __class__ 14 | AutoOrderedHash 15 | end 16 | end # class AutoOrderedHash 17 | 18 | OrderedAutoHash = AutoOrderedHash 19 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Observer < ActiveRecord::Observer 2 | def after_create(<%= file_name %>) 3 | <%= class_name %>Mailer.deliver_signup_notification(<%= file_name %>) 4 | end 5 | 6 | def after_save(<%= file_name %>) 7 | <% if options[:include_activation] %> 8 | <%= class_name %>Mailer.deliver_activation(<%= file_name %>) if <%= file_name %>.pending? 9 | <% end %> 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/tasks/environment.rake: -------------------------------------------------------------------------------- 1 | %w( development production ).each do |env| 2 | desc "Runs the following task in the #{env} environment" 3 | task env do 4 | RAILS_ENV = ENV['RAILS_ENV'] = env 5 | end 6 | end 7 | 8 | desc "Runs the following task in the test environment" 9 | task :testing do 10 | RAILS_ENV = ENV['RAILS_ENV'] = 'test' 11 | end 12 | 13 | task :dev do 14 | Rake::Task["development"].invoke 15 | end 16 | 17 | task :prod do 18 | Rake::Task["production"].invoke 19 | end 20 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/lib/load_fixtures.rb: -------------------------------------------------------------------------------- 1 | dirname = File.dirname(__FILE__) 2 | require File.join(dirname, '..', 'boot') 3 | require File.join(dirname, 'activerecord_test_connector') 4 | 5 | # setup the connection 6 | ActiveRecordTestConnector.setup 7 | 8 | # load all fixtures 9 | fixture_path = File.join(dirname, '..', 'fixtures') 10 | Fixtures.create_fixtures(fixture_path, ActiveRecord::Base.connection.tables) 11 | 12 | require 'will_paginate' 13 | WillPaginate.enable_activerecord 14 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/accounts.yml: -------------------------------------------------------------------------------- 1 | signals37: 2 | id: 1 3 | firm_id: 1 4 | credit_limit: 50 5 | 6 | unknown: 7 | id: 2 8 | credit_limit: 50 9 | 10 | rails_core_account: 11 | id: 3 12 | firm_id: 6 13 | credit_limit: 50 14 | 15 | last_account: 16 | id: 4 17 | firm_id: 2 18 | credit_limit: 60 19 | 20 | rails_core_account_2: 21 | id: 5 22 | firm_id: 6 23 | credit_limit: 55 24 | 25 | odegy_account: 26 | id: 6 27 | firm_id: 9 28 | credit_limit: 53 29 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Pathname #:nodoc: 4 | module CleanWithin 5 | # Clean the paths contained in the provided string. 6 | def clean_within(string) 7 | string.gsub(%r{[\w. ]+(/[\w. ]+)+(\.rb)?(\b|$)}) do |path| 8 | new(path).cleanpath 9 | end 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Creates a migration to add the sessions table used by the Active Record 3 | session store. Pass the migration name, either CamelCased or under_scored, 4 | as an argument. 5 | 6 | Example: 7 | `./script/generate session_migration CreateSessionTable` 8 | 9 | With 4 existing migrations, this creates the AddSessionTable migration 10 | in db/migrate/005_add_session_table.rb 11 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/database.yml: -------------------------------------------------------------------------------- 1 | sqlite3: 2 | database: ":memory:" 3 | adapter: sqlite3 4 | timeout: 500 5 | 6 | sqlite2: 7 | database: ":memory:" 8 | adapter: sqlite2 9 | 10 | mysql: 11 | adapter: mysql 12 | username: rails 13 | password: mislav 14 | encoding: utf8 15 | database: will_paginate_unittest 16 | 17 | postgres: 18 | adapter: postgresql 19 | username: mislav 20 | password: mislav 21 | database: will_paginate_unittest 22 | min_messages: warning 23 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/base64.rb: -------------------------------------------------------------------------------- 1 | begin 2 | require 'base64' 3 | rescue LoadError 4 | end 5 | 6 | module ActiveSupport 7 | if defined? ::Base64 8 | Base64 = ::Base64 9 | else 10 | # Ruby 1.9 doesn't provide base64, so we wrap this here 11 | module Base64 12 | 13 | def self.encode64(data) 14 | [data].pack("m") 15 | end 16 | 17 | def self.decode64(data) 18 | data.unpack("m").first 19 | end 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /db/migrate/003_simply_versioned_migration.rb: -------------------------------------------------------------------------------- 1 | class SimplyVersionedMigration < ActiveRecord::Migration 2 | 3 | def self.up 4 | create_table :versions do |t| 5 | t.integer :versionable_id 6 | t.string :versionable_type 7 | t.integer :number 8 | t.text :yaml 9 | t.datetime :created_at 10 | end 11 | 12 | add_index :versions, [:versionable_id, :versionable_type] 13 | end 14 | 15 | def self.down 16 | drop_table :versions 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/database.yml: -------------------------------------------------------------------------------- 1 | sqlite: 2 | :adapter: sqlite 3 | :dbfile: attachment_fu_plugin.sqlite.db 4 | sqlite3: 5 | :adapter: sqlite3 6 | :dbfile: attachment_fu_plugin.sqlite3.db 7 | postgresql: 8 | :adapter: postgresql 9 | :username: postgres 10 | :password: postgres 11 | :database: attachment_fu_plugin_test 12 | :min_messages: ERROR 13 | mysql: 14 | :adapter: mysql 15 | :host: localhost 16 | :username: rails 17 | :password: 18 | :database: attachment_fu_plugin_test -------------------------------------------------------------------------------- /vendor/rails/activemodel/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | ENV['LOG_NAME'] = 'spec' 2 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'vendor', 'rspec', 'lib') 3 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') 4 | require 'active_model' 5 | begin 6 | require 'spec' 7 | rescue LoadError 8 | require 'rubygems' 9 | require 'spec' 10 | end 11 | 12 | begin 13 | require 'ruby-debug' 14 | Debugger.start 15 | rescue LoadError 16 | # you do not know the ways of ruby-debug yet, what a shame 17 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb: -------------------------------------------------------------------------------- 1 | class <%= migration_name %> < ActiveRecord::Migration 2 | def self.up 3 | create_table :<%= table_name %> do |t| 4 | <% for attribute in attributes -%> 5 | t.<%= attribute.type %> :<%= attribute.name %> 6 | <% end -%> 7 | <% unless options[:skip_timestamps] %> 8 | t.timestamps 9 | <% end -%> 10 | end 11 | end 12 | 13 | def self.down 14 | drop_table :<%= table_name %> 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/active_resource/formats/json_format.rb: -------------------------------------------------------------------------------- 1 | module ActiveResource 2 | module Formats 3 | module JsonFormat 4 | extend self 5 | 6 | def extension 7 | "json" 8 | end 9 | 10 | def mime_type 11 | "application/json" 12 | end 13 | 14 | def encode(hash) 15 | hash.to_json 16 | end 17 | 18 | def decode(json) 19 | ActiveSupport::JSON.decode(json) 20 | end 21 | end 22 | end 23 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/module.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/module/inclusion' 2 | require 'active_support/core_ext/module/attribute_accessors' 3 | require 'active_support/core_ext/module/attr_internal' 4 | require 'active_support/core_ext/module/attr_accessor_with_default' 5 | require 'active_support/core_ext/module/delegation' 6 | require 'active_support/core_ext/module/introspection' 7 | require 'active_support/core_ext/module/loading' 8 | require 'active_support/core_ext/module/aliasing' 9 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb: -------------------------------------------------------------------------------- 1 | module Enumerable 2 | # Returns a JSON string representing the enumerable. Any +options+ 3 | # given will be passed on to its elements. For example: 4 | # 5 | # users = User.find(:all) 6 | # users.to_json(:only => :name) 7 | # 8 | # will pass the :only => :name option to each user. 9 | def to_json(options = {}) #:nodoc: 10 | "[#{map { |value| ActiveSupport::JSON.encode(value, options) } * ', '}]" 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/test/spec_testspec_order.rb: -------------------------------------------------------------------------------- 1 | require 'test/spec' 2 | 3 | $foo = 0 4 | 5 | context "Context First" do 6 | specify "runs before Second" do 7 | $foo.should.equal 0 8 | $foo += 1 9 | end 10 | end 11 | 12 | context "Context Second" do 13 | specify "runs before Last" do 14 | $foo.should.equal 1 15 | $foo += 1 16 | end 17 | end 18 | 19 | context "Context Last" do 20 | specify "runs last" do 21 | $foo.should.equal 2 22 | $foo += 1 23 | end 24 | end 25 | 26 | 27 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/taggings.yml: -------------------------------------------------------------------------------- 1 | welcome_general: 2 | id: 1 3 | tag_id: 1 4 | super_tag_id: 2 5 | taggable_id: 1 6 | taggable_type: Post 7 | 8 | thinking_general: 9 | id: 2 10 | tag_id: 1 11 | taggable_id: 2 12 | taggable_type: Post 13 | 14 | fake: 15 | id: 3 16 | tag_id: 1 17 | taggable_id: 1 18 | taggable_type: FakeModel 19 | 20 | godfather: 21 | id: 4 22 | tag_id: 1 23 | taggable_id: 1 24 | taggable_type: Item 25 | 26 | orphaned: 27 | id: 5 28 | tag_id: 1 29 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Alias of to_s. 3 | def to_param 4 | to_s 5 | end 6 | 7 | # Converts an object into a string suitable for use as a URL query string, using the given key as the 8 | # param name. 9 | # 10 | # Note: This method is defined as a default implementation for all Objects for Hash#to_query to work. 11 | def to_query(key) 12 | "#{CGI.escape(key.to_s)}=#{CGI.escape(to_param.to_s)}" 13 | end 14 | end -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/should_validate.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails::ShouldValidate 2 | def validate 3 | assert_valid @object 4 | end 5 | alias :validated :validate 6 | end 7 | 8 | module Test::Spec::Rails::ShouldNotValidate 9 | def validate 10 | assert !@object.valid? 11 | end 12 | alias :validated :validate 13 | end 14 | 15 | Test::Spec::Should.send(:include, Test::Spec::Rails::ShouldValidate) 16 | Test::Spec::ShouldNot.send(:include, Test::Spec::Rails::ShouldNotValidate) 17 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/adv_attr_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/abstract_unit' 2 | require 'action_mailer/adv_attr_accessor' 3 | 4 | class AdvAttrTest < Test::Unit::TestCase 5 | class Person 6 | include ActionMailer::AdvAttrAccessor 7 | adv_attr_accessor :name 8 | end 9 | 10 | def test_adv_attr 11 | bob = Person.new 12 | assert_nil bob.name 13 | bob.name 'Bob' 14 | assert_equal 'Bob', bob.name 15 | 16 | assert_raise(ArgumentError) {bob.name 'x', 'y'} 17 | end 18 | 19 | 20 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Base64 #:nodoc: 4 | module Encoding 5 | # Encodes the value as base64 without the newline breaks. This makes the base64 encoding readily usable as URL parameters 6 | # or memcache keys without further processing. 7 | def encode64s(value) 8 | encode64(value).gsub(/\n/, '') 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module CGI #:nodoc: 4 | module EscapeSkippingSlashes #:nodoc: 5 | def escape_skipping_slashes(str) 6 | str = str.join('/') if str.respond_to? :join 7 | str.gsub(/([^ \/a-zA-Z0-9_.-])/n) do 8 | "%#{$1.unpack('H2').first.upcase}" 9 | end.tr(' ', '+') 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/railties/helpers/application.rb: -------------------------------------------------------------------------------- 1 | # Filters added to this controller apply to all controllers in the application. 2 | # Likewise, all the methods added will be available for all controllers. 3 | 4 | class ApplicationController < ActionController::Base 5 | helper :all # include all helpers, all the time 6 | 7 | # See ActionController::RequestForgeryProtection for details 8 | # Uncomment the :secret if you're not using the cookie session store 9 | protect_from_forgery # :secret => '<%= app_secret %>' 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/misc.rake: -------------------------------------------------------------------------------- 1 | task :default => :test 2 | task :environment do 3 | require(File.join(RAILS_ROOT, 'config', 'environment')) 4 | end 5 | 6 | require 'rails_generator/secret_key_generator' 7 | desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions. Pass a unique identifier to the generator using ID="some unique identifier" for greater security.' 8 | task :secret do 9 | puts Rails::SecretKeyGenerator.new(ENV['ID']).generate_secret 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/cgi_ext.rb: -------------------------------------------------------------------------------- 1 | require 'action_controller/cgi_ext/stdinput' 2 | require 'action_controller/cgi_ext/query_extension' 3 | require 'action_controller/cgi_ext/cookie' 4 | require 'action_controller/cgi_ext/session' 5 | 6 | class CGI #:nodoc: 7 | include ActionController::CgiExt::Stdinput 8 | 9 | class << self 10 | alias :escapeHTML_fail_on_nil :escapeHTML 11 | 12 | def escapeHTML(string) 13 | escapeHTML_fail_on_nil(string) unless string.nil? 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/databases/sqlite2.yml: -------------------------------------------------------------------------------- 1 | # SQLite version 2.x 2 | # gem install sqlite-ruby 3 | development: 4 | adapter: sqlite 5 | database: db/development.sqlite2 6 | 7 | # Warning: The database defined as 'test' will be erased and 8 | # re-generated from your development database when you run 'rake'. 9 | # Do not set this db to the same as development or production. 10 | test: 11 | adapter: sqlite 12 | database: db/test.sqlite2 13 | 14 | production: 15 | adapter: sqlite 16 | database: db/production.sqlite2 17 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb: -------------------------------------------------------------------------------- 1 |

2 | <%=h @exception.class.to_s %> 3 | <% if request.parameters['controller'] %> 4 | in <%=h request.parameters['controller'].humanize %>Controller<% if request.parameters['action'] %>#<%=h request.parameters['action'] %><% end %> 5 | <% end %> 6 |

7 |
<%=h @exception.clean_message %>
8 | 9 | <%= render_file(@rescues_path + "/_trace.erb", false) %> 10 | 11 | <%= render_file(@rescues_path + "/_request_and_response.erb", false) %> 12 | --------------------------------------------------------------------------------