nunes 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -7
  3. data/Changelog.md +8 -0
  4. data/Gemfile +1 -1
  5. data/README.md +2 -3
  6. data/Rakefile +10 -0
  7. data/lib/nunes.rb +12 -0
  8. data/lib/nunes/adapter.rb +4 -2
  9. data/lib/nunes/instrumentable.rb +1 -1
  10. data/lib/nunes/subscriber.rb +5 -2
  11. data/lib/nunes/subscribers/action_controller.rb +51 -24
  12. data/lib/nunes/subscribers/action_mailer.rb +2 -2
  13. data/lib/nunes/subscribers/action_view.rb +5 -2
  14. data/lib/nunes/subscribers/active_job.rb +2 -3
  15. data/lib/nunes/subscribers/active_record.rb +4 -1
  16. data/lib/nunes/version.rb +1 -1
  17. data/script/test +10 -13
  18. data/test/controller_instrumentation_test.rb +47 -5
  19. data/test/helper.rb +5 -1
  20. data/test/instrumentable_test.rb +27 -3
  21. data/test/job_instrumentation_test.rb +11 -8
  22. data/test/mailer_instrumentation_test.rb +5 -1
  23. data/test/namespaced_controller_instrumentation_test.rb +7 -7
  24. data/test/namespaced_job_instrumentation_test.rb +33 -0
  25. data/test/namespaced_mailer_instrumentation_test.rb +35 -0
  26. data/test/namespaced_model_instrumentation_test.rb +55 -0
  27. data/test/nunes_test.rb +8 -0
  28. data/test/{rails_app → rails_app_4.2.5}/.gitignore +0 -0
  29. data/test/{rails_app → rails_app_4.2.5}/Rakefile +0 -0
  30. data/test/{rails_app → rails_app_4.2.5}/app/assets/images/rails.png +0 -0
  31. data/test/{rails_app → rails_app_4.2.5}/app/assets/javascripts/application.js +0 -0
  32. data/test/{rails_app → rails_app_4.2.5}/app/assets/stylesheets/application.css +0 -0
  33. data/test/{rails_app → rails_app_4.2.5}/app/controllers/admin/posts_controller.rb +2 -7
  34. data/test/{rails_app → rails_app_4.2.5}/app/controllers/application_controller.rb +0 -0
  35. data/test/{rails_app → rails_app_4.2.5}/app/controllers/posts_controller.rb +1 -7
  36. data/test/{rails_app → rails_app_4.2.5}/app/helpers/application_helper.rb +0 -0
  37. data/test/rails_app_4.2.5/app/jobs/spam/detector_job.rb +11 -0
  38. data/test/{rails_app → rails_app_4.2.5}/app/jobs/spam_detector_job.rb +0 -0
  39. data/test/{rails_app → rails_app_4.2.5}/app/mailers/.gitkeep +0 -0
  40. data/test/rails_app_4.2.5/app/mailers/admin/post_mailer.rb +13 -0
  41. data/test/{rails_app → rails_app_4.2.5}/app/mailers/post_mailer.rb +0 -0
  42. data/test/{rails_app → rails_app_4.2.5}/app/models/.gitkeep +0 -0
  43. data/test/rails_app_4.2.5/app/models/admin/post.rb +5 -0
  44. data/test/{rails_app → rails_app_4.2.5}/app/models/post.rb +0 -0
  45. data/test/{rails_app/app/views → rails_app_4.2.5/app/views/admin}/post_mailer/created.text.erb +0 -0
  46. data/test/{rails_app → rails_app_4.2.5}/app/views/admin/posts/index.html.erb +0 -0
  47. data/test/{rails_app → rails_app_4.2.5}/app/views/layouts/application.html.erb +0 -0
  48. data/test/rails_app_4.2.5/app/views/post_mailer/created.text.erb +1 -0
  49. data/test/{rails_app → rails_app_4.2.5}/app/views/posts/_post.html.erb +0 -0
  50. data/test/{rails_app → rails_app_4.2.5}/app/views/posts/index.html.erb +0 -0
  51. data/test/{rails_app → rails_app_4.2.5}/config.ru +0 -0
  52. data/test/{rails_app → rails_app_4.2.5}/config/application.rb +0 -0
  53. data/test/{rails_app → rails_app_4.2.5}/config/boot.rb +0 -0
  54. data/test/{rails_app → rails_app_4.2.5}/config/database.yml +0 -0
  55. data/test/{rails_app → rails_app_4.2.5}/config/environment.rb +0 -0
  56. data/test/{rails_app → rails_app_4.2.5}/config/environments/development.rb +0 -0
  57. data/test/{rails_app → rails_app_4.2.5}/config/environments/production.rb +0 -0
  58. data/test/{rails_app → rails_app_4.2.5}/config/environments/test.rb +0 -0
  59. data/test/{rails_app → rails_app_4.2.5}/config/initializers/backtrace_silencers.rb +0 -0
  60. data/test/{rails_app → rails_app_4.2.5}/config/initializers/force_test_schema_load.rb +0 -0
  61. data/test/{rails_app → rails_app_4.2.5}/config/initializers/inflections.rb +0 -0
  62. data/test/{rails_app → rails_app_4.2.5}/config/initializers/mime_types.rb +0 -0
  63. data/test/{rails_app → rails_app_4.2.5}/config/initializers/secret_token.rb +0 -0
  64. data/test/{rails_app → rails_app_4.2.5}/config/initializers/session_store.rb +0 -0
  65. data/test/{rails_app → rails_app_4.2.5}/config/initializers/wrap_parameters.rb +0 -0
  66. data/test/{rails_app → rails_app_4.2.5}/config/locales/en.yml +0 -0
  67. data/test/{rails_app → rails_app_4.2.5}/config/routes.rb +0 -0
  68. data/test/{rails_app → rails_app_4.2.5}/config/secrets.yml +0 -0
  69. data/test/{rails_app → rails_app_4.2.5}/db/migrate/20130417154459_create_posts.rb +0 -0
  70. data/test/{rails_app → rails_app_4.2.5}/db/schema.rb +0 -0
  71. data/test/{rails_app → rails_app_4.2.5}/db/seeds.rb +0 -0
  72. data/test/{rails_app → rails_app_4.2.5}/lib/assets/.gitkeep +0 -0
  73. data/test/{rails_app → rails_app_4.2.5}/lib/tasks/.gitkeep +0 -0
  74. data/test/{rails_app → rails_app_4.2.5}/public/404.html +0 -0
  75. data/test/{rails_app → rails_app_4.2.5}/public/422.html +0 -0
  76. data/test/{rails_app → rails_app_4.2.5}/public/500.html +0 -0
  77. data/test/{rails_app → rails_app_4.2.5}/public/favicon.ico +0 -0
  78. data/test/{rails_app → rails_app_4.2.5}/public/index.html +0 -0
  79. data/test/{rails_app → rails_app_4.2.5}/public/robots.txt +0 -0
  80. data/test/{rails_app → rails_app_4.2.5}/script/rails +0 -0
  81. data/test/rails_app_5.0.0/.gitignore +21 -0
  82. data/test/rails_app_5.0.0/Gemfile +48 -0
  83. data/test/rails_app_5.0.0/README.md +24 -0
  84. data/test/rails_app_5.0.0/Rakefile +6 -0
  85. data/test/rails_app_5.0.0/app/assets/config/manifest.js +3 -0
  86. data/test/rails_app_5.0.0/app/assets/images/.keep +0 -0
  87. data/test/rails_app_5.0.0/app/assets/images/rails.png +0 -0
  88. data/test/rails_app_5.0.0/app/assets/javascripts/application.js +13 -0
  89. data/test/rails_app_5.0.0/app/assets/javascripts/cable.js +13 -0
  90. data/test/rails_app_5.0.0/app/assets/javascripts/channels/.keep +0 -0
  91. data/test/rails_app_5.0.0/app/assets/stylesheets/application.css +15 -0
  92. data/test/rails_app_5.0.0/app/channels/application_cable/channel.rb +4 -0
  93. data/test/rails_app_5.0.0/app/channels/application_cable/connection.rb +4 -0
  94. data/test/rails_app_5.0.0/app/controllers/admin/posts_controller.rb +14 -0
  95. data/test/rails_app_5.0.0/app/controllers/application_controller.rb +3 -0
  96. data/test/rails_app_5.0.0/app/controllers/concerns/.keep +0 -0
  97. data/test/rails_app_5.0.0/app/controllers/posts_controller.rb +22 -0
  98. data/test/rails_app_5.0.0/app/helpers/application_helper.rb +2 -0
  99. data/test/rails_app_5.0.0/app/jobs/application_job.rb +2 -0
  100. data/test/rails_app_5.0.0/app/jobs/spam/detector_job.rb +11 -0
  101. data/test/rails_app_5.0.0/app/jobs/spam_detector_job.rb +9 -0
  102. data/test/rails_app_5.0.0/app/mailers/admin/post_mailer.rb +13 -0
  103. data/test/rails_app_5.0.0/app/mailers/application_mailer.rb +4 -0
  104. data/test/rails_app_5.0.0/app/mailers/post_mailer.rb +11 -0
  105. data/test/rails_app_5.0.0/app/models/admin/post.rb +5 -0
  106. data/test/rails_app_5.0.0/app/models/application_record.rb +3 -0
  107. data/test/rails_app_5.0.0/app/models/concerns/.keep +0 -0
  108. data/test/rails_app_5.0.0/app/models/post.rb +2 -0
  109. data/test/rails_app_5.0.0/app/views/admin/post_mailer/created.text.erb +1 -0
  110. data/test/rails_app_5.0.0/app/views/admin/posts/index.html.erb +5 -0
  111. data/test/rails_app_5.0.0/app/views/layouts/application.html.erb +14 -0
  112. data/test/rails_app_5.0.0/app/views/layouts/mailer.html.erb +13 -0
  113. data/test/rails_app_5.0.0/app/views/layouts/mailer.text.erb +1 -0
  114. data/test/rails_app_5.0.0/app/views/post_mailer/created.text.erb +1 -0
  115. data/test/rails_app_5.0.0/app/views/posts/_post.html.erb +1 -0
  116. data/test/rails_app_5.0.0/app/views/posts/index.html.erb +5 -0
  117. data/test/rails_app_5.0.0/bin/bundle +3 -0
  118. data/test/rails_app_5.0.0/bin/rails +9 -0
  119. data/test/rails_app_5.0.0/bin/rake +9 -0
  120. data/test/rails_app_5.0.0/bin/setup +34 -0
  121. data/test/rails_app_5.0.0/bin/spring +15 -0
  122. data/test/rails_app_5.0.0/bin/update +29 -0
  123. data/test/rails_app_5.0.0/config.ru +5 -0
  124. data/test/rails_app_5.0.0/config/application.rb +15 -0
  125. data/test/rails_app_5.0.0/config/boot.rb +3 -0
  126. data/test/rails_app_5.0.0/config/cable.yml +9 -0
  127. data/test/rails_app_5.0.0/config/database.yml +25 -0
  128. data/test/rails_app_5.0.0/config/environment.rb +5 -0
  129. data/test/rails_app_5.0.0/config/environments/development.rb +54 -0
  130. data/test/rails_app_5.0.0/config/environments/production.rb +86 -0
  131. data/test/rails_app_5.0.0/config/environments/test.rb +42 -0
  132. data/test/rails_app_5.0.0/config/initializers/application_controller_renderer.rb +6 -0
  133. data/test/rails_app_5.0.0/config/initializers/assets.rb +11 -0
  134. data/test/rails_app_5.0.0/config/initializers/backtrace_silencers.rb +7 -0
  135. data/test/rails_app_5.0.0/config/initializers/cookies_serializer.rb +5 -0
  136. data/test/rails_app_5.0.0/config/initializers/filter_parameter_logging.rb +4 -0
  137. data/test/rails_app_5.0.0/config/initializers/force_test_schema_load.rb +3 -0
  138. data/test/rails_app_5.0.0/config/initializers/inflections.rb +16 -0
  139. data/test/rails_app_5.0.0/config/initializers/mime_types.rb +4 -0
  140. data/test/rails_app_5.0.0/config/initializers/new_framework_defaults.rb +24 -0
  141. data/test/rails_app_5.0.0/config/initializers/session_store.rb +3 -0
  142. data/test/rails_app_5.0.0/config/initializers/wrap_parameters.rb +14 -0
  143. data/test/rails_app_5.0.0/config/locales/en.yml +23 -0
  144. data/test/rails_app_5.0.0/config/puma.rb +47 -0
  145. data/test/rails_app_5.0.0/config/routes.rb +12 -0
  146. data/test/rails_app_5.0.0/config/secrets.yml +22 -0
  147. data/test/rails_app_5.0.0/config/spring.rb +6 -0
  148. data/test/rails_app_5.0.0/db/migrate/20160812134213_create_posts.rb +9 -0
  149. data/test/rails_app_5.0.0/db/schema.rb +21 -0
  150. data/test/rails_app_5.0.0/db/seeds.rb +7 -0
  151. data/test/rails_app_5.0.0/lib/assets/.keep +0 -0
  152. data/test/rails_app_5.0.0/lib/tasks/.keep +0 -0
  153. data/test/rails_app_5.0.0/log/.keep +0 -0
  154. data/test/rails_app_5.0.0/public/404.html +67 -0
  155. data/test/rails_app_5.0.0/public/422.html +67 -0
  156. data/test/rails_app_5.0.0/public/500.html +66 -0
  157. data/test/rails_app_5.0.0/public/apple-touch-icon-precomposed.png +0 -0
  158. data/test/rails_app_5.0.0/public/apple-touch-icon.png +0 -0
  159. data/test/rails_app_5.0.0/public/favicon.ico +0 -0
  160. data/test/rails_app_5.0.0/public/robots.txt +5 -0
  161. data/test/rails_app_5.0.0/test/controllers/.keep +0 -0
  162. data/test/rails_app_5.0.0/test/fixtures/.keep +0 -0
  163. data/test/rails_app_5.0.0/test/fixtures/files/.keep +0 -0
  164. data/test/rails_app_5.0.0/test/helpers/.keep +0 -0
  165. data/test/rails_app_5.0.0/test/integration/.keep +0 -0
  166. data/test/rails_app_5.0.0/test/mailers/.keep +0 -0
  167. data/test/rails_app_5.0.0/test/models/.keep +0 -0
  168. data/test/rails_app_5.0.0/test/test_helper.rb +10 -0
  169. data/test/rails_app_5.0.0/vendor/assets/javascripts/.keep +0 -0
  170. data/test/rails_app_5.0.0/vendor/assets/stylesheets/.keep +0 -0
  171. data/test/support/adapter_test_helpers.rb +17 -2
  172. metadata +295 -100
