ahoy_captain 0.1.0 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -0
- data/README.md +55 -14
- data/Rakefile +1 -10
- data/app/assets/images/ahoy_captain/apple-touch-icon.png +0 -0
- data/app/assets/images/ahoy_captain/favicon-16x16.png +0 -0
- data/app/assets/images/ahoy_captain/favicon-32x32.png +0 -0
- data/app/assets/images/ahoy_captain/logo.png +0 -0
- data/app/assets/images/ahoy_captain/safari-pinned-tab.svg +199 -0
- data/app/assets/javascript/ahoy_captain/application.js +4 -0
- data/app/assets/javascript/ahoy_captain/controllers/application.js +9 -0
- data/app/assets/javascript/ahoy_captain/controllers/application_controller.js +14 -0
- data/app/assets/javascript/ahoy_captain/controllers/details_modal_controller.js +18 -0
- data/app/assets/javascript/ahoy_captain/controllers/dropdown_label_controller.js +14 -0
- data/app/assets/javascript/ahoy_captain/controllers/filter_controller.js +145 -0
- data/app/assets/javascript/ahoy_captain/controllers/filter_tag_controller.js +17 -0
- data/app/assets/javascript/ahoy_captain/controllers/funnel_chart_controller.js +117 -0
- data/app/assets/javascript/ahoy_captain/controllers/index.js +3 -0
- data/app/assets/javascript/ahoy_captain/controllers/interval_controller.js +10 -0
- data/app/assets/javascript/ahoy_captain/controllers/link_controller.js +43 -0
- data/app/assets/javascript/ahoy_captain/controllers/navigation_controller.js +25 -0
- data/app/assets/javascript/ahoy_captain/controllers/realtime_controller.js +27 -0
- data/app/assets/manifest/ahoy_captain/manifest.js +2 -0
- data/app/components/ahoy_captain/dropdown_button_component.html.erb +16 -0
- data/app/components/ahoy_captain/dropdown_button_component.rb +14 -0
- data/app/components/ahoy_captain/dropdown_link_component.html.erb +19 -0
- data/app/components/ahoy_captain/dropdown_link_component.rb +15 -0
- data/app/components/ahoy_captain/filter/modal_component.html.erb +13 -0
- data/app/components/ahoy_captain/filter/modal_component.rb +13 -0
- data/app/components/ahoy_captain/filter/select_component.html.erb +21 -0
- data/app/components/ahoy_captain/filter/select_component.rb +32 -0
- data/app/components/ahoy_captain/filter/tag_component.html.erb +9 -0
- data/app/components/ahoy_captain/filter/tag_component.rb +38 -0
- data/app/components/ahoy_captain/filter/tag_container_component.html.erb +5 -0
- data/app/components/ahoy_captain/filter/tag_container_component.rb +13 -0
- data/app/components/ahoy_captain/sticky_nav_component.html.erb +37 -0
- data/app/components/ahoy_captain/sticky_nav_component.rb +5 -0
- data/app/components/ahoy_captain/table_component.html.erb +49 -0
- data/app/components/ahoy_captain/table_component.rb +28 -0
- data/app/components/ahoy_captain/tile_component.html.erb +12 -0
- data/app/components/ahoy_captain/tile_component.rb +16 -0
- data/app/components/ahoy_captain/tooltip_component.html.erb +3 -0
- data/app/components/ahoy_captain/tooltip_component.rb +18 -0
- data/app/controllers/ahoy_captain/application_controller.rb +86 -0
- data/app/controllers/ahoy_captain/campaigns_controller.rb +27 -0
- data/app/controllers/ahoy_captain/cities_controller.rb +24 -0
- data/app/controllers/ahoy_captain/countries_controller.rb +24 -0
- data/app/controllers/ahoy_captain/devices_controller.rb +23 -0
- data/app/controllers/ahoy_captain/entry_pages_controller.rb +21 -0
- data/app/controllers/ahoy_captain/exit_pages_controller.rb +20 -0
- data/app/controllers/ahoy_captain/filters/base_controller.rb +17 -0
- data/app/controllers/ahoy_captain/filters/locations_controller.rb +11 -0
- data/app/controllers/ahoy_captain/filters/operating_systems/names_controller.rb +13 -0
- data/app/controllers/ahoy_captain/filters/operating_systems/versions_controller.rb +13 -0
- data/app/controllers/ahoy_captain/filters/pages/actions_controller.rb +13 -0
- data/app/controllers/ahoy_captain/filters/pages/entry_pages_controller.rb +14 -0
- data/app/controllers/ahoy_captain/filters/pages/exit_pages_controller.rb +16 -0
- data/app/controllers/ahoy_captain/filters/screens_controller.rb +11 -0
- data/app/controllers/ahoy_captain/filters/sources_controller.rb +11 -0
- data/app/controllers/ahoy_captain/filters/utms_controller.rb +10 -0
- data/app/controllers/ahoy_captain/funnels_controller.rb +8 -0
- data/app/controllers/ahoy_captain/goals_controller.rb +7 -0
- data/app/controllers/ahoy_captain/realtimes_controller.rb +7 -0
- data/app/controllers/ahoy_captain/regions_controller.rb +24 -0
- data/app/controllers/ahoy_captain/roots_controller.rb +6 -0
- data/app/controllers/ahoy_captain/sources_controller.rb +24 -0
- data/app/controllers/ahoy_captain/stats/base_controller.rb +67 -0
- data/app/controllers/ahoy_captain/stats/bounce_rates_controller.rb +11 -0
- data/app/controllers/ahoy_captain/stats/total_pageviews_controller.rb +9 -0
- data/app/controllers/ahoy_captain/stats/total_visits_controller.rb +9 -0
- data/app/controllers/ahoy_captain/stats/unique_visitors_controller.rb +9 -0
- data/app/controllers/ahoy_captain/stats/views_per_visits_controller.rb +19 -0
- data/app/controllers/ahoy_captain/stats/visit_durations_controller.rb +9 -0
- data/app/controllers/ahoy_captain/stats_controller.rb +7 -0
- data/app/controllers/ahoy_captain/top_pages_controller.rb +26 -0
- data/app/decorators/ahoy_captain/application_decorator.rb +34 -0
- data/app/decorators/ahoy_captain/campaign_decorator.rb +19 -0
- data/app/decorators/ahoy_captain/city_decorator.rb +12 -0
- data/app/decorators/ahoy_captain/country_decorator.rb +28 -0
- data/app/decorators/ahoy_captain/device_decorator.rb +16 -0
- data/app/decorators/ahoy_captain/entry_page_decorator.rb +7 -0
- data/app/decorators/ahoy_captain/exit_page_decorator.rb +7 -0
- data/app/decorators/ahoy_captain/page_decorator.rb +16 -0
- data/app/decorators/ahoy_captain/region_decorator.rb +12 -0
- data/app/decorators/ahoy_captain/source_decorator.rb +20 -0
- data/app/decorators/ahoy_captain/top_page_decorator.rb +7 -0
- data/app/helpers/ahoy_captain/application_helper.rb +32 -0
- data/app/models/ahoy_captain/current.rb +9 -0
- data/app/models/ahoy_captain/rangeable.rb +10 -0
- data/app/models/ahoy_captain/url_helpers.rb +6 -0
- data/app/models/ahoy_captain/widget.rb +15 -0
- data/app/models/concerns/ahoy_captain/range_options.rb +21 -0
- data/app/presenters/ahoy_captain/dashboard_presenter.rb +84 -0
- data/app/presenters/ahoy_captain/funnel_presenter.rb +68 -0
- data/app/presenters/ahoy_captain/goals_presenter.rb +69 -0
- data/app/queries/ahoy_captain/application_query.rb +121 -0
- data/app/queries/ahoy_captain/entry_pages_query.rb +17 -0
- data/app/queries/ahoy_captain/event_query.rb +35 -0
- data/app/queries/ahoy_captain/exit_pages_query.rb +17 -0
- data/app/queries/ahoy_captain/stats/average_views_per_visit_query.rb +13 -0
- data/app/queries/ahoy_captain/stats/average_visit_duration_query.rb +11 -0
- data/app/queries/ahoy_captain/stats/bounce_rates_query.rb +17 -0
- data/app/queries/ahoy_captain/stats/total_pageviews_query.rb +9 -0
- data/app/queries/ahoy_captain/stats/total_visitors_query.rb +9 -0
- data/app/queries/ahoy_captain/stats/unique_visitors_query.rb +9 -0
- data/app/queries/ahoy_captain/stats/views_per_visit_query.rb +17 -0
- data/app/queries/ahoy_captain/stats/visit_duration_query.rb +16 -0
- data/app/queries/ahoy_captain/visit_query.rb +32 -0
- data/app/views/ahoy_captain/campaigns/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/campaigns/index.html.erb +3 -0
- data/app/views/ahoy_captain/cities/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/cities/index.html.erb +3 -0
- data/app/views/ahoy_captain/countries/index.html+details.erb +5 -0
- data/app/views/ahoy_captain/countries/index.html.erb +3 -0
- data/app/views/ahoy_captain/devices/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/devices/index.html.erb +3 -0
- data/app/views/ahoy_captain/entry_pages/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/entry_pages/index.html.erb +3 -0
- data/app/views/ahoy_captain/exit_pages/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/exit_pages/index.html.erb +3 -0
- data/app/views/ahoy_captain/funnels/index.html.erb +7 -0
- data/app/views/ahoy_captain/funnels/show.html.erb +6 -0
- data/app/views/ahoy_captain/goals/index.html.erb +39 -0
- data/app/views/ahoy_captain/layouts/application.html.erb +127 -0
- data/app/views/ahoy_captain/realtimes/show.html.erb +9 -0
- data/app/views/ahoy_captain/regions/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/regions/index.html.erb +3 -0
- data/app/views/ahoy_captain/roots/show.html.erb +179 -0
- data/app/views/ahoy_captain/sources/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/sources/index.html.erb +3 -0
- data/app/views/ahoy_captain/stats/base/index.html.erb +14 -0
- data/app/views/ahoy_captain/stats/show.html.erb +57 -0
- data/app/views/ahoy_captain/top_pages/index.html+details.erb +4 -0
- data/app/views/ahoy_captain/top_pages/index.html.erb +3 -0
- data/config/routes.rb +56 -0
- data/lib/ahoy_captain/active_record.rb +108 -0
- data/lib/ahoy_captain/ahoy/event_methods.rb +114 -0
- data/lib/ahoy_captain/ahoy/visit_methods.rb +23 -0
- data/lib/ahoy_captain/configuration.rb +43 -0
- data/lib/ahoy_captain/engine.rb +24 -0
- data/lib/ahoy_captain/funnels.rb +44 -0
- data/lib/ahoy_captain/goals.rb +43 -0
- data/lib/ahoy_captain/period_collection.rb +115 -0
- data/lib/ahoy_captain/railtie.rb +7 -0
- data/lib/ahoy_captain/version.rb +1 -3
- data/lib/ahoy_captain.rb +50 -4
- data/lib/generators/ahoy_captain/install_generator.rb +18 -0
- data/lib/generators/ahoy_captain/migration_generator.rb +21 -0
- data/lib/generators/ahoy_captain/templates/config.rb.tt +138 -0
- data/lib/generators/ahoy_captain/templates/migration.rb.tt +7 -0
- metadata +410 -17
- data/.rspec +0 -3
- data/.rubocop.yml +0 -13
- data/CHANGELOG.md +0 -5
- data/Gemfile +0 -12
- data/ahoy_captain.gemspec +0 -37
- data/sig/ahoy_captain.rbs +0 -4
metadata
CHANGED
@@ -1,34 +1,426 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ahoy_captain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joshmn
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ransack
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.3'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: turbo-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: view_component
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: importmap-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: stimulus-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: ahoy_matey
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.1'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: chartkick
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '4'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: groupdate
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '5'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '5'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pagy
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '4'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '4'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rails
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '6'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '6'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: sprockets-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: better_errors
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: binding_of_caller
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: sassc
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: puma
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: pg
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: pp_sql
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: A full-featured, mountable analytics dashboard for your Rails app, powered
|
266
|
+
by Ahoy.
|
14
267
|
email:
|
15
|
-
- josh@josh.mn
|
16
268
|
executables: []
|
17
269
|
extensions: []
|
18
270
|
extra_rdoc_files: []
|
19
271
|
files:
|
20
|
-
-
|
21
|
-
- ".rubocop.yml"
|
22
|
-
- CHANGELOG.md
|
23
|
-
- Gemfile
|
272
|
+
- MIT-LICENSE
|
24
273
|
- README.md
|
25
274
|
- Rakefile
|
26
|
-
- ahoy_captain.
|
275
|
+
- app/assets/images/ahoy_captain/apple-touch-icon.png
|
276
|
+
- app/assets/images/ahoy_captain/favicon-16x16.png
|
277
|
+
- app/assets/images/ahoy_captain/favicon-32x32.png
|
278
|
+
- app/assets/images/ahoy_captain/logo.png
|
279
|
+
- app/assets/images/ahoy_captain/safari-pinned-tab.svg
|
280
|
+
- app/assets/javascript/ahoy_captain/application.js
|
281
|
+
- app/assets/javascript/ahoy_captain/controllers/application.js
|
282
|
+
- app/assets/javascript/ahoy_captain/controllers/application_controller.js
|
283
|
+
- app/assets/javascript/ahoy_captain/controllers/details_modal_controller.js
|
284
|
+
- app/assets/javascript/ahoy_captain/controllers/dropdown_label_controller.js
|
285
|
+
- app/assets/javascript/ahoy_captain/controllers/filter_controller.js
|
286
|
+
- app/assets/javascript/ahoy_captain/controllers/filter_tag_controller.js
|
287
|
+
- app/assets/javascript/ahoy_captain/controllers/funnel_chart_controller.js
|
288
|
+
- app/assets/javascript/ahoy_captain/controllers/index.js
|
289
|
+
- app/assets/javascript/ahoy_captain/controllers/interval_controller.js
|
290
|
+
- app/assets/javascript/ahoy_captain/controllers/link_controller.js
|
291
|
+
- app/assets/javascript/ahoy_captain/controllers/navigation_controller.js
|
292
|
+
- app/assets/javascript/ahoy_captain/controllers/realtime_controller.js
|
293
|
+
- app/assets/manifest/ahoy_captain/manifest.js
|
294
|
+
- app/components/ahoy_captain/dropdown_button_component.html.erb
|
295
|
+
- app/components/ahoy_captain/dropdown_button_component.rb
|
296
|
+
- app/components/ahoy_captain/dropdown_link_component.html.erb
|
297
|
+
- app/components/ahoy_captain/dropdown_link_component.rb
|
298
|
+
- app/components/ahoy_captain/filter/modal_component.html.erb
|
299
|
+
- app/components/ahoy_captain/filter/modal_component.rb
|
300
|
+
- app/components/ahoy_captain/filter/select_component.html.erb
|
301
|
+
- app/components/ahoy_captain/filter/select_component.rb
|
302
|
+
- app/components/ahoy_captain/filter/tag_component.html.erb
|
303
|
+
- app/components/ahoy_captain/filter/tag_component.rb
|
304
|
+
- app/components/ahoy_captain/filter/tag_container_component.html.erb
|
305
|
+
- app/components/ahoy_captain/filter/tag_container_component.rb
|
306
|
+
- app/components/ahoy_captain/sticky_nav_component.html.erb
|
307
|
+
- app/components/ahoy_captain/sticky_nav_component.rb
|
308
|
+
- app/components/ahoy_captain/table_component.html.erb
|
309
|
+
- app/components/ahoy_captain/table_component.rb
|
310
|
+
- app/components/ahoy_captain/tile_component.html.erb
|
311
|
+
- app/components/ahoy_captain/tile_component.rb
|
312
|
+
- app/components/ahoy_captain/tooltip_component.html.erb
|
313
|
+
- app/components/ahoy_captain/tooltip_component.rb
|
314
|
+
- app/controllers/ahoy_captain/application_controller.rb
|
315
|
+
- app/controllers/ahoy_captain/campaigns_controller.rb
|
316
|
+
- app/controllers/ahoy_captain/cities_controller.rb
|
317
|
+
- app/controllers/ahoy_captain/countries_controller.rb
|
318
|
+
- app/controllers/ahoy_captain/devices_controller.rb
|
319
|
+
- app/controllers/ahoy_captain/entry_pages_controller.rb
|
320
|
+
- app/controllers/ahoy_captain/exit_pages_controller.rb
|
321
|
+
- app/controllers/ahoy_captain/filters/base_controller.rb
|
322
|
+
- app/controllers/ahoy_captain/filters/locations_controller.rb
|
323
|
+
- app/controllers/ahoy_captain/filters/operating_systems/names_controller.rb
|
324
|
+
- app/controllers/ahoy_captain/filters/operating_systems/versions_controller.rb
|
325
|
+
- app/controllers/ahoy_captain/filters/pages/actions_controller.rb
|
326
|
+
- app/controllers/ahoy_captain/filters/pages/entry_pages_controller.rb
|
327
|
+
- app/controllers/ahoy_captain/filters/pages/exit_pages_controller.rb
|
328
|
+
- app/controllers/ahoy_captain/filters/screens_controller.rb
|
329
|
+
- app/controllers/ahoy_captain/filters/sources_controller.rb
|
330
|
+
- app/controllers/ahoy_captain/filters/utms_controller.rb
|
331
|
+
- app/controllers/ahoy_captain/funnels_controller.rb
|
332
|
+
- app/controllers/ahoy_captain/goals_controller.rb
|
333
|
+
- app/controllers/ahoy_captain/realtimes_controller.rb
|
334
|
+
- app/controllers/ahoy_captain/regions_controller.rb
|
335
|
+
- app/controllers/ahoy_captain/roots_controller.rb
|
336
|
+
- app/controllers/ahoy_captain/sources_controller.rb
|
337
|
+
- app/controllers/ahoy_captain/stats/base_controller.rb
|
338
|
+
- app/controllers/ahoy_captain/stats/bounce_rates_controller.rb
|
339
|
+
- app/controllers/ahoy_captain/stats/total_pageviews_controller.rb
|
340
|
+
- app/controllers/ahoy_captain/stats/total_visits_controller.rb
|
341
|
+
- app/controllers/ahoy_captain/stats/unique_visitors_controller.rb
|
342
|
+
- app/controllers/ahoy_captain/stats/views_per_visits_controller.rb
|
343
|
+
- app/controllers/ahoy_captain/stats/visit_durations_controller.rb
|
344
|
+
- app/controllers/ahoy_captain/stats_controller.rb
|
345
|
+
- app/controllers/ahoy_captain/top_pages_controller.rb
|
346
|
+
- app/decorators/ahoy_captain/application_decorator.rb
|
347
|
+
- app/decorators/ahoy_captain/campaign_decorator.rb
|
348
|
+
- app/decorators/ahoy_captain/city_decorator.rb
|
349
|
+
- app/decorators/ahoy_captain/country_decorator.rb
|
350
|
+
- app/decorators/ahoy_captain/device_decorator.rb
|
351
|
+
- app/decorators/ahoy_captain/entry_page_decorator.rb
|
352
|
+
- app/decorators/ahoy_captain/exit_page_decorator.rb
|
353
|
+
- app/decorators/ahoy_captain/page_decorator.rb
|
354
|
+
- app/decorators/ahoy_captain/region_decorator.rb
|
355
|
+
- app/decorators/ahoy_captain/source_decorator.rb
|
356
|
+
- app/decorators/ahoy_captain/top_page_decorator.rb
|
357
|
+
- app/helpers/ahoy_captain/application_helper.rb
|
358
|
+
- app/models/ahoy_captain/current.rb
|
359
|
+
- app/models/ahoy_captain/rangeable.rb
|
360
|
+
- app/models/ahoy_captain/url_helpers.rb
|
361
|
+
- app/models/ahoy_captain/widget.rb
|
362
|
+
- app/models/concerns/ahoy_captain/range_options.rb
|
363
|
+
- app/presenters/ahoy_captain/dashboard_presenter.rb
|
364
|
+
- app/presenters/ahoy_captain/funnel_presenter.rb
|
365
|
+
- app/presenters/ahoy_captain/goals_presenter.rb
|
366
|
+
- app/queries/ahoy_captain/application_query.rb
|
367
|
+
- app/queries/ahoy_captain/entry_pages_query.rb
|
368
|
+
- app/queries/ahoy_captain/event_query.rb
|
369
|
+
- app/queries/ahoy_captain/exit_pages_query.rb
|
370
|
+
- app/queries/ahoy_captain/stats/average_views_per_visit_query.rb
|
371
|
+
- app/queries/ahoy_captain/stats/average_visit_duration_query.rb
|
372
|
+
- app/queries/ahoy_captain/stats/bounce_rates_query.rb
|
373
|
+
- app/queries/ahoy_captain/stats/total_pageviews_query.rb
|
374
|
+
- app/queries/ahoy_captain/stats/total_visitors_query.rb
|
375
|
+
- app/queries/ahoy_captain/stats/unique_visitors_query.rb
|
376
|
+
- app/queries/ahoy_captain/stats/views_per_visit_query.rb
|
377
|
+
- app/queries/ahoy_captain/stats/visit_duration_query.rb
|
378
|
+
- app/queries/ahoy_captain/visit_query.rb
|
379
|
+
- app/views/ahoy_captain/campaigns/index.html+details.erb
|
380
|
+
- app/views/ahoy_captain/campaigns/index.html.erb
|
381
|
+
- app/views/ahoy_captain/cities/index.html+details.erb
|
382
|
+
- app/views/ahoy_captain/cities/index.html.erb
|
383
|
+
- app/views/ahoy_captain/countries/index.html+details.erb
|
384
|
+
- app/views/ahoy_captain/countries/index.html.erb
|
385
|
+
- app/views/ahoy_captain/devices/index.html+details.erb
|
386
|
+
- app/views/ahoy_captain/devices/index.html.erb
|
387
|
+
- app/views/ahoy_captain/entry_pages/index.html+details.erb
|
388
|
+
- app/views/ahoy_captain/entry_pages/index.html.erb
|
389
|
+
- app/views/ahoy_captain/exit_pages/index.html+details.erb
|
390
|
+
- app/views/ahoy_captain/exit_pages/index.html.erb
|
391
|
+
- app/views/ahoy_captain/funnels/index.html.erb
|
392
|
+
- app/views/ahoy_captain/funnels/show.html.erb
|
393
|
+
- app/views/ahoy_captain/goals/index.html.erb
|
394
|
+
- app/views/ahoy_captain/layouts/application.html.erb
|
395
|
+
- app/views/ahoy_captain/realtimes/show.html.erb
|
396
|
+
- app/views/ahoy_captain/regions/index.html+details.erb
|
397
|
+
- app/views/ahoy_captain/regions/index.html.erb
|
398
|
+
- app/views/ahoy_captain/roots/show.html.erb
|
399
|
+
- app/views/ahoy_captain/sources/index.html+details.erb
|
400
|
+
- app/views/ahoy_captain/sources/index.html.erb
|
401
|
+
- app/views/ahoy_captain/stats/base/index.html.erb
|
402
|
+
- app/views/ahoy_captain/stats/show.html.erb
|
403
|
+
- app/views/ahoy_captain/top_pages/index.html+details.erb
|
404
|
+
- app/views/ahoy_captain/top_pages/index.html.erb
|
405
|
+
- config/routes.rb
|
27
406
|
- lib/ahoy_captain.rb
|
407
|
+
- lib/ahoy_captain/active_record.rb
|
408
|
+
- lib/ahoy_captain/ahoy/event_methods.rb
|
409
|
+
- lib/ahoy_captain/ahoy/visit_methods.rb
|
410
|
+
- lib/ahoy_captain/configuration.rb
|
411
|
+
- lib/ahoy_captain/engine.rb
|
412
|
+
- lib/ahoy_captain/funnels.rb
|
413
|
+
- lib/ahoy_captain/goals.rb
|
414
|
+
- lib/ahoy_captain/period_collection.rb
|
415
|
+
- lib/ahoy_captain/railtie.rb
|
28
416
|
- lib/ahoy_captain/version.rb
|
29
|
-
-
|
30
|
-
|
31
|
-
|
417
|
+
- lib/generators/ahoy_captain/install_generator.rb
|
418
|
+
- lib/generators/ahoy_captain/migration_generator.rb
|
419
|
+
- lib/generators/ahoy_captain/templates/config.rb.tt
|
420
|
+
- lib/generators/ahoy_captain/templates/migration.rb.tt
|
421
|
+
homepage:
|
422
|
+
licenses:
|
423
|
+
- MIT
|
32
424
|
metadata:
|
33
425
|
homepage_uri: https://github.com/joshmn/ahoy_captain
|
34
426
|
source_code_uri: https://github.com/joshmn/ahoy_captain
|
@@ -41,15 +433,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
433
|
requirements:
|
42
434
|
- - ">="
|
43
435
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
436
|
+
version: '0'
|
45
437
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
438
|
requirements:
|
47
439
|
- - ">="
|
48
440
|
- !ruby/object:Gem::Version
|
49
441
|
version: '0'
|
50
442
|
requirements: []
|
51
|
-
rubygems_version: 3.
|
443
|
+
rubygems_version: 3.3.11
|
52
444
|
signing_key:
|
53
445
|
specification_version: 4
|
54
|
-
summary: A
|
446
|
+
summary: A full-featured, mountable analytics dashboard for your Rails app, powered
|
447
|
+
by Ahoy.
|
55
448
|
test_files: []
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/CHANGELOG.md
DELETED
data/Gemfile
DELETED
data/ahoy_captain.gemspec
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "lib/ahoy_captain/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "ahoy_captain"
|
7
|
-
spec.version = AhoyCaptain::VERSION
|
8
|
-
spec.authors = ["joshmn"]
|
9
|
-
spec.email = ["josh@josh.mn"]
|
10
|
-
|
11
|
-
spec.summary = "A top-secret project, created in Los Alamos."
|
12
|
-
spec.description = spec.summary
|
13
|
-
spec.homepage = "https://github.com/joshmn/ahoy_captain"
|
14
|
-
spec.required_ruby_version = ">= 2.6.0"
|
15
|
-
|
16
|
-
|
17
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
18
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
-
spec.metadata["changelog_uri"] = spec.homepage
|
20
|
-
|
21
|
-
# Specify which files should be added to the gem when it is released.
|
22
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
23
|
-
spec.files = Dir.chdir(__dir__) do
|
24
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
25
|
-
(File.expand_path(f) == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
|
26
|
-
end
|
27
|
-
end
|
28
|
-
spec.bindir = "exe"
|
29
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
30
|
-
spec.require_paths = ["lib"]
|
31
|
-
|
32
|
-
# Uncomment to register a new dependency of your gem
|
33
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
34
|
-
|
35
|
-
# For more information and examples about making a new gem, check out our
|
36
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
37
|
-
end
|
data/sig/ahoy_captain.rbs
DELETED