manage_cache 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/manage_cache/version.rb +1 -1
  3. data/lib/manage_cache.rb +70 -13
  4. data/test/dummy/app/controllers/shoes_controller.rb +9 -0
  5. data/test/dummy/app/models/shoe.rb +5 -1
  6. data/test/dummy/app/models/user.rb +2 -1
  7. data/test/dummy/app/views/shoes/index.html.erb +31 -0
  8. data/test/dummy/app/views/users/index.html.erb +32 -31
  9. data/test/dummy/db/development.sqlite3 +0 -0
  10. data/test/dummy/log/development.log +637 -0
  11. data/test/dummy/log/test.log +28824 -0
  12. data/test/dummy/test/controllers/shoes_controller_test.rb +32 -0
  13. data/test/dummy/test/controllers/users_controller_test.rb +27 -8
  14. data/test/dummy/test/models/shoe_test.rb +22 -0
  15. data/test/dummy/test/models/user_test.rb +1 -1
  16. data/test/dummy/tmp/cache/A4A/A50/spec%3Dshoe_color-shoe_id%3D1 +1 -0
  17. data/test/dummy/tmp/pids/server.pid +1 -1
  18. metadata +12 -102
  19. data/test/dummy/tmp/cache/2CC/2D0/views%2F +0 -2
  20. data/test/dummy/tmp/cache/527/491/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC +0 -2
  21. data/test/dummy/tmp/cache/528/731/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC +0 -2
  22. data/test/dummy/tmp/cache/529/781/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A58+UTC +0 -2
  23. data/test/dummy/tmp/cache/52D/8B1/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A19%3A28+UTC +0 -2
  24. data/test/dummy/tmp/cache/96B/891/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A15%3A40+UTC +0 -2
  25. data/test/dummy/tmp/cache/96F/8B1/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A57+UTC +0 -2
  26. data/test/dummy/tmp/cache/970/901/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A58+UTC +0 -2
  27. data/test/dummy/tmp/cache/sprockets/v3.0/09_lxM-eb2oUZWnlGLaq4F_i5h92ZObg36ae6gKq1i4.cache +0 -1
  28. data/test/dummy/tmp/cache/sprockets/v3.0/2sW6NMnj6fqDuDeMj9N8u0O_kfcyACbGT_bxWVLBSZ0.cache +0 -1
  29. data/test/dummy/tmp/cache/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
  30. data/test/dummy/tmp/cache/sprockets/v3.0/8Lqz2M_JZndvJcmnZET75uPOyo75Jv4B3i0ZQImFJlM.cache +0 -0
  31. data/test/dummy/tmp/cache/sprockets/v3.0/9MxgZ11k1FnO5lx1r1HHNz5GnkAF3P5DOpS8p2oMyZQ.cache +0 -1
  32. data/test/dummy/tmp/cache/sprockets/v3.0/9d-nHTd-aCK04uRrii3hSfpYzj5iP2Ob1d-_qWKjCek.cache +0 -1
  33. data/test/dummy/tmp/cache/sprockets/v3.0/CRKJnPJGBJ_Dy0-QfKhF5WPh6Gj5skuy0TXmBjMTSnQ.cache +0 -2
  34. data/test/dummy/tmp/cache/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  35. data/test/dummy/tmp/cache/sprockets/v3.0/Dl-NUisCUKKISrWE7M2oFXVpPFicurw2Va50_nNMy3k.cache +0 -0
  36. data/test/dummy/tmp/cache/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -2
  37. data/test/dummy/tmp/cache/sprockets/v3.0/GYYAJ3FkbQM0cLSTLqUzVyuWYL1B1AWg4FCEmXXUG9U.cache +0 -0
  38. data/test/dummy/tmp/cache/sprockets/v3.0/GkLvvxrkyX0_w9FNcSslwfEV_JzAAtRlVKM3dZAxI18.cache +0 -0
  39. data/test/dummy/tmp/cache/sprockets/v3.0/IcrjOgrUk68EJPgCdByEHzKfEKryUjeyKSWq-PEGf2E.cache +0 -0
  40. data/test/dummy/tmp/cache/sprockets/v3.0/K1DTLxe-bgF1wVbSJm2QUY_CMGj5J3FUTtHsoxl1EQc.cache +0 -1
  41. data/test/dummy/tmp/cache/sprockets/v3.0/K4HSx9qgV9xEpmTXd6xgKL4fYHWKC4MU_RY6n7TFk9Q.cache +0 -1
  42. data/test/dummy/tmp/cache/sprockets/v3.0/NwJZbK1pDbU-pMc7IsK2Rx1MwN4EaXyDMUKuzQCHPCw.cache +0 -1
  43. data/test/dummy/tmp/cache/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
  44. data/test/dummy/tmp/cache/sprockets/v3.0/SXVHiwpmgcQmM4FyGzKKwKiM3jCMr8EGhSJpQiC9wcQ.cache +0 -1
  45. data/test/dummy/tmp/cache/sprockets/v3.0/UBbOS5C2oSAcdKvW_Z-oEtU6_8rnuMx9M2G3o_5QN6s.cache +0 -1
  46. data/test/dummy/tmp/cache/sprockets/v3.0/Uviw7jE916HhqccasMRdQ5CTXoBqH7dxweEg_bsm3K0.cache +0 -1
  47. data/test/dummy/tmp/cache/sprockets/v3.0/VPOhaapUo-sv4VGkt6by3qUT2B4T2kSjaHb89uicvYU.cache +0 -0
  48. data/test/dummy/tmp/cache/sprockets/v3.0/a9sNeDvMqAwAX-rnnfZrdNjSIz_Ak1KVT1kNS8SeGas.cache +0 -1
  49. data/test/dummy/tmp/cache/sprockets/v3.0/eZXj2eM6sa6zSFHhekBC5TX_Pddob3sO7hyhYVAb0fg.cache +0 -2
  50. data/test/dummy/tmp/cache/sprockets/v3.0/evilMWS_uDxgvUtMe_HRyK3ZfZo7bBegojhsvLdjcKw.cache +0 -0
  51. data/test/dummy/tmp/cache/sprockets/v3.0/eyQ1Iet2dzYcWDsu5qBemC0D5l3jdLLgchA4fkh5nnc.cache +0 -0
  52. data/test/dummy/tmp/cache/sprockets/v3.0/g5ekayFy2lyNSg0qaf9pHIi9AUYJ8eKcPfhsV0yqkPU.cache +0 -1
  53. data/test/dummy/tmp/cache/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
  54. data/test/dummy/tmp/cache/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -2
  55. data/test/dummy/tmp/cache/sprockets/v3.0/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache +0 -2
  56. data/test/dummy/tmp/cache/sprockets/v3.0/iHYDh87b9nTCgd6e7YCtB9CqNPhoxyyqir0EhBx1-Rk.cache +0 -1
  57. data/test/dummy/tmp/cache/sprockets/v3.0/kyugOtp1okMz23E1fAOMqsyMHj1vAxVX-UWy0S4ZEAg.cache +0 -2
  58. data/test/dummy/tmp/cache/sprockets/v3.0/mXy3FNW22ItExIRbbqYnT6XBDj9QYoqBC8ZzyFWncGs.cache +0 -2
  59. data/test/dummy/tmp/cache/sprockets/v3.0/oiA-NPgVz4-xBX3Ri3o3lAS3l-EKuTmQ7OdbfrVdtAc.cache +0 -2
  60. data/test/dummy/tmp/cache/sprockets/v3.0/ovnZOq_jVOpE2KrlsIEIX-KoxHk-acnpn9KcSJbfkfw.cache +0 -0
  61. data/test/dummy/tmp/cache/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
  62. data/test/dummy/tmp/cache/sprockets/v3.0/r-A0ga7LeDzW9Vsra2ECnPQdYszihD4iU_kddis_m9c.cache +0 -2
  63. data/test/dummy/tmp/cache/sprockets/v3.0/rtcJ_islohXm8x0bqaTIpW2nOttNweCIQw0qzQkEabo.cache +0 -1
  64. data/test/dummy/tmp/cache/sprockets/v3.0/tI6TANdxXMulmZuDkMCGk02plL26Vj9VGCuNvCZ8SyY.cache +0 -1
  65. data/test/dummy/tmp/cache/sprockets/v3.0/tbLteZ12v3ZDVzL-ACWn314an41wFJYQx3GCldsqR-w.cache +0 -1
  66. data/test/dummy/tmp/cache/sprockets/v3.0/vftuHuDXEagG2jsCk15VnJkFiSbkIBPZ59tyv5e0XRo.cache +0 -0
  67. data/test/dummy/tmp/cache/sprockets/v3.0/ydw-EtO01i7QnaD3kHyY0f5ol82z0etd9JYXcNRT0SA.cache +0 -2
  68. data/test/dummy/tmp/cache/sprockets/v3.0/zehql4552SVo4rZUU8Bpz_cxFIk74U7tZNmhhxX89ew.cache +0 -0
