fastly-rails 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -0
  3. data/lib/fastly-rails/action_controller/cache_control_headers.rb +12 -1
  4. data/lib/fastly-rails/configuration.rb +1 -1
  5. data/lib/fastly-rails/engine.rb +5 -5
  6. data/lib/fastly-rails/version.rb +1 -1
  7. data/test/dummy/db/test.sqlite3 +0 -0
  8. data/test/dummy/log/test.log +37224 -3121
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5elmEBYOAeBEa5F9MDsG8Vj_9WWqc7o8Hw42OYYWbA.cache +1 -1
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Dk/Dk9lDBI53_lRry-WtKX8KS3I9m7EWlKHsUIZD_As0DQ.cache → 3-/3-7KravYlGQZBVzSBqpK8NH7H5FPFImqgZbPpLzkibY.cache} +0 -0
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/56/563DpdnCkWU_z11LULObhzhiahFO_9MrCREP-Iwn3Ns.cache +1 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Y/5YYrTIcxXmat9MY0-y2oOeRoeGcaEBQE8eNSNUNs4uk.cache +1 -0
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{5o/5o-XEnJhOhBW-MnIC5fOi_NTgdPeXXtZZrNVj8Cdf3M.cache → C4/C4RW74oh7GbDlbR_h8EpiSCVLwoFoJc6_yFPMX-MIew.cache} +0 -0
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Eb/EbXfq-oovVeszIdKutcukJSXHeqRwYbJ-9qTregaxqA.cache +1 -1
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gi/Gi5UjUgfk3KwXqAJhOhOE_hB8R4yEqStuZU3ueHCIjM.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache → Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache} +0 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NY/NYdPPafeoELkwNL9xu1JigT5t29y2b-MALCbv1OIxho.cache +1 -1
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{2O/2Oyr5uw6kjUr6GdV_Wi30Ldq4FgCftnaTdyZGLbx2tQ.cache → On/OnbAp_8mNBYHyRKoqQtDkyYEclreWvSjNkvOhSz5854.cache} +0 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PdjnoCi8wktBUZUMOWqhMhTI2A8IhvkS1GZM4fj9XhQ.cache +1 -1
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q9/Q9aX1KWdegCSGcz3jVLmYajANawo_UxtPjo6Svi6Qbo.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache → SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache} +0 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/V8/V8RTsWAOfmFest7YGDFoe-Ip5gkku7MsLDfj4cXvU6o.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/X9/X9ugGBqzI13_Go3AgFeIjME2MnoIN7pl7r9yE_HetjQ.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YN/YN-mTVy6pZwLQT8mGIHhustDu1zGsxNgaoBTtgQccnA.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{41/41sUxvxjdn3MPEtIImoycVbO77HHfdVd3k8TyNXdUFo.cache → ZE/ZEeHavI75IZkVHwj6IiVfbo0U_7O8TeMae7xZb9c--0.cache} +0 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZM/ZMBjvICQqIJJf31vmmbfHU8IGgD8U5md5fm43bWttUQ.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7m/7mRcex8wjAZw2AZrc82yurOufgURqJqbwnPlpMkV71g.cache → ap/apxhDAFGDYZhWwm-AAduI4tTVXQl2Q4gf4iRxahu6eQ.cache} +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache → d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache} +0 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7u/7uSt7jd6jUV0YhcVKYB1UpkFZIkyHgw-NK8STsoT0LU.cache → f5/f5QLN3qk8zdPfzDAmO3fBk7EI5wnQPPGIxB7NfJwPxA.cache} +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{AA/AA6g-_d3UUwNrAL7nDqAsUcbCdqvHRDqzRPRUqrgNtE.cache → fO/fOQ4VwebZm06EGnJGF3t41xSEWjINw7K8K0c661fsS8.cache} +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fl/fl4lmgkEOxrrWGN54hH7XJMUlofSEaRW8mtDOORDauA.cache +0 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{E_/E_c2e8hPMujv-LtIU3aYDGqLU-WX-Zu0ml0AhiLbyn4.cache → fx/fx3rPZhYtZ_b06nyjb3Vg3Oo_CwokR-3f6wHHfJbAjA.cache} +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/iL/iLlf0OYBIObGh5FL1Z94yHfaT0VEwmUwrKQy8RumHNc.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nJ/nJdSqefQrxXTK8oJL0wXrVBkRHSAQSG_DM903MYwuJQ.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/{fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache → qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache} +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y0/y0NVULQEh8PIFkI9iX-Qd9LKYskVZdrCgORAiYvlDfw.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0z/0zPByPUMxbKGUTnNsvprBG7Qi2KHuMkEt9aCmfg8zLo.cache +1 -1
  42. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1V/1V50r2ynCtXM-1JstpZ02KEw8LLcrrUzz_crQlyzSI8.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{vK/vKtOi9PRlc8Jiken1ttUaC1y1K8-u094TECIJ7p36zM.cache → 2l/2li4cK3kTbQNFRAE8OASIhSREHTvAw4j1VohIE6k8_c.cache} +0 -0
  44. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5r/5rVqtZTEC9Slq7Co7N8t-FL7dUwbUYrrolEaVbQkUgU.cache +1 -1
  45. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/C3/C3rk8xUNoa8cmSGWs1ffyoDf2SgdQ6k8XBNg24Q62Bk.cache +1 -1
  46. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{K9/K9tymHSX_qeP7TaTvPYnZXTtyiWfPx9n6ox4FWLwows.cache → FO/FO8_CwmlpVAQrQuUh_UWYkvQ8ke8EJrSvnuz_4TQYco.cache} +0 -0
  47. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GN/GNF6mVF2rEAgoPUfITqYF2QuC5rLr2H9kKkacK9-Evo.cache +1 -0
  48. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache → Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache} +0 -0
  49. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N7/N75az343ZrY0vGSnG9K43PBqR_VSp4CRxcxk_ReMEJg.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache → SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache} +0 -0
  51. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wh/WhoVKyBwt6xgbz-V4hTVD0Rd0pJzIlPNQnM10fUoNpA.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wo/Wo9kX3iXR_wkJxOzBnSHnwXskSjKVqT4yPNQIatZwRo.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wy/Wyfp_Ofm0EgjLdRvyTVctPn3576FkbiJpiTrVofJYAw.cache +1 -1
  54. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z4/Z4v1oTQgHNS1P0IOkT7dvD6div2-Ts106lMn7m0yxw4.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cI/cIYDN6aa0eTLkCbpBjlZ_eJKjBrVk7Z4-wcz76fAIOk.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache → d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache} +0 -0
  57. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{i0/i0Rp0IHYI8Xg6oN-MSTZt-baJA9B5YKadke_OvHCVro.cache → hd/hdZgtKFDJBNN8l_C2-Jd2lSQp102WdxWZ2WSZwr3D0Y.cache} +0 -0
  58. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{q7/q7sN3M8FdRZqpapLdTHp0BLUpiRLsu2znsNkRUbRAm0.cache → o5/o567s7LEvHvIbxMcu7zcDpQFL4dgXXnB8IK1bAUYUtQ.cache} +0 -0
  60. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache → qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache} +0 -0
  63. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x5/x5wH3HRQz3WXNuSp9WfaiQ70TrA8EjQmjesbLTI2sSA.cache +1 -0
  64. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  65. data/test/fastly-rails/action_controller/api_test.rb +12 -0
  66. data/test/fastly-rails/cache_control_headers_test.rb +40 -3
  67. data/test/fastly-rails/configuration_test.rb +2 -0
  68. data/test/test_helper.rb +8 -0
  69. metadata +140 -121
  70. data/test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache +0 -1
  71. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache +0 -1
  72. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache +0 -1
  73. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache +0 -1
