media_embed 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/lib/media_embed/handler.rb +39 -0
  5. data/lib/media_embed/railtie.rb +10 -0
  6. data/lib/media_embed/version.rb +3 -0
  7. data/lib/media_embed/video.rb +21 -0
  8. data/lib/media_embed.rb +8 -0
  9. data/lib/tasks/media_embed_tasks.rake +4 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/javascripts/home.js +2 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/test/dummy/app/assets/stylesheets/home.css +4 -0
  16. data/test/dummy/app/controllers/application_controller.rb +5 -0
  17. data/test/dummy/app/controllers/home_controller.rb +4 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/helpers/home_helper.rb +2 -0
  20. data/test/dummy/app/views/home/index.html.erb +59 -0
  21. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  22. data/test/dummy/bin/bundle +3 -0
  23. data/test/dummy/bin/rails +4 -0
  24. data/test/dummy/bin/rake +4 -0
  25. data/test/dummy/bin/setup +29 -0
  26. data/test/dummy/config/application.rb +26 -0
  27. data/test/dummy/config/boot.rb +5 -0
  28. data/test/dummy/config/database.yml +25 -0
  29. data/test/dummy/config/environment.rb +5 -0
  30. data/test/dummy/config/environments/development.rb +41 -0
  31. data/test/dummy/config/environments/production.rb +79 -0
  32. data/test/dummy/config/environments/test.rb +42 -0
  33. data/test/dummy/config/initializers/assets.rb +11 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  36. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  37. data/test/dummy/config/initializers/inflections.rb +16 -0
  38. data/test/dummy/config/initializers/mime_types.rb +4 -0
  39. data/test/dummy/config/initializers/session_store.rb +3 -0
  40. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/test/dummy/config/locales/en.yml +23 -0
  42. data/test/dummy/config/routes.rb +4 -0
  43. data/test/dummy/config/secrets.yml +22 -0
  44. data/test/dummy/config.ru +4 -0
  45. data/test/dummy/db/development.sqlite3 +0 -0
  46. data/test/dummy/db/test.sqlite3 +0 -0
  47. data/test/dummy/log/development.log +248 -0
  48. data/test/dummy/log/test.log +80 -0
  49. data/test/dummy/public/404.html +67 -0
  50. data/test/dummy/public/422.html +67 -0
  51. data/test/dummy/public/500.html +66 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/dummy/test/controllers/home_controller_test.rb +7 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Q/5QKO5_wh9WWzBY7U_HkwBrMsmoT4GN1TwF3j4i3wKDk.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/78/78j08qqtmv-JUdkCWJDsNYi7yzDbzQCU2S7L6AOLuvs.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DM/DMAJ3KDpacWbGmN1Cnq4PksEZZJwApG5ssuM3xsHqD8.cache +2 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lq/Lq2C_BTRZxc5UhovyGcuDniBSLgXJ6iXzNPTHz218N4.cache +1 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oe/OeCtrqtSGPVeMDxJIKfaJbuLZPzBZV4lfPKUuEgH2II.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q8/Q84NQ59ORq5u4K-Nyw6uPayOn-VCdceVXQ7aGt3ygoM.cache +1 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q8/q8M9NJXXFO0wJXrSI72sLXloRAfZqV2__5k_fRRBvDc.cache +1 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qj/Qj0ia-J1N9Y-J_dwZPjd4fK3EOx4yj25ZUzLIAPZ1Y0.cache +1 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tr/Tr6FQPpaiJ0m5Uy-742ZKxfqwdLoaivs0u709PWrJnI.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Zx/Zx_pY8rr1nkaxuaXAyawN22ouXmPuf7ju8gMSZAuLME.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_9/_9A2uJkTbXCY-byELZxtnz9J7DlP9cDTf3iDC49xuXY.cache +1 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b1/b1c9KFtx0FgHD9sk4rnwytFaubTXmq3wOsq4IEt_kZk.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eD/eDjrmZq57MKXV15QCoYh0AryvyBrzVI6uloOivalMGA.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eH/eH-T_w27bGgX2U1WQX1SoPaBw8NJ_jtOwHtfyeK-8OE.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZ/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hG/hG-rDmyd73DilpsuEZej17NJrk0lfcD4HO493ENl1nw.cache +0 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hQ/hQ-Q1U-4i58pSG74SoUGKzNKc1Uck9AnOiw8smXC8Ic.cache +1 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iz/izUTL63DNdovMkVITSoAZ5LvYaBVDW7AzIccJ6qsUvQ.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jo/jor-MCwFJHsYxGBjtsXux9i-qClvAH0JiC8JsV0QsXQ.cache +1 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pn/pnW3u_1AN48ig6ngefI89y96xoSlvnJurx-e3J-leoE.cache +3 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rH/rH0XF9hlEBaHEN2-fmB9i_eJyZQL7pYTDLCfJ4hooy4.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rX/rXh9_pElA8n-GpShfVjGuwEr4BLbuARTyndl5rEz9Nc.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssS2x0Wl67rwXHaVHsh6CO7ayn9fQ5saIwATKN6O-nI.cache +3 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xt/xtXpwJn_zdX4IYipCeokPBOCp4guNpM9V_ybPdFSDFA.cache +0 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yi/yilpDoLbllD_EjIKIfMFuMgcFT-ypWu98nAxyNQ5xKc.cache +1 -0
  84. data/test/dummy/tmp/pids/server.pid +1 -0
  85. data/test/media_embed/handler_test.rb +36 -0
  86. data/test/media_embed_test.rb +11 -0
  87. data/test/test_helper.rb +20 -0
  88. metadata +265 -0
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ root to: 'home#index'
3
+ end
4
+
@@ -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: ecf3783f9f44566afa9d63ad6a96edb4da73ee5895191fbcc7fa90362980a9443c23d413cc97ee27f1dc253db973349464f55c312ae577c5c3b77500f83c49e1
15
+
16
+ test:
17
+ secret_key_base: 944ee8361aaaf154743ad2f246f294ce2b0ad5142a966a23fe2ada922a94bd1c5ac4e6e8e5dd549a9851bc5c8911160de79e6a4b8cf7ca82b712f855a31b04e9
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
File without changes
File without changes
@@ -0,0 +1,248 @@
1
+
2
+
3
+ Started GET "/" for ::1 at 2016-05-26 14:07:36 -0400
4
+ Processing by HomeController#index as HTML
5
+ Rendered home/index.html.erb within layouts/application (1.8ms)
6
+ Completed 200 OK in 263ms (Views: 262.8ms | ActiveRecord: 0.0ms)
7
+
8
+
9
+ Started GET "/" for ::1 at 2016-05-26 14:07:36 -0400
10
+ Processing by HomeController#index as HTML
11
+ Rendered home/index.html.erb within layouts/application (0.1ms)
12
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
13
+
14
+
15
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:07:36 -0400
16
+
17
+
18
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:07:36 -0400
19
+
20
+
21
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:07:36 -0400
22
+
23
+
24
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:07:36 -0400
25
+
26
+
27
+ Started GET "/" for ::1 at 2016-05-26 14:08:59 -0400
28
+ Processing by HomeController#index as HTML
29
+ Rendered home/index.html.erb within layouts/application (5.9ms)
30
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
31
+
32
+ ActionView::Template::Error (uninitialized constant MediaEmbed::Handler::Video):
33
+ 1: <h1>Videos</h1>
34
+ 2:
35
+ 3: <h3>Youtube</h3>
36
+ 4: <%= embed "https://www.youtube.com/watch?v=_mwcreHuqNA" %>
37
+ 5: <h3>Vimeo</h3>
38
+ 6:
39
+ 7: <h3>Vine</h3>
40
+ app/views/home/index.html.erb:4:in `_app_views_home_index_html_erb__1069812370174216854_70144340274220'
41
+
42
+
43
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms)
44
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
45
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
46
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (75.6ms)
47
+
48
+
49
+ Started GET "/" for ::1 at 2016-05-26 14:09:18 -0400
50
+ Processing by HomeController#index as HTML
51
+ Rendered home/index.html.erb within layouts/application (2.5ms)
52
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
53
+
54
+ ActionView::Template::Error (uninitialized constant MediaEmbed::Handler::Video):
55
+ 1: <h1>Videos</h1>
56
+ 2:
57
+ 3: <h3>Youtube</h3>
58
+ 4: <%= embed "https://www.youtube.com/watch?v=_mwcreHuqNA" %>
59
+ 5: <h3>Vimeo</h3>
60
+ 6:
61
+ 7: <h3>Vine</h3>
62
+ app/views/home/index.html.erb:4:in `_app_views_home_index_html_erb__1069812370174216854_70144340274220'
63
+
64
+
65
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.6ms)
66
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
67
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
68
+ Rendered /Users/wendybeth/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (75.8ms)
69
+
70
+
71
+ Started GET "/" for ::1 at 2016-05-26 14:09:34 -0400
72
+ Processing by HomeController#index as HTML
73
+ Rendered home/index.html.erb within layouts/application (2.0ms)
74
+ Completed 200 OK in 310ms (Views: 309.7ms | ActiveRecord: 0.0ms)
75
+
76
+
77
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:09:34 -0400
78
+
79
+
80
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:09:34 -0400
81
+
82
+
83
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:09:34 -0400
84
+
85
+
86
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:09:34 -0400
87
+
88
+
89
+ Started GET "/" for ::1 at 2016-05-26 14:09:52 -0400
90
+ Processing by HomeController#index as HTML
91
+ Rendered home/index.html.erb within layouts/application (0.5ms)
92
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
93
+
94
+
95
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:09:52 -0400
96
+
97
+
98
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:09:52 -0400
99
+
100
+
101
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:09:52 -0400
102
+
103
+
104
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:09:52 -0400
105
+
106
+
107
+ Started GET "/" for ::1 at 2016-05-26 14:11:45 -0400
108
+ Processing by HomeController#index as HTML
109
+ Rendered home/index.html.erb within layouts/application (0.6ms)
110
+ Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)
111
+
112
+
113
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:11:45 -0400
114
+
115
+
116
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:11:45 -0400
117
+
118
+
119
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:11:45 -0400
120
+
121
+
122
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:11:45 -0400
123
+
124
+
125
+ Started GET "/" for ::1 at 2016-05-26 14:13:17 -0400
126
+ Processing by HomeController#index as HTML
127
+ Rendered home/index.html.erb within layouts/application (0.7ms)
128
+ Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms)
129
+
130
+
131
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:13:17 -0400
132
+
133
+
134
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:13:17 -0400
135
+
136
+
137
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:13:17 -0400
138
+
139
+
140
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:13:17 -0400
141
+
142
+
143
+ Started GET "/" for ::1 at 2016-05-26 14:14:55 -0400
144
+ Processing by HomeController#index as HTML
145
+ Rendered home/index.html.erb within layouts/application (0.8ms)
146
+ Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms)
147
+
148
+
149
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:14:56 -0400
150
+
151
+
152
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:14:56 -0400
153
+
154
+
155
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:14:56 -0400
156
+
157
+
158
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:14:56 -0400
159
+
160
+
161
+ Started GET "/" for ::1 at 2016-05-26 14:17:11 -0400
162
+ Processing by HomeController#index as HTML
163
+ Rendered home/index.html.erb within layouts/application (1.1ms)
164
+ Completed 200 OK in 12ms (Views: 12.1ms | ActiveRecord: 0.0ms)
165
+
166
+
167
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:17:11 -0400
168
+
169
+
170
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:17:11 -0400
171
+
172
+
173
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:17:11 -0400
174
+
175
+
176
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:17:11 -0400
177
+
178
+
179
+ Started GET "/" for ::1 at 2016-05-26 14:17:41 -0400
180
+ Processing by HomeController#index as HTML
181
+ Rendered home/index.html.erb within layouts/application (1.4ms)
182
+ Completed 200 OK in 15ms (Views: 14.9ms | ActiveRecord: 0.0ms)
183
+
184
+
185
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:17:41 -0400
186
+
187
+
188
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:17:41 -0400
189
+
190
+
191
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:17:41 -0400
192
+
193
+
194
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:17:41 -0400
195
+
196
+
197
+ Started GET "/" for ::1 at 2016-05-26 14:20:11 -0400
198
+ Processing by HomeController#index as HTML
199
+ Rendered home/index.html.erb within layouts/application (1.3ms)
200
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
201
+
202
+
203
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:20:11 -0400
204
+
205
+
206
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:20:11 -0400
207
+
208
+
209
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:20:11 -0400
210
+
211
+
212
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:20:11 -0400
213
+
214
+
215
+ Started GET "/" for ::1 at 2016-05-26 14:40:34 -0400
216
+ Processing by HomeController#index as HTML
217
+ Rendered home/index.html.erb within layouts/application (0.9ms)
218
+ Completed 200 OK in 14ms (Views: 14.0ms | ActiveRecord: 0.0ms)
219
+
220
+
221
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:40:34 -0400
222
+
223
+
224
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:40:34 -0400
225
+
226
+
227
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:40:34 -0400
228
+
229
+
230
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:40:35 -0400
231
+
232
+
233
+ Started GET "/" for ::1 at 2016-05-26 14:53:58 -0400
234
+ Processing by HomeController#index as HTML
235
+ Rendered home/index.html.erb within layouts/application (1.0ms)
236
+ Completed 200 OK in 93ms (Views: 93.0ms | ActiveRecord: 0.0ms)
237
+
238
+
239
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2016-05-26 14:53:58 -0400
240
+
241
+
242
+ Started GET "/assets/home.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for ::1 at 2016-05-26 14:53:58 -0400
243
+
244
+
245
+ Started GET "/assets/home.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for ::1 at 2016-05-26 14:53:58 -0400
246
+
247
+
248
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2016-05-26 14:53:58 -0400
@@ -0,0 +1,80 @@
1
+  (0.1ms) begin transaction
2
+ --------------------------------------------
3
+ MediaEmbedTest: test_it_has_a_version_number
4
+ --------------------------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ --------------------------
8
+ MediaEmbedTest: test_truth
9
+ --------------------------
10
+  (0.0ms) rollback transaction
11
+  (0.0ms) begin transaction
12
+ ------------------------------------------------------------
13
+ HandlerTest: test_it_extracts_code_from_all_vimeo_structures
14
+ ------------------------------------------------------------
15
+  (0.0ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ ---------------------------------------------------------------
18
+ HandlerTest: test_it_extracts_codes_from_all_youtube_structures
19
+ ---------------------------------------------------------------
20
+  (0.0ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+ --------------------------
23
+ MediaEmbedTest: test_truth
24
+ --------------------------
25
+  (0.0ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ --------------------------------------------
28
+ MediaEmbedTest: test_it_has_a_version_number
29
+ --------------------------------------------
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+ ------------------------------------------------------------
33
+ HandlerTest: test_it_extracts_code_from_all_vimeo_structures
34
+ ------------------------------------------------------------
35
+  (0.0ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ ---------------------------------------------------------------
38
+ HandlerTest: test_it_extracts_codes_from_all_youtube_structures
39
+ ---------------------------------------------------------------
40
+  (0.0ms) rollback transaction
41
+  (0.2ms) begin transaction
42
+ --------------------------------------------
43
+ MediaEmbedTest: test_it_has_a_version_number
44
+ --------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ --------------------------
48
+ MediaEmbedTest: test_truth
49
+ --------------------------
50
+  (0.0ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ ---------------------------------------------------------------
53
+ HandlerTest: test_it_extracts_codes_from_all_youtube_structures
54
+ ---------------------------------------------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ ------------------------------------------------------------
58
+ HandlerTest: test_it_extracts_code_from_all_vimeo_structures
59
+ ------------------------------------------------------------
60
+  (0.0ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ ------------------------------------------------------------
63
+ HandlerTest: test_it_extracts_code_from_all_vimeo_structures
64
+ ------------------------------------------------------------
65
+  (0.0ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ ---------------------------------------------------------------
68
+ HandlerTest: test_it_extracts_codes_from_all_youtube_structures
69
+ ---------------------------------------------------------------
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+ --------------------------------------------
73
+ MediaEmbedTest: test_it_has_a_version_number
74
+ --------------------------------------------
75
+  (0.0ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+ --------------------------
78
+ MediaEmbedTest: test_truth
79
+ --------------------------
80
+  (0.0ms) rollback transaction
@@ -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>
File without changes
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class HomeControllerTest < ActionController::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,2 @@
1
+ "%����͹mm�
2
+ a�l�|a56���v�6}��(&5
@@ -0,0 +1 @@
1
+ I"app/assets/stylesheets/home.css?type=text/css&pipeline=self&id=883a60d14596d2aedf03cce1abac9191c9c93918966c1adbe8c00b47f990425e:ET