@@ -0,0 +1,32 @@
1
+ require 'test_helper'
2
+
3
+ class ShoesControllerTest < ActionController::TestCase
4
+
5
+ def setup
6
+ # fixtures not working :(
7
+ #@hans = users(:hans)
8
+ @hans = User.create(name: 'Hans')
9
+ @xaver = User.create(name: 'Xaver')
10
+
11
+ @puma = Shoe.create(name: 'Puma', color: 'red', user_id: @hans.id)
12
+ @nike = Shoe.create(name: 'Nike', color: 'blue', user_id: @hans.id)
13
+ @saucony = Shoe.create(name: 'Saucony', color: 'yellow', user_id: @hans.id)
14
+
15
+ #Rails.cache.clear
16
+ end
17
+
18
+ def teardown
19
+ #Rails.cache.clear
20
+ end
21
+
22
+
23
+ test "shoes#index -cache should be updated after shoe update" do
24
+ get :index, page: 1
25
+ assert_not_nil(Rails.cache.read("views/#{@puma.cache_key_for(:shoes_index, page: 1)}"))
26
+
27
+ # without this sleep cache won`t be deleted in the next assertion
28
+ sleep 1
29
+ @puma.update_attribute(:color, 'violet')
30
+ assert_nil(Rails.cache.read("views/#{@puma.cache_key_for(:shoes_index, page: 1)}"))
31
+ end
32
+ end
@@ -12,11 +12,11 @@ class UsersControllerTest < ActionController::TestCase
12
12
  @nike = Shoe.create(name: 'Nike', color: 'blue', user_id: @hans.id)
