mitamirri 0.13.8 → 2.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/Capfile +4 -0
  2. data/Gemfile +29 -0
  3. data/README.rdoc +6 -55
  4. data/Rakefile +34 -21
  5. data/VERSION +1 -1
  6. data/app/controllers/admin/tracking/reports_controller.rb +78 -0
  7. data/app/controllers/admin/tracking/trackable_sessions_controller.rb +7 -0
  8. data/app/controllers/application_controller.rb +1 -8
  9. data/app/controllers/trackable_actions_controller.rb +0 -2
  10. data/app/helpers/application_helper.rb +21 -0
  11. data/app/helpers/layout_helper.rb +18 -0
  12. data/app/models/content_report.rb +35 -0
  13. data/app/models/content_stat.rb +4 -0
  14. data/app/models/destination.rb +4 -0
  15. data/app/models/intersite_traffic_report.rb +47 -0
  16. data/app/models/keyword_stat.rb +4 -0
  17. data/app/models/lead.rb +3 -0
  18. data/app/models/lead_stat.rb +5 -0
  19. data/app/models/leads_report.rb +32 -0
  20. data/app/models/location_stat.rb +37 -0
  21. data/app/models/referrer_stat.rb +4 -0
  22. data/app/models/report.rb +83 -0
  23. data/app/models/stat_base.rb +11 -0
  24. data/app/models/trackable_action.rb +114 -91
  25. data/app/models/trackable_base.rb +12 -0
  26. data/app/models/trackable_location.rb +7 -13
  27. data/app/models/trackable_session.rb +255 -171
  28. data/app/models/trackable_stat.rb +45 -27
  29. data/app/models/traffic_explorer_report.rb +92 -0
  30. data/app/models/traffic_summary_report.rb +142 -0
  31. data/app/models/user_agent_stat.rb +4 -0
  32. data/app/models/visit.rb +6 -0
  33. data/app/models/visit_stat.rb +5 -0
  34. data/app/models/visitor.rb +4 -0
  35. data/app/models/visitor_profile_report.rb +23 -0
  36. data/app/views/admin/tracking/reports/_content.html.erb +28 -0
  37. data/app/views/admin/tracking/reports/_conversion_rate.html.erb +30 -0
  38. data/app/views/admin/tracking/reports/_criteria.html.erb +33 -0
  39. data/app/views/admin/tracking/reports/_entrance_pages.html.erb +29 -0
  40. data/app/views/admin/tracking/reports/_exit_pages.html.erb +28 -0
  41. data/app/views/admin/tracking/reports/_explorer_criteria.html.erb +22 -0
  42. data/app/views/admin/tracking/reports/_explorer_summary.html.erb +22 -0
  43. data/app/views/admin/tracking/reports/_intersite_destinations.html.erb +28 -0
  44. data/app/views/admin/tracking/reports/_intersite_referrals.html.erb +30 -0
  45. data/app/views/admin/tracking/reports/_leads.html.erb +30 -0
  46. data/app/views/admin/tracking/reports/_locations.html.erb +47 -0
  47. data/app/views/admin/tracking/reports/_recent_visits.html.erb +33 -0
  48. data/app/views/admin/tracking/reports/_referring_keywords.html.erb +28 -0
  49. data/app/views/admin/tracking/reports/_referring_sites.html.erb +28 -0
  50. data/app/views/admin/tracking/reports/_traffic_summary.html.erb +26 -0
  51. data/app/views/admin/tracking/reports/_user_agents.html.erb +28 -0
  52. data/app/views/{trackable_sessions/_visits_graph.html.erb → admin/tracking/reports/_visits_by_kind.html.erb} +3 -3
  53. data/app/views/admin/tracking/reports/content.html.erb +12 -0
  54. data/app/views/admin/tracking/reports/explorer.html.erb +13 -0
  55. data/app/views/admin/tracking/reports/index.html.erb +16 -0
  56. data/app/views/admin/tracking/reports/intersite.html.erb +11 -0
  57. data/app/views/admin/tracking/reports/leads.html.erb +11 -0
  58. data/app/views/admin/tracking/reports/summary.html.erb +16 -0
  59. data/app/views/admin/tracking/reports/visitor_profile.html.erb +11 -0
  60. data/app/views/{trackable_sessions → admin/tracking/trackable_sessions}/show.html.erb +5 -4
  61. data/app/views/layouts/application.html.erb +51 -18
  62. data/config.ru +4 -0
  63. data/config/application.rb +13 -0
  64. data/config/boot.rb +13 -110
  65. data/config/cucumber.yml +10 -0
  66. data/config/deploy.rb +40 -0
  67. data/config/environment.rb +4 -23
  68. data/config/environments/development.rb +24 -13
  69. data/config/environments/production.rb +41 -20
  70. data/config/environments/test.rb +28 -24
  71. data/config/initializers/formats.rb +19 -0
  72. data/config/initializers/metric_fu.rb +9 -0
  73. data/config/initializers/secret_token.rb +7 -0
  74. data/config/initializers/session_store.rb +3 -10
  75. data/config/locales/en.yml +1 -1
  76. data/config/mongoid.yml +19 -0
  77. data/config/routes.rb +16 -10
  78. data/features/access_reports.feature +26 -0
  79. data/features/step_definitions/reports_steps.rb +9 -0
  80. data/features/step_definitions/web_steps.rb +219 -0
  81. data/features/support/env.rb +32 -0
  82. data/features/support/hooks.rb +1 -0
  83. data/features/support/paths.rb +33 -0
  84. data/features/traffic_summary_report.feature +43 -0
  85. data/init.rb +0 -7
  86. data/lib/mitamirri.rb +9 -12
  87. data/lib/mitamirri/engine.rb +7 -0
  88. data/lib/mitamirri/helper.rb +13 -29
  89. data/lib/mitamirri/railtie.rb +10 -0
  90. data/lib/tasks/cucumber.rake +60 -0
  91. data/lib/tasks/rcov.rake +44 -0
  92. data/mitamirri.gemspec +228 -100
  93. data/public/404.html +26 -0
  94. data/public/422.html +26 -0
  95. data/public/500.html +26 -0
  96. data/{config/database.yml → public/favicon.ico} +0 -0
  97. data/public/images/icons/add.png +0 -0
  98. data/public/images/icons/collapsed.gif +0 -0
  99. data/public/images/icons/delete.png +0 -0
  100. data/public/images/icons/drag.png +0 -0
  101. data/public/images/icons/edit.png +0 -0
  102. data/public/images/icons/expanded.gif +0 -0
  103. data/public/images/icons/help_icon.png +0 -0
  104. data/public/images/icons/link_icon.png +0 -0
  105. data/public/images/icons/move.png +0 -0
  106. data/public/images/icons/move_white.png +0 -0
  107. data/public/images/icons/note.png +0 -0
  108. data/public/images/icons/note_white.png +0 -0
  109. data/public/images/icons/notification_icon_sprite.png +0 -0
  110. data/public/images/icons/spinner.gif +0 -0
  111. data/public/images/icons/view.png +0 -0
  112. data/public/images/icons/warning.png +0 -0
  113. data/public/images/icons/warning_2.png +0 -0
  114. data/public/images/icons/warning_box.png +0 -0
  115. data/public/images/icons/warning_icon.png +0 -0
  116. data/public/images/icons/warning_white.png +0 -0
  117. data/public/images/layout/arrow_asc.png +0 -0
  118. data/public/images/layout/arrow_desc.png +0 -0
  119. data/public/images/layout/back.png +0 -0
  120. data/public/images/layout/black_bar.png +0 -0
  121. data/public/images/layout/branding.png +0 -0
  122. data/public/images/layout/breadcrumb_bg.png +0 -0
  123. data/public/images/layout/button_bg.png +0 -0
  124. data/public/images/layout/content_left_bg.png +0 -0
  125. data/public/images/layout/content_right_bg.png +0 -0
  126. data/public/images/layout/footer_bg.png +0 -0
  127. data/public/images/layout/h1_bg.png +0 -0
  128. data/public/images/layout/h2_bg.png +0 -0
  129. data/public/images/layout/h2_bg_for_table.png +0 -0
  130. data/public/images/layout/header_bg_grey.png +0 -0
  131. data/public/images/layout/header_bg_purple.png +0 -0
  132. data/public/images/layout/legend_bg.png +0 -0
  133. data/public/images/layout/menu_box_bg.png +0 -0
  134. data/public/images/layout/shadow_border.png +0 -0
  135. data/public/images/layout/shadow_border_2.png +0 -0
  136. data/public/images/layout/shadow_border_3.png +0 -0
  137. data/public/images/layout/shadow_border_4.png +0 -0
  138. data/public/images/layout/tab.png +0 -0
  139. data/public/images/layout/tab_active.png +0 -0
  140. data/public/images/layout/table_header.png +0 -0
  141. data/public/images/layout/text_field_bg.jpg +0 -0
  142. data/public/images/layout/text_field_error_bg.png +0 -0
  143. data/public/images/layout/th_bg.png +0 -0
  144. data/public/images/layout/th_bg_selected.png +0 -0
  145. data/public/images/menu_icons/content_report.png +0 -0
  146. data/public/images/menu_icons/content_report_on.png +0 -0
  147. data/public/images/menu_icons/funnel.png +0 -0
  148. data/public/images/menu_icons/funnel_on.png +0 -0
  149. data/public/images/menu_icons/intersite_traffic.png +0 -0
  150. data/public/images/menu_icons/intersite_traffic_on.png +0 -0
  151. data/public/images/menu_icons/leads.png +0 -0
  152. data/public/images/menu_icons/leads_on.png +0 -0
  153. data/public/images/menu_icons/traffic_explorer.png +0 -0
  154. data/public/images/menu_icons/traffic_explorer_on.png +0 -0
  155. data/public/images/menu_icons/traffic_summary.png +0 -0
  156. data/public/images/menu_icons/traffic_summary_on.png +0 -0
  157. data/public/images/menu_icons/visitor_profile.png +0 -0
  158. data/public/images/menu_icons/visitor_profile_on.png +0 -0
  159. data/public/index.html +8 -0
  160. data/public/javascripts/application.js +2 -0
  161. data/public/javascripts/controls.js +965 -0
  162. data/public/javascripts/dragdrop.js +974 -0
  163. data/public/javascripts/effects.js +1123 -0
  164. data/public/javascripts/prototype.js +6001 -0
  165. data/public/javascripts/rails.js +175 -0
  166. data/public/robots.txt +5 -0
  167. data/public/stylesheets/.gitkeep +0 -0
  168. data/public/stylesheets/application.css +876 -0
  169. data/public/stylesheets/core.css +1146 -0
  170. data/public/stylesheets/core_ie.css +52 -0
  171. data/public/stylesheets/csshover3.htc +14 -0
  172. data/public/stylesheets/mitamirri.css +37 -724
  173. data/public/stylesheets/mitamirri_print.css +3 -0
  174. data/script/cucumber +10 -0
  175. data/script/rails +6 -0
  176. data/spec/blueprints.rb +13 -0
  177. data/spec/helpers/application_helper_spec.rb +23 -35
  178. data/spec/{lib → models}/content_report_spec.rb +12 -8
  179. data/spec/{lib → models}/intersite_traffic_report_spec.rb +6 -9
  180. data/spec/{lib → models}/leads_report_spec.rb +11 -12
  181. data/spec/models/location_stat_spec.rb +18 -0
  182. data/spec/models/trackable_action_spec.rb +46 -14
  183. data/spec/models/trackable_base_spec.rb +27 -0
  184. data/spec/models/trackable_session_spec.rb +181 -57
  185. data/spec/{lib/session_report_spec.rb → models/traffic_explorer_report_spec.rb} +8 -25
  186. data/spec/spec_helper.rb +8 -28
  187. data/{lib/mitamirri/tasks.rb → tasks/mitamirri.rake} +6 -7
  188. data/vendor/plugins/.gitkeep +0 -0
  189. metadata +316 -77
  190. data/.gitignore +0 -26
  191. data/app/controllers/trackable_sessions_controller.rb +0 -100
  192. data/app/views/trackable_sessions/_keywords_graph.html.erb +0 -24
  193. data/app/views/trackable_sessions/_print_buttons.html.erb +0 -3
  194. data/app/views/trackable_sessions/_sessions.html.erb +0 -26
  195. data/app/views/trackable_sessions/_top_referrers.html.erb +0 -24
  196. data/app/views/trackable_sessions/_traffic_summary_all.html.erb +0 -64
  197. data/app/views/trackable_sessions/_traffic_summary_by_kind.html.erb +0 -48
  198. data/app/views/trackable_sessions/content.html.erb +0 -119
  199. data/app/views/trackable_sessions/explorer.html.erb +0 -67
  200. data/app/views/trackable_sessions/export.xls.erb +0 -5
  201. data/app/views/trackable_sessions/index.html.erb +0 -47
  202. data/app/views/trackable_sessions/intersite.html.erb +0 -97
  203. data/app/views/trackable_sessions/leads.html.erb +0 -98
  204. data/app/views/trackable_sessions/visitor_profile.html.erb +0 -114
  205. data/config/initializers/backtrace_silencers.rb +0 -7
  206. data/config/initializers/database.rb +0 -1
  207. data/config/initializers/inflections.rb +0 -10
  208. data/config/initializers/mime_types.rb +0 -5
  209. data/config/initializers/new_rails_defaults.rb +0 -21
  210. data/db/development.sqlite3 +0 -0
  211. data/db/migrate/20100810173533_create_trackable_sessions.rb +0 -23
  212. data/db/migrate/20100810173605_create_trackable_actions.rb +0 -20
  213. data/db/test.sqlite3 +0 -1
  214. data/lib/mitamirri/content_report.rb +0 -75
  215. data/lib/mitamirri/intersite_traffic_report.rb +0 -122
  216. data/lib/mitamirri/leads_report.rb +0 -90
  217. data/lib/mitamirri/session_report.rb +0 -219
  218. data/lib/mitamirri/stat_report.rb +0 -216
  219. data/lib/mitamirri/visitor_profile_report.rb +0 -127
  220. data/script/about +0 -4
  221. data/script/console +0 -3
  222. data/script/dbconsole +0 -3
  223. data/script/destroy +0 -3
  224. data/script/generate +0 -3
  225. data/script/performance/benchmarker +0 -3
  226. data/script/performance/profiler +0 -3
  227. data/script/plugin +0 -3
  228. data/script/runner +0 -3
  229. data/script/server +0 -3
  230. data/spec/controllers/trackable_actions_controller_spec.rb +0 -5
  231. data/spec/controllers/trackable_sessions_controller_spec.rb +0 -5
  232. data/spec/custom_matchers.rb +0 -23
  233. data/spec/lib/stat_report_spec.rb +0 -106
  234. data/spec/rcov.opts +0 -4
  235. data/spec/schema.rb +0 -34
  236. data/spec/spec.opts +0 -4