@@ -1 +1 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=0fa1bcb56d20c23e81aab9dab836bff7b2db2e3f592de2b4862b07b13f91d62c:ET
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=ae4747b7f6eca3571a871dae2870fc539d2b31aa3632bd4a632c219d062278d7:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=c9e4990af3838550ac13b074cf00f75e597a459531ca05ed328692e76f86076d:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=d2b921aae25a931c434a79408f1667a7a664c62a437f4d26504fc28f24a5cb29:ET
@@ -1 +1 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=84a2e699a5f8979a4292a2efe3b65ddb88127b134595f974f6e7436a782675e2:ET
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=49ff07becb2614e24c8b3ca8be5c68292102d4c517a1b2f0f3084b7d3220b2ca:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=16029b1738ca1fb1860ac4398a5a6310deb5bfda00d1fb7a59efd2536565c649:ET
@@ -1 +1 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=8bb00b41f5c8b27390a0c378d3b0acc3b79d303d9e89b2087c7fb6a09f9edd78:ET
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=74711ed8780f0ebe16529916f7f55dcb00acf52884ddadca31bacf3b1f3e8c24:ET
@@ -1 +1 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=dc0cc2ef72d31bfe260c6dd5a0bbb58c4ffd85245781f360e0bd805e8351fc68:ET
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=985d44deb9f38d02acc910ae407a9eeae6109b5cea7b1a04b229eb62160eac4d:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=d0275289dfc867b7aecba9de3e4fcd334e87f53f418d77db24033d71e154d5b3:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=8eb7271859f03e67d32a1c9dd08b4515c4cf57d25686cf93d50aa10b8280699b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=3fafa13c52a80fb8bc659402c44c83570a718f8754107557942fe9c21fea5370:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=87bd56c55e984062396c37ac6894b2d7ed51e6d08b7da199d8eb03519a9d08e3:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=7502d4c6811c5ec9226ce49c47e6070b9292ce13e96186adaf1d2cc0d31cb78e:ET
@@ -1 +1 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=3b8c995e3677ec11cc54db8aa9585fda9c720915b00259950da41364e0ca5c8e:ET
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=70fb0436504ce9ff80599d392fcfe448c7f573491651260962ed58bfb92bfc17:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=bacffc44acff83f8447b4718b900075b2ff1bc74ea16a1b7a91dd2fe4758e161:ET
@@ -1 +1 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=bc185c88f2291074ba744db69f9c706153a20fb50b780b4c305dbdebe042e9e4:ET
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=156e24140a5e34b91409c1eb19145c336371f865a3e32c7992b155cba2812ce2:ET
@@ -1 +1 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=6d755e1c13a58cd5e7f9b4f537e13900d26f39af3460a472a21d30a05dc549f7:ET
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=6807aeb067a85a2ec26a7c893c0e679bf0e7803b1d8e4830ad6562674461f48b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=2cffbd74879c888505e9974144e9549372331e3902f2b3977de09ca0fca71bab:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=73bffff3866511b0891d8bf90682801c75dbb50e2556f721c9b17eb3be72d6d7:ET
@@ -1 +1 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=8df715a98d3693cbe9e7dfea83e7f13962cda4a3efbcfe3e6f03e6a84588380e:ET
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=4af66f968c1b1a1a50f61f2099160c29f869b2e8f840a4bdb9e50576ec5c6e75:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=09f013e82f540bf4b1365382d4c546f36cfb38a7b2a6cc55e67a407a020d0011:ET
@@ -0,0 +1,12 @@
1
+ require_relative '../../test_helper'
2
+
3
+ describe 'ActionController::API' do
4
+ before { skip unless defined?(ActionController::API) }
5
+
6
+ let(:controller) { Class.new(ActionController::API) }
7
+
8
+ it 'adds control modules' do
9
+ assert_includes controller.ancestors, FastlyRails::SurrogateKeyHeaders
10
+ assert_includes controller.ancestors, FastlyRails::CacheControlHeaders
11
+ end
12
+ end
@@ -1,8 +1,45 @@
1
- require 'test_helper'
1
+ require_relative '../test_helper'
2
2
 
