express_analytics 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/express_analytics/admin.js +1 -0
  5. data/app/assets/javascripts/express_analytics/application.js +13 -0
  6. data/app/assets/stylesheets/express_analytics/admin.css +5 -0
  7. data/app/assets/stylesheets/express_analytics/application.css +15 -0
  8. data/app/controllers/express_analytics/application_controller.rb +4 -0
  9. data/app/controllers/express_analytics/daily_statistics_controller.rb +5 -0
  10. data/app/controllers/express_analytics/log_entries_controller.rb +12 -0
  11. data/app/helpers/express_analytics/application_helper.rb +4 -0
  12. data/app/models/express_analytics/daily_statistic.rb +54 -0
  13. data/app/models/express_analytics/log_entry.rb +5 -0
  14. data/app/views/express_analytics/daily_statistics/index.html.et +8 -0
  15. data/app/views/express_analytics/log_entries/index.html.et +20 -0
  16. data/app/views/layouts/express_analytics/admin.html.et +1 -0
  17. data/app/views/layouts/express_analytics/application.html.erb +14 -0
  18. data/config/initializers/default_logger.rb +78 -0
  19. data/config/initializers/mount_engine.rb +3 -0
  20. data/config/menu.yml +11 -0
  21. data/config/routes.rb +4 -0
  22. data/db/migrate/20160215051456_create_express_analytics_daily_statistics.rb +11 -0
  23. data/db/migrate/20160215053321_create_express_analytics_log_entries.rb +20 -0
  24. data/lib/express_analytics/engine.rb +16 -0
  25. data/lib/express_analytics/version.rb +3 -0
  26. data/lib/express_analytics.rb +4 -0
  27. data/lib/generators/express_analytics/install/USAGE +8 -0
  28. data/lib/generators/express_analytics/install/install_generator.rb +10 -0
  29. data/lib/tasks/express_analytics_tasks.rake +4 -0
  30. data/test/dummy/README.rdoc +28 -0
  31. data/test/dummy/Rakefile +6 -0
  32. data/test/dummy/app/assets/javascripts/application.js +13 -0
  33. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  34. data/test/dummy/app/controllers/application_controller.rb +5 -0
  35. data/test/dummy/app/helpers/application_helper.rb +2 -0
  36. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  37. data/test/dummy/bin/bundle +3 -0
  38. data/test/dummy/bin/rails +4 -0
  39. data/test/dummy/bin/rake +4 -0
  40. data/test/dummy/bin/setup +29 -0
  41. data/test/dummy/config/application.rb +26 -0
  42. data/test/dummy/config/boot.rb +5 -0
  43. data/test/dummy/config/database.yml +25 -0
  44. data/test/dummy/config/environment.rb +5 -0
  45. data/test/dummy/config/environments/development.rb +41 -0
  46. data/test/dummy/config/environments/production.rb +79 -0
  47. data/test/dummy/config/environments/test.rb +42 -0
  48. data/test/dummy/config/initializers/assets.rb +11 -0
  49. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  50. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  51. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  52. data/test/dummy/config/initializers/inflections.rb +16 -0
  53. data/test/dummy/config/initializers/mime_types.rb +4 -0
  54. data/test/dummy/config/initializers/session_store.rb +3 -0
  55. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  56. data/test/dummy/config/locales/en.yml +23 -0
  57. data/test/dummy/config/routes.rb +4 -0
  58. data/test/dummy/config/secrets.yml +22 -0
  59. data/test/dummy/config.ru +4 -0
  60. data/test/dummy/db/development.sqlite3 +0 -0
  61. data/test/dummy/db/schema.rb +40 -0
  62. data/test/dummy/log/development.log +27 -0
  63. data/test/dummy/public/404.html +67 -0
  64. data/test/dummy/public/422.html +67 -0
  65. data/test/dummy/public/500.html +66 -0
  66. data/test/dummy/public/favicon.ico +0 -0
  67. data/test/express_analytics_test.rb +7 -0
  68. data/test/fixtures/express_analytics/daily_statistics.yml +11 -0
  69. data/test/fixtures/express_analytics/log_entries.yml +29 -0
  70. data/test/integration/navigation_test.rb +8 -0
  71. data/test/lib/generators/express_analytics/install/install_generator_test.rb +16 -0
  72. data/test/models/express_analytics/daily_statistic_test.rb +9 -0
  73. data/test/models/express_analytics/log_entry_test.rb +9 -0
  74. data/test/test_helper.rb +21 -0
  75. metadata +205 -0
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module ExpressAnalytics
4
+ class LogEntryTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
@@ -0,0 +1,21 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
10
+ # to be shown.
11
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
12
+
13
+ # Load support files
14
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15
+
16
+ # Load fixtures from the engine
17
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
18
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
19
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
20
+ ActiveSupport::TestCase.fixtures :all
21
+ end
metadata ADDED
@@ -0,0 +1,205 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: express_analytics
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Steven Talcott Smith
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-16 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: 4.2.5.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.5.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: express_admin
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Provides application owners and admins with analytics for user behavior
56
+ and important system statistics that can only be gleaned from the operational database.
57
+ email:
58
+ - steve@aelogica.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - MIT-LICENSE
64
+ - Rakefile
65
+ - app/assets/javascripts/express_analytics/admin.js
66
+ - app/assets/javascripts/express_analytics/application.js
67
+ - app/assets/stylesheets/express_analytics/admin.css
68
+ - app/assets/stylesheets/express_analytics/application.css
69
+ - app/controllers/express_analytics/application_controller.rb
70
+ - app/controllers/express_analytics/daily_statistics_controller.rb
71
+ - app/controllers/express_analytics/log_entries_controller.rb
72
+ - app/helpers/express_analytics/application_helper.rb
73
+ - app/models/express_analytics/daily_statistic.rb
74
+ - app/models/express_analytics/log_entry.rb
75
+ - app/views/express_analytics/daily_statistics/index.html.et
76
+ - app/views/express_analytics/log_entries/index.html.et
77
+ - app/views/layouts/express_analytics/admin.html.et
78
+ - app/views/layouts/express_analytics/application.html.erb
79
+ - config/initializers/default_logger.rb
80
+ - config/initializers/mount_engine.rb
81
+ - config/menu.yml
82
+ - config/routes.rb
83
+ - db/migrate/20160215051456_create_express_analytics_daily_statistics.rb
84
+ - db/migrate/20160215053321_create_express_analytics_log_entries.rb
85
+ - lib/express_analytics.rb
86
+ - lib/express_analytics/engine.rb
87
+ - lib/express_analytics/version.rb
88
+ - lib/generators/express_analytics/install/USAGE
89
+ - lib/generators/express_analytics/install/install_generator.rb
90
+ - lib/tasks/express_analytics_tasks.rake
91
+ - test/dummy/README.rdoc
92
+ - test/dummy/Rakefile
93
+ - test/dummy/app/assets/javascripts/application.js
94
+ - test/dummy/app/assets/stylesheets/application.css
95
+ - test/dummy/app/controllers/application_controller.rb
96
+ - test/dummy/app/helpers/application_helper.rb
97
+ - test/dummy/app/views/layouts/application.html.erb
98
+ - test/dummy/bin/bundle
99
+ - test/dummy/bin/rails
100
+ - test/dummy/bin/rake
101
+ - test/dummy/bin/setup
102
+ - test/dummy/config.ru
103
+ - test/dummy/config/application.rb
104
+ - test/dummy/config/boot.rb
105
+ - test/dummy/config/database.yml
106
+ - test/dummy/config/environment.rb
107
+ - test/dummy/config/environments/development.rb
108
+ - test/dummy/config/environments/production.rb
109
+ - test/dummy/config/environments/test.rb
110
+ - test/dummy/config/initializers/assets.rb
111
+ - test/dummy/config/initializers/backtrace_silencers.rb
112
+ - test/dummy/config/initializers/cookies_serializer.rb
113
+ - test/dummy/config/initializers/filter_parameter_logging.rb
114
+ - test/dummy/config/initializers/inflections.rb
115
+ - test/dummy/config/initializers/mime_types.rb
116
+ - test/dummy/config/initializers/session_store.rb
117
+ - test/dummy/config/initializers/wrap_parameters.rb
118
+ - test/dummy/config/locales/en.yml
119
+ - test/dummy/config/routes.rb
120
+ - test/dummy/config/secrets.yml
121
+ - test/dummy/db/development.sqlite3
122
+ - test/dummy/db/schema.rb
123
+ - test/dummy/log/development.log
124
+ - test/dummy/public/404.html
125
+ - test/dummy/public/422.html
126
+ - test/dummy/public/500.html
127
+ - test/dummy/public/favicon.ico
128
+ - test/express_analytics_test.rb
129
+ - test/fixtures/express_analytics/daily_statistics.yml
130
+ - test/fixtures/express_analytics/log_entries.yml
131
+ - test/integration/navigation_test.rb
132
+ - test/lib/generators/express_analytics/install/install_generator_test.rb
133
+ - test/models/express_analytics/daily_statistic_test.rb
134
+ - test/models/express_analytics/log_entry_test.rb
135
+ - test/test_helper.rb
136
+ homepage: http://appexpress.io/express_analytics
137
+ licenses:
138
+ - MIT
139
+ metadata: {}
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ requirements: []
155
+ rubyforge_project:
156
+ rubygems_version: 2.4.7
157
+ signing_key:
158
+ specification_version: 4
159
+ summary: In-app analytics for your all your application data.
160
+ test_files:
161
+ - test/dummy/app/assets/javascripts/application.js
162
+ - test/dummy/app/assets/stylesheets/application.css
163
+ - test/dummy/app/controllers/application_controller.rb
164
+ - test/dummy/app/helpers/application_helper.rb
165
+ - test/dummy/app/views/layouts/application.html.erb
166
+ - test/dummy/bin/bundle
167
+ - test/dummy/bin/rails
168
+ - test/dummy/bin/rake
169
+ - test/dummy/bin/setup
170
+ - test/dummy/config/application.rb
171
+ - test/dummy/config/boot.rb
172
+ - test/dummy/config/database.yml
173
+ - test/dummy/config/environment.rb
174
+ - test/dummy/config/environments/development.rb
175
+ - test/dummy/config/environments/production.rb
176
+ - test/dummy/config/environments/test.rb
177
+ - test/dummy/config/initializers/assets.rb
178
+ - test/dummy/config/initializers/backtrace_silencers.rb
179
+ - test/dummy/config/initializers/cookies_serializer.rb
180
+ - test/dummy/config/initializers/filter_parameter_logging.rb
181
+ - test/dummy/config/initializers/inflections.rb
182
+ - test/dummy/config/initializers/mime_types.rb
183
+ - test/dummy/config/initializers/session_store.rb
184
+ - test/dummy/config/initializers/wrap_parameters.rb
185
+ - test/dummy/config/locales/en.yml
186
+ - test/dummy/config/routes.rb
187
+ - test/dummy/config/secrets.yml
188
+ - test/dummy/config.ru
189
+ - test/dummy/db/development.sqlite3
190
+ - test/dummy/db/schema.rb
191
+ - test/dummy/log/development.log
192
+ - test/dummy/public/404.html
193
+ - test/dummy/public/422.html
194
+ - test/dummy/public/500.html
195
+ - test/dummy/public/favicon.ico
196
+ - test/dummy/Rakefile
197
+ - test/dummy/README.rdoc
198
+ - test/express_analytics_test.rb
199
+ - test/fixtures/express_analytics/daily_statistics.yml
200
+ - test/fixtures/express_analytics/log_entries.yml
201
+ - test/integration/navigation_test.rb
202
+ - test/lib/generators/express_analytics/install/install_generator_test.rb
203
+ - test/models/express_analytics/daily_statistic_test.rb
204
+ - test/models/express_analytics/log_entry_test.rb
205
+ - test/test_helper.rb