@@ -1,28 +1,23 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
  require 'mitamirri'
3
3
 
4
- describe "SessionReport" do
4
+ describe "TrafficExplorerReport" do
5
5
 
6
- before :all do
6
+ before :each do
7
7
  @args = {
8
8
  :site => 'www.foo.com',
9
9
  :time_period => 'past 3 months',
10
10
  :action_kind => 'clickthrough',
11
11
  :visit_kind => 'search'
12
12
  }
13
- TrackableSession.stubs(:search).returns([])
14
- @report = Mitamirri::SessionReport.new(@args)
13
+ @report = TrafficExplorerReport.new(@args)
15
14
  @report.stubs(:total_bounces).returns(5)
16
15
  @report.stubs(:total_clickthroughs).returns(10)
17
16
  @report.stubs(:total_conversions).returns(20)
18
- @report.stubs(:total_direct_visits).returns(10)
19
17
  @report.stubs(:total_duration).returns(18000.0)
20
18
  @report.stubs(:total_new_visits).returns(20)
21
- @report.stubs(:total_organic_visits).returns(30)
22
19
  @report.stubs(:total_pageviews).returns(100)
23
- @report.stubs(:total_ppc_visits).returns(10)
24
20
  @report.stubs(:total_return_visits).returns(90)
25
- @report.stubs(:total_search_visits).returns(30)
26
21
  @report.stubs(:total_visits).returns(100)