3
- class FastlyRails::CacheControlHeadersTest < ActiveSupport::TestCase
3
+ describe 'FastlyRails::CacheControlHeaders' do
4
+ let(:controller) do
5
+ Class.new do
6
+ include FastlyRails::CacheControlHeaders
4
7
 
5
- test "sets cache control headers on actioncontroller request" do
8
+ attr_reader :request, :response
6
9
 
10
+ def initialize
11
+ @request = Struct.new(:session_options).new({})
12
+ @response = Struct.new(:headers).new({})
13
+ end
14
+ end.new
15
+ end
16
+
17
+ before { FastlyRails.configure { |c| c.max_age = 2592000 } }
18
+
19
+ it 'sets max_age' do
20
+ controller.set_cache_control_headers(16)
21
+
22
+ expected = {"Cache-Control"=>"public, no-cache", "Surrogate-Control"=>"max-age=16"}
23
+ actual = controller.response.headers
24
+
25
+ assert_equal expected, actual
26
+ end
27
+
28
+ it 'sets stale_while_revalidate' do
29
+ controller.set_cache_control_headers(FastlyRails.configuration.max_age, stale_while_revalidate: 32)
30
+
31
+ expected = {"Cache-Control"=>"public, no-cache", "Surrogate-Control"=>"max-age=2592000, stale-while-revalidate=32"}
32
+ actual = controller.response.headers
33
+
34
+ assert_equal expected, actual
35
+ end
36
+
37
+ it 'sets stale_if_error' do
38
+ controller.set_cache_control_headers(FastlyRails.configuration.max_age, stale_if_error: 64)
39
+
40
+ expected = {"Cache-Control"=>"public, no-cache", "Surrogate-Control"=>"max-age=2592000, stale-if-error=64"}
41
+ actual = controller.response.headers
42
+
43
+ assert_equal expected, actual
7
44
  end
8
45
  end
@@ -13,6 +13,8 @@ describe FastlyRails::Configuration do
13
13
  :user,
14
14
  :password,
15
15
  :max_age,
16
+ :stale_while_revalidate,
17
+ :stale_if_error,
16
18
  :service_id
17
19
  ]
18
20
 
@@ -9,6 +9,11 @@ require 'ffaker'
9
9
  require 'factory_girl_rails'
10
10
  require 'webmock/minitest'
11
11
 
12
+ begin
13
+ require 'rails-controller-testing'
14
+ rescue LoadError
15
+ end
16
+
12
17
  Rails.backtrace_cleaner.remove_silencers!
13
18
 
14
19
  #include factories
@@ -38,6 +43,8 @@ class Minitest::Spec
38
43
  body: "{\"status\":\"ok\"}"
39
44
  )
40
45
 
46
+ WebMock.disable_net_connect!
47
+
41
48
  DatabaseCleaner.start
42
49
  end
43
50
 
@@ -52,6 +59,7 @@ class ActionController::TestCase
52
59
  end
53
60
 
54
61
  class ActionDispatch::IntegrationTest
62
+ include WebMock::API
55
63
  include FactoryGirl::Syntax::Methods
56
64
 
57
65
  def setup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael May
@@ -12,22 +12,28 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-07-29 00:00:00.000000000 Z
15
+ date: 2017-02-03 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: railties
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: '2'
21
24
  - - "<"
22
25
  - !ruby/object:Gem::Version
