mitamirri 0.13.8 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Capfile +4 -0
- data/Gemfile +29 -0
- data/README.rdoc +6 -55
- data/Rakefile +34 -21
- data/VERSION +1 -1
- data/app/controllers/admin/tracking/reports_controller.rb +78 -0
- data/app/controllers/admin/tracking/trackable_sessions_controller.rb +7 -0
- data/app/controllers/application_controller.rb +1 -8
- data/app/controllers/trackable_actions_controller.rb +0 -2
- data/app/helpers/application_helper.rb +21 -0
- data/app/helpers/layout_helper.rb +18 -0
- data/app/models/content_report.rb +35 -0
- data/app/models/content_stat.rb +4 -0
- data/app/models/destination.rb +4 -0
- data/app/models/intersite_traffic_report.rb +47 -0
- data/app/models/keyword_stat.rb +4 -0
- data/app/models/lead.rb +3 -0
- data/app/models/lead_stat.rb +5 -0
- data/app/models/leads_report.rb +32 -0
- data/app/models/location_stat.rb +37 -0
- data/app/models/referrer_stat.rb +4 -0
- data/app/models/report.rb +83 -0
- data/app/models/stat_base.rb +11 -0
- data/app/models/trackable_action.rb +114 -91
- data/app/models/trackable_base.rb +12 -0
- data/app/models/trackable_location.rb +7 -13
- data/app/models/trackable_session.rb +255 -171
- data/app/models/trackable_stat.rb +45 -27
- data/app/models/traffic_explorer_report.rb +92 -0
- data/app/models/traffic_summary_report.rb +142 -0
- data/app/models/user_agent_stat.rb +4 -0
- data/app/models/visit.rb +6 -0
- data/app/models/visit_stat.rb +5 -0
- data/app/models/visitor.rb +4 -0
- data/app/models/visitor_profile_report.rb +23 -0
- data/app/views/admin/tracking/reports/_content.html.erb +28 -0
- data/app/views/admin/tracking/reports/_conversion_rate.html.erb +30 -0
- data/app/views/admin/tracking/reports/_criteria.html.erb +33 -0
- data/app/views/admin/tracking/reports/_entrance_pages.html.erb +29 -0
- data/app/views/admin/tracking/reports/_exit_pages.html.erb +28 -0
- data/app/views/admin/tracking/reports/_explorer_criteria.html.erb +22 -0
- data/app/views/admin/tracking/reports/_explorer_summary.html.erb +22 -0
- data/app/views/admin/tracking/reports/_intersite_destinations.html.erb +28 -0
- data/app/views/admin/tracking/reports/_intersite_referrals.html.erb +30 -0
- data/app/views/admin/tracking/reports/_leads.html.erb +30 -0
- data/app/views/admin/tracking/reports/_locations.html.erb +47 -0
- data/app/views/admin/tracking/reports/_recent_visits.html.erb +33 -0
- data/app/views/admin/tracking/reports/_referring_keywords.html.erb +28 -0
- data/app/views/admin/tracking/reports/_referring_sites.html.erb +28 -0
- data/app/views/admin/tracking/reports/_traffic_summary.html.erb +26 -0
- data/app/views/admin/tracking/reports/_user_agents.html.erb +28 -0
- data/app/views/{trackable_sessions/_visits_graph.html.erb → admin/tracking/reports/_visits_by_kind.html.erb} +3 -3
- data/app/views/admin/tracking/reports/content.html.erb +12 -0
- data/app/views/admin/tracking/reports/explorer.html.erb +13 -0
- data/app/views/admin/tracking/reports/index.html.erb +16 -0
- data/app/views/admin/tracking/reports/intersite.html.erb +11 -0
- data/app/views/admin/tracking/reports/leads.html.erb +11 -0
- data/app/views/admin/tracking/reports/summary.html.erb +16 -0
- data/app/views/admin/tracking/reports/visitor_profile.html.erb +11 -0
- data/app/views/{trackable_sessions → admin/tracking/trackable_sessions}/show.html.erb +5 -4
- data/app/views/layouts/application.html.erb +51 -18
- data/config.ru +4 -0
- data/config/application.rb +13 -0
- data/config/boot.rb +13 -110
- data/config/cucumber.yml +10 -0
- data/config/deploy.rb +40 -0
- data/config/environment.rb +4 -23
- data/config/environments/development.rb +24 -13
- data/config/environments/production.rb +41 -20
- data/config/environments/test.rb +28 -24
- data/config/initializers/formats.rb +19 -0
- data/config/initializers/metric_fu.rb +9 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +3 -10
- data/config/locales/en.yml +1 -1
- data/config/mongoid.yml +19 -0
- data/config/routes.rb +16 -10
- data/features/access_reports.feature +26 -0
- data/features/step_definitions/reports_steps.rb +9 -0
- data/features/step_definitions/web_steps.rb +219 -0
- data/features/support/env.rb +32 -0
- data/features/support/hooks.rb +1 -0
- data/features/support/paths.rb +33 -0
- data/features/traffic_summary_report.feature +43 -0
- data/init.rb +0 -7
- data/lib/mitamirri.rb +9 -12
- data/lib/mitamirri/engine.rb +7 -0
- data/lib/mitamirri/helper.rb +13 -29
- data/lib/mitamirri/railtie.rb +10 -0
- data/lib/tasks/cucumber.rake +60 -0
- data/lib/tasks/rcov.rake +44 -0
- data/mitamirri.gemspec +228 -100
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/{config/database.yml → public/favicon.ico} +0 -0
- data/public/images/icons/add.png +0 -0
- data/public/images/icons/collapsed.gif +0 -0
- data/public/images/icons/delete.png +0 -0
- data/public/images/icons/drag.png +0 -0
- data/public/images/icons/edit.png +0 -0
- data/public/images/icons/expanded.gif +0 -0
- data/public/images/icons/help_icon.png +0 -0
- data/public/images/icons/link_icon.png +0 -0
- data/public/images/icons/move.png +0 -0
- data/public/images/icons/move_white.png +0 -0
- data/public/images/icons/note.png +0 -0
- data/public/images/icons/note_white.png +0 -0
- data/public/images/icons/notification_icon_sprite.png +0 -0
- data/public/images/icons/spinner.gif +0 -0
- data/public/images/icons/view.png +0 -0
- data/public/images/icons/warning.png +0 -0
- data/public/images/icons/warning_2.png +0 -0
- data/public/images/icons/warning_box.png +0 -0
- data/public/images/icons/warning_icon.png +0 -0
- data/public/images/icons/warning_white.png +0 -0
- data/public/images/layout/arrow_asc.png +0 -0
- data/public/images/layout/arrow_desc.png +0 -0
- data/public/images/layout/back.png +0 -0
- data/public/images/layout/black_bar.png +0 -0
- data/public/images/layout/branding.png +0 -0
- data/public/images/layout/breadcrumb_bg.png +0 -0
- data/public/images/layout/button_bg.png +0 -0
- data/public/images/layout/content_left_bg.png +0 -0
- data/public/images/layout/content_right_bg.png +0 -0
- data/public/images/layout/footer_bg.png +0 -0
- data/public/images/layout/h1_bg.png +0 -0
- data/public/images/layout/h2_bg.png +0 -0
- data/public/images/layout/h2_bg_for_table.png +0 -0
- data/public/images/layout/header_bg_grey.png +0 -0
- data/public/images/layout/header_bg_purple.png +0 -0
- data/public/images/layout/legend_bg.png +0 -0
- data/public/images/layout/menu_box_bg.png +0 -0
- data/public/images/layout/shadow_border.png +0 -0
- data/public/images/layout/shadow_border_2.png +0 -0
- data/public/images/layout/shadow_border_3.png +0 -0
- data/public/images/layout/shadow_border_4.png +0 -0
- data/public/images/layout/tab.png +0 -0
- data/public/images/layout/tab_active.png +0 -0
- data/public/images/layout/table_header.png +0 -0
- data/public/images/layout/text_field_bg.jpg +0 -0
- data/public/images/layout/text_field_error_bg.png +0 -0
- data/public/images/layout/th_bg.png +0 -0
- data/public/images/layout/th_bg_selected.png +0 -0
- data/public/images/menu_icons/content_report.png +0 -0
- data/public/images/menu_icons/content_report_on.png +0 -0
- data/public/images/menu_icons/funnel.png +0 -0
- data/public/images/menu_icons/funnel_on.png +0 -0
- data/public/images/menu_icons/intersite_traffic.png +0 -0
- data/public/images/menu_icons/intersite_traffic_on.png +0 -0
- data/public/images/menu_icons/leads.png +0 -0
- data/public/images/menu_icons/leads_on.png +0 -0
- data/public/images/menu_icons/traffic_explorer.png +0 -0
- data/public/images/menu_icons/traffic_explorer_on.png +0 -0
- data/public/images/menu_icons/traffic_summary.png +0 -0
- data/public/images/menu_icons/traffic_summary_on.png +0 -0
- data/public/images/menu_icons/visitor_profile.png +0 -0
- data/public/images/menu_icons/visitor_profile_on.png +0 -0
- data/public/index.html +8 -0
- data/public/javascripts/application.js +2 -0
- data/public/javascripts/controls.js +965 -0
- data/public/javascripts/dragdrop.js +974 -0
- data/public/javascripts/effects.js +1123 -0
- data/public/javascripts/prototype.js +6001 -0
- data/public/javascripts/rails.js +175 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/.gitkeep +0 -0
- data/public/stylesheets/application.css +876 -0
- data/public/stylesheets/core.css +1146 -0
- data/public/stylesheets/core_ie.css +52 -0
- data/public/stylesheets/csshover3.htc +14 -0
- data/public/stylesheets/mitamirri.css +37 -724
- data/public/stylesheets/mitamirri_print.css +3 -0
- data/script/cucumber +10 -0
- data/script/rails +6 -0
- data/spec/blueprints.rb +13 -0
- data/spec/helpers/application_helper_spec.rb +23 -35
- data/spec/{lib → models}/content_report_spec.rb +12 -8
- data/spec/{lib → models}/intersite_traffic_report_spec.rb +6 -9
- data/spec/{lib → models}/leads_report_spec.rb +11 -12
- data/spec/models/location_stat_spec.rb +18 -0
- data/spec/models/trackable_action_spec.rb +46 -14
- data/spec/models/trackable_base_spec.rb +27 -0
- data/spec/models/trackable_session_spec.rb +181 -57
- data/spec/{lib/session_report_spec.rb → models/traffic_explorer_report_spec.rb} +8 -25
- data/spec/spec_helper.rb +8 -28
- data/{lib/mitamirri/tasks.rb → tasks/mitamirri.rake} +6 -7
- data/vendor/plugins/.gitkeep +0 -0
- metadata +316 -77
- data/.gitignore +0 -26
- data/app/controllers/trackable_sessions_controller.rb +0 -100
- data/app/views/trackable_sessions/_keywords_graph.html.erb +0 -24
- data/app/views/trackable_sessions/_print_buttons.html.erb +0 -3
- data/app/views/trackable_sessions/_sessions.html.erb +0 -26
- data/app/views/trackable_sessions/_top_referrers.html.erb +0 -24
- data/app/views/trackable_sessions/_traffic_summary_all.html.erb +0 -64
- data/app/views/trackable_sessions/_traffic_summary_by_kind.html.erb +0 -48
- data/app/views/trackable_sessions/content.html.erb +0 -119
- data/app/views/trackable_sessions/explorer.html.erb +0 -67
- data/app/views/trackable_sessions/export.xls.erb +0 -5
- data/app/views/trackable_sessions/index.html.erb +0 -47
- data/app/views/trackable_sessions/intersite.html.erb +0 -97
- data/app/views/trackable_sessions/leads.html.erb +0 -98
- data/app/views/trackable_sessions/visitor_profile.html.erb +0 -114
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/database.rb +0 -1
- data/config/initializers/inflections.rb +0 -10
- data/config/initializers/mime_types.rb +0 -5
- data/config/initializers/new_rails_defaults.rb +0 -21
- data/db/development.sqlite3 +0 -0
- data/db/migrate/20100810173533_create_trackable_sessions.rb +0 -23
- data/db/migrate/20100810173605_create_trackable_actions.rb +0 -20
- data/db/test.sqlite3 +0 -1
- data/lib/mitamirri/content_report.rb +0 -75
- data/lib/mitamirri/intersite_traffic_report.rb +0 -122
- data/lib/mitamirri/leads_report.rb +0 -90
- data/lib/mitamirri/session_report.rb +0 -219
- data/lib/mitamirri/stat_report.rb +0 -216
- data/lib/mitamirri/visitor_profile_report.rb +0 -127
- data/script/about +0 -4
- data/script/console +0 -3
- data/script/dbconsole +0 -3
- data/script/destroy +0 -3
- data/script/generate +0 -3
- data/script/performance/benchmarker +0 -3
- data/script/performance/profiler +0 -3
- data/script/plugin +0 -3
- data/script/runner +0 -3
- data/script/server +0 -3
- data/spec/controllers/trackable_actions_controller_spec.rb +0 -5
- data/spec/controllers/trackable_sessions_controller_spec.rb +0 -5
- data/spec/custom_matchers.rb +0 -23
- data/spec/lib/stat_report_spec.rb +0 -106
- data/spec/rcov.opts +0 -4
- data/spec/schema.rb +0 -34
- 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 "
|
4
|
+
describe "TrafficExplorerReport" do
|
5
5
|
|
6
|
-
before :
|
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
|
-
|
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 =
|
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 =
|
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 =
|
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 =
|
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(:
|
87
|
+
_stat.short_date.should == Time.zone.now.to_s(:concise)
|
105
88
|
end
|
106
89
|
|
107
90
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,32 +1,12 @@
|
|
1
|
-
require File.dirname(__FILE__) + "/custom_matchers"
|
2
|
-
|
3
|
-
|
4
1
|
ENV["RAILS_ENV"] ||= 'test'
|
5
|
-
require "config/environment"
|
6
|
-
require '
|
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
|
-
#
|
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
|
-
|
20
|
-
|
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
|
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}/
|
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/
|
21
|
-
system "rsync -ruv #{dir}/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:
|
5
|
-
prerelease:
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
|
+
- 2
|
7
8
|
- 0
|
8
|
-
- 13
|
9
9
|
- 8
|
10
|
-
version: 0.
|
10
|
+
version: 2.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
-
|
13
|
+
- Bantik
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
-
|
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
|
-
-
|
46
|
-
-
|
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/
|
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/
|
67
|
-
- config/initializers/
|
68
|
-
- config/initializers/
|
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
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
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/
|
258
|
+
- lib/mitamirri/engine.rb
|
82
259
|
- lib/mitamirri/helper.rb
|
83
|
-
- lib/mitamirri/
|
84
|
-
- lib/
|
85
|
-
- lib/
|
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
|
-
-
|
96
|
-
- script/
|
97
|
-
- script/
|
98
|
-
-
|
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/
|
110
|
-
- spec/
|
111
|
-
- spec/
|
112
|
-
- spec/
|
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/
|
117
|
-
- spec/schema.rb
|
118
|
-
- spec/spec.opts
|
356
|
+
- spec/models/traffic_explorer_report_spec.rb
|
119
357
|
- spec/spec_helper.rb
|
120
|
-
|
121
|
-
|
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
|
-
|
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.
|
389
|
+
rubygems_version: 1.8.5
|
151
390
|
signing_key:
|
152
391
|
specification_version: 3
|
153
|
-
summary:
|
392
|
+
summary: Analytics for Rails 3 applications.
|
154
393
|
test_files: []
|
155
394
|
|