27
22
  @report.stubs(:total_conversions).returns(20)
28
23
  end
@@ -58,10 +53,6 @@ describe "SessionReport" do
58
53
  @report.conversion_rate.should == "20.0%"
59
54
  end
60
55
 
61
- it 'calculates the total direct visits percentage' do
62
- @report.total_direct_visits_percentage.should == "10.0%"
63
- end
64
-
65
56
  it 'calculates the total new visits percentage' do
66
57
  @report.total_new_visits_percentage.should == "20.0%"
67
58
  end
@@ -70,38 +61,30 @@ describe "SessionReport" do
70
61
  @report.total_return_visits_percentage.should == "90.0%"
71
62
  end
72
63
 
73
- it 'calculates the total organic visits percentage' do
74
- @report.total_organic_visits_percentage.should == "30.0%"
75
- end
76
-
77
- it 'calculates the total ppc visits percentage' do
78
- @report.total_ppc_visits_percentage.should == "10.0%"
79
- end
80
-
81
64
  it 'creates a KeywordStat object from arguments' do
82
- _stat = Mitamirri::SessionReport::KeywordStat.new(:keyword => 'foo', :count => 3)
65
+ _stat = KeywordStat.new(:keyword => 'foo', :count => 3)
83
66
  _stat.count.should == 3
