metrics-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/LICENSE +24 -0
  2. data/README.md +105 -0
  3. data/Rakefile +41 -0
  4. data/lib/metrics-rails.rb +1 -0
  5. data/lib/metrics/rails.rb +226 -0
  6. data/lib/metrics/rails/aggregator.rb +48 -0
  7. data/lib/metrics/rails/counter_cache.rb +41 -0
  8. data/lib/metrics/rails/group.rb +27 -0
  9. data/lib/metrics/rails/helpers.rb +19 -0
  10. data/lib/metrics/rails/railtie.rb +17 -0
  11. data/lib/metrics/rails/subscribers.rb +77 -0
  12. data/lib/metrics/rails/version.rb +5 -0
  13. data/lib/metrics/rails/worker.rb +58 -0
  14. data/lib/tasks/metrics-rails_tasks.rake +4 -0
  15. data/test/dummy/README.rdoc +261 -0
  16. data/test/dummy/Rakefile +7 -0
  17. data/test/dummy/app/assets/javascripts/application.js +15 -0
  18. data/test/dummy/app/assets/javascripts/home.js +2 -0
  19. data/test/dummy/app/assets/javascripts/status.js +2 -0
  20. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  21. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  22. data/test/dummy/app/assets/stylesheets/status.css +4 -0
  23. data/test/dummy/app/controllers/application_controller.rb +10 -0
  24. data/test/dummy/app/controllers/home_controller.rb +33 -0
  25. data/test/dummy/app/controllers/status_controller.rb +5 -0
  26. data/test/dummy/app/controllers/user_controller.rb +13 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/helpers/home_helper.rb +2 -0
  29. data/test/dummy/app/helpers/status_helper.rb +2 -0
  30. data/test/dummy/app/mailers/user_mailer.rb +8 -0
  31. data/test/dummy/app/models/user.rb +18 -0
  32. data/test/dummy/app/views/home/index.html.erb +2 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/app/views/status/code.html.erb +2 -0
  35. data/test/dummy/app/views/user_mailer/welcome_email.text.erb +1 -0
  36. data/test/dummy/config.ru +4 -0
  37. data/test/dummy/config/application.rb +63 -0
  38. data/test/dummy/config/boot.rb +10 -0
  39. data/test/dummy/config/database.yml +25 -0
  40. data/test/dummy/config/environment.rb +5 -0
  41. data/test/dummy/config/environments/development.rb +37 -0
  42. data/test/dummy/config/environments/production.rb +67 -0
  43. data/test/dummy/config/environments/test.rb +37 -0
  44. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/test/dummy/config/initializers/inflections.rb +15 -0
  46. data/test/dummy/config/initializers/mime_types.rb +5 -0
  47. data/test/dummy/config/initializers/secret_token.rb +7 -0
  48. data/test/dummy/config/initializers/session_store.rb +8 -0
  49. data/test/dummy/config/initializers/silence_assets.rb +16 -0
  50. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/test/dummy/config/locales/en.yml +5 -0
  52. data/test/dummy/config/routes.rb +62 -0
  53. data/test/dummy/config/unicorn.rb +16 -0
  54. data/test/dummy/db/development.sqlite3 +0 -0
  55. data/test/dummy/db/migrate/20120719231810_create_users.rb +10 -0
  56. data/test/dummy/db/schema.rb +23 -0
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/development.log +161447 -0
  59. data/test/dummy/log/test.log +19173 -0
  60. data/test/dummy/public/404.html +26 -0
  61. data/test/dummy/public/422.html +26 -0
  62. data/test/dummy/public/500.html +25 -0
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/dummy/script/rails +6 -0
  65. data/test/dummy/test_env.sh +2 -0
  66. data/test/dummy/tmp/cache/assets/C94/D50/sprockets%2F1a49716f234a1b88976e3f09954f8f14 +0 -0
  67. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  68. data/test/dummy/tmp/cache/assets/CDF/870/sprockets%2Fb878faf942403e313a5b103e5d80488e +0 -0
  69. data/test/dummy/tmp/cache/assets/CE8/7E0/sprockets%2F178e2a1f9aa891d473009c7f3095df28 +0 -0
  70. data/test/dummy/tmp/cache/assets/CF9/7C0/sprockets%2F40fc2f3d2a468a00e463f1d313cb1683 +0 -0
  71. data/test/dummy/tmp/cache/assets/D04/890/sprockets%2F587335c079eef8d5a63784fc8f99905a +0 -0
  72. data/test/dummy/tmp/cache/assets/D05/D40/sprockets%2F1c9faaf28d05409b88ad3113374d613c +0 -0
  73. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  74. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  75. data/test/dummy/tmp/cache/assets/D4F/000/sprockets%2F25e44896aac12384727e9dab827ebef9 +0 -0
  76. data/test/dummy/tmp/cache/assets/D51/0D0/sprockets%2Fe895d60a653d8b87f7c5717a4d4cf1f3 +0 -0
  77. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  78. data/test/dummy/tmp/cache/assets/D8B/F90/sprockets%2Ffe6ce696e9141eb755d8eed79128e17c +0 -0
  79. data/test/dummy/tmp/cache/assets/D98/8B0/sprockets%2Fedbef6e0d0a4742346cf479f2c522eb0 +0 -0
  80. data/test/dummy/tmp/cache/assets/DA1/8B0/sprockets%2F65acae5ede4e92f105c5e8631407c7fc +0 -0
  81. data/test/dummy/tmp/cache/assets/DA5/7B0/sprockets%2Fa0fc1785d4dc1bde68dd7d5652d27a95 +0 -0
  82. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  83. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  84. data/test/fixtures/config/metrics.yml +10 -0
  85. data/test/integration/helper_test.rb +29 -0
  86. data/test/integration/mail_test.rb +15 -0
  87. data/test/integration/request_test.rb +53 -0
  88. data/test/integration/sql_test.rb +30 -0
  89. data/test/metrics-rails_test.rb +39 -0
  90. data/test/remote/rails_remote_test.rb +105 -0
  91. data/test/support/integration_case.rb +19 -0
  92. data/test/test_helper.rb +23 -0
  93. data/test/unit/aggregator_test.rb +16 -0
  94. data/test/unit/configuration_test.rb +49 -0
  95. data/test/unit/counter_cache_test.rb +19 -0
  96. data/test/unit/group_test.rb +49 -0
  97. data/test/unit/worker_test.rb +31 -0
  98. metadata +280 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.