23
- version: '5'
26
+ version: '6'
24
27
  type: :runtime
25
28
  prerelease: false
26
29
  version_requirements: !ruby/object:Gem::Requirement
27
30
  requirements:
31
+ - - ">"
32
+ - !ruby/object:Gem::Version
33
+ version: '2'
28
34
  - - "<"
29
35
  - !ruby/object:Gem::Version
30
- version: '5'
36
+ version: '6'
31
37
  - !ruby/object:Gem::Dependency
32
38
  name: fastly
33
39
  requirement: !ruby/object:Gem::Requirement
@@ -42,26 +48,6 @@ dependencies:
42
48
  - - "~>"
43
49
  - !ruby/object:Gem::Version
44
50
  version: '1.6'
45
- - !ruby/object:Gem::Dependency
46
- name: mime-types
47
- requirement: !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- version: '1.16'
52
- - - "<"
53
- - !ruby/object:Gem::Version
54
- version: '3'
55
- type: :runtime
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '1.16'
62
- - - "<"
63
- - !ruby/object:Gem::Version
64
- version: '3'
65
51
  - !ruby/object:Gem::Dependency
66
52
  name: sqlite3
67
53
  requirement: !ruby/object:Gem::Requirement
@@ -152,14 +138,14 @@ dependencies:
152
138
  requirements:
153
139
  - - ">="
154
140
  - !ruby/object:Gem::Version
155
- version: '0'
141
+ version: 2.3.0
156
142
  type: :development
157
143
  prerelease: false
158
144
  version_requirements: !ruby/object:Gem::Requirement
159
145
  requirements:
160
146
  - - ">="
161
147
  - !ruby/object:Gem::Version
162
- version: '0'
148
+ version: 2.3.0
163
149
  - !ruby/object:Gem::Dependency
164
150
  name: rails
165
151
  requirement: !ruby/object:Gem::Requirement
@@ -247,45 +233,62 @@ files:
247
233
  - test/dummy/test/lib/remove_set_cookie_header_test.rb
248
234
  - test/dummy/test/models/book_test.rb
249
235
  - test/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5elmEBYOAeBEa5F9MDsG8Vj_9WWqc7o8Hw42OYYWbA.cache
250
- - test/dummy/tmp/cache/assets/sprockets/v3.0/2O/2Oyr5uw6kjUr6GdV_Wi30Ldq4FgCftnaTdyZGLbx2tQ.cache
251
- - test/dummy/tmp/cache/assets/sprockets/v3.0/41/41sUxvxjdn3MPEtIImoycVbO77HHfdVd3k8TyNXdUFo.cache
252
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5o/5o-XEnJhOhBW-MnIC5fOi_NTgdPeXXtZZrNVj8Cdf3M.cache
253
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache
254
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7m/7mRcex8wjAZw2AZrc82yurOufgURqJqbwnPlpMkV71g.cache
255
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7u/7uSt7jd6jUV0YhcVKYB1UpkFZIkyHgw-NK8STsoT0LU.cache
256
- - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache
257
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache
258
- - test/dummy/tmp/cache/assets/sprockets/v3.0/AA/AA6g-_d3UUwNrAL7nDqAsUcbCdqvHRDqzRPRUqrgNtE.cache
259
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Dk/Dk9lDBI53_lRry-WtKX8KS3I9m7EWlKHsUIZD_As0DQ.cache
260
- - test/dummy/tmp/cache/assets/sprockets/v3.0/E_/E_c2e8hPMujv-LtIU3aYDGqLU-WX-Zu0ml0AhiLbyn4.cache
236
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/3-/3-7KravYlGQZBVzSBqpK8NH7H5FPFImqgZbPpLzkibY.cache
237
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/56/563DpdnCkWU_z11LULObhzhiahFO_9MrCREP-Iwn3Ns.cache
238
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5Y/5YYrTIcxXmat9MY0-y2oOeRoeGcaEBQE8eNSNUNs4uk.cache
239
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4RW74oh7GbDlbR_h8EpiSCVLwoFoJc6_yFPMX-MIew.cache
261
240
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Eb/EbXfq-oovVeszIdKutcukJSXHeqRwYbJ-9qTregaxqA.cache
262
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache
241
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Gi/Gi5UjUgfk3KwXqAJhOhOE_hB8R4yEqStuZU3ueHCIjM.cache
242
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache
263
243
  - test/dummy/tmp/cache/assets/sprockets/v3.0/NY/NYdPPafeoELkwNL9xu1JigT5t29y2b-MALCbv1OIxho.cache