84
67
  _stat.keyword.should == 'foo'
85
68
  end
86
69
 
87
70
  it 'creates a ReferrerStat object from arguments' do
88
- _stat = Mitamirri::SessionReport::ReferrerStat.new(:referrer => 'www.foo.com', :count => 3)
71
+ _stat = ReferrerStat.new(:referrer => 'www.foo.com', :count => 3)
89
72
  _stat.count.should == 3
90
73
  _stat.referrer.should == 'www.foo.com'
91
74
  end
92
75
 
93
76
  it 'creates a Visit object from arguments' do
94
- _visit = Mitamirri::SessionReport::Visit.new(:kind => 'search', :date => Time.zone.now.to_s(:concise), :stats => [])
77
+ _visit = Visit.new(:kind => 'search', :date => Time.zone.now.to_s(:concise), :stats => [])
95
78
  _visit.kind.should == "search"
96
79
  _visit.date.should == Time.zone.now.to_s(:concise)
97
80
  _visit.stats.should == []
98
81
  end
99
82
 
100
83
  it 'creates a VisitStat object from arguments' do
101
- _stat = Mitamirri::SessionReport::VisitStat.new(:date => Time.zone.now, :visits => 3)
84
+ _stat = VisitStat.new(:date => Time.zone.now, :visits => 3)
102
85
  _stat.visits.should == 3
103
86
  _stat.date.to_s(:concise).should == Time.zone.now.to_s(:concise)
104
- _stat.short_date.should == Time.zone.now.to_s(:month_year)
87
+ _stat.short_date.should == Time.zone.now.to_s(:concise)
105
88
  end