13
13
  @saucony = Shoe.create(name: 'Saucony', color: 'yellow', user_id: @hans.id)
14
14
 
15
- #Rails.cache.clear
15
+ Rails.cache.clear
16
16
  end
17
17
 
18
18
  def teardown
19
- #Rails.cache.clear
19
+ Rails.cache.clear
20
20
  end
21
21
 
22
22
  test "users#show cache should be updated after user update" do
@@ -24,16 +24,12 @@ class UsersControllerTest < ActionController::TestCase
24
24
  old_cache_key = @hans.cache_key_for(:show)
25
25
  assert_match(/Hans/, Rails.cache.read("views/#{old_cache_key}"))
26
26
 
27
- sleep 1
28
27
  @hans.update(name: 'Peter')
29
28
  assert_nil(Rails.cache.read("views/#{old_cache_key}"))
30
29
  assert_nil(@hans.instance_variable_get("@cache_key_for_show"))
31
- new_cache_key = @hans.cache_key_for(:show)
32
- assert_not_equal(new_cache_key, old_cache_key)
33
- assert_not_nil(@hans.instance_variable_get("@cache_key_for_show"))
34
30
 
35
31
  get :show, {id: @hans.id}
36
- assert_match(/Peter/, Rails.cache.read("views/#{new_cache_key}"))
32
+ assert_match(/Peter/, Rails.cache.read("views/#{@hans.cache_key_for(:show)}"))
37
33
  end
38
34
 
39
35
 
@@ -46,7 +42,6 @@ class UsersControllerTest < ActionController::TestCase
46
42
 
47
43
  get :index
48
44
  assert_match(/is Peter/, Rails.cache.read("views/#{@hans.cache_key_for(:row_name)}"))
49
- get :index
50
45
  end
51
46
 
52
47
 
@@ -60,4 +55,28 @@ class UsersControllerTest < ActionController::TestCase
60
55
  get :index
61
56
  assert_match(/Puma: violet/, Rails.cache.read("views/#{@hans.shoes.last.try(:cache_key_for, :users_shoes)}"))
62
57
  end
58
+
59
+
60
+
61
+ test "users#index users_index-cache should be updated after user update" do
62
+ get :index
63
+ assert_match(/Hans/, Rails.cache.read("views/#{@hans.cache_key_for(:users_index)}"))
64
+
65
+ @hans.update(name: 'Peter')
66
+ assert_nil(Rails.cache.read("views/#{@hans.cache_key_for(:users_index)}"))
67
+
68
+ get :index
69
+ assert_match(/is Peter/, Rails.cache.read("views/#{@hans.cache_key_for(:users_index)}"))
70
+ end
71
+
72
+ test "users#index users_index-cache should be updated after shoe update" do
73
+ get :index
74
+ assert_match(/Puma: red/, Rails.cache.read("views/#{@hans.cache_key_for(:users_index)}"))
75
+
76
+ @puma.update(color: 'violet')
77
+ assert_nil(Rails.cache.read("views/#{@hans.shoes.last.try(:cache_key_for, :users_index)}"))
78
+
79
+ get :index
80
+ assert_match(/Puma: violet/, Rails.cache.read("views/#{@hans.shoes.last.try(:cache_key_for, :users_index)}"))
81
+ end
63
82
  end
