├── .gitignore ├── .travis.yml ├── CHANGES.textile ├── Gemfile ├── README.md ├── Rakefile ├── apotomo.gemspec ├── config └── routes.rb ├── gemfiles ├── Gemfile.rails3-0 ├── Gemfile.rails3-1 ├── Gemfile.rails3-2 └── Gemfile.rails4-0 ├── lib ├── apotomo.rb ├── apotomo │ ├── apotomo.rake │ ├── debugging.rb │ ├── event.rb │ ├── event_handler.rb │ ├── invoke_event_handler.rb │ ├── javascript_generator.rb │ ├── rails │ │ ├── controller_methods.rb │ │ └── view_helper.rb │ ├── railtie.rb │ ├── request_processor.rb │ ├── test_case.rb │ ├── version.rb │ ├── widget.rb │ ├── widget │ │ ├── event_methods.rb │ │ ├── javascript_methods.rb │ │ └── tree_node.rb │ └── widget_shortcuts.rb └── generators │ ├── apotomo │ ├── USAGE │ └── widget_generator.rb │ ├── erb │ └── widget_generator.rb │ ├── haml │ └── widget_generator.rb │ ├── slim │ └── widget_generator.rb │ ├── templates │ ├── view.erb │ ├── view.haml │ ├── view.slim │ ├── widget.rb │ └── widget_test.rb │ └── test_unit │ └── widget_generator.rb └── test ├── apotomo_test.rb ├── dummy ├── Rakefile ├── app │ ├── controllers │ │ └── application_controller.rb │ ├── helpers │ │ └── application_helper.rb │ └── views │ │ └── layouts │ │ └── application.html.erb ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── backtrace_silencers.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── secret_token.rb │ │ └── session_store.rb │ ├── locales │ │ └── en.yml │ └── routes.rb ├── db │ └── test.sqlite3 └── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── stylesheets │ └── .gitkeep ├── event_handler_test.rb ├── event_methods_test.rb ├── event_test.rb ├── invoke_event_handler_test.rb ├── javascript_generator_test.rb ├── rails ├── caching_test.rb ├── controller_methods_test.rb ├── rails_integration_test.rb ├── view_helper_test.rb └── widget_generator_test.rb ├── render_test.rb ├── request_processor_test.rb ├── test_case_methods.rb ├── test_case_test.rb ├── test_helper.rb ├── tree_node_test.rb ├── widget_shortcuts_test.rb ├── widget_test.rb └── widgets └── mouse ├── eat.erb ├── eating.html.erb ├── educate.html.erb ├── feed.html.erb ├── make_me_squeak.html.erb └── snuggle.html.erb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.textile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/CHANGES.textile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/Gemfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/Rakefile -------------------------------------------------------------------------------- /apotomo.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/apotomo.gemspec -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/config/routes.rb -------------------------------------------------------------------------------- /gemfiles/Gemfile.rails3-0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/gemfiles/Gemfile.rails3-0 -------------------------------------------------------------------------------- /gemfiles/Gemfile.rails3-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/gemfiles/Gemfile.rails3-1 -------------------------------------------------------------------------------- /gemfiles/Gemfile.rails3-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/gemfiles/Gemfile.rails3-2 -------------------------------------------------------------------------------- /gemfiles/Gemfile.rails4-0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/gemfiles/Gemfile.rails4-0 -------------------------------------------------------------------------------- /lib/apotomo.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo.rb -------------------------------------------------------------------------------- /lib/apotomo/apotomo.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/apotomo.rake -------------------------------------------------------------------------------- /lib/apotomo/debugging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/debugging.rb -------------------------------------------------------------------------------- /lib/apotomo/event.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/event.rb -------------------------------------------------------------------------------- /lib/apotomo/event_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/event_handler.rb -------------------------------------------------------------------------------- /lib/apotomo/invoke_event_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/invoke_event_handler.rb -------------------------------------------------------------------------------- /lib/apotomo/javascript_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/javascript_generator.rb -------------------------------------------------------------------------------- /lib/apotomo/rails/controller_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/rails/controller_methods.rb -------------------------------------------------------------------------------- /lib/apotomo/rails/view_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/rails/view_helper.rb -------------------------------------------------------------------------------- /lib/apotomo/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/railtie.rb -------------------------------------------------------------------------------- /lib/apotomo/request_processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/request_processor.rb -------------------------------------------------------------------------------- /lib/apotomo/test_case.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/test_case.rb -------------------------------------------------------------------------------- /lib/apotomo/version.rb: -------------------------------------------------------------------------------- 1 | module Apotomo 2 | VERSION = '1.3.2' 3 | end 4 | -------------------------------------------------------------------------------- /lib/apotomo/widget.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/widget.rb -------------------------------------------------------------------------------- /lib/apotomo/widget/event_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/widget/event_methods.rb -------------------------------------------------------------------------------- /lib/apotomo/widget/javascript_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/widget/javascript_methods.rb -------------------------------------------------------------------------------- /lib/apotomo/widget/tree_node.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/widget/tree_node.rb -------------------------------------------------------------------------------- /lib/apotomo/widget_shortcuts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/apotomo/widget_shortcuts.rb -------------------------------------------------------------------------------- /lib/generators/apotomo/USAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/apotomo/USAGE -------------------------------------------------------------------------------- /lib/generators/apotomo/widget_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/apotomo/widget_generator.rb -------------------------------------------------------------------------------- /lib/generators/erb/widget_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/erb/widget_generator.rb -------------------------------------------------------------------------------- /lib/generators/haml/widget_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/haml/widget_generator.rb -------------------------------------------------------------------------------- /lib/generators/slim/widget_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/slim/widget_generator.rb -------------------------------------------------------------------------------- /lib/generators/templates/view.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/templates/view.erb -------------------------------------------------------------------------------- /lib/generators/templates/view.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/templates/view.haml -------------------------------------------------------------------------------- /lib/generators/templates/view.slim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/templates/view.slim -------------------------------------------------------------------------------- /lib/generators/templates/widget.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/templates/widget.rb -------------------------------------------------------------------------------- /lib/generators/templates/widget_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/templates/widget_test.rb -------------------------------------------------------------------------------- /lib/generators/test_unit/widget_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/lib/generators/test_unit/widget_generator.rb -------------------------------------------------------------------------------- /test/apotomo_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/apotomo_test.rb -------------------------------------------------------------------------------- /test/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/Rakefile -------------------------------------------------------------------------------- /test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /test/dummy/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /test/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config.ru -------------------------------------------------------------------------------- /test/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/application.rb -------------------------------------------------------------------------------- /test/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/boot.rb -------------------------------------------------------------------------------- /test/dummy/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/database.yml -------------------------------------------------------------------------------- /test/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/environment.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/environments/development.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/environments/production.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/environments/test.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/initializers/inflections.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/initializers/secret_token.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/initializers/session_store.rb -------------------------------------------------------------------------------- /test/dummy/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/locales/en.yml -------------------------------------------------------------------------------- /test/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/config/routes.rb -------------------------------------------------------------------------------- /test/dummy/db/test.sqlite3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/public/404.html -------------------------------------------------------------------------------- /test/dummy/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/public/422.html -------------------------------------------------------------------------------- /test/dummy/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/dummy/public/500.html -------------------------------------------------------------------------------- /test/dummy/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/event_handler_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/event_handler_test.rb -------------------------------------------------------------------------------- /test/event_methods_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/event_methods_test.rb -------------------------------------------------------------------------------- /test/event_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/event_test.rb -------------------------------------------------------------------------------- /test/invoke_event_handler_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/invoke_event_handler_test.rb -------------------------------------------------------------------------------- /test/javascript_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/javascript_generator_test.rb -------------------------------------------------------------------------------- /test/rails/caching_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/rails/caching_test.rb -------------------------------------------------------------------------------- /test/rails/controller_methods_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/rails/controller_methods_test.rb -------------------------------------------------------------------------------- /test/rails/rails_integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/rails/rails_integration_test.rb -------------------------------------------------------------------------------- /test/rails/view_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/rails/view_helper_test.rb -------------------------------------------------------------------------------- /test/rails/widget_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/rails/widget_generator_test.rb -------------------------------------------------------------------------------- /test/render_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/render_test.rb -------------------------------------------------------------------------------- /test/request_processor_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/request_processor_test.rb -------------------------------------------------------------------------------- /test/test_case_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/test_case_methods.rb -------------------------------------------------------------------------------- /test/test_case_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/test_case_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/tree_node_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/tree_node_test.rb -------------------------------------------------------------------------------- /test/widget_shortcuts_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/widget_shortcuts_test.rb -------------------------------------------------------------------------------- /test/widget_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apotonick/apotomo/HEAD/test/widget_test.rb -------------------------------------------------------------------------------- /test/widgets/mouse/eat.erb: -------------------------------------------------------------------------------- 1 |