@@ -0,0 +1,47 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum, this matches the default thread size of Active Record.
6
+ #
7
+ threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
8
+ threads threads_count, threads_count
9
+
10
+ # Specifies the `port` that Puma will listen on to receive requests, default is 3000.
11
+ #
12
+ port ENV.fetch("PORT") { 3000 }
13
+
14
+ # Specifies the `environment` that Puma will run in.
15
+ #
16
+ environment ENV.fetch("RAILS_ENV") { "development" }
17
+
18
+ # Specifies the number of `workers` to boot in clustered mode.
19
+ # Workers are forked webserver processes. If using threads and workers together
20
+ # the concurrency of the application would be max `threads` * `workers`.
21
+ # Workers do not work on JRuby or Windows (both of which do not support
22
+ # processes).
23
+ #
24
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
25
+
26
+ # Use the `preload_app!` method when specifying a `workers` number.
27
+ # This directive tells Puma to first boot the application and load code
28
+ # before forking the application. This takes advantage of Copy On Write
29
+ # process behavior so workers use less memory. If you use this option
30
+ # you need to make sure to reconnect any threads in the `on_worker_boot`
31
+ # block.
32
+ #
33
+ # preload_app!
34
+
35
+ # The code in the `on_worker_boot` will be called if you are using
36
+ # clustered mode by specifying a number of `workers`. After each worker
37
+ # process is booted this block will be run, if you are using `preload_app!`
38
+ # option you will want to use this block to reconnect to any threads
39
+ # or connections that may have been created at application boot, Ruby
40
+ # cannot share connections between processes.
41
+ #
42
+ # on_worker_boot do
43
+ # ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
44
+ # end
45
+
46
+ # Allow puma to be restarted by `rails restart` command.
47
+ plugin :tmp_restart
@@ -0,0 +1,12 @@
1
+ Rails.application.routes.draw do
2
+ namespace :admin do
3
+ resources :posts, only: [:index, :new]
4
+ end
5
+
6
+ resources :posts, only: :index
7
+
8
+ get "/some-data", to: "posts#some_data"
9
+ get "/some-file", to: "posts#some_file"
10
+ get "/some-redirect", to: "posts#some_redirect"
11
+ get "/some-boom", to: "posts#some_boom"
12
+ 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 `rails 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: 53653efd056981f8a25e52cfe48189cfd4a8f666c0c5c96e898e4bddb653352f14e59b51d7b7560d63e753ebbf2537dadf77478979828266a912daf7d5645ed0
15
+
16
+ test:
17
+ secret_key_base: 258a2f487a408e1cb55b1bbedc4cd1ea5104025c3448b1bf61470004c1035cd722df2cb9e6804a495ebbc949c37df5ab22400742e4b6b0fb2e8dfdbadbd39bc3
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,6 @@
1
+ %w(
2
+ .ruby-version
3
+ .rbenv-vars
4
+ tmp/restart.txt
5
+ tmp/caching-dev.txt
6
+ ).each { |path| Spring.watch(path) }
@@ -0,0 +1,9 @@
1
+ class CreatePosts < ActiveRecord::Migration[5.0]
2
+ def change
3
+ create_table :posts do |t|
4
+ t.string :title
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,21 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 20160812134213) do
14
+
15
+ create_table "posts", force: :cascade do |t|
16
+ t.string "title"
17
+ t.datetime "created_at", null: false
18
+ t.datetime "updated_at", null: false
19
+ end
20
+
21
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
File without changes
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
File without changes
@@ -0,0 +1,10 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
+ fixtures :all
8
+
9
+ # Add more helper methods to be used by all tests here...
10
+ end
@@ -2,7 +2,8 @@ module AdapterTestHelpers
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  included do
5
- setup :setup_memory_adapter
5
+ setup :setup_memory_adapter, :setup_data
6
+ teardown :clean_data
6
7
  end
7
8
 
8
9
  attr_reader :adapter
@@ -11,12 +12,21 @@ module AdapterTestHelpers
11
12
  @adapter = Nunes::Adapters::Memory.new
12
13
  end
13
14
 
15
+ def setup_data
16
+ Post.create(:title => "First")
17
+ Post.create(:title => "Second")
18
+ end
19
+
20
+ def clean_data
21
+ Post.delete_all
22
+ end
23
+
14
24
  def assert_timer(metric)
15
25
  assert adapter.timer?(metric),
16
26
  "Expected the timer #{metric.inspect} to be included in #{adapter.timer_metric_names.inspect}, but it was not."
17
27
  end
18
28
 
19
- def assert_no_timer(metric)
29
+ def refute_timer(metric)
20
30
  assert ! adapter.timer?(metric),
21
31
  "Expected the timer #{metric.inspect} to not be included in #{adapter.timer_metric_names.inspect}, but it was."
22
32
  end
@@ -26,6 +36,11 @@ module AdapterTestHelpers
26
36
  "Expected the counter #{metric.inspect} to be included in #{adapter.counter_metric_names.inspect}, but it was not."
27
37
  end
28
38
 
39
+ def refute_counter(metric)
40
+ refute adapter.counter?(metric),
41
+ "Expected the counter #{metric.inspect} to not be included in #{adapter.counter_metric_names.inspect}, but it was."
42
+ end
43
+
29
44
  def assert_no_counter(metric)
30
45
  assert ! adapter.counter?(metric),
31
46
  "Expected the counter #{metric.inspect} to not be included in adapter.counter_metric_names.inspect}, but it was."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nunes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-16 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,7 @@ files:
38
38
  - Gemfile
39
39
  - LICENSE.txt
40
40
  - README.md
41
+ - Rakefile
41
42
  - lib/nunes.rb
42
43
  - lib/nunes/adapter.rb
43
44
  - lib/nunes/adapters/memory.rb
@@ -69,56 +70,153 @@ files:
69
70
  - test/mailer_instrumentation_test.rb
70
71
  - test/model_instrumentation_test.rb
71
72
  - test/namespaced_controller_instrumentation_test.rb
73
+ - test/namespaced_job_instrumentation_test.rb
74
+ - test/namespaced_mailer_instrumentation_test.rb
75
+ - test/namespaced_model_instrumentation_test.rb
72
76
  - test/nunes_test.rb
73
- - test/rails_app/.gitignore
74
- - test/rails_app/Rakefile
75
- - test/rails_app/app/assets/images/rails.png
76
- - test/rails_app/app/assets/javascripts/application.js
77
- - test/rails_app/app/assets/stylesheets/application.css
78
- - test/rails_app/app/controllers/admin/posts_controller.rb
79
- - test/rails_app/app/controllers/application_controller.rb
80
- - test/rails_app/app/controllers/posts_controller.rb
81
- - test/rails_app/app/helpers/application_helper.rb
82
- - test/rails_app/app/jobs/spam_detector_job.rb
83
- - test/rails_app/app/mailers/.gitkeep
84
- - test/rails_app/app/mailers/post_mailer.rb
85
- - test/rails_app/app/models/.gitkeep
86
- - test/rails_app/app/models/post.rb
87
- - test/rails_app/app/views/admin/posts/index.html.erb
88
- - test/rails_app/app/views/layouts/application.html.erb
89
- - test/rails_app/app/views/post_mailer/created.text.erb
90
- - test/rails_app/app/views/posts/_post.html.erb
91
- - test/rails_app/app/views/posts/index.html.erb
92
- - test/rails_app/config.ru
93
- - test/rails_app/config/application.rb
94
- - test/rails_app/config/boot.rb
95
- - test/rails_app/config/database.yml
96
- - test/rails_app/config/environment.rb
97
- - test/rails_app/config/environments/development.rb
98
- - test/rails_app/config/environments/production.rb
99
- - test/rails_app/config/environments/test.rb
100
- - test/rails_app/config/initializers/backtrace_silencers.rb
101
- - test/rails_app/config/initializers/force_test_schema_load.rb
102
- - test/rails_app/config/initializers/inflections.rb
103
- - test/rails_app/config/initializers/mime_types.rb
104
- - test/rails_app/config/initializers/secret_token.rb
105
- - test/rails_app/config/initializers/session_store.rb
106
- - test/rails_app/config/initializers/wrap_parameters.rb
107
- - test/rails_app/config/locales/en.yml
108
- - test/rails_app/config/routes.rb
109
- - test/rails_app/config/secrets.yml
110
- - test/rails_app/db/migrate/20130417154459_create_posts.rb
111
- - test/rails_app/db/schema.rb
112
- - test/rails_app/db/seeds.rb
113
- - test/rails_app/lib/assets/.gitkeep
114
- - test/rails_app/lib/tasks/.gitkeep
115
- - test/rails_app/public/404.html
116
- - test/rails_app/public/422.html
117
- - test/rails_app/public/500.html
118
- - test/rails_app/public/favicon.ico
119
- - test/rails_app/public/index.html
120
- - test/rails_app/public/robots.txt
121
- - test/rails_app/script/rails
77
+ - test/rails_app_4.2.5/.gitignore
78
+ - test/rails_app_4.2.5/Rakefile
79
+ - test/rails_app_4.2.5/app/assets/images/rails.png
80
+ - test/rails_app_4.2.5/app/assets/javascripts/application.js
81
+ - test/rails_app_4.2.5/app/assets/stylesheets/application.css
82
+ - test/rails_app_4.2.5/app/controllers/admin/posts_controller.rb
83
+ - test/rails_app_4.2.5/app/controllers/application_controller.rb
84
+ - test/rails_app_4.2.5/app/controllers/posts_controller.rb
85
+ - test/rails_app_4.2.5/app/helpers/application_helper.rb
86
+ - test/rails_app_4.2.5/app/jobs/spam/detector_job.rb
87
+ - test/rails_app_4.2.5/app/jobs/spam_detector_job.rb
88
+ - test/rails_app_4.2.5/app/mailers/.gitkeep
89
+ - test/rails_app_4.2.5/app/mailers/admin/post_mailer.rb
90
+ - test/rails_app_4.2.5/app/mailers/post_mailer.rb
91
+ - test/rails_app_4.2.5/app/models/.gitkeep
92
+ - test/rails_app_4.2.5/app/models/admin/post.rb
93
+ - test/rails_app_4.2.5/app/models/post.rb
94
+ - test/rails_app_4.2.5/app/views/admin/post_mailer/created.text.erb
95
+ - test/rails_app_4.2.5/app/views/admin/posts/index.html.erb
96
+ - test/rails_app_4.2.5/app/views/layouts/application.html.erb
97
+ - test/rails_app_4.2.5/app/views/post_mailer/created.text.erb
98
+ - test/rails_app_4.2.5/app/views/posts/_post.html.erb
99
+ - test/rails_app_4.2.5/app/views/posts/index.html.erb
100
+ - test/rails_app_4.2.5/config.ru
101
+ - test/rails_app_4.2.5/config/application.rb
102
+ - test/rails_app_4.2.5/config/boot.rb
103
+ - test/rails_app_4.2.5/config/database.yml
104
+ - test/rails_app_4.2.5/config/environment.rb
105
+ - test/rails_app_4.2.5/config/environments/development.rb
106
+ - test/rails_app_4.2.5/config/environments/production.rb
107
+ - test/rails_app_4.2.5/config/environments/test.rb
108
+ - test/rails_app_4.2.5/config/initializers/backtrace_silencers.rb
109
+ - test/rails_app_4.2.5/config/initializers/force_test_schema_load.rb
110
+ - test/rails_app_4.2.5/config/initializers/inflections.rb
111
+ - test/rails_app_4.2.5/config/initializers/mime_types.rb
112
+ - test/rails_app_4.2.5/config/initializers/secret_token.rb
113
+ - test/rails_app_4.2.5/config/initializers/session_store.rb
114
+ - test/rails_app_4.2.5/config/initializers/wrap_parameters.rb
115
+ - test/rails_app_4.2.5/config/locales/en.yml
116
+ - test/rails_app_4.2.5/config/routes.rb
117
+ - test/rails_app_4.2.5/config/secrets.yml
118
+ - test/rails_app_4.2.5/db/migrate/20130417154459_create_posts.rb
119
+ - test/rails_app_4.2.5/db/schema.rb
120
+ - test/rails_app_4.2.5/db/seeds.rb
121
+ - test/rails_app_4.2.5/lib/assets/.gitkeep
122
+ - test/rails_app_4.2.5/lib/tasks/.gitkeep
123
+ - test/rails_app_4.2.5/public/404.html
124
+ - test/rails_app_4.2.5/public/422.html
125
+ - test/rails_app_4.2.5/public/500.html
126
+ - test/rails_app_4.2.5/public/favicon.ico
127
+ - test/rails_app_4.2.5/public/index.html
128
+ - test/rails_app_4.2.5/public/robots.txt
129
+ - test/rails_app_4.2.5/script/rails
130
+ - test/rails_app_5.0.0/.gitignore
131
+ - test/rails_app_5.0.0/Gemfile
132
+ - test/rails_app_5.0.0/README.md
133
+ - test/rails_app_5.0.0/Rakefile
134
+ - test/rails_app_5.0.0/app/assets/config/manifest.js
135
+ - test/rails_app_5.0.0/app/assets/images/.keep
136
+ - test/rails_app_5.0.0/app/assets/images/rails.png
137
+ - test/rails_app_5.0.0/app/assets/javascripts/application.js
138
+ - test/rails_app_5.0.0/app/assets/javascripts/cable.js
139
+ - test/rails_app_5.0.0/app/assets/javascripts/channels/.keep
140
+ - test/rails_app_5.0.0/app/assets/stylesheets/application.css
141
+ - test/rails_app_5.0.0/app/channels/application_cable/channel.rb
142
+ - test/rails_app_5.0.0/app/channels/application_cable/connection.rb
143
+ - test/rails_app_5.0.0/app/controllers/admin/posts_controller.rb
144
+ - test/rails_app_5.0.0/app/controllers/application_controller.rb
145
+ - test/rails_app_5.0.0/app/controllers/concerns/.keep
146
+ - test/rails_app_5.0.0/app/controllers/posts_controller.rb
147
+ - test/rails_app_5.0.0/app/helpers/application_helper.rb
148
+ - test/rails_app_5.0.0/app/jobs/application_job.rb
149
+ - test/rails_app_5.0.0/app/jobs/spam/detector_job.rb
150
+ - test/rails_app_5.0.0/app/jobs/spam_detector_job.rb
151
+ - test/rails_app_5.0.0/app/mailers/admin/post_mailer.rb
152
+ - test/rails_app_5.0.0/app/mailers/application_mailer.rb
153
+ - test/rails_app_5.0.0/app/mailers/post_mailer.rb
154
+ - test/rails_app_5.0.0/app/models/admin/post.rb
155
+ - test/rails_app_5.0.0/app/models/application_record.rb
156
+ - test/rails_app_5.0.0/app/models/concerns/.keep
157
+ - test/rails_app_5.0.0/app/models/post.rb
158
+ - test/rails_app_5.0.0/app/views/admin/post_mailer/created.text.erb
159
+ - test/rails_app_5.0.0/app/views/admin/posts/index.html.erb
160
+ - test/rails_app_5.0.0/app/views/layouts/application.html.erb
161
+ - test/rails_app_5.0.0/app/views/layouts/mailer.html.erb
162
+ - test/rails_app_5.0.0/app/views/layouts/mailer.text.erb
163
+ - test/rails_app_5.0.0/app/views/post_mailer/created.text.erb
164
+ - test/rails_app_5.0.0/app/views/posts/_post.html.erb
165
+ - test/rails_app_5.0.0/app/views/posts/index.html.erb
166
+ - test/rails_app_5.0.0/bin/bundle
167
+ - test/rails_app_5.0.0/bin/rails
168
+ - test/rails_app_5.0.0/bin/rake
169
+ - test/rails_app_5.0.0/bin/setup
170
+ - test/rails_app_5.0.0/bin/spring
171
+ - test/rails_app_5.0.0/bin/update
172
+ - test/rails_app_5.0.0/config.ru
173
+ - test/rails_app_5.0.0/config/application.rb
174
+ - test/rails_app_5.0.0/config/boot.rb
175
+ - test/rails_app_5.0.0/config/cable.yml
176
+ - test/rails_app_5.0.0/config/database.yml
177
+ - test/rails_app_5.0.0/config/environment.rb
178
+ - test/rails_app_5.0.0/config/environments/development.rb
179
+ - test/rails_app_5.0.0/config/environments/production.rb
180
+ - test/rails_app_5.0.0/config/environments/test.rb
181
+ - test/rails_app_5.0.0/config/initializers/application_controller_renderer.rb
182
+ - test/rails_app_5.0.0/config/initializers/assets.rb
183
+ - test/rails_app_5.0.0/config/initializers/backtrace_silencers.rb
184
+ - test/rails_app_5.0.0/config/initializers/cookies_serializer.rb
185
+ - test/rails_app_5.0.0/config/initializers/filter_parameter_logging.rb
186
+ - test/rails_app_5.0.0/config/initializers/force_test_schema_load.rb
187
+ - test/rails_app_5.0.0/config/initializers/inflections.rb
188
+ - test/rails_app_5.0.0/config/initializers/mime_types.rb
189
+ - test/rails_app_5.0.0/config/initializers/new_framework_defaults.rb
190
+ - test/rails_app_5.0.0/config/initializers/session_store.rb
191
+ - test/rails_app_5.0.0/config/initializers/wrap_parameters.rb
192
+ - test/rails_app_5.0.0/config/locales/en.yml
193
+ - test/rails_app_5.0.0/config/puma.rb
194
+ - test/rails_app_5.0.0/config/routes.rb
195
+ - test/rails_app_5.0.0/config/secrets.yml
196
+ - test/rails_app_5.0.0/config/spring.rb
197
+ - test/rails_app_5.0.0/db/migrate/20160812134213_create_posts.rb
198
+ - test/rails_app_5.0.0/db/schema.rb
199
+ - test/rails_app_5.0.0/db/seeds.rb
200
+ - test/rails_app_5.0.0/lib/assets/.keep
201
+ - test/rails_app_5.0.0/lib/tasks/.keep
202
+ - test/rails_app_5.0.0/log/.keep
203
+ - test/rails_app_5.0.0/public/404.html
204
+ - test/rails_app_5.0.0/public/422.html
205
+ - test/rails_app_5.0.0/public/500.html
206
+ - test/rails_app_5.0.0/public/apple-touch-icon-precomposed.png
207
+ - test/rails_app_5.0.0/public/apple-touch-icon.png
208
+ - test/rails_app_5.0.0/public/favicon.ico
209
+ - test/rails_app_5.0.0/public/robots.txt
210
+ - test/rails_app_5.0.0/test/controllers/.keep
211
+ - test/rails_app_5.0.0/test/fixtures/.keep
212
+ - test/rails_app_5.0.0/test/fixtures/files/.keep
213
+ - test/rails_app_5.0.0/test/helpers/.keep
214
+ - test/rails_app_5.0.0/test/integration/.keep
215
+ - test/rails_app_5.0.0/test/mailers/.keep
216
+ - test/rails_app_5.0.0/test/models/.keep
217
+ - test/rails_app_5.0.0/test/test_helper.rb
218
+ - test/rails_app_5.0.0/vendor/assets/javascripts/.keep
219
+ - test/rails_app_5.0.0/vendor/assets/stylesheets/.keep
122
220
  - test/subscriber_test.rb
123
221
  - test/support/adapter_test_helpers.rb
124
222
  - test/support/fake_udp_socket.rb
@@ -159,56 +257,153 @@ test_files:
159
257
  - test/mailer_instrumentation_test.rb
160
258
  - test/model_instrumentation_test.rb
161
259
  - test/namespaced_controller_instrumentation_test.rb
260
+ - test/namespaced_job_instrumentation_test.rb
261
+ - test/namespaced_mailer_instrumentation_test.rb
262
+ - test/namespaced_model_instrumentation_test.rb
162
263
  - test/nunes_test.rb
163
- - test/rails_app/.gitignore
164
- - test/rails_app/Rakefile
165
- - test/rails_app/app/assets/images/rails.png
166
- - test/rails_app/app/assets/javascripts/application.js
167
- - test/rails_app/app/assets/stylesheets/application.css
168
- - test/rails_app/app/controllers/admin/posts_controller.rb
169
- - test/rails_app/app/controllers/application_controller.rb
170
- - test/rails_app/app/controllers/posts_controller.rb
171
- - test/rails_app/app/helpers/application_helper.rb
172
- - test/rails_app/app/jobs/spam_detector_job.rb
173
- - test/rails_app/app/mailers/.gitkeep
174
- - test/rails_app/app/mailers/post_mailer.rb
175
- - test/rails_app/app/models/.gitkeep
176
- - test/rails_app/app/models/post.rb
177
- - test/rails_app/app/views/admin/posts/index.html.erb
178
- - test/rails_app/app/views/layouts/application.html.erb
179
- - test/rails_app/app/views/post_mailer/created.text.erb
180
- - test/rails_app/app/views/posts/_post.html.erb
181
- - test/rails_app/app/views/posts/index.html.erb
182
- - test/rails_app/config.ru
183
- - test/rails_app/config/application.rb
184
- - test/rails_app/config/boot.rb
185
- - test/rails_app/config/database.yml
186
- - test/rails_app/config/environment.rb
187
- - test/rails_app/config/environments/development.rb
188
- - test/rails_app/config/environments/production.rb
189
- - test/rails_app/config/environments/test.rb
190
- - test/rails_app/config/initializers/backtrace_silencers.rb
191
- - test/rails_app/config/initializers/force_test_schema_load.rb
192
- - test/rails_app/config/initializers/inflections.rb
193
- - test/rails_app/config/initializers/mime_types.rb
194
- - test/rails_app/config/initializers/secret_token.rb
195
- - test/rails_app/config/initializers/session_store.rb
196
- - test/rails_app/config/initializers/wrap_parameters.rb
197
- - test/rails_app/config/locales/en.yml
198
- - test/rails_app/config/routes.rb
199
- - test/rails_app/config/secrets.yml
200
- - test/rails_app/db/migrate/20130417154459_create_posts.rb
201
- - test/rails_app/db/schema.rb
202
- - test/rails_app/db/seeds.rb
203
- - test/rails_app/lib/assets/.gitkeep
204
- - test/rails_app/lib/tasks/.gitkeep
205
- - test/rails_app/public/404.html
206
- - test/rails_app/public/422.html
207
- - test/rails_app/public/500.html
208
- - test/rails_app/public/favicon.ico
209
- - test/rails_app/public/index.html
210
- - test/rails_app/public/robots.txt
211
- - test/rails_app/script/rails
264
+ - test/rails_app_4.2.5/.gitignore
265
+ - test/rails_app_4.2.5/Rakefile
266
+ - test/rails_app_4.2.5/app/assets/images/rails.png
267
+ - test/rails_app_4.2.5/app/assets/javascripts/application.js
268
+ - test/rails_app_4.2.5/app/assets/stylesheets/application.css
269
+ - test/rails_app_4.2.5/app/controllers/admin/posts_controller.rb
270
+ - test/rails_app_4.2.5/app/controllers/application_controller.rb
271
+ - test/rails_app_4.2.5/app/controllers/posts_controller.rb
272
+ - test/rails_app_4.2.5/app/helpers/application_helper.rb
273
+ - test/rails_app_4.2.5/app/jobs/spam/detector_job.rb
274
+ - test/rails_app_4.2.5/app/jobs/spam_detector_job.rb
275
+ - test/rails_app_4.2.5/app/mailers/.gitkeep
276
+ - test/rails_app_4.2.5/app/mailers/admin/post_mailer.rb
277
+ - test/rails_app_4.2.5/app/mailers/post_mailer.rb
278
+ - test/rails_app_4.2.5/app/models/.gitkeep
279
+ - test/rails_app_4.2.5/app/models/admin/post.rb
280
+ - test/rails_app_4.2.5/app/models/post.rb
281
+ - test/rails_app_4.2.5/app/views/admin/post_mailer/created.text.erb
282
+ - test/rails_app_4.2.5/app/views/admin/posts/index.html.erb
283
+ - test/rails_app_4.2.5/app/views/layouts/application.html.erb
284
+ - test/rails_app_4.2.5/app/views/post_mailer/created.text.erb
285
+ - test/rails_app_4.2.5/app/views/posts/_post.html.erb
286
+ - test/rails_app_4.2.5/app/views/posts/index.html.erb
287
+ - test/rails_app_4.2.5/config.ru
288
+ - test/rails_app_4.2.5/config/application.rb
289
+ - test/rails_app_4.2.5/config/boot.rb
290
+ - test/rails_app_4.2.5/config/database.yml
291
+ - test/rails_app_4.2.5/config/environment.rb
292
+ - test/rails_app_4.2.5/config/environments/development.rb
293
+ - test/rails_app_4.2.5/config/environments/production.rb
294
+ - test/rails_app_4.2.5/config/environments/test.rb
295
+ - test/rails_app_4.2.5/config/initializers/backtrace_silencers.rb
296
+ - test/rails_app_4.2.5/config/initializers/force_test_schema_load.rb
297
+ - test/rails_app_4.2.5/config/initializers/inflections.rb
298
+ - test/rails_app_4.2.5/config/initializers/mime_types.rb
299
+ - test/rails_app_4.2.5/config/initializers/secret_token.rb
300
+ - test/rails_app_4.2.5/config/initializers/session_store.rb
301
+ - test/rails_app_4.2.5/config/initializers/wrap_parameters.rb
302
+ - test/rails_app_4.2.5/config/locales/en.yml
303
+ - test/rails_app_4.2.5/config/routes.rb
304
+ - test/rails_app_4.2.5/config/secrets.yml
305
+ - test/rails_app_4.2.5/db/migrate/20130417154459_create_posts.rb
306
+ - test/rails_app_4.2.5/db/schema.rb
307
+ - test/rails_app_4.2.5/db/seeds.rb
308
+ - test/rails_app_4.2.5/lib/assets/.gitkeep
309
+ - test/rails_app_4.2.5/lib/tasks/.gitkeep
310
+ - test/rails_app_4.2.5/public/404.html
311
+ - test/rails_app_4.2.5/public/422.html
312
+ - test/rails_app_4.2.5/public/500.html
313
+ - test/rails_app_4.2.5/public/favicon.ico
314
+ - test/rails_app_4.2.5/public/index.html
315
+ - test/rails_app_4.2.5/public/robots.txt
316
+ - test/rails_app_4.2.5/script/rails
317
+ - test/rails_app_5.0.0/.gitignore
318
+ - test/rails_app_5.0.0/Gemfile
319
+ - test/rails_app_5.0.0/README.md
320
+ - test/rails_app_5.0.0/Rakefile
321
+ - test/rails_app_5.0.0/app/assets/config/manifest.js
322
+ - test/rails_app_5.0.0/app/assets/images/.keep
323
+ - test/rails_app_5.0.0/app/assets/images/rails.png
324
+ - test/rails_app_5.0.0/app/assets/javascripts/application.js
325
+ - test/rails_app_5.0.0/app/assets/javascripts/cable.js
326
+ - test/rails_app_5.0.0/app/assets/javascripts/channels/.keep
327
+ - test/rails_app_5.0.0/app/assets/stylesheets/application.css
328
+ - test/rails_app_5.0.0/app/channels/application_cable/channel.rb
329
+ - test/rails_app_5.0.0/app/channels/application_cable/connection.rb
330
+ - test/rails_app_5.0.0/app/controllers/admin/posts_controller.rb
331
+ - test/rails_app_5.0.0/app/controllers/application_controller.rb
332
+ - test/rails_app_5.0.0/app/controllers/concerns/.keep
333
+ - test/rails_app_5.0.0/app/controllers/posts_controller.rb
334
+ - test/rails_app_5.0.0/app/helpers/application_helper.rb
335
+ - test/rails_app_5.0.0/app/jobs/application_job.rb
336
+ - test/rails_app_5.0.0/app/jobs/spam/detector_job.rb
337
+ - test/rails_app_5.0.0/app/jobs/spam_detector_job.rb
338
+ - test/rails_app_5.0.0/app/mailers/admin/post_mailer.rb
339
+ - test/rails_app_5.0.0/app/mailers/application_mailer.rb
340
+ - test/rails_app_5.0.0/app/mailers/post_mailer.rb
341
+ - test/rails_app_5.0.0/app/models/admin/post.rb
342
+ - test/rails_app_5.0.0/app/models/application_record.rb
343
+ - test/rails_app_5.0.0/app/models/concerns/.keep
344
+ - test/rails_app_5.0.0/app/models/post.rb
345
+ - test/rails_app_5.0.0/app/views/admin/post_mailer/created.text.erb
346
+ - test/rails_app_5.0.0/app/views/admin/posts/index.html.erb
347
+ - test/rails_app_5.0.0/app/views/layouts/application.html.erb
348
+ - test/rails_app_5.0.0/app/views/layouts/mailer.html.erb
349
+ - test/rails_app_5.0.0/app/views/layouts/mailer.text.erb
350
+ - test/rails_app_5.0.0/app/views/post_mailer/created.text.erb
351
+ - test/rails_app_5.0.0/app/views/posts/_post.html.erb
352
+ - test/rails_app_5.0.0/app/views/posts/index.html.erb
353
+ - test/rails_app_5.0.0/bin/bundle
354
+ - test/rails_app_5.0.0/bin/rails
355
+ - test/rails_app_5.0.0/bin/rake
356
+ - test/rails_app_5.0.0/bin/setup
357
+ - test/rails_app_5.0.0/bin/spring
358
+ - test/rails_app_5.0.0/bin/update
359
+ - test/rails_app_5.0.0/config.ru
360
+ - test/rails_app_5.0.0/config/application.rb
361
+ - test/rails_app_5.0.0/config/boot.rb
362
+ - test/rails_app_5.0.0/config/cable.yml
363
+ - test/rails_app_5.0.0/config/database.yml
364
+ - test/rails_app_5.0.0/config/environment.rb
365
+ - test/rails_app_5.0.0/config/environments/development.rb
366
+ - test/rails_app_5.0.0/config/environments/production.rb
367
+ - test/rails_app_5.0.0/config/environments/test.rb
368
+ - test/rails_app_5.0.0/config/initializers/application_controller_renderer.rb
369
+ - test/rails_app_5.0.0/config/initializers/assets.rb
370
+ - test/rails_app_5.0.0/config/initializers/backtrace_silencers.rb
371
+ - test/rails_app_5.0.0/config/initializers/cookies_serializer.rb
372
+ - test/rails_app_5.0.0/config/initializers/filter_parameter_logging.rb
373
+ - test/rails_app_5.0.0/config/initializers/force_test_schema_load.rb
374
+ - test/rails_app_5.0.0/config/initializers/inflections.rb
375
+ - test/rails_app_5.0.0/config/initializers/mime_types.rb
376
+ - test/rails_app_5.0.0/config/initializers/new_framework_defaults.rb
377
+ - test/rails_app_5.0.0/config/initializers/session_store.rb
378
+ - test/rails_app_5.0.0/config/initializers/wrap_parameters.rb
379
+ - test/rails_app_5.0.0/config/locales/en.yml
380
+ - test/rails_app_5.0.0/config/puma.rb
381
+ - test/rails_app_5.0.0/config/routes.rb
382
+ - test/rails_app_5.0.0/config/secrets.yml
383
+ - test/rails_app_5.0.0/config/spring.rb
384
+ - test/rails_app_5.0.0/db/migrate/20160812134213_create_posts.rb
385
+ - test/rails_app_5.0.0/db/schema.rb
386
+ - test/rails_app_5.0.0/db/seeds.rb
387
+ - test/rails_app_5.0.0/lib/assets/.keep
388
+ - test/rails_app_5.0.0/lib/tasks/.keep
389
+ - test/rails_app_5.0.0/log/.keep
390
+ - test/rails_app_5.0.0/public/404.html
391
+ - test/rails_app_5.0.0/public/422.html
392
+ - test/rails_app_5.0.0/public/500.html
393
+ - test/rails_app_5.0.0/public/apple-touch-icon-precomposed.png
394
+ - test/rails_app_5.0.0/public/apple-touch-icon.png
395
+ - test/rails_app_5.0.0/public/favicon.ico
396
+ - test/rails_app_5.0.0/public/robots.txt
397
+ - test/rails_app_5.0.0/test/controllers/.keep
398
+ - test/rails_app_5.0.0/test/fixtures/.keep
399
+ - test/rails_app_5.0.0/test/fixtures/files/.keep
400
+ - test/rails_app_5.0.0/test/helpers/.keep
401
+ - test/rails_app_5.0.0/test/integration/.keep
402
+ - test/rails_app_5.0.0/test/mailers/.keep
403
+ - test/rails_app_5.0.0/test/models/.keep
404
+ - test/rails_app_5.0.0/test/test_helper.rb
405
+ - test/rails_app_5.0.0/vendor/assets/javascripts/.keep
406
+ - test/rails_app_5.0.0/vendor/assets/stylesheets/.keep
212
407
  - test/subscriber_test.rb
213
408
  - test/support/adapter_test_helpers.rb
214
409
  - test/support/fake_udp_socket.rb