@@ -0,0 +1,22 @@
1
+ require 'test_helper'
2
+
3
+ class ShoeTest < ActiveSupport::TestCase
4
+
5
+ def setup
6
+ @user = User.create(name: :hans)
7
+ @shoe = Shoe.create(name: 'Puma', color: 'red', user_id: @user.id)
8
+ end
9
+
10
+ test "cache will be deleted if specified attribute changed" do
11
+ Rails.cache.write @shoe.cache_key_for(:shoe_color), @shoe.color
12
+ assert_equal @shoe.color, Rails.cache.read(@shoe.cache_key_for(:shoe_color))
13
+ @shoe.update color: 'blue'
14
+ assert_nil Rails.cache.read @shoe.cache_key_for(:shoe_color)
15
+ end
16
+ test "cache will not be deleted if specified attribute did not change" do
17
+ Rails.cache.write @shoe.cache_key_for(:shoe_color), @shoe.color
18
+ assert_equal @shoe.color, Rails.cache.read(@shoe.cache_key_for(:shoe_color))
19
+ @shoe.update name: 'Nike'
20
+ assert_equal @shoe.color, Rails.cache.read(@shoe.cache_key_for(:shoe_color))
21
+ end
22
+ end
@@ -8,7 +8,7 @@ class UserTest < ActiveSupport::TestCase
8
8
  end
9
9
 
10
10
  test "cache_key_for should return the right key" do
11
- assert_equal @user.cache_key_for(:show), {spec: :show, user: @user.id, updated_at: @user.updated_at}.inject([]){ |mem, (k,v)| mem << "#{k}-#{v}" }.join('/')
11
+ assert_equal @user.cache_key_for(:show), {spec: :show, user: @user.id, updated_at: @user.updated_at}.inject([]){ |mem, (k,v)| mem << "#{k}=#{v}" }.join('-')
12
12
  end
13
13
 
14
14
  end
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry: @valueI"red:ET:@created_atf1453116877.7004755:@expires_in0
@@ -1 +1 @@
1
- 10324
1
+ 8960
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manage_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - cgregor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-14 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -62,11 +62,13 @@ files:
62
62
  - test/dummy/app/assets/stylesheets/shoes.css
63
63
  - test/dummy/app/assets/stylesheets/users.css
64
64
  - test/dummy/app/controllers/application_controller.rb
65
+ - test/dummy/app/controllers/shoes_controller.rb
65
66
  - test/dummy/app/controllers/users_controller.rb
66
67
  - test/dummy/app/helpers/application_helper.rb
67
68
  - test/dummy/app/models/shoe.rb
68
69
  - test/dummy/app/models/user.rb
69
70
  - test/dummy/app/views/layouts/application.html.erb
71
+ - test/dummy/app/views/shoes/index.html.erb
70
72
  - test/dummy/app/views/users/index.html.erb
71
73
  - test/dummy/app/views/users/show.html.erb
72
74
  - test/dummy/bin/bundle
@@ -103,60 +105,13 @@ files:
103
105
  - test/dummy/public/422.html
104
106
  - test/dummy/public/500.html
105
107
  - test/dummy/public/favicon.ico
108
+ - test/dummy/test/controllers/shoes_controller_test.rb
106
109
  - test/dummy/test/controllers/users_controller_test.rb
107
110
  - test/dummy/test/fixtures/shoes.yml
108
111
  - test/dummy/test/fixtures/users.yml
112
+ - test/dummy/test/models/shoe_test.rb
109
113
  - test/dummy/test/models/user_test.rb
