flowmor_analytics 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/javascripts/flowmor_analytics/clicky_analytics.js.erb +13 -0
  5. data/app/assets/javascripts/flowmor_analytics/google_analytics.js.erb +11 -0
  6. data/app/assets/javascripts/flowmor_analytics.js.erb +2 -0
  7. data/bin/rails +12 -0
  8. data/config/routes.rb +2 -0
  9. data/lib/flowmor_analytics/config.rb +18 -0
  10. data/lib/flowmor_analytics/engine.rb +4 -0
  11. data/lib/flowmor_analytics/railtie.rb +21 -0
  12. data/lib/flowmor_analytics/version.rb +3 -0
  13. data/lib/flowmor_analytics.rb +7 -0
  14. data/lib/generators/flowmor_analytics/install_generator.rb +13 -0
  15. data/lib/generators/flowmor_analytics/templates/config/analytics.yml +41 -0
  16. data/lib/tasks/flowmor_analytics_tasks.rake +4 -0
  17. data/test/dummy/README.rdoc +28 -0
  18. data/test/dummy/Rakefile +6 -0
  19. data/test/dummy/app/assets/javascripts/application.js +14 -0
  20. data/test/dummy/app/assets/javascripts/static.js +2 -0
  21. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  22. data/test/dummy/app/assets/stylesheets/static.css +4 -0
  23. data/test/dummy/app/controllers/application_controller.rb +5 -0
  24. data/test/dummy/app/controllers/static_controller.rb +2 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/helpers/static_helper.rb +2 -0
  27. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/test/dummy/app/views/static/index.html.erb +3 -0
  29. data/test/dummy/bin/bundle +3 -0
  30. data/test/dummy/bin/rails +4 -0
  31. data/test/dummy/bin/rake +4 -0
  32. data/test/dummy/config/analytics.yml +20 -0
  33. data/test/dummy/config/application.rb +24 -0
  34. data/test/dummy/config/boot.rb +5 -0
  35. data/test/dummy/config/database.yml +25 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +37 -0
  38. data/test/dummy/config/environments/production.rb +82 -0
  39. data/test/dummy/config/environments/test.rb +39 -0
  40. data/test/dummy/config/initializers/assets.rb +8 -0
  41. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  42. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  43. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  44. data/test/dummy/config/initializers/inflections.rb +16 -0
  45. data/test/dummy/config/initializers/mime_types.rb +4 -0
  46. data/test/dummy/config/initializers/session_store.rb +3 -0
  47. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  48. data/test/dummy/config/locales/en.yml +23 -0
  49. data/test/dummy/config/routes.rb +3 -0
  50. data/test/dummy/config/secrets.yml +22 -0
  51. data/test/dummy/config.ru +4 -0
  52. data/test/dummy/db/development.sqlite3 +0 -0
  53. data/test/dummy/db/test.sqlite3 +0 -0
  54. data/test/dummy/log/development.log +559 -0
  55. data/test/dummy/log/test.log +747 -0
  56. data/test/dummy/public/404.html +67 -0
  57. data/test/dummy/public/422.html +67 -0
  58. data/test/dummy/public/500.html +66 -0
  59. data/test/dummy/public/favicon.ico +0 -0
  60. data/test/dummy/test/controllers/static_controller_test.rb +10 -0
  61. data/test/dummy/test/javascripts_test.rb +10 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/0acf6e0fcfb87a29982c83363a760ea2 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/1a15704eaa1c14a6d2846e0459d39620 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/2cdcb1089fe8a96b07fa1beb4356a3f2 +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/2ef169e1ab9b9980404c3f7bd7b16cd1 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/367d5b1082a05f657fdcbd0d931b2106 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/3bf3fee418f5d59cf1ffc9714a24adb1 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/3dd2162fc075eb90be4f9a4b9b72c507 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/4d18ce44cd3685dbdc234c5472a1daf1 +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/514d78348a3455227ab8e55350c3a5a1 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/637535bc75eebbdd88420b8e0e44d762 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/69f0719ed02418a5c17b6aec35bb6676 +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/849d0901265a8754d4b814e87f81a0ec +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/86d6122086e841be22a0d11f2f5a36f5 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/88c194c8ea1c2522e4ffea2489397d33 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/8aefced0e6c8fb60872182f48754b920 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/8ba2ce2c70baffd95c2d9daa5f40f18c +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/95c9828c8be1757c1ca64fff801d8305 +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/96fd7f7738bd89f82c3fe2f00327f788 +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/a36ecdd9085412034342bcac68445be1 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/af6c9ec9ad00087923cc7bb1ae2b10b5 +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/b42307b0386530d4bd213f297d82477c +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/b8ee79f719185653fcd021e27cacbc9c +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/ba2e0e4c3e95ac831d774f005a70b5e4 +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/c1a3b329f54c41592a0854a40f8425e0 +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/cc42117866c4ce5ebdea0982739a8665 +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/deeb8a0b86807fc12c0f907700258799 +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/efbfd84424b5a4f22bd23b73db9591a2 +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sprockets/1a15704eaa1c14a6d2846e0459d39620 +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sprockets/2cdcb1089fe8a96b07fa1beb4356a3f2 +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sprockets/2ef169e1ab9b9980404c3f7bd7b16cd1 +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sprockets/3bf3fee418f5d59cf1ffc9714a24adb1 +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sprockets/3dd2162fc075eb90be4f9a4b9b72c507 +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/637535bc75eebbdd88420b8e0e44d762 +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sprockets/69f0719ed02418a5c17b6aec35bb6676 +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sprockets/8ba2ce2c70baffd95c2d9daa5f40f18c +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sprockets/95c9828c8be1757c1ca64fff801d8305 +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sprockets/96fd7f7738bd89f82c3fe2f00327f788 +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sprockets/af6c9ec9ad00087923cc7bb1ae2b10b5 +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sprockets/b42307b0386530d4bd213f297d82477c +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sprockets/b8ee79f719185653fcd021e27cacbc9c +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sprockets/ba2e0e4c3e95ac831d774f005a70b5e4 +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sprockets/c1a3b329f54c41592a0854a40f8425e0 +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sprockets/efbfd84424b5a4f22bd23b73db9591a2 +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  117. data/test/dummy/tmp/generators/config/analytics.yml +41 -0
  118. data/test/flowmor_analytics_test.rb +4 -0
  119. data/test/integration/navigation_test.rb +10 -0
  120. data/test/lib/generators/install_generator_test.rb +14 -0
  121. data/test/test_helper.rb +15 -0
  122. metadata +300 -0
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ root 'static#index'
3
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: f5166cef5f8072d2e53aaef9ff3955320deebf32670c8d664314f4748677c29a7215c27cc4e292b167921b0df2703a284e5fca0639e7d3b7fbef4c6edbe5bd9e
15
+
16
+ test:
17
+ secret_key_base: ea513f87fd9c3e35fbc759637507e79818a9c3d98dffd7ab7533921368ceadb52d72180f351b92d40dd74e5031317d52b82616502611afadc25b9b615d5b8ce3
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
File without changes
File without changes