244
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/On/OnbAp_8mNBYHyRKoqQtDkyYEclreWvSjNkvOhSz5854.cache
264
245
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PdjnoCi8wktBUZUMOWqhMhTI2A8IhvkS1GZM4fj9XhQ.cache
265
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache
266
- - test/dummy/tmp/cache/assets/sprockets/v3.0/eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache
267
- - test/dummy/tmp/cache/assets/sprockets/v3.0/fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache
246
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Q9/Q9aX1KWdegCSGcz3jVLmYajANawo_UxtPjo6Svi6Qbo.cache
247
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache
248
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/V8/V8RTsWAOfmFest7YGDFoe-Ip5gkku7MsLDfj4cXvU6o.cache
249
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/X9/X9ugGBqzI13_Go3AgFeIjME2MnoIN7pl7r9yE_HetjQ.cache
250
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/YN/YN-mTVy6pZwLQT8mGIHhustDu1zGsxNgaoBTtgQccnA.cache
251
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEeHavI75IZkVHwj6IiVfbo0U_7O8TeMae7xZb9c--0.cache
252
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZM/ZMBjvICQqIJJf31vmmbfHU8IGgD8U5md5fm43bWttUQ.cache
253
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ap/apxhDAFGDYZhWwm-AAduI4tTVXQl2Q4gf4iRxahu6eQ.cache
254
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache
255
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/f5/f5QLN3qk8zdPfzDAmO3fBk7EI5wnQPPGIxB7NfJwPxA.cache
256
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fO/fOQ4VwebZm06EGnJGF3t41xSEWjINw7K8K0c661fsS8.cache
257
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fl/fl4lmgkEOxrrWGN54hH7XJMUlofSEaRW8mtDOORDauA.cache
258
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fx/fx3rPZhYtZ_b06nyjb3Vg3Oo_CwokR-3f6wHHfJbAjA.cache
268
259
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
260
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/iL/iLlf0OYBIObGh5FL1Z94yHfaT0VEwmUwrKQy8RumHNc.cache
261
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/nJ/nJdSqefQrxXTK8oJL0wXrVBkRHSAQSG_DM903MYwuJQ.cache
269
262
  - test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
270
263
  - test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
271
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache
264
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache
272
265
  - test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
266
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/y0/y0NVULQEh8PIFkI9iX-Qd9LKYskVZdrCgORAiYvlDfw.cache
273
267
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/0z/0zPByPUMxbKGUTnNsvprBG7Qi2KHuMkEt9aCmfg8zLo.cache
268
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/1V/1V50r2ynCtXM-1JstpZ02KEw8LLcrrUzz_crQlyzSI8.cache
269
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/2l/2li4cK3kTbQNFRAE8OASIhSREHTvAw4j1VohIE6k8_c.cache
274
270
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/5r/5rVqtZTEC9Slq7Co7N8t-FL7dUwbUYrrolEaVbQkUgU.cache
275
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache
276
271
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/C3/C3rk8xUNoa8cmSGWs1ffyoDf2SgdQ6k8XBNg24Q62Bk.cache
277
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache
278
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/K9/K9tymHSX_qeP7TaTvPYnZXTtyiWfPx9n6ox4FWLwows.cache
272
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/FO/FO8_CwmlpVAQrQuUh_UWYkvQ8ke8EJrSvnuz_4TQYco.cache
273
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/GN/GNF6mVF2rEAgoPUfITqYF2QuC5rLr2H9kKkacK9-Evo.cache
274
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache
275
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/N7/N75az343ZrY0vGSnG9K43PBqR_VSp4CRxcxk_ReMEJg.cache
276
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache
277
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wh/WhoVKyBwt6xgbz-V4hTVD0Rd0pJzIlPNQnM10fUoNpA.cache
278
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wo/Wo9kX3iXR_wkJxOzBnSHnwXskSjKVqT4yPNQIatZwRo.cache
279
279
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wy/Wyfp_Ofm0EgjLdRvyTVctPn3576FkbiJpiTrVofJYAw.cache
280
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache
281
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache
280
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z4/Z4v1oTQgHNS1P0IOkT7dvD6div2-Ts106lMn7m0yxw4.cache
281
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/cI/cIYDN6aa0eTLkCbpBjlZ_eJKjBrVk7Z4-wcz76fAIOk.cache
282
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache
283
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/hd/hdZgtKFDJBNN8l_C2-Jd2lSQp102WdxWZ2WSZwr3D0Y.cache
282
284
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
283
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/i0/i0Rp0IHYI8Xg6oN-MSTZt-baJA9B5YKadke_OvHCVro.cache
285
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/o5/o567s7LEvHvIbxMcu7zcDpQFL4dgXXnB8IK1bAUYUtQ.cache
284
286
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
285
287
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
286
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/q7/q7sN3M8FdRZqpapLdTHp0BLUpiRLsu2znsNkRUbRAm0.cache
287
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/vK/vKtOi9PRlc8Jiken1ttUaC1y1K8-u094TECIJ7p36zM.cache
288
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache
289
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/x5/x5wH3HRQz3WXNuSp9WfaiQ70TrA8EjQmjesbLTI2sSA.cache
288
290
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
291
+ - test/fastly-rails/action_controller/api_test.rb
289
292
  - test/fastly-rails/active_record/purge_test.rb
290
293
  - test/fastly-rails/cache_control_headers_test.rb
291
294
  - test/fastly-rails/client_test.rb
@@ -311,102 +314,118 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
314
  version: '0'
312
315
  requirements: []
313
316
  rubyforge_project:
314
- rubygems_version: 2.5.1
317
+ rubygems_version: 2.5.2
315
318
  signing_key:
316
319
  specification_version: 4
317
320
  summary: Fastly instant purging integration for Rails
318
321
  test_files:
319
- - test/dummy/README.rdoc
320
- - test/dummy/bin/rails
322
+ - test/dummy/app/assets/javascripts/application.js
323
+ - test/dummy/app/assets/stylesheets/application.css
324
+ - test/dummy/app/controllers/application_controller.rb
325
+ - test/dummy/app/controllers/books_controller.rb
326
+ - test/dummy/app/helpers/application_helper.rb
327
+ - test/dummy/app/models/book.rb
328
+ - test/dummy/app/views/books/index.html.erb
329
+ - test/dummy/app/views/books/show.html.erb
330
+ - test/dummy/app/views/layouts/application.html.erb
321
331
  - test/dummy/bin/bundle
332
+ - test/dummy/bin/rails
322
333
  - test/dummy/bin/rake
323
- - test/dummy/config/environments/production.rb
324
- - test/dummy/config/environments/development.rb
325
- - test/dummy/config/environments/test.rb
326
- - test/dummy/config/database.yml
327
- - test/dummy/config/routes.rb
328
- - test/dummy/config/environment.rb
329
- - test/dummy/config/locales/en.yml
330
334
  - test/dummy/config/application.rb
331
335
  - test/dummy/config/boot.rb
336
+ - test/dummy/config/database.yml
337
+ - test/dummy/config/environment.rb
338
+ - test/dummy/config/environments/development.rb
339
+ - test/dummy/config/environments/production.rb
340
+ - test/dummy/config/environments/test.rb
341
+ - test/dummy/config/initializers/_rails_version_check.rb
342
+ - test/dummy/config/initializers/backtrace_silencers.rb
343
+ - test/dummy/config/initializers/filter_parameter_logging.rb
332
344
  - test/dummy/config/initializers/inflections.rb
333
345
  - test/dummy/config/initializers/mime_types.rb
334
346
  - test/dummy/config/initializers/secret_token.rb
335
347
  - test/dummy/config/initializers/session_store.rb
336
- - test/dummy/config/initializers/backtrace_silencers.rb
337
- - test/dummy/config/initializers/_rails_version_check.rb
338
348
  - test/dummy/config/initializers/wrap_parameters.rb
339
- - test/dummy/config/initializers/filter_parameter_logging.rb
349
+ - test/dummy/config/locales/en.yml
350
+ - test/dummy/config/routes.rb
340
351
  - test/dummy/config.ru
341
- - test/dummy/public/500.html
342
- - test/dummy/public/favicon.ico
343
- - test/dummy/public/422.html
344
- - test/dummy/public/404.html
345
- - test/dummy/log/test.log
346
- - test/dummy/db/migrate/20150312044151_add_service_id_to_books.rb
347
352
  - test/dummy/db/migrate/20140407202136_create_books.rb
348
- - test/dummy/db/test.sqlite3
353
+ - test/dummy/db/migrate/20150312044151_add_service_id_to_books.rb
349
354
  - test/dummy/db/schema.rb
355
+ - test/dummy/db/test.sqlite3
356
+ - test/dummy/log/test.log
357
+ - test/dummy/public/404.html
358
+ - test/dummy/public/422.html
359
+ - test/dummy/public/500.html
360
+ - test/dummy/public/favicon.ico
350
361
  - test/dummy/Rakefile
351
- - test/dummy/tmp/cache/assets/sprockets/v3.0/9r/9ryO-j4fsAK10KK2WOeTMoSpBDI8QFF0X-AOBKK4sCg.cache
352
- - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
353
- - test/dummy/tmp/cache/assets/sprockets/v3.0/41/41sUxvxjdn3MPEtIImoycVbO77HHfdVd3k8TyNXdUFo.cache
354
- - test/dummy/tmp/cache/assets/sprockets/v3.0/E_/E_c2e8hPMujv-LtIU3aYDGqLU-WX-Zu0ml0AhiLbyn4.cache
355
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache
356
- - test/dummy/tmp/cache/assets/sprockets/v3.0/eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache
357
- - test/dummy/tmp/cache/assets/sprockets/v3.0/fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache
362
+ - test/dummy/README.rdoc
363
+ - test/dummy/test/controllers/books_controller_test.rb
364
+ - test/dummy/test/factories/books.rb
365
+ - test/dummy/test/fixtures/books.yml
366
+ - test/dummy/test/integration/fastly_headers_test.rb
367
+ - test/dummy/test/lib/remove_set_cookie_header_test.rb
368
+ - test/dummy/test/models/book_test.rb
369
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5elmEBYOAeBEa5F9MDsG8Vj_9WWqc7o8Hw42OYYWbA.cache
370
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/3-/3-7KravYlGQZBVzSBqpK8NH7H5FPFImqgZbPpLzkibY.cache
371
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/56/563DpdnCkWU_z11LULObhzhiahFO_9MrCREP-Iwn3Ns.cache
372
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5Y/5YYrTIcxXmat9MY0-y2oOeRoeGcaEBQE8eNSNUNs4uk.cache
373
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ap/apxhDAFGDYZhWwm-AAduI4tTVXQl2Q4gf4iRxahu6eQ.cache
374
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4RW74oh7GbDlbR_h8EpiSCVLwoFoJc6_yFPMX-MIew.cache
375
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache
358
376
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Eb/EbXfq-oovVeszIdKutcukJSXHeqRwYbJ-9qTregaxqA.cache
377
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/f5/f5QLN3qk8zdPfzDAmO3fBk7EI5wnQPPGIxB7NfJwPxA.cache
378
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fl/fl4lmgkEOxrrWGN54hH7XJMUlofSEaRW8mtDOORDauA.cache
379
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fO/fOQ4VwebZm06EGnJGF3t41xSEWjINw7K8K0c661fsS8.cache
380
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fx/fx3rPZhYtZ_b06nyjb3Vg3Oo_CwokR-3f6wHHfJbAjA.cache
381
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Gi/Gi5UjUgfk3KwXqAJhOhOE_hB8R4yEqStuZU3ueHCIjM.cache
382
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
383
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/iL/iLlf0OYBIObGh5FL1Z94yHfaT0VEwmUwrKQy8RumHNc.cache
384
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache
385
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/nJ/nJdSqefQrxXTK8oJL0wXrVBkRHSAQSG_DM903MYwuJQ.cache
359
386
  - test/dummy/tmp/cache/assets/sprockets/v3.0/NY/NYdPPafeoELkwNL9xu1JigT5t29y2b-MALCbv1OIxho.cache