110
- - test/dummy/tmp/cache/2CC/2D0/views%2F
111
- - test/dummy/tmp/cache/527/491/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC
112
- - test/dummy/tmp/cache/528/731/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC
113
- - test/dummy/tmp/cache/529/781/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A58+UTC
114
- - test/dummy/tmp/cache/52D/8B1/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A19%3A28+UTC
115
- - test/dummy/tmp/cache/96B/891/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A15%3A40+UTC
116
- - test/dummy/tmp/cache/96F/8B1/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A57+UTC
117
- - test/dummy/tmp/cache/970/901/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A58+UTC
118
- - test/dummy/tmp/cache/sprockets/v3.0/09_lxM-eb2oUZWnlGLaq4F_i5h92ZObg36ae6gKq1i4.cache
119
- - test/dummy/tmp/cache/sprockets/v3.0/2sW6NMnj6fqDuDeMj9N8u0O_kfcyACbGT_bxWVLBSZ0.cache
120
- - test/dummy/tmp/cache/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
121
- - test/dummy/tmp/cache/sprockets/v3.0/8Lqz2M_JZndvJcmnZET75uPOyo75Jv4B3i0ZQImFJlM.cache
122
- - test/dummy/tmp/cache/sprockets/v3.0/9MxgZ11k1FnO5lx1r1HHNz5GnkAF3P5DOpS8p2oMyZQ.cache
123
- - test/dummy/tmp/cache/sprockets/v3.0/9d-nHTd-aCK04uRrii3hSfpYzj5iP2Ob1d-_qWKjCek.cache
124
- - test/dummy/tmp/cache/sprockets/v3.0/CRKJnPJGBJ_Dy0-QfKhF5WPh6Gj5skuy0TXmBjMTSnQ.cache
125
- - test/dummy/tmp/cache/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
126
- - test/dummy/tmp/cache/sprockets/v3.0/Dl-NUisCUKKISrWE7M2oFXVpPFicurw2Va50_nNMy3k.cache
127
- - test/dummy/tmp/cache/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
128
- - test/dummy/tmp/cache/sprockets/v3.0/GYYAJ3FkbQM0cLSTLqUzVyuWYL1B1AWg4FCEmXXUG9U.cache
129
- - test/dummy/tmp/cache/sprockets/v3.0/GkLvvxrkyX0_w9FNcSslwfEV_JzAAtRlVKM3dZAxI18.cache
130
- - test/dummy/tmp/cache/sprockets/v3.0/IcrjOgrUk68EJPgCdByEHzKfEKryUjeyKSWq-PEGf2E.cache
131
- - test/dummy/tmp/cache/sprockets/v3.0/K1DTLxe-bgF1wVbSJm2QUY_CMGj5J3FUTtHsoxl1EQc.cache
132
- - test/dummy/tmp/cache/sprockets/v3.0/K4HSx9qgV9xEpmTXd6xgKL4fYHWKC4MU_RY6n7TFk9Q.cache
133
- - test/dummy/tmp/cache/sprockets/v3.0/NwJZbK1pDbU-pMc7IsK2Rx1MwN4EaXyDMUKuzQCHPCw.cache
134
- - test/dummy/tmp/cache/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
135
- - test/dummy/tmp/cache/sprockets/v3.0/SXVHiwpmgcQmM4FyGzKKwKiM3jCMr8EGhSJpQiC9wcQ.cache
136
- - test/dummy/tmp/cache/sprockets/v3.0/UBbOS5C2oSAcdKvW_Z-oEtU6_8rnuMx9M2G3o_5QN6s.cache
137
- - test/dummy/tmp/cache/sprockets/v3.0/Uviw7jE916HhqccasMRdQ5CTXoBqH7dxweEg_bsm3K0.cache
138
- - test/dummy/tmp/cache/sprockets/v3.0/VPOhaapUo-sv4VGkt6by3qUT2B4T2kSjaHb89uicvYU.cache
139
- - test/dummy/tmp/cache/sprockets/v3.0/a9sNeDvMqAwAX-rnnfZrdNjSIz_Ak1KVT1kNS8SeGas.cache
140
- - test/dummy/tmp/cache/sprockets/v3.0/eZXj2eM6sa6zSFHhekBC5TX_Pddob3sO7hyhYVAb0fg.cache
141
- - test/dummy/tmp/cache/sprockets/v3.0/evilMWS_uDxgvUtMe_HRyK3ZfZo7bBegojhsvLdjcKw.cache
142
- - test/dummy/tmp/cache/sprockets/v3.0/eyQ1Iet2dzYcWDsu5qBemC0D5l3jdLLgchA4fkh5nnc.cache
143
- - test/dummy/tmp/cache/sprockets/v3.0/g5ekayFy2lyNSg0qaf9pHIi9AUYJ8eKcPfhsV0yqkPU.cache
144
- - test/dummy/tmp/cache/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
145
- - test/dummy/tmp/cache/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
146
- - test/dummy/tmp/cache/sprockets/v3.0/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache
147
- - test/dummy/tmp/cache/sprockets/v3.0/iHYDh87b9nTCgd6e7YCtB9CqNPhoxyyqir0EhBx1-Rk.cache
148
- - test/dummy/tmp/cache/sprockets/v3.0/kyugOtp1okMz23E1fAOMqsyMHj1vAxVX-UWy0S4ZEAg.cache
149
- - test/dummy/tmp/cache/sprockets/v3.0/mXy3FNW22ItExIRbbqYnT6XBDj9QYoqBC8ZzyFWncGs.cache
150
- - test/dummy/tmp/cache/sprockets/v3.0/oiA-NPgVz4-xBX3Ri3o3lAS3l-EKuTmQ7OdbfrVdtAc.cache
151
- - test/dummy/tmp/cache/sprockets/v3.0/ovnZOq_jVOpE2KrlsIEIX-KoxHk-acnpn9KcSJbfkfw.cache
152
- - test/dummy/tmp/cache/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
153
- - test/dummy/tmp/cache/sprockets/v3.0/r-A0ga7LeDzW9Vsra2ECnPQdYszihD4iU_kddis_m9c.cache
154
- - test/dummy/tmp/cache/sprockets/v3.0/rtcJ_islohXm8x0bqaTIpW2nOttNweCIQw0qzQkEabo.cache
155
- - test/dummy/tmp/cache/sprockets/v3.0/tI6TANdxXMulmZuDkMCGk02plL26Vj9VGCuNvCZ8SyY.cache
156
- - test/dummy/tmp/cache/sprockets/v3.0/tbLteZ12v3ZDVzL-ACWn314an41wFJYQx3GCldsqR-w.cache
157
- - test/dummy/tmp/cache/sprockets/v3.0/vftuHuDXEagG2jsCk15VnJkFiSbkIBPZ59tyv5e0XRo.cache
158
- - test/dummy/tmp/cache/sprockets/v3.0/ydw-EtO01i7QnaD3kHyY0f5ol82z0etd9JYXcNRT0SA.cache
159
- - test/dummy/tmp/cache/sprockets/v3.0/zehql4552SVo4rZUU8Bpz_cxFIk74U7tZNmhhxX89ew.cache
114
+ - test/dummy/tmp/cache/A4A/A50/spec%3Dshoe_color-shoe_id%3D1
160
115
  - test/dummy/tmp/pids/server.pid
