roguelytics 1.0.13

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 (138) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/lib/generators/roguelytics/initializer_generator.rb +22 -0
  5. data/lib/generators/roguelytics_generator.rb +24 -0
  6. data/lib/roguelytics.rb +7 -0
  7. data/lib/roguelytics/has_roguelytics.rb +56 -0
  8. data/lib/roguelytics/process_job.rb +36 -0
  9. data/lib/roguelytics/railtie.rb +8 -0
  10. data/lib/roguelytics/version.rb +3 -0
  11. data/lib/roguelytics/view_helpers.rb +7 -0
  12. data/lib/tasks/roguelytics_tasks.rake +4 -0
  13. data/test/dummy/README.rdoc +28 -0
  14. data/test/dummy/Rakefile +6 -0
  15. data/test/dummy/app/assets/javascripts/application.js +13 -0
  16. data/test/dummy/app/assets/javascripts/articles.js +2 -0
  17. data/test/dummy/app/assets/javascripts/home.js +2 -0
  18. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  19. data/test/dummy/app/assets/stylesheets/articles.css +4 -0
  20. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  21. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  22. data/test/dummy/app/controllers/application_controller.rb +5 -0
  23. data/test/dummy/app/controllers/articles_controller.rb +58 -0
  24. data/test/dummy/app/controllers/home_controller.rb +10 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/helpers/articles_helper.rb +2 -0
  27. data/test/dummy/app/helpers/home_helper.rb +2 -0
  28. data/test/dummy/app/models/article.rb +4 -0
  29. data/test/dummy/app/models/blog_entry.rb +7 -0
  30. data/test/dummy/app/views/articles/_form.html.erb +29 -0
  31. data/test/dummy/app/views/articles/edit.html.erb +6 -0
  32. data/test/dummy/app/views/articles/index.html.erb +31 -0
  33. data/test/dummy/app/views/articles/new.html.erb +5 -0
  34. data/test/dummy/app/views/articles/show.html.erb +19 -0
  35. data/test/dummy/app/views/home/index.html.erb +2 -0
  36. data/test/dummy/app/views/home/privacy.html.erb +2 -0
  37. data/test/dummy/app/views/home/tos.html.erb +2 -0
  38. data/test/dummy/app/views/layouts/application.html.erb +13 -0
  39. data/test/dummy/bin/bundle +3 -0
  40. data/test/dummy/bin/rails +4 -0
  41. data/test/dummy/bin/rake +4 -0
  42. data/test/dummy/bin/setup +29 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/config/application.rb +26 -0
  45. data/test/dummy/config/boot.rb +5 -0
  46. data/test/dummy/config/database.yml +25 -0
  47. data/test/dummy/config/environment.rb +5 -0
  48. data/test/dummy/config/environments/development.rb +41 -0
  49. data/test/dummy/config/environments/production.rb +79 -0
  50. data/test/dummy/config/environments/test.rb +42 -0
  51. data/test/dummy/config/initializers/assets.rb +11 -0
  52. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  53. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  54. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  55. data/test/dummy/config/initializers/inflections.rb +16 -0
  56. data/test/dummy/config/initializers/mime_types.rb +4 -0
  57. data/test/dummy/config/initializers/open_ssl.rb +6 -0
  58. data/test/dummy/config/initializers/roguelytics.rb +12 -0
  59. data/test/dummy/config/initializers/roguelytics_development.rb +1 -0
  60. data/test/dummy/config/initializers/session_store.rb +3 -0
  61. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/test/dummy/config/locales/en.yml +23 -0
  63. data/test/dummy/config/routes.rb +64 -0
  64. data/test/dummy/config/secrets.yml +22 -0
  65. data/test/dummy/db/development.sqlite3 +0 -0
  66. data/test/dummy/db/migrate/20170804171300_create_blog_entries.rb +9 -0
  67. data/test/dummy/db/migrate/20170913124931_create_articles.rb +11 -0
  68. data/test/dummy/db/schema.rb +30 -0
  69. data/test/dummy/log/development.log +416 -0
  70. data/test/dummy/public/404.html +67 -0
  71. data/test/dummy/public/422.html +67 -0
  72. data/test/dummy/public/500.html +66 -0
  73. data/test/dummy/public/favicon.ico +0 -0
  74. data/test/dummy/test/controllers/articles_controller_test.rb +49 -0
  75. data/test/dummy/test/controllers/home_controller_test.rb +19 -0
  76. data/test/dummy/test/fixtures/articles.yml +11 -0
  77. data/test/dummy/test/fixtures/blog_entries.yml +7 -0
  78. data/test/dummy/test/models/article_test.rb +7 -0
  79. data/test/dummy/test/models/blog_entry_test.rb +7 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4L/4LynumPhGImyZEfA6U3FIkfoZfFnLcL1SbwIGx83-rA.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5t/5tjLh_pMC2cgtscThIUHDcKUjyXwS_0Jcn77DivbR7M.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6n/6nC7m65CDSZda2vqCYmqVeuHCmFMYUInoctoQEn7xLQ.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6y/6yuZaeKOE55DaRca8vmQ3YBnovpu12aT8_HhsxFbDe4.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/77/77T3hTbilbTh2Gr6PefkFFkyPM_VyepLpP5IMqZLnyE.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/78/78l_FH3y4OPecqJmP2WiiWF40zm0ZawcGaTqNWdyccc.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7t/7tIZ1FJPIr2PW817HCDZIIPYI7X9d8SqA8yCMLAuRNE.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8y/8yLeClTWUGeGKjD18dVKODiHkAjPvTb8bclY5uxTuQw.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CV/CVZtqRb-gUyegEZQ88RjKazlUpgf-niazbJuyM7Dtos.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +3 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GX/GXial7jvIUcw07yf8-CbhPnez1AqCX9p4Qb6zS3AUOM.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jw/JwApFqyhX5cmzEVGd88Ih1EzW-q2R5pLmm-9eGR0iKM.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K3/K3Wtyv6B4kcvv4cV6npe3FOxogninIOZuzLj5zBK4r0.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KT/KTtrZuiLccu9JEw3HCSF_DJtmW7ozUU2u0mKPwi-r9Q.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TK/TKCykohX35ESwG9jfAvrn38I7aQMBg1DEqwVxeStqno.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TS/TSaNweQLB5rFtYGYLfEUCIof1fcj3no6-Ntpujc0qCs.cache +1 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U8/U896CpAmtjYLXPbZH-etjUjey6IX8hT4PfTf-rFgNLM.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VK/VKPSHWFOchv3g7uSjw_xiO6VJhAVoctBXWptKQBXr7Q.cache +1 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vy/VywdsNCae1Pv1itGAsmV04sOancpx9qScldUXLYBq10.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WH/WHG_jjrANZ1AHyrMh0xhaqWvPmHr4HGQykPm5M26Tg4.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y2/Y2xRue6VMfxd-PxRTUln08vx0lE4AWhXPgrC5ib_MfU.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZW/ZWBPt0raH0103Rv-8dyO-EdjKcShQajoPNhxl_ue7vM.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZX/ZX8FAgdGs0tjaWJY6_RfA3BqGWFoq10a1suS84EaMho.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_9/_9VINLfBHCsaDuj7Y0LxiUek4upyJKWdGq9QeTOugNg.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WW9fuwhim--15t30Qmjt6aa_vSZD7CCvhLKnOvvUMw.cache +0 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aN/aNlAvipKVYqnelXDC-KqVN0LtNDSYKxasVHPTyWw0BA.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aw/awAzm5ad3McrRKUWPEZc3iyhsAyTo01gFH9gFdKyMu0.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cr/crCffUpTbvlfRQ6wTb-RDr2dmygTfczFeTZX9hKc-sA.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dp/dphXxQV1ZyMzvKy0tXw9loofG0G8_4MC_ZXSE_eHnFI.cache +3 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gp/gp17QKBSZmfLAfRYGMN8yk_7d4dqHaYN5rlFrxLzQds.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hg/hg-FVNsu_bM1RdvRY-e-yO0N2fnCrgNqeUcrtMJHzKQ.cache +0 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/io/ioHbckxnIq6atuSwOpGbiZGjHoNXhp5tyvz7_Q_rcQ4.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kI/kI-DVMwpXxQkH59BV8NH0eKbXuLoUyTAXBVo6ubfTP0.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oJ/oJw4yrcbWy7KDZHAOmS73_nsu-zI_MpP56Q4gUHcLH4.cache +0 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oM/oM65xG-hzxkvaj8o3qrdlvNdqS1HIOnTPMdBrSqjRYg.cache +0 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oN/oNJ82jQLgSgC2iCRCvZZRkZWYpNpTTWnL7cxJtzvAsM.cache +1 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pn/pnW3u_1AN48ig6ngefI89y96xoSlvnJurx-e3J-leoE.cache +3 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/po/pob7NeX_d1gazFzmZgbaxgbMBgm2xukQXsnT4AAidF4.cache +2 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q_/q_C4VxlOyuD-0BcshE8ppieNFt91q5bPDqMAJkcX0BM.cache +1 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r2/r2dF1Q4lkbjwbEl3icYtudpb22IhLM_D3h-A2LOEd94.cache +0 -0
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sl/slJgR4NtLHSGcyMxTe6EBHGKNdAMFkZteOS3jY8nxpY.cache +1 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssS2x0Wl67rwXHaVHsh6CO7ayn9fQ5saIwATKN6O-nI.cache +3 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/up/upLda7fecY7vaRYUsh2R-1gG0qlL6rpIADDsiv0Dx8g.cache +1 -0
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vt/vtDLGYnFbmmIYbmlsmIlvdkWj4Il2EC2L1v6PVsqLAk.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w3/w3wvndAq2nzqGKG595Wp3ryAejWeBc_mRnb1paFuB5g.cache +1 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wG/wG_whueNWUbRh4wvgMhX2f7EtoDSqX1y_OwF9RgjLvc.cache +3 -0
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xD/xDxvSfz9i2TZ9-gpCFwn6kRoCqjI0wWSuE3P48gVeMM.cache +1 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yK/yKqxraS3nt2NddTBgmN1IcDcsG5lnoyESZFhfAtbyH4.cache +1 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yt/ytwJh9r_yOESGjxxTYLOCxXSt4aW1fYwQVcVdH4ESbM.cache +2 -0
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zh/zh1n5zAZSyHWdEk-DUmtEYj1wFlVigyybsPLGE3Xah0.cache +0 -0
  136. data/test/roguelytics_test.rb +7 -0
  137. data/test/test_helper.rb +19 -0
  138. metadata +348 -0
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -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,6 @@
1
+
2
+
3
+ if Rails.env.development? #or Rails.env.staging?
4
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
5
+ end
6
+
@@ -0,0 +1,12 @@
1
+
2
+ #
3
+ # Roguelytics Initializer
4
+ #
5
+ ROGUELYTICS_SITEKEY = 'd4281255-b716-4e6a-879d-8fbbc7d8b24b' if Rails.env.production?
6
+ ROGUELYTICS_SITEKEY = '41cf95a5-52c6-4419-b3bd-f6db5b20467f' if Rails.env.staging?
7
+ ROGUELYTICS_SITEKEY = '5744c1c9-cf91-41af-ba46-8667420af5fc' if Rails.env.development?
8
+ ROGUELYTICS_SITEKEY = '1e169a5e-9ce9-44ac-adb3-afb5cbeb4ceb' if Rails.env.qa?
9
+ ROGUELYTICS_SITEKEY = 'c0c38642-8cf9-4f6b-8774-0500e6a1c876' if Rails.env.test?
10
+
11
+ raise 'ROGUELYTICS_SITEKEY not set' if ROGUELYTICS_SITEKEY.blank?
12
+
@@ -0,0 +1 @@
1
+ # ROGUELYTICS_SITEKEY = "a78f3780-cb81-4e9f-893d-d963d7a76a24"
@@ -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,64 @@
1
+ Rails.application.routes.draw do
2
+ resources :articles
3
+
4
+ get 'home/index'
5
+ get 'home/privacy'
6
+ get 'home/tos'
7
+
8
+ root 'articles#index'
9
+
10
+ # The priority is based upon order of creation: first created -> highest priority.
11
+ # See how all your routes lay out with "rake routes".
12
+
13
+ # You can have the root of your site routed with "root"
14
+ # root 'welcome#index'
15
+
16
+ # Example of regular route:
17
+ # get 'products/:id' => 'catalog#view'
18
+
19
+ # Example of named route that can be invoked with purchase_url(id: product.id)
20
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
21
+
22
+ # Example resource route (maps HTTP verbs to controller actions automatically):
23
+ # resources :products
24
+
25
+ # Example resource route with options:
26
+ # resources :products do
27
+ # member do
28
+ # get 'short'
29
+ # post 'toggle'
30
+ # end
31
+ #
32
+ # collection do
33
+ # get 'sold'
34
+ # end
35
+ # end
36
+
37
+ # Example resource route with sub-resources:
38
+ # resources :products do
39
+ # resources :comments, :sales
40
+ # resource :seller
41
+ # end
42
+
43
+ # Example resource route with more complex sub-resources:
44
+ # resources :products do
45
+ # resources :comments
46
+ # resources :sales do
47
+ # get 'recent', on: :collection
48
+ # end
49
+ # end
50
+
51
+ # Example resource route with concerns:
52
+ # concern :toggleable do
53
+ # post 'toggle'
54
+ # end
55
+ # resources :posts, concerns: :toggleable
56
+ # resources :photos, concerns: :toggleable
57
+
58
+ # Example resource route within a namespace:
59
+ # namespace :admin do
60
+ # # Directs /admin/products/* to Admin::ProductsController
61
+ # # (app/controllers/admin/products_controller.rb)
62
+ # resources :products
63
+ # end
64
+ 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: a80784b341b73acd20e2ab04f1c1063a0f527c0d8b34acf9f30b312e6e2d4b9a7b2fbe68364247886b506165304c5a80fe9b05f177735c30beef85f365004a93
15
+
16
+ test:
17
+ secret_key_base: 42174cdf4a7b3de837af5275cb2887d0ac124bf337fd598518ab25cf01f395e83dbc9d0a34cef23690194804251f14f38ca3b4e3ae12ad244857a53d5979d1e9
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"] %>
Binary file
@@ -0,0 +1,9 @@
1
+ class CreateBlogEntries < ActiveRecord::Migration
2
+ def change
3
+ create_table :blog_entries do |t|
4
+ t.string :content
5
+
6
+ t.timestamps null: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,11 @@
1
+ class CreateArticles < ActiveRecord::Migration
2
+ def change
3
+ create_table :articles do |t|
4
+ t.string :name
5
+ t.string :author
6
+ t.text :content
7
+
8
+ t.timestamps null: false
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,30 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20170913124931) do
15
+
16
+ create_table "articles", force: :cascade do |t|
17
+ t.string "name"
18
+ t.string "author"
19
+ t.text "content"
20
+ t.datetime "created_at", null: false
21
+ t.datetime "updated_at", null: false
22
+ end
23
+
24
+ create_table "blog_entries", force: :cascade do |t|
25
+ t.string "content"
26
+ t.datetime "created_at", null: false
27
+ t.datetime "updated_at", null: false
28
+ end
29
+
30
+ end
@@ -0,0 +1,416 @@
1
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateBlogEntries (20170804171300)
6
+  (0.1ms) begin transaction
7
+  (0.4ms) CREATE TABLE "blog_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170804171300"]]
9
+  (1.6ms) commit transaction
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+  (0.1ms) begin transaction
16
+ SQL (0.4ms) INSERT INTO "blog_entries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-08-10 13:02:02.443861"], ["updated_at", "2017-08-10 13:02:02.443861"]]
17
+  (1.2ms) commit transaction
18
+  (0.1ms) begin transaction
19
+ SQL (0.5ms) INSERT INTO "blog_entries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-08-10 13:04:38.775764"], ["updated_at", "2017-08-10 13:04:38.775764"]]
20
+  (3.1ms) commit transaction
21
+ [ActiveJob] [Roguelytics::ProcessJob] [430fbbf6-c937-44bd-9dae-fe658c736ae5] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"BlogEntry", :id=>2, :created_at=>"2017-08-10 13:04:38 UTC", :name=>nil}
22
+ [ActiveJob] [Roguelytics::ProcessJob] [430fbbf6-c937-44bd-9dae-fe658c736ae5] Performed Roguelytics::ProcessJob from Inline(default) in 12842.09ms
23
+  (0.1ms) begin transaction
24
+ SQL (0.5ms) INSERT INTO "blog_entries" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-08-10 13:06:30.413172"], ["updated_at", "2017-08-10 13:06:30.413172"]]
25
+  (2.1ms) commit transaction
26
+ [ActiveJob] [Roguelytics::ProcessJob] [f402246f-db92-48d3-a0fe-fa6489df516d] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"BlogEntry", :id=>3, :created_at=>"2017-08-10 13:06:30 UTC", :name=>nil}
27
+ [ActiveJob] [Roguelytics::ProcessJob] [f402246f-db92-48d3-a0fe-fa6489df516d] Performed Roguelytics::ProcessJob from Inline(default) in 192.83ms
28
+
29
+
30
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:42:36 -0400
31
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
+ Processing by Rails::WelcomeController#index as HTML
33
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/railties-4.2.9/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
34
+ Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.0ms)
35
+
36
+
37
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:43:02 -0400
38
+ Processing by HomeController#index as HTML
39
+ Rendered home/index.html.erb within layouts/application (0.3ms)
40
+ Completed 200 OK in 226ms (Views: 225.6ms | ActiveRecord: 0.0ms)
41
+
42
+
43
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for 127.0.0.1 at 2017-09-13 08:43:02 -0400
44
+
45
+
46
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2017-09-13 08:43:02 -0400
47
+
48
+
49
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2017-09-13 08:43:02 -0400
50
+
51
+
52
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for 127.0.0.1 at 2017-09-13 08:43:02 -0400
53
+
54
+
55
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:43:44 -0400
56
+ Processing by HomeController#index as HTML
57
+ Rendered home/index.html.erb within layouts/application (0.1ms)
58
+ Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.0ms)
59
+
60
+
61
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:43:47 -0400
62
+ Processing by HomeController#index as HTML
63
+ Rendered home/index.html.erb within layouts/application (0.1ms)
64
+ Completed 200 OK in 21ms (Views: 20.7ms | ActiveRecord: 0.0ms)
65
+
66
+
67
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:44:02 -0400
68
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
+ Processing by HomeController#index as HTML
70
+ Rendered home/index.html.erb within layouts/application (1.3ms)
71
+ Completed 200 OK in 179ms (Views: 178.7ms | ActiveRecord: 0.0ms)
72
+
73
+
74
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:44:16 -0400
75
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ Processing by HomeController#index as HTML
77
+ Rendered home/index.html.erb within layouts/application (1.4ms)
78
+ Completed 200 OK in 176ms (Views: 175.4ms | ActiveRecord: 0.0ms)
79
+
80
+
81
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:44:49 -0400
82
+ Processing by HomeController#index as HTML
83
+ Rendered home/index.html.erb within layouts/application (0.1ms)
84
+ Completed 200 OK in 22ms (Views: 22.2ms | ActiveRecord: 0.0ms)
85
+
86
+
87
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:45:59 -0400
88
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+ Processing by HomeController#index as HTML
90
+ Rendered home/index.html.erb within layouts/application (1.7ms)
91
+ Completed 200 OK in 185ms (Views: 184.5ms | ActiveRecord: 0.0ms)
92
+
93
+
94
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:46:28 -0400
95
+ Processing by HomeController#index as HTML
96
+ Rendered home/index.html.erb within layouts/application (0.1ms)
97
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
98
+
99
+
100
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for 127.0.0.1 at 2017-09-13 08:46:28 -0400
101
+
102
+
103
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2017-09-13 08:46:28 -0400
104
+
105
+
106
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2017-09-13 08:46:28 -0400
107
+
108
+
109
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for 127.0.0.1 at 2017-09-13 08:46:28 -0400
110
+
111
+
112
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:46:41 -0400
113
+ Processing by HomeController#index as HTML
114
+ Rendered home/index.html.erb within layouts/application (0.1ms)
115
+ Completed 200 OK in 43ms (Views: 42.6ms | ActiveRecord: 0.0ms)
116
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
+ Migrating to CreateArticles (20170913124931)
118
+  (0.1ms) begin transaction
119
+  (0.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "author" varchar, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
120
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170913124931"]]
121
+  (1.3ms) commit transaction
122
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
123
+
124
+
125
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:50:06 -0400
126
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
127
+ Processing by ArticlesController#index as HTML
128
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
129
+ Rendered articles/index.html.erb within layouts/application (12.7ms)
130
+ Completed 200 OK in 266ms (Views: 262.0ms | ActiveRecord: 0.3ms)
131
+
132
+
133
+ Started GET "/assets/articles.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for 127.0.0.1 at 2017-09-13 08:50:07 -0400
134
+
135
+
136
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for 127.0.0.1 at 2017-09-13 08:50:07 -0400
137
+
138
+
139
+ Started GET "/assets/articles.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2017-09-13 08:50:07 -0400
140
+
141
+
142
+ Started GET "/articles/new" for 127.0.0.1 at 2017-09-13 08:55:07 -0400
143
+ Processing by ArticlesController#new as HTML
144
+ Rendered articles/_form.html.erb (47.3ms)
145
+ Rendered articles/new.html.erb within layouts/application (65.1ms)
146
+ Completed 200 OK in 98ms (Views: 89.5ms | ActiveRecord: 0.4ms)
147
+
148
+
149
+ Started GET "/" for 127.0.0.1 at 2017-09-13 08:55:56 -0400
150
+ Processing by ArticlesController#index as HTML
151
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
152
+ Rendered articles/index.html.erb within layouts/application (1.4ms)
153
+ Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.2ms)
154
+
155
+
156
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:18:08 -0400
157
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
158
+ Processing by ArticlesController#index as HTML
159
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
160
+ Rendered articles/index.html.erb within layouts/application (13.6ms)
161
+ Completed 200 OK in 228ms (Views: 224.4ms | ActiveRecord: 0.3ms)
162
+
163
+
164
+ Started GET "/assets/articles.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for 127.0.0.1 at 2017-09-13 09:18:09 -0400
165
+
166
+
167
+ Started GET "/assets/articles.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2017-09-13 09:18:09 -0400
168
+
169
+
170
+ Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for 127.0.0.1 at 2017-09-13 09:18:09 -0400
171
+
172
+
173
+ Started GET "/articles/new" for 127.0.0.1 at 2017-09-13 09:18:14 -0400
174
+ Processing by ArticlesController#new as HTML
175
+ Rendered articles/_form.html.erb (72.8ms)
176
+ Rendered articles/new.html.erb within layouts/application (115.3ms)
177
+ Completed 200 OK in 151ms (Views: 144.2ms | ActiveRecord: 0.3ms)
178
+
179
+
180
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 09:18:26 -0400
181
+ Processing by ArticlesController#create as HTML
182
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"6oo6xk2cSTtqkoCvYf11oEfgyk88vNehlDV6JG7BlbUtENIt8TKbpkiPS83Ha63aSa4o/noFUdhByjxJHsq1hQ==", "article"=>{"name"=>"Foo", "author"=>"Bar", "content"=>"123"}, "commit"=>"Create Article"}
183
+  (0.1ms) begin transaction
184
+ SQL (0.8ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Foo"], ["author", "Bar"], ["content", "123"], ["created_at", "2017-09-13 13:18:26.333172"], ["updated_at", "2017-09-13 13:18:26.333172"]]
185
+  (8.7ms) commit transaction
186
+ [ActiveJob] [Roguelytics::ProcessJob] [6a4308c1-d879-4d45-8cac-2a475eb0de11] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>1, :created_at=>"2017-09-13 13:18:26 UTC", :name=>"Foo"}
187
+ [ActiveJob] [Roguelytics::ProcessJob] [6a4308c1-d879-4d45-8cac-2a475eb0de11] Performed Roguelytics::ProcessJob from Inline(default) in 2.01ms
188
+ Completed 500 Internal Server Error in 19ms (ActiveRecord: 9.5ms)
189
+
190
+ Errno::ECONNREFUSED (Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80)):
191
+ app/controllers/articles_controller.rb:26:in `create'
192
+
193
+
194
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.3ms)
195
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (21.3ms)
196
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
197
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (105.8ms)
198
+
199
+
200
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 09:20:15 -0400
201
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
202
+ Processing by ArticlesController#create as HTML
203
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"6oo6xk2cSTtqkoCvYf11oEfgyk88vNehlDV6JG7BlbUtENIt8TKbpkiPS83Ha63aSa4o/noFUdhByjxJHsq1hQ==", "article"=>{"name"=>"Foo", "author"=>"Bar", "content"=>"123432"}, "commit"=>"Create Article"}
204
+  (0.1ms) begin transaction
205
+ SQL (1.0ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Foo"], ["author", "Bar"], ["content", "123432"], ["created_at", "2017-09-13 13:20:15.761271"], ["updated_at", "2017-09-13 13:20:15.761271"]]
206
+  (2.4ms) commit transaction
207
+ [ActiveJob] [Roguelytics::ProcessJob] [e31038b8-cdfc-49f7-8a80-452766497d48] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>2, :created_at=>"2017-09-13 13:20:15 UTC", :name=>"Foo"}
208
+ [ActiveJob] [Roguelytics::ProcessJob] [e31038b8-cdfc-49f7-8a80-452766497d48] Performed Roguelytics::ProcessJob from Inline(default) in 420.92ms
209
+ Redirected to http://localhost:3099/articles/2
210
+ Completed 302 Found in 500ms (ActiveRecord: 4.0ms)
211
+
212
+
213
+ Started GET "/articles/2" for 127.0.0.1 at 2017-09-13 09:20:16 -0400
214
+ Processing by ArticlesController#show as HTML
215
+ Parameters: {"id"=>"2"}
216
+ Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
217
+ Rendered articles/show.html.erb within layouts/application (5.4ms)
218
+ Completed 200 OK in 556ms (Views: 537.2ms | ActiveRecord: 0.6ms)
219
+
220
+
221
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:20:27 -0400
222
+ Processing by ArticlesController#index as HTML
223
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
224
+ Rendered articles/index.html.erb within layouts/application (2.3ms)
225
+ Completed 200 OK in 20ms (Views: 19.7ms | ActiveRecord: 0.1ms)
226
+
227
+
228
+ Started GET "/articles/2/edit" for 127.0.0.1 at 2017-09-13 09:22:11 -0400
229
+ Processing by ArticlesController#edit as HTML
230
+ Parameters: {"id"=>"2"}
231
+ Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
232
+ Rendered articles/_form.html.erb (25.8ms)
233
+ Rendered articles/edit.html.erb within layouts/application (33.9ms)
234
+ Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.6ms)
235
+
236
+
237
+ Started GET "/articles/2" for 127.0.0.1 at 2017-09-13 09:22:14 -0400
238
+ Processing by ArticlesController#show as HTML
239
+ Parameters: {"id"=>"2"}
240
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
241
+ Rendered articles/show.html.erb within layouts/application (0.8ms)
242
+ Completed 200 OK in 42ms (Views: 33.5ms | ActiveRecord: 0.2ms)
243
+
244
+
245
+ Started GET "/articles" for 127.0.0.1 at 2017-09-13 09:22:17 -0400
246
+ Processing by ArticlesController#index as HTML
247
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
248
+ Rendered articles/index.html.erb within layouts/application (2.5ms)
249
+ Completed 200 OK in 28ms (Views: 26.8ms | ActiveRecord: 0.2ms)
250
+
251
+
252
+ Started GET "/articles/new" for 127.0.0.1 at 2017-09-13 09:22:18 -0400
253
+ Processing by ArticlesController#new as HTML
254
+ Rendered articles/_form.html.erb (7.2ms)
255
+ Rendered articles/new.html.erb within layouts/application (10.8ms)
256
+ Completed 200 OK in 71ms (Views: 70.9ms | ActiveRecord: 0.0ms)
257
+
258
+
259
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 09:22:29 -0400
260
+ Processing by ArticlesController#create as HTML
261
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"2ydgf6K3wfiRrMlq77xXNuoLY1Bs0ggFlFWtuy0iHhEcvYiUHhkTZbOxAghJKo9M5EWB4SprjnxBquvWXSk+IQ==", "article"=>{"name"=>"Artilce 3", "author"=>"Yo", "content"=>"This is cool!"}, "commit"=>"Create Article"}
262
+  (0.1ms) begin transaction
263
+ SQL (2.4ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Artilce 3"], ["author", "Yo"], ["content", "This is cool!"], ["created_at", "2017-09-13 13:22:29.733685"], ["updated_at", "2017-09-13 13:22:29.733685"]]
264
+  (2.6ms) commit transaction
265
+ [ActiveJob] [Roguelytics::ProcessJob] [95dbaef2-6fba-4488-848a-542d7f71be75] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>3, :created_at=>"2017-09-13 13:22:29 UTC", :name=>"Artilce 3"}
266
+ [ActiveJob] [Roguelytics::ProcessJob] [95dbaef2-6fba-4488-848a-542d7f71be75] Performed Roguelytics::ProcessJob from Inline(default) in 301.79ms
267
+ Redirected to http://localhost:3099/articles/3
268
+ Completed 302 Found in 318ms (ActiveRecord: 5.0ms)
269
+
270
+
271
+ Started GET "/articles/3" for 127.0.0.1 at 2017-09-13 09:22:30 -0400
272
+ Processing by ArticlesController#show as HTML
273
+ Parameters: {"id"=>"3"}
274
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 3]]
275
+ Rendered articles/show.html.erb within layouts/application (1.1ms)
276
+ Completed 200 OK in 24ms (Views: 22.2ms | ActiveRecord: 0.2ms)
277
+
278
+
279
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:22:36 -0400
280
+ Processing by ArticlesController#index as HTML
281
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
282
+ Rendered articles/index.html.erb within layouts/application (5.1ms)
283
+ Completed 200 OK in 27ms (Views: 26.4ms | ActiveRecord: 0.2ms)
284
+
285
+
286
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:28:44 -0400
287
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
288
+ Processing by ArticlesController#index as HTML
289
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
290
+ Rendered articles/index.html.erb within layouts/application (16.8ms)
291
+ Completed 200 OK in 200ms (Views: 196.9ms | ActiveRecord: 0.4ms)
292
+
293
+
294
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:28:56 -0400
295
+ Processing by ArticlesController#index as HTML
296
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
297
+ Rendered articles/index.html.erb within layouts/application (2.5ms)
298
+ Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.2ms)
299
+
300
+
301
+ Started GET "/articles/new" for 127.0.0.1 at 2017-09-13 09:29:01 -0400
302
+ Processing by ArticlesController#new as HTML
303
+ Rendered articles/_form.html.erb (26.3ms)
304
+ Rendered articles/new.html.erb within layouts/application (30.9ms)
305
+ Completed 200 OK in 42ms (Views: 41.9ms | ActiveRecord: 0.0ms)
306
+
307
+
308
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 09:29:11 -0400
309
+ Processing by ArticlesController#create as HTML
310
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"Bdg3XI4nCyhGiNCmD02KrAcgEEW1ZR/8kH53xArjvyzCQt+3MonZtWSVG8Sp21LWCW7y9PPcmYVFgTGpeuifHA==", "article"=>{"name"=>"Using the real deal", "author"=>"Real Author", "content"=>"Real content"}, "commit"=>"Create Article"}
311
+  (0.1ms) begin transaction
312
+ SQL (1.1ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Using the real deal"], ["author", "Real Author"], ["content", "Real content"], ["created_at", "2017-09-13 13:29:11.704902"], ["updated_at", "2017-09-13 13:29:11.704902"]]
313
+  (2.8ms) commit transaction
314
+ [ActiveJob] [Roguelytics::ProcessJob] [aebe747d-5c02-455b-b859-c98bb45837f2] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>4, :created_at=>"2017-09-13 13:29:11 UTC", :name=>"Using the real deal"}
315
+ [ActiveJob] [Roguelytics::ProcessJob] [aebe747d-5c02-455b-b859-c98bb45837f2] Performed Roguelytics::ProcessJob from Inline(default) in 151.92ms
316
+ Redirected to http://localhost:3099/articles/4
317
+ Completed 302 Found in 161ms (ActiveRecord: 4.0ms)
318
+
319
+
320
+ Started GET "/articles/4" for 127.0.0.1 at 2017-09-13 09:29:11 -0400
321
+ Processing by ArticlesController#show as HTML
322
+ Parameters: {"id"=>"4"}
323
+ Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]
324
+ Rendered articles/show.html.erb within layouts/application (1.9ms)
325
+ Completed 200 OK in 72ms (Views: 46.7ms | ActiveRecord: 0.5ms)
326
+
327
+
328
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:29:15 -0400
329
+ Processing by ArticlesController#index as HTML
330
+ Article Load (0.5ms) SELECT "articles".* FROM "articles"
331
+ Rendered articles/index.html.erb within layouts/application (4.0ms)
332
+ Completed 200 OK in 31ms (Views: 30.0ms | ActiveRecord: 0.5ms)
333
+
334
+
335
+ Started GET "/" for 127.0.0.1 at 2017-09-13 09:29:37 -0400
336
+ Processing by ArticlesController#index as HTML
337
+ Article Load (0.5ms) SELECT "articles".* FROM "articles"
338
+ Rendered articles/index.html.erb within layouts/application (2.9ms)
339
+ Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.5ms)
340
+
341
+
342
+ Started GET "/articles" for 127.0.0.1 at 2017-09-13 11:44:43 -0400
343
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
344
+ Processing by ArticlesController#index as HTML
345
+ Article Load (0.3ms) SELECT "articles".* FROM "articles"
346
+ Rendered articles/index.html.erb within layouts/application (20.5ms)
347
+ Completed 200 OK in 234ms (Views: 230.6ms | ActiveRecord: 0.7ms)
348
+
349
+
350
+ Started GET "/articles/new" for 127.0.0.1 at 2017-09-13 11:44:48 -0400
351
+ Processing by ArticlesController#new as HTML
352
+ Rendered articles/_form.html.erb (99.7ms)
353
+ Rendered articles/new.html.erb within layouts/application (131.7ms)
354
+ Completed 200 OK in 158ms (Views: 157.3ms | ActiveRecord: 0.0ms)
355
+
356
+
357
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 11:44:53 -0400
358
+ Processing by ArticlesController#create as HTML
359
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHoJOZxx2/uR6jAXLp7kLjfP0igs+71yXdaQA7BVxjFX4OHSIN8JZrP3+3WICDxUOYEwmWpCOwuIKdZuwF7mAQ==", "article"=>{"name"=>"Foo", "author"=>"Bar", "content"=>"Barbie"}, "commit"=>"Create Article"}
360
+  (0.2ms) begin transaction
361
+ SQL (1.9ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Foo"], ["author", "Bar"], ["content", "Barbie"], ["created_at", "2017-09-13 15:44:53.927455"], ["updated_at", "2017-09-13 15:44:53.927455"]]
362
+  (6.0ms) commit transaction
363
+ [ActiveJob] [Roguelytics::ProcessJob] [039a7364-9b53-43b8-bbfb-18850d47a60a] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>5, :created_at=>"2017-09-13 15:44:53 UTC", :name=>"Foo"}
364
+ [ActiveJob] [Roguelytics::ProcessJob] [039a7364-9b53-43b8-bbfb-18850d47a60a] Performed Roguelytics::ProcessJob from Inline(default) in 150.4ms
365
+ Completed 500 Internal Server Error in 165ms (ActiveRecord: 8.1ms)
366
+
367
+ OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: certificate verify failed):
368
+ app/controllers/articles_controller.rb:26:in `create'
369
+
370
+
371
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms)
372
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
373
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
374
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.9ms)
375
+
376
+
377
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 11:45:23 -0400
378
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
379
+ Processing by ArticlesController#create as HTML
380
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHoJOZxx2/uR6jAXLp7kLjfP0igs+71yXdaQA7BVxjFX4OHSIN8JZrP3+3WICDxUOYEwmWpCOwuIKdZuwF7mAQ==", "article"=>{"name"=>"Foo", "author"=>"Bar", "content"=>"Barbie"}, "commit"=>"Create Article"}
381
+  (0.1ms) begin transaction
382
+ SQL (0.4ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Foo"], ["author", "Bar"], ["content", "Barbie"], ["created_at", "2017-09-13 15:45:24.555820"], ["updated_at", "2017-09-13 15:45:24.555820"]]
383
+  (1.5ms) commit transaction
384
+ [ActiveJob] [Roguelytics::ProcessJob] [fa60e06f-463d-40c0-b43c-77b73ad235b1] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>6, :created_at=>"2017-09-13 15:45:24 UTC", :name=>"Foo"}
385
+ [ActiveJob] [Roguelytics::ProcessJob] [fa60e06f-463d-40c0-b43c-77b73ad235b1] Performed Roguelytics::ProcessJob from Inline(default) in 3159.86ms
386
+ Completed 500 Internal Server Error in 3190ms (ActiveRecord: 2.3ms)
387
+
388
+ OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: certificate verify failed):
389
+ app/controllers/articles_controller.rb:26:in `create'
390
+
391
+
392
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms)
393
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
394
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
395
+ Rendered /Users/outten/.rvm/gems/ruby-2.3.3@rails4.2.1/gems/actionpack-4.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.9ms)
396
+
397
+
398
+ Started POST "/articles" for 127.0.0.1 at 2017-09-13 11:47:42 -0400
399
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
400
+ Processing by ArticlesController#create as HTML
401
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"kHoJOZxx2/uR6jAXLp7kLjfP0igs+71yXdaQA7BVxjFX4OHSIN8JZrP3+3WICDxUOYEwmWpCOwuIKdZuwF7mAQ==", "article"=>{"name"=>"Foo", "author"=>"Bar", "content"=>"Barbie"}, "commit"=>"Create Article"}
402
+  (0.1ms) begin transaction
403
+ SQL (0.5ms) INSERT INTO "articles" ("name", "author", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Foo"], ["author", "Bar"], ["content", "Barbie"], ["created_at", "2017-09-13 15:47:42.892420"], ["updated_at", "2017-09-13 15:47:42.892420"]]
404
+  (1.3ms) commit transaction
405
+ [ActiveJob] [Roguelytics::ProcessJob] [589af4cf-12d1-492b-a01e-453736e3bea3] Performing Roguelytics::ProcessJob from Inline(default) with arguments: "create", {:model_name=>"Article", :id=>7, :created_at=>"2017-09-13 15:47:42 UTC", :name=>"Foo"}
406
+ [ActiveJob] [Roguelytics::ProcessJob] [589af4cf-12d1-492b-a01e-453736e3bea3] Performed Roguelytics::ProcessJob from Inline(default) in 115.0ms
407
+ Redirected to http://localhost:3099/articles/7
408
+ Completed 302 Found in 145ms (ActiveRecord: 2.2ms)
409
+
410
+
411
+ Started GET "/articles/7" for 127.0.0.1 at 2017-09-13 11:47:43 -0400
412
+ Processing by ArticlesController#show as HTML
413
+ Parameters: {"id"=>"7"}
414
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]
415
+ Rendered articles/show.html.erb within layouts/application (2.8ms)
416
+ Completed 200 OK in 289ms (Views: 269.8ms | ActiveRecord: 0.3ms)