106
89
 
107
90
  end
@@ -1,32 +1,12 @@
1
- require File.dirname(__FILE__) + "/custom_matchers"
2
-
3
-
4
1
  ENV["RAILS_ENV"] ||= 'test'
5
- require "config/environment" unless defined?(RAILS_ROOT)
6
- require 'spec/rails'
7
-
8
- pwd = File.dirname(__FILE__)
9
- # Requires supporting files with custom matchers and macros, etc,
10
- # in ./support/ and its subdirectories.
11
- Dir["#{pwd}/support/**/*.rb"].each {|f| require f}
12
-
13
- Spec::Runner.configure do |config|
14
- config.include(CustomMatcher)
15
- end
2
+ require File.expand_path("../../config/environment", __FILE__)
3
+ require 'rspec/rails'
4
+ require File.expand_path(File.dirname(__FILE__) + "/blueprints")
16
5
 
17
- # Helper methods
6
+ # Requires supporting ruby files with custom matchers and macros, etc,
7
+ # in spec/support/ and its subdirectories.
8
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
18
9
 
19
- Spec::Matchers.define :equal_the_set do |_array_2|
20
- match do |_array_1|
21
- (_array_1 - _array_2).size == 0
22
- end
23
- failure_message_for_should do |_array_1|
24
- "expected the sets to be the same (differences: #{(_array_1 - _array_2).inspect})"
25
- end
26
- failure_message_for_should_not do |_array_1|
27
- "expected the sets to be different"
28
- end
29
- description do
30
- "expected a two arrays to contain the same elements in any order"
31
- end
10
+ RSpec.configure do |config|
11
+ config.mock_with :mocha
32
12
  end
@@ -1,12 +1,11 @@
1
- # require 'mitamirri/tasks' to add tasks to the host application.
2
-
3
1
  namespace :mitamirri do
4
2
 
5
- desc "Sync migrations and other files from Mitamirri."
3
+ desc "Sync files from Mitamirri."
6
4
  task :install do
7
5
  dir = Gem.searcher.find('mitamirri').full_gem_path
8
- system "rsync -ruv #{dir}/public/stylesheets public/"
9
- system "rsync -ruv #{dir}/config/initializers/database.rb config/initializers/"
6
+ system "rsync -ruv #{dir}/public/stylesheets/mitamirri.css public/stylesheets/"
7
+ system "rsync -ruv #{dir}/public/stylesheets/mitamirri_print.css public/stylesheets/"
8
+ system "rsync -ruv #{dir}/public/images/menu_icons public/images"
10
9
  puts
11
10
  puts "Mitamarri file sync complete."
12
11
  puts "Run rake mitamirri:override to install local views and controllers to override default behaviour."
@@ -17,8 +16,8 @@ namespace :mitamirri do
17
16
  task :override do
18
17
  dir = Gem.searcher.find('mitamirri').full_gem_path
19
18
  system "rsync -ruv #{dir}/app/controllers/trackable_actions_controller.rb app/controllers/"
20
- system "rsync -ruv #{dir}/app/controllers/trackable_sessions_controller.rb app/controllers/"
21
- system "rsync -ruv #{dir}/app/views/trackable_sessions app/views/"
19
+ system "rsync -ruv #{dir}/app/controllers/admin app/controllers/"
20
+ system "rsync -ruv #{dir}/app/views/admin/tracking app/views/admin/"
22
21
  puts
23
22
  puts "Mitamarri views and controllers copied and ready to override."
24
23
  puts
File without changes
metadata CHANGED
@@ -1,26 +1,166 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mitamirri
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
5
- prerelease: false
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
+ - 2
7
8
  - 0
8
- - 13
9
9
  - 8
10
- version: 0.13.8
10
+ version: 2.0.8
11
11
  platform: ruby
12
12
  authors:
13
- - Corey Ehmke
13
+ - Bantik
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-28 00:00:00 -05:00
19
- default_executable:
20
- dependencies: []
21
-
22
- description: View and action tracking for Rails 2.x.
23
- email: corey@seologic.com
18
+ date: 2011-07-27 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: bantik-user-agent
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: bson_ext
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: geokit
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: mongoid
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
74
+ type: :runtime
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: rails
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ hash: 5
85
+ segments:
86
+ - 3
87
+ - 0
88
+ - 1
89
+ version: 3.0.1
90
+ type: :runtime
91
+ version_requirements: *id005
92
+ - !ruby/object:Gem::Dependency
93
+ name: pdfkit
94
+ prerelease: false
95
+ requirement: &id006 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
103
+ version: "0"
104
+ type: :runtime
105
+ version_requirements: *id006
106
+ - !ruby/object:Gem::Dependency
107
+ name: scaffold_logic
108
+ prerelease: false
109
+ requirement: &id007 !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
116
+ - 0
117
+ version: "0"
118
+ type: :runtime
119
+ version_requirements: *id007
120
+ - !ruby/object:Gem::Dependency
121
+ name: seer
122
+ prerelease: false
123
+ requirement: &id008 !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ hash: 3
129
+ segments:
130
+ - 0
131
+ version: "0"
132
+ type: :runtime
133
+ version_requirements: *id008
134
+ - !ruby/object:Gem::Dependency
135
+ name: SystemTimer
136
+ prerelease: false
137
+ requirement: &id009 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ hash: 3
143
+ segments:
144
+ - 0
145
+ version: "0"
146
+ type: :runtime
147
+ version_requirements: *id009
148
+ - !ruby/object:Gem::Dependency
149
+ name: jeweler
150
+ prerelease: false
151
+ requirement: &id010 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
160
+ type: :development
161
+ version_requirements: *id010
162
+ description: Mitamirri is a Rails engine designed to be a drop-in substitute for (or companion to) Google Analytics that enables standard analytics tracking in addition to tracking of custom client-side events.
163
+ email: rod@seologic.com
24
164
  executables: []
25
165
 
26
166
  extensions: []
@@ -29,101 +169,200 @@ extra_rdoc_files:
29
169
  - README.rdoc
30
170
  files:
31
171
  - .document
32
- - .gitignore
172
+ - Capfile
173
+ - Gemfile
33
174
  - README.rdoc
34
175
  - Rakefile
35
176
  - VERSION
177
+ - app/controllers/admin/tracking/reports_controller.rb
178
+ - app/controllers/admin/tracking/trackable_sessions_controller.rb
36
179
  - app/controllers/application_controller.rb
37
180
  - app/controllers/trackable_actions_controller.rb
38
- - app/controllers/trackable_sessions_controller.rb
39
181
  - app/helpers/application_helper.rb
182
+ - app/helpers/layout_helper.rb
183
+ - app/models/content_report.rb
184
+ - app/models/content_stat.rb
185
+ - app/models/destination.rb
186
+ - app/models/intersite_traffic_report.rb
187
+ - app/models/keyword_stat.rb
188
+ - app/models/lead.rb
189
+ - app/models/lead_stat.rb
190
+ - app/models/leads_report.rb
191
+ - app/models/location_stat.rb
192
+ - app/models/referrer_stat.rb
193
+ - app/models/report.rb
194
+ - app/models/stat_base.rb
40
195
  - app/models/trackable_action.rb
196
+ - app/models/trackable_base.rb
41
197
  - app/models/trackable_location.rb
42
198
  - app/models/trackable_session.rb
43
199
  - app/models/trackable_stat.rb
200
+ - app/models/traffic_explorer_report.rb
201
+ - app/models/traffic_summary_report.rb
202
+ - app/models/user_agent_stat.rb
203
+ - app/models/visit.rb
204
+ - app/models/visit_stat.rb
205
+ - app/models/visitor.rb
206
+ - app/models/visitor_profile_report.rb
207
+ - app/views/admin/tracking/reports/_content.html.erb
208
+ - app/views/admin/tracking/reports/_conversion_rate.html.erb
209
+ - app/views/admin/tracking/reports/_criteria.html.erb
210
+ - app/views/admin/tracking/reports/_entrance_pages.html.erb
211
+ - app/views/admin/tracking/reports/_exit_pages.html.erb
212
+ - app/views/admin/tracking/reports/_explorer_criteria.html.erb
213
+ - app/views/admin/tracking/reports/_explorer_summary.html.erb
214
+ - app/views/admin/tracking/reports/_intersite_destinations.html.erb
215
+ - app/views/admin/tracking/reports/_intersite_referrals.html.erb
216
+ - app/views/admin/tracking/reports/_leads.html.erb
217
+ - app/views/admin/tracking/reports/_locations.html.erb
218
+ - app/views/admin/tracking/reports/_recent_visits.html.erb
219
+ - app/views/admin/tracking/reports/_referring_keywords.html.erb
220
+ - app/views/admin/tracking/reports/_referring_sites.html.erb
221
+ - app/views/admin/tracking/reports/_traffic_summary.html.erb
222
+ - app/views/admin/tracking/reports/_user_agents.html.erb
223
+ - app/views/admin/tracking/reports/_visits_by_kind.html.erb
224
+ - app/views/admin/tracking/reports/content.html.erb
225
+ - app/views/admin/tracking/reports/explorer.html.erb
226
+ - app/views/admin/tracking/reports/index.html.erb
227
+ - app/views/admin/tracking/reports/intersite.html.erb
228
+ - app/views/admin/tracking/reports/leads.html.erb
229
+ - app/views/admin/tracking/reports/summary.html.erb
230
+ - app/views/admin/tracking/reports/visitor_profile.html.erb
231
+ - app/views/admin/tracking/trackable_sessions/show.html.erb
44
232
  - app/views/layouts/application.html.erb