161
116
  - test/test_helper.rb
162
117
  homepage: https://github.com/grgr/manage_cache
@@ -188,6 +143,8 @@ test_files:
188
143
  - test/dummy/test/fixtures/users.yml
189
144
  - test/dummy/test/fixtures/shoes.yml
190
145
  - test/dummy/test/models/user_test.rb
146
+ - test/dummy/test/models/shoe_test.rb
147
+ - test/dummy/test/controllers/shoes_controller_test.rb
191
148
  - test/dummy/test/controllers/users_controller_test.rb
192
149
  - test/dummy/config.ru
193
150
  - test/dummy/README.rdoc
@@ -195,9 +152,11 @@ test_files:
195
152
  - test/dummy/log/test.log
196
153
  - test/dummy/app/models/user.rb
197
154
  - test/dummy/app/models/shoe.rb
155
+ - test/dummy/app/controllers/shoes_controller.rb
198
156
  - test/dummy/app/controllers/users_controller.rb
199
157
  - test/dummy/app/controllers/application_controller.rb
200
158
  - test/dummy/app/helpers/application_helper.rb
159
+ - test/dummy/app/views/shoes/index.html.erb
201
160
  - test/dummy/app/views/layouts/application.html.erb
202
161
  - test/dummy/app/views/users/index.html.erb
203
162
  - test/dummy/app/views/users/show.html.erb
@@ -240,56 +199,7 @@ test_files:
240
199
  - test/dummy/config/secrets.yml
241
200
  - test/dummy/config/locales/en.yml
242
201
  - test/dummy/config/boot.rb
