rails_customerbeats 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/Gemfile +10 -0
  3. data/MIT-LICENSE +21 -0
  4. data/README.rdoc +2 -0
  5. data/Rakefile +58 -0
  6. data/TODO.rdoc +1 -0
  7. data/app/controllers/rails_customerbeats_controller.rb +82 -0
  8. data/app/helpers/rails_customerbeats_helper.rb +164 -0
  9. data/app/views/layouts/rails_customerbeats.html.erb +21 -0
  10. data/app/views/rails_customerbeats/_request.html.erb +21 -0
  11. data/app/views/rails_customerbeats/_row.html.erb +28 -0
  12. data/app/views/rails_customerbeats/all.html.erb +26 -0
  13. data/app/views/rails_customerbeats/chart.html.erb +49 -0
  14. data/app/views/rails_customerbeats/index.html.erb +21 -0
  15. data/app/views/rails_customerbeats/show.html.erb +41 -0
  16. data/config/routes.rb +10 -0
  17. data/lib/generators/rails_customerbeats_generator.rb +33 -0
  18. data/lib/rails_customerbeats/async_consumer.rb +54 -0
  19. data/lib/rails_customerbeats/engine.rb +43 -0
  20. data/lib/rails_customerbeats/middleware.rb +27 -0
  21. data/lib/rails_customerbeats/orm/active_record.rb +79 -0
  22. data/lib/rails_customerbeats/orm/data_mapper.rb +88 -0
  23. data/lib/rails_customerbeats/payload_parser.rb +134 -0
  24. data/lib/rails_customerbeats/store.rb +137 -0
  25. data/lib/rails_customerbeats/version.rb +3 -0
  26. data/lib/rails_customerbeats.rb +121 -0
  27. data/public/images/rails_customerbeats/arrow_down.png +0 -0
  28. data/public/images/rails_customerbeats/arrow_up.png +0 -0
  29. data/public/images/rails_customerbeats/cancel.png +0 -0
  30. data/public/images/rails_customerbeats/chart_pie.png +0 -0
  31. data/public/images/rails_customerbeats/page_white_delete.png +0 -0
  32. data/public/images/rails_customerbeats/page_white_go.png +0 -0
  33. data/public/images/rails_customerbeats/tick.png +0 -0
  34. data/public/javascripts/rails_customerbeats/g.pie-min.js +6 -0
  35. data/public/javascripts/rails_customerbeats/g.raphael-min.js +5 -0
  36. data/public/javascripts/rails_customerbeats/raphael-min.js +5 -0
  37. data/public/stylesheets/rails_customerbeats.css +135 -0
  38. data/test/dummy/app/controllers/application_controller.rb +4 -0
  39. data/test/dummy/app/controllers/users_controller.rb +43 -0
  40. data/test/dummy/app/helpers/application_helper.rb +2 -0
  41. data/test/dummy/app/models/metric.rb +3 -0
  42. data/test/dummy/app/models/notification.rb +7 -0
  43. data/test/dummy/app/models/user.rb +2 -0
  44. data/test/dummy/config/application.rb +52 -0
  45. data/test/dummy/config/boot.rb +9 -0
  46. data/test/dummy/config/environment.rb +5 -0
  47. data/test/dummy/config/environments/development.rb +19 -0
  48. data/test/dummy/config/environments/production.rb +33 -0
  49. data/test/dummy/config/environments/test.rb +31 -0
  50. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  51. data/test/dummy/config/initializers/cookie_verification_secret.rb +7 -0
  52. data/test/dummy/config/initializers/session_store.rb +8 -0
  53. data/test/dummy/config/routes.rb +60 -0
  54. data/test/dummy/db/migrate/20100106152343_create_metrics.rb +17 -0
  55. data/test/dummy/db/migrate/20100108120821_create_users.rb +13 -0
  56. data/test/integration/instrumentation_test.rb +100 -0
  57. data/test/integration/navigation_test.rb +103 -0
  58. data/test/orm/active_record_test.rb +47 -0
  59. data/test/payload_parser_test.rb +36 -0
  60. data/test/rails_customerbeats_test.rb +43 -0
  61. data/test/store_test.rb +81 -0
  62. data/test/support/helpers.rb +16 -0
  63. data/test/support/instrumentation.rb +18 -0
  64. data/test/support/mock_store.rb +34 -0
  65. data/test/support/webrat/integrations/rails.rb +31 -0
  66. data/test/test_helper.rb +25 -0
  67. metadata +142 -0
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_customerbeats
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.4
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - r.lomascolo@rodolfolomascolo.com
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-05-15 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Customer Journey Mapping for your app on top of ActiveSupport::Notifications
15
+ based on the rails_metrics gem
16
+ email: r.lomascolo@rodolfolomascolo.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files:
20
+ - README.rdoc
21
+ files:
22
+ - CHANGELOG.rdoc
23
+ - Gemfile
24
+ - MIT-LICENSE
25
+ - README.rdoc
26
+ - Rakefile
27
+ - TODO.rdoc
28
+ - app/controllers/rails_customerbeats_controller.rb
29
+ - app/helpers/rails_customerbeats_helper.rb
30
+ - app/views/layouts/rails_customerbeats.html.erb
31
+ - app/views/rails_customerbeats/_request.html.erb
32
+ - app/views/rails_customerbeats/_row.html.erb
33
+ - app/views/rails_customerbeats/all.html.erb
34
+ - app/views/rails_customerbeats/chart.html.erb
35
+ - app/views/rails_customerbeats/index.html.erb
36
+ - app/views/rails_customerbeats/show.html.erb
37
+ - config/routes.rb
38
+ - lib/generators/rails_customerbeats_generator.rb
39
+ - lib/rails_customerbeats.rb
40
+ - lib/rails_customerbeats/async_consumer.rb
41
+ - lib/rails_customerbeats/engine.rb
42
+ - lib/rails_customerbeats/middleware.rb
43
+ - lib/rails_customerbeats/orm/active_record.rb
44
+ - lib/rails_customerbeats/orm/data_mapper.rb
45
+ - lib/rails_customerbeats/payload_parser.rb
46
+ - lib/rails_customerbeats/store.rb
47
+ - lib/rails_customerbeats/version.rb
48
+ - public/images/rails_customerbeats/arrow_down.png
49
+ - public/images/rails_customerbeats/arrow_up.png
50
+ - public/images/rails_customerbeats/cancel.png
51
+ - public/images/rails_customerbeats/chart_pie.png
52
+ - public/images/rails_customerbeats/page_white_delete.png
53
+ - public/images/rails_customerbeats/page_white_go.png
54
+ - public/images/rails_customerbeats/tick.png
55
+ - public/javascripts/rails_customerbeats/g.pie-min.js
56
+ - public/javascripts/rails_customerbeats/g.raphael-min.js
57
+ - public/javascripts/rails_customerbeats/raphael-min.js
58
+ - public/stylesheets/rails_customerbeats.css
59
+ - test/dummy/app/controllers/application_controller.rb
60
+ - test/dummy/app/controllers/users_controller.rb
61
+ - test/dummy/app/helpers/application_helper.rb
62
+ - test/dummy/app/models/metric.rb
63
+ - test/dummy/app/models/notification.rb
64
+ - test/dummy/app/models/user.rb
65
+ - test/dummy/config/application.rb
66
+ - test/dummy/config/boot.rb
67
+ - test/dummy/config/environment.rb
68
+ - test/dummy/config/environments/development.rb
69
+ - test/dummy/config/environments/production.rb
70
+ - test/dummy/config/environments/test.rb
71
+ - test/dummy/config/initializers/backtrace_silencers.rb
72
+ - test/dummy/config/initializers/cookie_verification_secret.rb
73
+ - test/dummy/config/initializers/session_store.rb
74
+ - test/dummy/config/routes.rb
75
+ - test/dummy/db/migrate/20100106152343_create_metrics.rb
76
+ - test/dummy/db/migrate/20100108120821_create_users.rb
77
+ - test/integration/instrumentation_test.rb
78
+ - test/integration/navigation_test.rb
79
+ - test/orm/active_record_test.rb
80
+ - test/payload_parser_test.rb
81
+ - test/rails_customerbeats_test.rb
82
+ - test/store_test.rb
83
+ - test/support/helpers.rb
84
+ - test/support/instrumentation.rb
85
+ - test/support/mock_store.rb
86
+ - test/support/webrat/integrations/rails.rb
87
+ - test/test_helper.rb
88
+ homepage: http://github.com/
89
+ licenses: []
90
+ post_install_message:
91
+ rdoc_options:
92
+ - --charset=UTF-8
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ! '>='
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubyforge_project:
109
+ rubygems_version: 1.8.24
110
+ signing_key:
111
+ specification_version: 3
112
+ summary: Customer Journey Mapping for your app on top of ActiveSupport::Notifications
113
+ test_files:
114
+ - test/dummy/app/controllers/application_controller.rb
115
+ - test/dummy/app/controllers/users_controller.rb
116
+ - test/dummy/app/helpers/application_helper.rb
117
+ - test/dummy/app/models/metric.rb
118
+ - test/dummy/app/models/notification.rb
119
+ - test/dummy/app/models/user.rb
120
+ - test/dummy/config/application.rb
121
+ - test/dummy/config/boot.rb
122
+ - test/dummy/config/environment.rb
123
+ - test/dummy/config/environments/development.rb
124
+ - test/dummy/config/environments/production.rb
125
+ - test/dummy/config/environments/test.rb
126
+ - test/dummy/config/initializers/backtrace_silencers.rb
127
+ - test/dummy/config/initializers/cookie_verification_secret.rb
128
+ - test/dummy/config/initializers/session_store.rb
129
+ - test/dummy/config/routes.rb
130
+ - test/dummy/db/migrate/20100106152343_create_metrics.rb
131
+ - test/dummy/db/migrate/20100108120821_create_users.rb
132
+ - test/integration/instrumentation_test.rb
133
+ - test/integration/navigation_test.rb
134
+ - test/orm/active_record_test.rb
135
+ - test/payload_parser_test.rb
136
+ - test/rails_customerbeats_test.rb
137
+ - test/store_test.rb
138
+ - test/support/helpers.rb
139
+ - test/support/instrumentation.rb
140
+ - test/support/mock_store.rb
141
+ - test/support/webrat/integrations/rails.rb
142
+ - test/test_helper.rb