45
- - app/views/trackable_sessions/_keywords_graph.html.erb
46
- - app/views/trackable_sessions/_print_buttons.html.erb
47
- - app/views/trackable_sessions/_sessions.html.erb
48
- - app/views/trackable_sessions/_top_referrers.html.erb
49
- - app/views/trackable_sessions/_traffic_summary_all.html.erb
50
- - app/views/trackable_sessions/_traffic_summary_by_kind.html.erb
51
- - app/views/trackable_sessions/_visits_graph.html.erb
52
- - app/views/trackable_sessions/content.html.erb
53
- - app/views/trackable_sessions/explorer.html.erb
54
- - app/views/trackable_sessions/export.xls.erb
55
- - app/views/trackable_sessions/index.html.erb
56
- - app/views/trackable_sessions/intersite.html.erb
57
- - app/views/trackable_sessions/leads.html.erb
58
- - app/views/trackable_sessions/show.html.erb
59
- - app/views/trackable_sessions/visitor_profile.html.erb
233
+ - config.ru
234
+ - config/application.rb
60
235
  - config/boot.rb
61
- - config/database.yml
236
+ - config/cucumber.yml
237
+ - config/deploy.rb
62
238
  - config/environment.rb
63
239
  - config/environments/development.rb
64
240
  - config/environments/production.rb
65
241
  - config/environments/test.rb
66
- - config/initializers/backtrace_silencers.rb
67
- - config/initializers/database.rb
68
- - config/initializers/inflections.rb
69
- - config/initializers/mime_types.rb
70
- - config/initializers/new_rails_defaults.rb
242
+ - config/initializers/formats.rb
243
+ - config/initializers/metric_fu.rb
244
+ - config/initializers/secret_token.rb
71
245
  - config/initializers/session_store.rb
72
246
  - config/locales/en.yml
247
+ - config/mongoid.yml
73
248
  - config/routes.rb
74
- - db/development.sqlite3
75
- - db/migrate/20100810173533_create_trackable_sessions.rb
76
- - db/migrate/20100810173605_create_trackable_actions.rb
77
- - db/test.sqlite3
78
- - doc/README_FOR_APP
249
+ - features/access_reports.feature
250
+ - features/step_definitions/reports_steps.rb
251
+ - features/step_definitions/web_steps.rb
252
+ - features/support/env.rb
253
+ - features/support/hooks.rb
254
+ - features/support/paths.rb
255
+ - features/traffic_summary_report.feature
79
256
  - init.rb
80
257
  - lib/mitamirri.rb
81
- - lib/mitamirri/content_report.rb
258
+ - lib/mitamirri/engine.rb
82
259
  - lib/mitamirri/helper.rb
83
- - lib/mitamirri/intersite_traffic_report.rb
84
- - lib/mitamirri/leads_report.rb
85
- - lib/mitamirri/session_report.rb
86
- - lib/mitamirri/stat_report.rb
87
- - lib/mitamirri/tasks.rb
88
- - lib/mitamirri/visitor_profile_report.rb
89
- - log/development.log
90
- - log/production.log
91
- - log/server.log
92
- - log/test.log
260
+ - lib/mitamirri/railtie.rb
261
+ - lib/tasks/cucumber.rake
262
+ - lib/tasks/rcov.rake
93
263
  - mitamirri.gemspec