243
- - test/dummy/tmp/cache/970/901/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A58+UTC
244
- - test/dummy/tmp/cache/96F/8B1/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A20%3A57+UTC
245
- - test/dummy/tmp/cache/528/731/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC
246
- - test/dummy/tmp/cache/52D/8B1/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A19%3A28+UTC
247
- - test/dummy/tmp/cache/527/491/views%2Fspec-row_name%2Fuser-1%2Fupdated_at-2016-01-14+10%3A20%3A57+UTC
248
- - test/dummy/tmp/cache/96B/891/views%2Fspec-users_shoes%2Fuser-1%2Flast_updated_shoe-2016-01-14+10%3A15%3A40+UTC
249
- - test/dummy/tmp/cache/529/781/views%2Fspec-row_name%2Fuser-2%2Fupdated_at-2016-01-14+10%3A20%3A58+UTC
250
- - test/dummy/tmp/cache/2CC/2D0/views%2F
251
- - test/dummy/tmp/cache/sprockets/v3.0/tI6TANdxXMulmZuDkMCGk02plL26Vj9VGCuNvCZ8SyY.cache
252
- - test/dummy/tmp/cache/sprockets/v3.0/iHYDh87b9nTCgd6e7YCtB9CqNPhoxyyqir0EhBx1-Rk.cache
253
- - test/dummy/tmp/cache/sprockets/v3.0/r-A0ga7LeDzW9Vsra2ECnPQdYszihD4iU_kddis_m9c.cache
254
- - test/dummy/tmp/cache/sprockets/v3.0/GkLvvxrkyX0_w9FNcSslwfEV_JzAAtRlVKM3dZAxI18.cache
255
- - test/dummy/tmp/cache/sprockets/v3.0/iDTnVSbZnIij5Xm4jkwCyIXAPDn8RwaRe5Ja8YPKibw.cache
256
- - test/dummy/tmp/cache/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
257
- - test/dummy/tmp/cache/sprockets/v3.0/zehql4552SVo4rZUU8Bpz_cxFIk74U7tZNmhhxX89ew.cache
258
- - test/dummy/tmp/cache/sprockets/v3.0/K1DTLxe-bgF1wVbSJm2QUY_CMGj5J3FUTtHsoxl1EQc.cache
259
- - test/dummy/tmp/cache/sprockets/v3.0/oiA-NPgVz4-xBX3Ri3o3lAS3l-EKuTmQ7OdbfrVdtAc.cache
260
- - test/dummy/tmp/cache/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
261
- - test/dummy/tmp/cache/sprockets/v3.0/rtcJ_islohXm8x0bqaTIpW2nOttNweCIQw0qzQkEabo.cache
262
- - test/dummy/tmp/cache/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
263
- - test/dummy/tmp/cache/sprockets/v3.0/g5ekayFy2lyNSg0qaf9pHIi9AUYJ8eKcPfhsV0yqkPU.cache
264
- - test/dummy/tmp/cache/sprockets/v3.0/eyQ1Iet2dzYcWDsu5qBemC0D5l3jdLLgchA4fkh5nnc.cache
265
- - test/dummy/tmp/cache/sprockets/v3.0/VPOhaapUo-sv4VGkt6by3qUT2B4T2kSjaHb89uicvYU.cache
266
- - test/dummy/tmp/cache/sprockets/v3.0/vftuHuDXEagG2jsCk15VnJkFiSbkIBPZ59tyv5e0XRo.cache
267
- - test/dummy/tmp/cache/sprockets/v3.0/09_lxM-eb2oUZWnlGLaq4F_i5h92ZObg36ae6gKq1i4.cache
268
- - test/dummy/tmp/cache/sprockets/v3.0/UBbOS5C2oSAcdKvW_Z-oEtU6_8rnuMx9M2G3o_5QN6s.cache
269
- - test/dummy/tmp/cache/sprockets/v3.0/tbLteZ12v3ZDVzL-ACWn314an41wFJYQx3GCldsqR-w.cache
270
- - test/dummy/tmp/cache/sprockets/v3.0/eZXj2eM6sa6zSFHhekBC5TX_Pddob3sO7hyhYVAb0fg.cache
271
- - test/dummy/tmp/cache/sprockets/v3.0/2sW6NMnj6fqDuDeMj9N8u0O_kfcyACbGT_bxWVLBSZ0.cache
272
- - test/dummy/tmp/cache/sprockets/v3.0/Uviw7jE916HhqccasMRdQ5CTXoBqH7dxweEg_bsm3K0.cache
273
- - test/dummy/tmp/cache/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
274
- - test/dummy/tmp/cache/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache
275
- - test/dummy/tmp/cache/sprockets/v3.0/8Lqz2M_JZndvJcmnZET75uPOyo75Jv4B3i0ZQImFJlM.cache
276
- - test/dummy/tmp/cache/sprockets/v3.0/a9sNeDvMqAwAX-rnnfZrdNjSIz_Ak1KVT1kNS8SeGas.cache
277
- - test/dummy/tmp/cache/sprockets/v3.0/kyugOtp1okMz23E1fAOMqsyMHj1vAxVX-UWy0S4ZEAg.cache
278
- - test/dummy/tmp/cache/sprockets/v3.0/IcrjOgrUk68EJPgCdByEHzKfEKryUjeyKSWq-PEGf2E.cache
279
- - test/dummy/tmp/cache/sprockets/v3.0/Dl-NUisCUKKISrWE7M2oFXVpPFicurw2Va50_nNMy3k.cache
280
- - test/dummy/tmp/cache/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
281
- - test/dummy/tmp/cache/sprockets/v3.0/K4HSx9qgV9xEpmTXd6xgKL4fYHWKC4MU_RY6n7TFk9Q.cache
282
- - test/dummy/tmp/cache/sprockets/v3.0/GYYAJ3FkbQM0cLSTLqUzVyuWYL1B1AWg4FCEmXXUG9U.cache
283
- - test/dummy/tmp/cache/sprockets/v3.0/ydw-EtO01i7QnaD3kHyY0f5ol82z0etd9JYXcNRT0SA.cache
284
- - test/dummy/tmp/cache/sprockets/v3.0/evilMWS_uDxgvUtMe_HRyK3ZfZo7bBegojhsvLdjcKw.cache
285
- - test/dummy/tmp/cache/sprockets/v3.0/ovnZOq_jVOpE2KrlsIEIX-KoxHk-acnpn9KcSJbfkfw.cache
286
- - test/dummy/tmp/cache/sprockets/v3.0/9d-nHTd-aCK04uRrii3hSfpYzj5iP2Ob1d-_qWKjCek.cache
287
- - test/dummy/tmp/cache/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
288
- - test/dummy/tmp/cache/sprockets/v3.0/CRKJnPJGBJ_Dy0-QfKhF5WPh6Gj5skuy0TXmBjMTSnQ.cache
289
- - test/dummy/tmp/cache/sprockets/v3.0/SXVHiwpmgcQmM4FyGzKKwKiM3jCMr8EGhSJpQiC9wcQ.cache
290
- - test/dummy/tmp/cache/sprockets/v3.0/NwJZbK1pDbU-pMc7IsK2Rx1MwN4EaXyDMUKuzQCHPCw.cache
291
- - test/dummy/tmp/cache/sprockets/v3.0/9MxgZ11k1FnO5lx1r1HHNz5GnkAF3P5DOpS8p2oMyZQ.cache
292
- - test/dummy/tmp/cache/sprockets/v3.0/mXy3FNW22ItExIRbbqYnT6XBDj9QYoqBC8ZzyFWncGs.cache
202
+ - test/dummy/tmp/cache/A4A/A50/spec%3Dshoe_color-shoe_id%3D1
293
203
  - test/dummy/tmp/pids/server.pid