360
- - test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
361
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5o/5o-XEnJhOhBW-MnIC5fOi_NTgdPeXXtZZrNVj8Cdf3M.cache
362
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7m/7mRcex8wjAZw2AZrc82yurOufgURqJqbwnPlpMkV71g.cache
363
- - test/dummy/tmp/cache/assets/sprockets/v3.0/AA/AA6g-_d3UUwNrAL7nDqAsUcbCdqvHRDqzRPRUqrgNtE.cache
364
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache
365
- - test/dummy/tmp/cache/assets/sprockets/v3.0/Dk/Dk9lDBI53_lRry-WtKX8KS3I9m7EWlKHsUIZD_As0DQ.cache
366
- - test/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5elmEBYOAeBEa5F9MDsG8Vj_9WWqc7o8Hw42OYYWbA.cache
367
387
  - test/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
368
- - test/dummy/tmp/cache/assets/sprockets/v3.0/99/99RXuREqkVrlX_fspL_j2Mzxc3E9GKBSfahbI-Wouro.cache
369
- - test/dummy/tmp/cache/assets/sprockets/v3.0/2O/2Oyr5uw6kjUr6GdV_Wi30Ldq4FgCftnaTdyZGLbx2tQ.cache
370
- - test/dummy/tmp/cache/assets/sprockets/v3.0/ak/akSvUGUaxnoVGDWdSTnvrgDQRtEiEipDI3gbMG9ORr4.cache
371
- - test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
388
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/On/OnbAp_8mNBYHyRKoqQtDkyYEclreWvSjNkvOhSz5854.cache
372
389
  - test/dummy/tmp/cache/assets/sprockets/v3.0/Pd/PdjnoCi8wktBUZUMOWqhMhTI2A8IhvkS1GZM4fj9XhQ.cache