264
+ - public/404.html
265
+ - public/422.html
266
+ - public/500.html
267
+ - public/favicon.ico
268
+ - public/images/icons/add.png
269
+ - public/images/icons/collapsed.gif
270
+ - public/images/icons/delete.png
271
+ - public/images/icons/drag.png
272
+ - public/images/icons/edit.png
273
+ - public/images/icons/expanded.gif
274
+ - public/images/icons/help_icon.png
275
+ - public/images/icons/link_icon.png
276
+ - public/images/icons/move.png
277
+ - public/images/icons/move_white.png
278
+ - public/images/icons/note.png
279
+ - public/images/icons/note_white.png
280
+ - public/images/icons/notification_icon_sprite.png
281
+ - public/images/icons/spinner.gif
282
+ - public/images/icons/view.png
283
+ - public/images/icons/warning.png
284
+ - public/images/icons/warning_2.png
285
+ - public/images/icons/warning_box.png
286
+ - public/images/icons/warning_icon.png
287
+ - public/images/icons/warning_white.png
288
+ - public/images/layout/arrow_asc.png
289
+ - public/images/layout/arrow_desc.png
290
+ - public/images/layout/back.png
291
+ - public/images/layout/black_bar.png
292
+ - public/images/layout/branding.png
293
+ - public/images/layout/breadcrumb_bg.png
294
+ - public/images/layout/button_bg.png
295
+ - public/images/layout/content_left_bg.png
296
+ - public/images/layout/content_right_bg.png
297
+ - public/images/layout/footer_bg.png
298
+ - public/images/layout/h1_bg.png
299
+ - public/images/layout/h2_bg.png
300
+ - public/images/layout/h2_bg_for_table.png
301
+ - public/images/layout/header_bg_grey.png
302
+ - public/images/layout/header_bg_purple.png
303
+ - public/images/layout/legend_bg.png
304
+ - public/images/layout/menu_box_bg.png
305
+ - public/images/layout/shadow_border.png
306
+ - public/images/layout/shadow_border_2.png
307
+ - public/images/layout/shadow_border_3.png
308
+ - public/images/layout/shadow_border_4.png
309
+ - public/images/layout/tab.png
310
+ - public/images/layout/tab_active.png
311
+ - public/images/layout/table_header.png
312
+ - public/images/layout/text_field_bg.jpg
313
+ - public/images/layout/text_field_error_bg.png
314
+ - public/images/layout/th_bg.png
315
+ - public/images/layout/th_bg_selected.png
316
+ - public/images/menu_icons/content_report.png
317
+ - public/images/menu_icons/content_report_on.png
318
+ - public/images/menu_icons/funnel.png
319
+ - public/images/menu_icons/funnel_on.png
320
+ - public/images/menu_icons/intersite_traffic.png
321
+ - public/images/menu_icons/intersite_traffic_on.png
322
+ - public/images/menu_icons/leads.png
323
+ - public/images/menu_icons/leads_on.png
324
+ - public/images/menu_icons/traffic_explorer.png
325
+ - public/images/menu_icons/traffic_explorer_on.png
326
+ - public/images/menu_icons/traffic_summary.png
327
+ - public/images/menu_icons/traffic_summary_on.png
328
+ - public/images/menu_icons/visitor_profile.png
329
+ - public/images/menu_icons/visitor_profile_on.png
330
+ - public/index.html
331
+ - public/javascripts/application.js
332
+ - public/javascripts/controls.js
333
+ - public/javascripts/dragdrop.js
334
+ - public/javascripts/effects.js
335
+ - public/javascripts/prototype.js
336
+ - public/javascripts/rails.js
337
+ - public/robots.txt
338
+ - public/stylesheets/.gitkeep
339
+ - public/stylesheets/application.css
340
+ - public/stylesheets/core.css
341
+ - public/stylesheets/core_ie.css
342
+ - public/stylesheets/csshover3.htc
94
343
  - public/stylesheets/mitamirri.css
95
- - script/about
96
- - script/console
97
- - script/dbconsole
98
- - script/destroy
99
- - script/generate
100
- - script/performance/benchmarker
101
- - script/performance/profiler
102
- - script/plugin
103
- - script/runner
104
- - script/server
105
- - spec/controllers/trackable_actions_controller_spec.rb
106
- - spec/controllers/trackable_sessions_controller_spec.rb
107
- - spec/custom_matchers.rb
344
+ - public/stylesheets/mitamirri_print.css
345
+ - script/cucumber
346
+ - script/rails
347
+ - spec/blueprints.rb
108
348
  - spec/helpers/application_helper_spec.rb
109
- - spec/lib/content_report_spec.rb
110
- - spec/lib/intersite_traffic_report_spec.rb
111
- - spec/lib/leads_report_spec.rb
112
- - spec/lib/session_report_spec.rb
113
- - spec/lib/stat_report_spec.rb
349
+ - spec/models/content_report_spec.rb
350
+ - spec/models/intersite_traffic_report_spec.rb
351
+ - spec/models/leads_report_spec.rb
352
+ - spec/models/location_stat_spec.rb
114
353
  - spec/models/trackable_action_spec.rb
354
+ - spec/models/trackable_base_spec.rb
115
355
  - spec/models/trackable_session_spec.rb
116
- - spec/rcov.opts
117
- - spec/schema.rb
118
- - spec/spec.opts
356
+ - spec/models/traffic_explorer_report_spec.rb
119
357
  - spec/spec_helper.rb
120
- has_rdoc: true
121
- homepage: http://github.com/Bantik/mitamarri
358
+ - tasks/mitamirri.rake
359
+ - vendor/plugins/.gitkeep
360
+ homepage: http://github.com/ivanoblomov/mitamirri
122
361
  licenses: []
123
362
 
124
363
  post_install_message:
125
- rdoc_options:
126
- - --charset=UTF-8
364
+ rdoc_options: []
365
+
127
366
  require_paths:
128
367
  - lib
129
368
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -147,9 +386,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
386
  requirements: []
148
387
 
149
388
  rubyforge_project:
150
- rubygems_version: 1.3.7
389
+ rubygems_version: 1.8.5
151
390
  signing_key:
152
391
  specification_version: 3
153
- summary: View and action tracking for Rails 2.x.
392
+ summary: Analytics for Rails 3 applications.
154
393
  test_files: []
155
394