294
204
  - test/cache_dumper_test.rb
295
205
  has_rdoc:
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"
2
- :ET:@created_atf1452766857.98303:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"$ nice name is Peter
2
- :ET:@created_atf1452766857.9888785:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"$ nice name is Xaver
2
- :ET:@created_atf1452766857.98162:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"$ nice name is Xaver
2
- :ET:@created_atf1452766858.011325:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"# nice name is Karl
2
- :ET:@created_atf1452766781.7273736:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"+ Puma: red,Saucony: violet
2
- :ET:@created_atf1452766781.7300777:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"6 Puma: red,Nike: blue,Saucony: yellow
2
- :ET:@created_atf1452766857.9801576:@expires_in0
@@ -1,2 +0,0 @@
1
- o: ActiveSupport::Cache::Entry: @valueI"9 Puma: violet,Nike: blue,Saucony: yellow
2
- :ET:@created_atf1452766858.019319:@expires_in0
@@ -1 +0,0 @@
1
- "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=32d2173eac66baad5da4b6be094e82f52d0a7dd81c23a5030e8f4cdc19e22996:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"6file-digest://app/assets/stylesheets/scaffold.css;TTI"3file-digest://app/assets/stylesheets/shoes.css;TTI"3file-digest://app/assets/stylesheets/users.css;TTI")file-digest://app/assets/stylesheets;TT
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=424ecf76511298788b50844714713b4be19382cc07e58332f332ba2a02eaee65:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=7fc2837d99733170b96ceb19a916b19780fa85b6f9204c3e6f02565c44582e14:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/users.js;TT
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{I"environment-version:ETTI"environment-paths;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"6file-digest://app/assets/stylesheets/scaffold.css;TTI"3file-digest://app/assets/stylesheets/shoes.css;TTI"3file-digest://app/assets/stylesheets/users.css;TTI")file-digest://app/assets/stylesheets;TT
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"6file-digest://app/assets/stylesheets/scaffold.css;TT
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/shoes.css?type=text/css&pipeline=self&id=27b5d46186b2acef7b881b866f3aeae0d036790ec9e0a8b49321f18f320414e7:ET
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=d10497d82046100397094db8d59c303a6101bedcd73c982a9f4f25134fa129f0:ET
@@ -1 +0,0 @@
1
- "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=b81c322dba4256331d7edf148fc2251aa25abd8a21b1ec3e31bee61bc627bc5e:ET
@@ -1 +0,0 @@
1
- "%��A�I8���߅�u7�!��H���j���\��|x
@@ -1 +0,0 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=48a09259b227b612ffb20338bbdd30492ef009c1ee4957bd86f751c56a77e97d:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/users.js?type=application/javascript&pipeline=self&id=f538ecbb1ea350d59ef778c561964229c5cf4a74b2de9e4eff68723ef419590f:ET
@@ -1,2 +0,0 @@
1
- "%K��P�Yj �
2
- 3�]hG�f&?���L�
@@ -1 +0,0 @@
1
- "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTI"2file-digest://app/assets/javascripts/shoes.js;TTI"2file-digest://app/assets/javascripts/users.js;TT
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"3file-digest://app/assets/stylesheets/users.css;TT
@@ -1 +0,0 @@
1
- "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -1,2 +0,0 @@
1
- "%P�
2
- Z�)VF���]S�J��4��~p��v,�?:
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"2file-digest://app/assets/javascripts/shoes.js;TT
@@ -1,2 +0,0 @@
1
- "%����͹mm�
2
- a�l�|a56���v�6}��(&5
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"3file-digest://app/assets/stylesheets/shoes.css;TT
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/scaffold.css?type=text/css&pipeline=self&id=e00394e73571b507509174c03bc66ae848c035851cbd0cfecee376b97339809d:ET
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/users.css?type=text/css&pipeline=self&id=94fd1c57d94f4f90d874716974c48c406e5a35a8530eaf6718416c999df59998:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/shoes.js?type=application/javascript&pipeline=self&id=8629305f4b69cb2e3ca6221642d0c56cae5a75df416826983ff074bbbae6640c:ET
@@ -1,2 +0,0 @@
1
- "%����͹mm�
2
- a�l�|a56���v�6}��(&5