373
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHrKkHl6SYOhHWH6F-guhFIo6QPeiF_lJXwhFpUHYjE.cache
374
- - test/dummy/tmp/cache/assets/sprockets/v3.0/7u/7uSt7jd6jUV0YhcVKYB1UpkFZIkyHgw-NK8STsoT0LU.cache
375
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
376
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/i0/i0Rp0IHYI8Xg6oN-MSTZt-baJA9B5YKadke_OvHCVro.cache
377
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/vK/vKtOi9PRlc8Jiken1ttUaC1y1K8-u094TECIJ7p36zM.cache
378
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ip/IpivWhtqvjLZBi2uiZgB6EF-lvpixgKbgqWgQSPYiKM.cache
379
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/eg/egs5uvUmKXXzt_7ijw83HXtsBNjmBoUHZi04yUjRwJs.cache
380
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/fv/fvtRAjhX0lgj14-1cRWwZ0vYCJbr94eIWu-5Yb9mO-U.cache
381
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/C3/C3rk8xUNoa8cmSGWs1ffyoDf2SgdQ6k8XBNg24Q62Bk.cache
382
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
383
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/K9/K9tymHSX_qeP7TaTvPYnZXTtyiWfPx9n6ox4FWLwows.cache
390
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
391
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Q9/Q9aX1KWdegCSGcz3jVLmYajANawo_UxtPjo6Svi6Qbo.cache
392
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache
393
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache
394
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/V8/V8RTsWAOfmFest7YGDFoe-Ip5gkku7MsLDfj4cXvU6o.cache
395
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
396
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/X9/X9ugGBqzI13_Go3AgFeIjME2MnoIN7pl7r9yE_HetjQ.cache
397
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/y0/y0NVULQEh8PIFkI9iX-Qd9LKYskVZdrCgORAiYvlDfw.cache
398
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/YN/YN-mTVy6pZwLQT8mGIHhustDu1zGsxNgaoBTtgQccnA.cache
399
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZE/ZEeHavI75IZkVHwj6IiVfbo0U_7O8TeMae7xZb9c--0.cache
400
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ZM/ZMBjvICQqIJJf31vmmbfHU8IGgD8U5md5fm43bWttUQ.cache
384
401
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/0z/0zPByPUMxbKGUTnNsvprBG7Qi2KHuMkEt9aCmfg8zLo.cache
385
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wy/Wyfp_Ofm0EgjLdRvyTVctPn3576FkbiJpiTrVofJYAw.cache
386
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/5x/5xsbY4E33hzbojzz4WDjldfVGVG0JLLD-4duSLflPrI.cache
387
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
402
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/1V/1V50r2ynCtXM-1JstpZ02KEw8LLcrrUzz_crQlyzSI8.cache
403
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/2l/2li4cK3kTbQNFRAE8OASIhSREHTvAw4j1VohIE6k8_c.cache
388
404
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/5r/5rVqtZTEC9Slq7Co7N8t-FL7dUwbUYrrolEaVbQkUgU.cache
405
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/C3/C3rk8xUNoa8cmSGWs1ffyoDf2SgdQ6k8XBNg24Q62Bk.cache
406
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/cI/cIYDN6aa0eTLkCbpBjlZ_eJKjBrVk7Z4-wcz76fAIOk.cache
407
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/d5/d5Ntza-XiBMa4gyy61v_ar81HJ9kgbgrOXm0u-gr-eY.cache
408
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/FO/FO8_CwmlpVAQrQuUh_UWYkvQ8ke8EJrSvnuz_4TQYco.cache
409
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/GN/GNF6mVF2rEAgoPUfITqYF2QuC5rLr2H9kKkacK9-Evo.cache
410
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/hd/hdZgtKFDJBNN8l_C2-Jd2lSQp102WdxWZ2WSZwr3D0Y.cache
411
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
412
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Lq/LqPCOStArXCSHR8Hm2EMs1U5WwHBDrqok6xJVhMVEhA.cache
413
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/N7/N75az343ZrY0vGSnG9K43PBqR_VSp4CRxcxk_ReMEJg.cache
414
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/o5/o567s7LEvHvIbxMcu7zcDpQFL4dgXXnB8IK1bAUYUtQ.cache
415
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
389
416
  - test/dummy/tmp/cache/assets/test/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
390
- - test/dummy/tmp/cache/assets/test/sprockets/v3.0/q7/q7sN3M8FdRZqpapLdTHp0BLUpiRLsu2znsNkRUbRAm0.cache
391
- - test/dummy/app/assets/stylesheets/application.css
392
- - test/dummy/app/assets/javascripts/application.js
393
- - test/dummy/app/models/book.rb
394
- - test/dummy/app/helpers/application_helper.rb
395
- - test/dummy/app/views/layouts/application.html.erb
396
- - test/dummy/app/views/books/show.html.erb
397
- - test/dummy/app/views/books/index.html.erb
398
- - test/dummy/app/controllers/books_controller.rb
399
- - test/dummy/app/controllers/application_controller.rb
400
- - test/dummy/test/models/book_test.rb
401
- - test/dummy/test/lib/remove_set_cookie_header_test.rb
402
- - test/dummy/test/factories/books.rb
403
- - test/dummy/test/integration/fastly_headers_test.rb
404
- - test/dummy/test/controllers/books_controller_test.rb
405
- - test/dummy/test/fixtures/books.yml
406
- - test/test_helper.rb
407
- - test/fastly-rails/client_test.rb
417
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/qo/qoRIrbQ04gCn_t8W7rlzz7UF0ofOXMrikU7tjMAqcpc.cache
418
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJ/SJcGz-Jhwrks3Iq-v5Ka9MMsXYW23l6s4j24kjA2VF0.cache
419
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wh/WhoVKyBwt6xgbz-V4hTVD0Rd0pJzIlPNQnM10fUoNpA.cache
420
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wo/Wo9kX3iXR_wkJxOzBnSHnwXskSjKVqT4yPNQIatZwRo.cache
421
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Wy/Wyfp_Ofm0EgjLdRvyTVctPn3576FkbiJpiTrVofJYAw.cache
422
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/x5/x5wH3HRQz3WXNuSp9WfaiQ70TrA8EjQmjesbLTI2sSA.cache
423
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
424
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z4/Z4v1oTQgHNS1P0IOkT7dvD6div2-Ts106lMn7m0yxw4.cache
425
+ - test/fastly-rails/action_controller/api_test.rb
408
426
  - test/fastly-rails/active_record/purge_test.rb
409
427
  - test/fastly-rails/cache_control_headers_test.rb
428
+ - test/fastly-rails/client_test.rb
410
429
  - test/fastly-rails/configuration_test.rb
411
430
  - test/fastly-rails_test.rb
412
- has_rdoc:
431
+ - test/test_helper.rb