cookie_tracker 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,7 +1,8 @@
1
- # Cookie Tracker Gem
1
+ # Cookie Tracker Gem [![Build Status](https://secure.travis-ci.org/DanKnox/CookieTracker.png)](https://secure.travis-ci.org/DanKnox/CookieTracker.png)
2
2
 
3
- The cookie_tracker gem allows you to declare a hash of parameters along with default values that you wish to be loaded/stored in the user's cookies during each page load. Each parameter will be loaded into it's own instance variable of the same name for easy access in controllers and views. If the parameter is passed in the params[] hash, the new value will automatically be stored in the correct cookie and replace the old or default value. This makes it easy to track various options that a user can select on a page, such as items per page, search queries, and custom display settings. If a user clicks off to another page on your site, their settings will be remembered when they return.
3
+ The cookie_tracker gem allows you to declare a hash of parameters along with default values that you wish to be loaded/stored in the user's cookies during each page load. Each parameter will be loaded into it's own instance variable of the same name for easy access in controllers and views. If the parameter is passed in the params[] hash, the new value will automatically be stored in the correct cookie and replace the old or default value. This makes it easy to track various options that a user can select on a page, such as items per page, search queries, and custom display settings. If a user clicks off to another page on your site, their settings will be remembered when they return. CookieTracker also supports storing the values in the session store if that's what you prefer. You can override the default cookie options by creating an initializer.
4
4
 
5
+ Here is a link to the rubydoc documentation if you are interested: [Rdoc Documentation](http://rubydoc.info/github/DanKnox/CookieTracker/master/frames)
5
6
  ## Installation
6
7
 
7
8
  **Rails 3 Only:** Add the following to your Gemfile and run the `bundle` command to install:
@@ -12,6 +13,23 @@ gem 'cookie_tracker'
12
13
 
13
14
  **Requires Ruby 1.9.2 or later.**
14
15
 
16
+ ## Configuration
17
+
18
+ You can override the default options for the cookie creation (lifetime and domain) by creating an initializer file in your application's `config/initializers/` directory:
19
+
20
+ ````ruby
21
+ # /conf/initializers/cookie_store.rb
22
+ #
23
+ # Defaults:
24
+ # :cookie_expire_date = 1.day.from_now
25
+ # :custom_domain = nil
26
+
27
+ CookieTracker.setup do |config|
28
+ config[:cookie_expire_date] = 1.year.from_now
29
+ config[:custom_domain] = 'localhost'
30
+ end
31
+ ````
32
+
15
33
  ## Usage
16
34
 
17
35
  This gem supplies a class method available in your controllers named `initialize_cookie_tracker`
@@ -20,26 +38,77 @@ You can place the `initialize_cookie_tracker` method inside a `before_filter` me
20
38
 
21
39
  ````ruby
22
40
  ArticlesController < ApplicationController::Base
23
- before_filter :define_cookie_tracker
41
+ before_filter :define_cookie_tracker
42
+
43
+ def index
44
+ end
24
45
 
25
- private
46
+ private
26
47
 
27
- def define_cookie_tracker
28
- initialize_cookie_tracker(:per_page => 10, :search_query => nil, :organize_by => 'author', :filter_by_month => nil)
29
- end
48
+ def define_cookie_tracker
49
+ initialize_cookie_tracker(:per_page => 10, :search_query => nil, :organize_by => 'author', :filter_by_month => nil)
50
+ end
51
+ end
30
52
  ````
31
53
 
32
- Now you will have the following instance variables available in your controller and views:
54
+ Now you will have the following instance variables and cookies available in your controller and views:
33
55
 
34
56
  ````ruby
35
- puts @per_page
36
- =>10
37
- puts @search_query
38
- =>nil
39
- @organize_by
40
- =>'author'
41
- @filter_by_month
42
- =>nil
57
+ puts @per_page
58
+ =>10
59
+ puts @search_query
60
+ =>nil
61
+ @organize_by
62
+ =>'author'
63
+ @filter_by_month
64
+ =>nil
65
+ puts cookies[:per_page]
66
+ =>10
67
+ puts cookies[:search_query]
68
+ =>nil
69
+ puts cookies[:organize_by]
70
+ =>'author'
71
+ puts cookies[:filter_by_month]
72
+ =>nil
73
+ ````
74
+
75
+ CookieTracker will watch the <tt>params[]</tt> hash and update the cookies and instance variables when a parameter matching the cookie name is submitted.
76
+
77
+ ````erb
78
+ Example Request:
79
+ get '/articles?per_page=15&organize_by=date'
80
+ ````
81
+
82
+ Now the instance variables and cookies will be updated in your controller and views:
83
+
84
+ ````ruby
85
+ @per_page == '15'
86
+ => true
87
+ @organize_by == 'date'
88
+ => true
89
+ cookies[:per_page] == '15'
90
+ => true
91
+ cookies[:organize_by] == 'date'
92
+ => true
93
+ ````
94
+
95
+ If you prefer to use the session store instead of cookies, you can use the `initialize_session_tracker` method. The two methods function close to identically but persist your values in the appropriate locations.
96
+
97
+ Example of using the session store:
98
+
99
+ ````ruby
100
+ ArticlesController < ApplicationController::Base
101
+ before_filter :define_cookie_tracker
102
+
103
+ def index
104
+ end
105
+
106
+ private
107
+
108
+ def define_cookie_tracker
109
+ initialize_session_tracker(:per_page => 10, :search_query => nil, :organize_by => 'author', :filter_by_month => nil)
110
+ end
111
+ end
43
112
  ````
44
113
 
45
114
  You will get the most bang for your buck if you use these instance variables as the values for various configuration options in your views. Any time a user changes the option from a form or drop down menu, the cookie and instance variable will be updated accordingly:
@@ -55,6 +124,6 @@ Now when a user makes a change to one of these form inputs, the change will be a
55
124
 
56
125
  ## Development
57
126
 
58
- If you have any questions or find any bugs, please post them on the [issue tracker](https://github.com/DanKnox/Settings-Cookies/issues). Feel free to fork the project and submit any changes you can think of. The tests are developed using Test::Unit and executed by running the `bundle` and `rake` commands.
127
+ If you have any questions or find any bugs, please post them on the [issue tracker](https://github.com/DanKnox/CookieTracker/issues). Feel free to fork the project and submit any changes you can think of. The tests are developed using Test::Unit and executed by running the `bundle` and `rake` commands.
59
128
 
60
129
  This gem is created and maintained by Dan Knox under the MIT license.
@@ -2,4 +2,13 @@ require 'cookie_tracker/version'
2
2
  require 'cookie_tracker/controller_additions'
3
3
  require 'cookie_tracker/core_ext'
4
4
  module CookieTracker
5
+ @configuration = Hash.new
6
+
7
+ def self.setup
8
+ yield @configuration
9
+ end
10
+
11
+ def self.configuration
12
+ @configuration
13
+ end
5
14
  end
@@ -1,10 +1,55 @@
1
1
  module CookieTracker
2
+ # == Description
3
+ # The ControllerAdditions module is mixed in to ActionController::Base providing the <tt>initialize_cookie_tracker</tt> instance method for use in your controllers.
4
+ #
5
+ # The <tt>initialize_session_tracker</tt> method works identically to the <tt>initialize_cookie_tracker</tt> method but stores values in the session instead of cookies.
6
+ #
7
+ # == Usage
8
+ # To initialize the various cookies that you wish to track, execute the method in a before_filter call.
9
+ #
10
+ # ArticlesController < ApplicationController
11
+ # before_filter :define_cookies_to_track
12
+ #
13
+ # def index
14
+ # end
15
+ #
16
+ # def define_cookies_to_track
17
+ # initialize_cookie_tracker(:cookie_one => 'initial_value', :sort_by => 'date')
18
+ # end
19
+ #
20
+ # This will create instance variables and cookies that match the key names from your hash. CookieTracker will track the <tt>params[]</tt> hash and these instance variables
21
+ # and cookies will be updated when new values are sent via the request.
22
+ #
23
+ # @cookie_one == 'initial_value'
24
+ # => true
25
+ # @sort_by == 'date'
26
+ # => true
27
+ # cookies[:cookie_one] == 'initial_value'
28
+ # => true
29
+ # cookies[:sort_by] == 'date'
30
+ # => true
31
+ #
2
32
  module ControllerAdditions
3
33
  def initialize_cookie_tracker(parameters={})
34
+ expire_date = CookieTracker.configuration[:cookie_expire_date] || 1.days.from_now
35
+ custom_domain = CookieTracker.configuration[:cookie_tracker_custom_domain] || nil
36
+
4
37
  parameters.each do |setting,value|
5
38
  cookies[setting].nil? ? instance_variable_set("@#{setting}",value) : instance_variable_set("@#{setting}",cookies[setting])
6
39
  instance_variable_set("@#{setting}",params[setting].squish) unless params[setting].nil?
7
- cookies[setting] = instance_variable_get("@#{setting}")
40
+ cookies[setting] = {
41
+ :value => instance_variable_get("@#{setting}"),
42
+ :expires => expire_date,
43
+ :domain => custom_domain
44
+ }
45
+ end
46
+ end
47
+
48
+ def initialize_session_tracker(parameters={})
49
+ parameters.each do |setting,value|
50
+ session[setting].nil? ? instance_variable_set("@#{setting}",value) : instance_variable_set("@#{setting}",session[setting])
51
+ instance_variable_set("@#{setting}",params[setting].squish) unless params[setting].nil?
52
+ session[setting] = instance_variable_get("@#{setting}")
8
53
  end
9
54
  end
10
55
  end
@@ -1,3 +1,3 @@
1
1
  module CookieTracker
2
- VERSION = "1.0.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -15,24 +15,45 @@ class CookieControllerTest < ActionController::TestCase
15
15
  assert_equal 'test_value', cookies['test_two']
16
16
  end
17
17
 
18
- test "should have the correct instance variables" do
18
+ test "initialize_cookie_tracker should set the correct instance variables" do
19
19
  get :index
20
20
 
21
21
  assert_equal 'this is a test', assigns(:test_one)
22
22
  assert_equal 'test_value', assigns(:test_two)
23
23
  end
24
24
 
25
- test "should update the instance variables when given new values via params" do
25
+ test "initialize_cookie_tracker should update the instance variables when given new values via params" do
26
26
  get :index, :test_one => 'new_value', :test_two => 'second_new_value'
27
27
 
28
28
  assert_equal 'new_value', assigns(:test_one)
29
29
  assert_equal 'second_new_value', assigns(:test_two)
30
30
  end
31
31
 
32
- test "should update the cookies when given new values via params" do
32
+ test "initialize_cookie_tracker should update the cookies when given new values via params" do
33
33
  get :index, :test_one => 'new_value', :test_two => 'second_new_value'
34
34
 
35
35
  assert_equal 'new_value', cookies['test_one']
36
36
  assert_equal 'second_new_value', cookies['test_two']
37
37
  end
38
+
39
+ test "initialize_session_tracker should set the correct instance variables" do
40
+ get :index
41
+
42
+ assert_equal 'test_one', assigns(:session_variable)
43
+ assert_equal 'test_two', assigns(:session_two)
44
+ end
45
+
46
+ test "initialize_session_tracker should update the instance variables when given new values via params" do
47
+ get :index, :session_variable => 'session_new_value', :session_two => 'session_second_new_value'
48
+
49
+ assert_equal 'session_new_value', assigns(:session_variable)
50
+ assert_equal 'session_second_new_value', assigns(:session_two)
51
+ end
52
+
53
+ test "initialize_session_tracker should update the session when given new values via params" do
54
+ get :index, :session_variable => 'session_new_value', :session_two => 'session_second_new_value'
55
+
56
+ assert_equal 'session_new_value', session['session_variable']
57
+ assert_equal 'session_second_new_value', session['session_two']
58
+ end
38
59
  end
@@ -4,4 +4,13 @@ class CookieTrackerTest < ActiveSupport::TestCase
4
4
  test "initialize_cookie_tracker method should be included in ActionController::Base" do
5
5
  assert_includes ApplicationController.instance_methods, :initialize_cookie_tracker
6
6
  end
7
+
8
+ test "initialize_session_tracker method should be included in ActionController::Base" do
9
+ assert_includes ApplicationController.instance_methods, :initialize_session_tracker
10
+ end
11
+
12
+ test "configuration settings in application.rb should be set correctly" do
13
+ assert_equal CookieTracker.configuration[:cookie_expire_date].to_date, 1.year.from_now.to_date
14
+ assert_equal CookieTracker.configuration[:custom_domain], 'localhost'
15
+ end
7
16
  end
@@ -8,6 +8,7 @@ class CookieController < ApplicationController
8
8
 
9
9
  def load_settings_cookies
10
10
  initialize_cookie_tracker(:test_one => 'this is a test', :test_two => 'test_value', :hello => 'HELLO!')
11
+ initialize_session_tracker(:session_variable => 'test_one', :session_two => 'test_two', :hello_session => 'HELLO!')
11
12
  end
12
13
 
13
14
  end
@@ -40,6 +40,8 @@ module Dummy
40
40
 
41
41
  # Version of your assets, change this if you want to expire all your assets
42
42
  config.assets.version = '1.0'
43
+
44
+ config.cookie_tracker_expire_date = '1.hours.from_now'
43
45
  end
44
46
  end
45
47
 
@@ -14,9 +14,8 @@ development:
14
14
  # Do not set this db to the same as development or production.
15
15
  test:
16
16
  adapter: sqlite3
17
- database: db/test.sqlite3
18
- pool: 5
19
- timeout: 5000
17
+ database: ":memory:"
18
+ timeout: 500
20
19
 
21
20
  production:
22
21
  adapter: sqlite3
@@ -0,0 +1,8 @@
1
+ # Defaults:
2
+ # :cookie_expire_date = 1.day.from_now
3
+ # :custom_domain = nil
4
+
5
+ CookieTracker.setup do |config|
6
+ config[:cookie_expire_date] = 1.year.from_now
7
+ config[:custom_domain] = 'localhost'
8
+ end
@@ -1,6 +1,6 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
3
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
4
 
5
5
  # Use the database for sessions instead of the cookie-based default,
6
6
  # which shouldn't be used to store highly confidential information
@@ -220,3 +220,433 @@ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
220
220
  Processing by CookieController#index as HTML
221
221
  Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
222
222
  Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
223
+ Processing by CookieController#index as HTML
224
+ Rendered cookie/index.html.erb within layouts/application (5.0ms)
225
+ Completed 200 OK in 48ms (Views: 48.0ms | ActiveRecord: 0.0ms)
226
+ Processing by CookieController#index as HTML
227
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
228
+ Processing by CookieController#index as HTML
229
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
230
+ Processing by CookieController#index as HTML
231
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
232
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
233
+ Processing by CookieController#index as HTML
234
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
235
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
236
+ Processing by CookieController#index as HTML
237
+ Rendered cookie/index.html.erb within layouts/application (4.9ms)
238
+ Completed 200 OK in 38ms (Views: 37.4ms | ActiveRecord: 0.0ms)
239
+ Processing by CookieController#index as HTML
240
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
241
+ Processing by CookieController#index as HTML
242
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
243
+ Processing by CookieController#index as HTML
244
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
245
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
246
+ Processing by CookieController#index as HTML
247
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
248
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
249
+ Processing by CookieController#index as HTML
250
+ Rendered cookie/index.html.erb within layouts/application (4.6ms)
251
+ Completed 200 OK in 36ms (Views: 36.2ms | ActiveRecord: 0.0ms)
252
+ Processing by CookieController#index as HTML
253
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
254
+ Processing by CookieController#index as HTML
255
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
256
+ Processing by CookieController#index as HTML
257
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
258
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
259
+ Processing by CookieController#index as HTML
260
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
261
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
262
+ Processing by CookieController#index as HTML
263
+ Rendered cookie/index.html.erb within layouts/application (17.2ms)
264
+ Completed 200 OK in 94ms (Views: 94.0ms | ActiveRecord: 0.0ms)
265
+ Processing by CookieController#index as HTML
266
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
267
+ Processing by CookieController#index as HTML
268
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
269
+ Processing by CookieController#index as HTML
270
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
271
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
272
+ Processing by CookieController#index as HTML
273
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
274
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
275
+ Processing by CookieController#index as HTML
276
+ Completed 500 Internal Server Error in 0ms
277
+ Processing by CookieController#index as HTML
278
+ Completed 500 Internal Server Error in 0ms
279
+ Processing by CookieController#index as HTML
280
+ Completed 500 Internal Server Error in 0ms
281
+ Processing by CookieController#index as HTML
282
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
283
+ Completed 500 Internal Server Error in 0ms
284
+ Processing by CookieController#index as HTML
285
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
286
+ Completed 500 Internal Server Error in 0ms
287
+ Processing by CookieController#index as HTML
288
+ Completed 500 Internal Server Error in 0ms
289
+ Processing by CookieController#index as HTML
290
+ Completed 500 Internal Server Error in 0ms
291
+ Processing by CookieController#index as HTML
292
+ Completed 500 Internal Server Error in 0ms
293
+ Processing by CookieController#index as HTML
294
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
295
+ Completed 500 Internal Server Error in 0ms
296
+ Processing by CookieController#index as HTML
297
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
298
+ Completed 500 Internal Server Error in 0ms
299
+ Processing by CookieController#index as HTML
300
+ Completed 500 Internal Server Error in 0ms
301
+ Processing by CookieController#index as HTML
302
+ Completed 500 Internal Server Error in 0ms
303
+ Processing by CookieController#index as HTML
304
+ Completed 500 Internal Server Error in 0ms
305
+ Processing by CookieController#index as HTML
306
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
307
+ Completed 500 Internal Server Error in 0ms
308
+ Processing by CookieController#index as HTML
309
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
310
+ Completed 500 Internal Server Error in 0ms
311
+ Processing by CookieController#index as HTML
312
+ Completed 500 Internal Server Error in 0ms
313
+ Processing by CookieController#index as HTML
314
+ Completed 500 Internal Server Error in 0ms
315
+ Processing by CookieController#index as HTML
316
+ Completed 500 Internal Server Error in 0ms
317
+ Processing by CookieController#index as HTML
318
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
319
+ Completed 500 Internal Server Error in 0ms
320
+ Processing by CookieController#index as HTML
321
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
322
+ Completed 500 Internal Server Error in 0ms
323
+ Processing by CookieController#index as HTML
324
+ Completed 500 Internal Server Error in 1ms
325
+ Processing by CookieController#index as HTML
326
+ Completed 500 Internal Server Error in 0ms
327
+ Processing by CookieController#index as HTML
328
+ Completed 500 Internal Server Error in 0ms
329
+ Processing by CookieController#index as HTML
330
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
331
+ Completed 500 Internal Server Error in 0ms
332
+ Processing by CookieController#index as HTML
333
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
334
+ Completed 500 Internal Server Error in 0ms
335
+ Processing by CookieController#index as HTML
336
+ Completed 500 Internal Server Error in 1ms
337
+ Processing by CookieController#index as HTML
338
+ Completed 500 Internal Server Error in 0ms
339
+ Processing by CookieController#index as HTML
340
+ Completed 500 Internal Server Error in 0ms
341
+ Processing by CookieController#index as HTML
342
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
343
+ Completed 500 Internal Server Error in 0ms
344
+ Processing by CookieController#index as HTML
345
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
346
+ Completed 500 Internal Server Error in 0ms
347
+ Processing by CookieController#index as HTML
348
+ Completed 500 Internal Server Error in 0ms
349
+ Processing by CookieController#index as HTML
350
+ Completed 500 Internal Server Error in 0ms
351
+ Processing by CookieController#index as HTML
352
+ Completed 500 Internal Server Error in 0ms
353
+ Processing by CookieController#index as HTML
354
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
355
+ Completed 500 Internal Server Error in 0ms
356
+ Processing by CookieController#index as HTML
357
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
358
+ Completed 500 Internal Server Error in 0ms
359
+ Processing by CookieController#index as HTML
360
+ Completed 500 Internal Server Error in 0ms
361
+ Processing by CookieController#index as HTML
362
+ Completed 500 Internal Server Error in 0ms
363
+ Processing by CookieController#index as HTML
364
+ Completed 500 Internal Server Error in 0ms
365
+ Processing by CookieController#index as HTML
366
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
367
+ Completed 500 Internal Server Error in 0ms
368
+ Processing by CookieController#index as HTML
369
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
370
+ Completed 500 Internal Server Error in 0ms
371
+ Processing by CookieController#index as HTML
372
+ Completed 500 Internal Server Error in 0ms
373
+ Processing by CookieController#index as HTML
374
+ Completed 500 Internal Server Error in 0ms
375
+ Processing by CookieController#index as HTML
376
+ Completed 500 Internal Server Error in 0ms
377
+ Processing by CookieController#index as HTML
378
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
379
+ Completed 500 Internal Server Error in 0ms
380
+ Processing by CookieController#index as HTML
381
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
382
+ Completed 500 Internal Server Error in 0ms
383
+ Processing by CookieController#index as HTML
384
+ Completed 500 Internal Server Error in 0ms
385
+ Processing by CookieController#index as HTML
386
+ Completed 500 Internal Server Error in 0ms
387
+ Processing by CookieController#index as HTML
388
+ Completed 500 Internal Server Error in 0ms
389
+ Processing by CookieController#index as HTML
390
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
391
+ Completed 500 Internal Server Error in 0ms
392
+ Processing by CookieController#index as HTML
393
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
394
+ Completed 500 Internal Server Error in 0ms
395
+ Processing by CookieController#index as HTML
396
+ Completed 500 Internal Server Error in 0ms
397
+ Processing by CookieController#index as HTML
398
+ Completed 500 Internal Server Error in 0ms
399
+ Processing by CookieController#index as HTML
400
+ Completed 500 Internal Server Error in 0ms
401
+ Processing by CookieController#index as HTML
402
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
403
+ Completed 500 Internal Server Error in 0ms
404
+ Processing by CookieController#index as HTML
405
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
406
+ Completed 500 Internal Server Error in 0ms
407
+ Processing by CookieController#index as HTML
408
+ Completed 500 Internal Server Error in 0ms
409
+ Processing by CookieController#index as HTML
410
+ Completed 500 Internal Server Error in 0ms
411
+ Processing by CookieController#index as HTML
412
+ Completed 500 Internal Server Error in 0ms
413
+ Processing by CookieController#index as HTML
414
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
415
+ Completed 500 Internal Server Error in 0ms
416
+ Processing by CookieController#index as HTML
417
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
418
+ Completed 500 Internal Server Error in 0ms
419
+ Processing by CookieController#index as HTML
420
+ Completed 500 Internal Server Error in 3ms
421
+ Processing by CookieController#index as HTML
422
+ Completed 500 Internal Server Error in 2ms
423
+ Processing by CookieController#index as HTML
424
+ Completed 500 Internal Server Error in 17ms
425
+ Processing by CookieController#index as HTML
426
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
427
+ Completed 500 Internal Server Error in 3ms
428
+ Processing by CookieController#index as HTML
429
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
430
+ Completed 500 Internal Server Error in 2ms
431
+ Processing by CookieController#index as HTML
432
+ Rendered cookie/index.html.erb within layouts/application (5.1ms)
433
+ Completed 200 OK in 88ms (Views: 87.7ms | ActiveRecord: 0.0ms)
434
+ Processing by CookieController#index as HTML
435
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
436
+ Processing by CookieController#index as HTML
437
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
438
+ Processing by CookieController#index as HTML
439
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
440
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
441
+ Processing by CookieController#index as HTML
442
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
443
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
444
+ Processing by CookieController#index as HTML
445
+ Rendered cookie/index.html.erb within layouts/application (11.1ms)
446
+ Completed 200 OK in 68ms (Views: 68.0ms | ActiveRecord: 0.0ms)
447
+ Processing by CookieController#index as HTML
448
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
449
+ Processing by CookieController#index as HTML
450
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
451
+ Processing by CookieController#index as HTML
452
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
453
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
454
+ Processing by CookieController#index as HTML
455
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
456
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
457
+ Processing by CookieController#index as HTML
458
+ Rendered cookie/index.html.erb within layouts/application (5.3ms)
459
+ Completed 200 OK in 47ms (Views: 46.7ms | ActiveRecord: 0.0ms)
460
+ Processing by CookieController#index as HTML
461
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
462
+ Processing by CookieController#index as HTML
463
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
464
+ Processing by CookieController#index as HTML
465
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
466
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
467
+ Processing by CookieController#index as HTML
468
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
469
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
470
+ Processing by CookieController#index as HTML
471
+ Rendered cookie/index.html.erb within layouts/application (4.8ms)
472
+ Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.0ms)
473
+ Processing by CookieController#index as HTML
474
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
475
+ Processing by CookieController#index as HTML
476
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
477
+ Processing by CookieController#index as HTML
478
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
479
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
480
+ Processing by CookieController#index as HTML
481
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
482
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
483
+ Processing by CookieController#index as HTML
484
+ Rendered cookie/index.html.erb within layouts/application (4.6ms)
485
+ Completed 200 OK in 37ms (Views: 36.7ms | ActiveRecord: 0.0ms)
486
+ Processing by CookieController#index as HTML
487
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
488
+ Processing by CookieController#index as HTML
489
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
490
+ Processing by CookieController#index as HTML
491
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
492
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
493
+ Processing by CookieController#index as HTML
494
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
495
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
496
+ Processing by CookieController#index as HTML
497
+ Rendered cookie/index.html.erb within layouts/application (4.7ms)
498
+ Completed 200 OK in 37ms (Views: 36.6ms | ActiveRecord: 0.0ms)
499
+ Processing by CookieController#index as HTML
500
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
501
+ Processing by CookieController#index as HTML
502
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
503
+ Processing by CookieController#index as HTML
504
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
505
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
506
+ Processing by CookieController#index as HTML
507
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
508
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
509
+ Processing by CookieController#index as HTML
510
+ Rendered cookie/index.html.erb within layouts/application (4.6ms)
511
+ Completed 200 OK in 37ms (Views: 36.5ms | ActiveRecord: 0.0ms)
512
+ Processing by CookieController#index as HTML
513
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
514
+ Processing by CookieController#index as HTML
515
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
516
+ Processing by CookieController#index as HTML
517
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
518
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
519
+ Processing by CookieController#index as HTML
520
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
521
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
522
+ Processing by CookieController#index as HTML
523
+ Rendered cookie/index.html.erb within layouts/application (5.0ms)
524
+ Completed 200 OK in 37ms (Views: 36.4ms | ActiveRecord: 0.0ms)
525
+ Processing by CookieController#index as HTML
526
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
527
+ Processing by CookieController#index as HTML
528
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
529
+ Processing by CookieController#index as HTML
530
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
531
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
532
+ Processing by CookieController#index as HTML
533
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
534
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
535
+ Processing by CookieController#index as HTML
536
+ Rendered cookie/index.html.erb within layouts/application (4.6ms)
537
+ Completed 200 OK in 36ms (Views: 35.8ms | ActiveRecord: 0.0ms)
538
+ Processing by CookieController#index as HTML
539
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
540
+ Processing by CookieController#index as HTML
541
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
542
+ Processing by CookieController#index as HTML
543
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
544
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
545
+ Processing by CookieController#index as HTML
546
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
547
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
548
+ Processing by CookieController#index as HTML
549
+ Rendered cookie/index.html.erb within layouts/application (5.1ms)
550
+ Completed 200 OK in 47ms (Views: 46.4ms | ActiveRecord: 0.0ms)
551
+ Processing by CookieController#index as HTML
552
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
553
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
554
+ Processing by CookieController#index as HTML
555
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
556
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
557
+ Processing by CookieController#index as HTML
558
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
559
+ Processing by CookieController#index as HTML
560
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
561
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
562
+ Processing by CookieController#index as HTML
563
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
564
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
565
+ Processing by CookieController#index as HTML
566
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
567
+ Processing by CookieController#index as HTML
568
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
569
+ Processing by CookieController#index as HTML
570
+ Rendered cookie/index.html.erb within layouts/application (4.9ms)
571
+ Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms)
572
+ Processing by CookieController#index as HTML
573
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
574
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
575
+ Processing by CookieController#index as HTML
576
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
577
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
578
+ Processing by CookieController#index as HTML
579
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
580
+ Processing by CookieController#index as HTML
581
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
582
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
583
+ Processing by CookieController#index as HTML
584
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
585
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
586
+ Processing by CookieController#index as HTML
587
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
588
+ Processing by CookieController#index as HTML
589
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
590
+ Processing by CookieController#index as HTML
591
+ Rendered cookie/index.html.erb within layouts/application (5.7ms)
592
+ Completed 200 OK in 45ms (Views: 44.9ms | ActiveRecord: 0.0ms)
593
+ Processing by CookieController#index as HTML
594
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
595
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
596
+ Processing by CookieController#index as HTML
597
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
598
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
599
+ Processing by CookieController#index as HTML
600
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
601
+ Processing by CookieController#index as HTML
602
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
603
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
604
+ Processing by CookieController#index as HTML
605
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
606
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
607
+ Processing by CookieController#index as HTML
608
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
609
+ Processing by CookieController#index as HTML
610
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
611
+ Processing by CookieController#index as HTML
612
+ Rendered cookie/index.html.erb within layouts/application (5.5ms)
613
+ Completed 200 OK in 46ms (Views: 45.5ms | ActiveRecord: 0.0ms)
614
+ Processing by CookieController#index as HTML
615
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
616
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
617
+ Processing by CookieController#index as HTML
618
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
619
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
620
+ Processing by CookieController#index as HTML
621
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
622
+ Processing by CookieController#index as HTML
623
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
624
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
625
+ Processing by CookieController#index as HTML
626
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
627
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
628
+ Processing by CookieController#index as HTML
629
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
630
+ Processing by CookieController#index as HTML
631
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
632
+ Processing by CookieController#index as HTML
633
+ Rendered cookie/index.html.erb within layouts/application (5.6ms)
634
+ Completed 200 OK in 47ms (Views: 46.8ms | ActiveRecord: 0.0ms)
635
+ Processing by CookieController#index as HTML
636
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
637
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
638
+ Processing by CookieController#index as HTML
639
+ Parameters: {"test_one"=>"new_value", "test_two"=>"second_new_value"}
640
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
641
+ Processing by CookieController#index as HTML
642
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
643
+ Processing by CookieController#index as HTML
644
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
645
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
646
+ Processing by CookieController#index as HTML
647
+ Parameters: {"session_variable"=>"session_new_value", "session_two"=>"session_second_new_value"}
648
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
649
+ Processing by CookieController#index as HTML
650
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
651
+ Processing by CookieController#index as HTML
652
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cookie_tracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-17 00:00:00.000000000Z
12
+ date: 2011-12-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70162803934200 !ruby/object:Gem::Requirement
16
+ requirement: &70313524451500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,21 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70162803934200
24
+ version_requirements: *70313524451500
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70313524451000 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70313524451000
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: sqlite3
27
- requirement: &70162803933620 !ruby/object:Gem::Requirement
38
+ requirement: &70313524450560 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - ! '>='
@@ -32,17 +43,22 @@ dependencies:
32
43
  version: '0'
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *70162803933620
36
- description: ! "The cookie_tracker gem allows you to declare a hash of parameters
37
- along with default values that you wish to be loaded/stored in the user's cookies
38
- during each page load. Each\n parameter will be loaded into it's own instance
39
- variable of the same name for easy access in controllers and views. If the parameter
40
- is passed in the params[] hash, the new value will automatically\n be stored
41
- in the correct cookie and replace the old or default value. This makes it easy to
42
- track various options that a user can select on a page, such as items per page,
43
- search queries, and \n custom display settings. If a user clicks off to another
44
- page on your site, their settings will be remembered when they return. You can declare
45
- the default cookie lifetime options in an initializer\n or override them at runtime. "
46
+ version_requirements: *70313524450560
47
+ description: ! "The cookie_tracker easily synchronizes settings stored in cookies
48
+ with instance variables of the same name available for use in controllers and views.
49
+ This gem allows you to\n declare a hash of parameters along with default values
50
+ that you wish to be loaded/stored in the user's cookies during each page load. Each
51
+ parameter will be loaded into it's own instance \n variable of the same name
52
+ for easy access in controllers and views. If the parameter is passed in the params[]
53
+ hash, the new value will automatically be stored in the correct cookie and \n replace
54
+ the old or default value. This makes it easy to track various options that a user
55
+ can select on a page, such as items per page, search queries, and custom display
56
+ settings. \n If a user clicks off to another page on your site, their settings
57
+ will be remembered when they return. You can declare the default cookie lifetime
58
+ options in an initializer\n or override them at runtime. If you prefer to use
59
+ the session store over the cookie jar, there is a method for that as well. You can
60
+ override the default cookie options by creating an\n initializer. Visit the github
61
+ page https://github.com/DanKnox/CookieTracker "
46
62
  email:
47
63
  - dknox@threedotloft.com
48
64
  executables: []
@@ -74,6 +90,7 @@ files:
74
90
  - test/dummy/config/environments/production.rb
75
91
  - test/dummy/config/environments/test.rb
76
92
  - test/dummy/config/initializers/backtrace_silencers.rb
93
+ - test/dummy/config/initializers/cookie_tracker.rb
77
94
  - test/dummy/config/initializers/inflections.rb
78
95
  - test/dummy/config/initializers/mime_types.rb
79
96
  - test/dummy/config/initializers/secret_token.rb
@@ -105,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
122
  version: '0'
106
123
  segments:
107
124
  - 0
108
- hash: 260631695894926753
125
+ hash: -4466503020158508135
109
126
  required_rubygems_version: !ruby/object:Gem::Requirement
110
127
  none: false
111
128
  requirements:
@@ -114,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
131
  version: '0'
115
132
  segments:
116
133
  - 0
117
- hash: 260631695894926753
134
+ hash: -4466503020158508135
118
135
  requirements: []
119
136
  rubyforge_project: cookie_tracker
120
137
  rubygems_version: 1.8.10
@@ -140,6 +157,7 @@ test_files:
140
157
  - test/dummy/config/environments/production.rb
141
158
  - test/dummy/config/environments/test.rb
142
159
  - test/dummy/config/initializers/backtrace_silencers.rb
160
+ - test/dummy/config/initializers/cookie_tracker.rb
143
161
  - test/dummy/config/initializers/inflections.rb
144
162
  - test/dummy/config/initializers/mime_types.rb
145
163
  - test/dummy/config/initializers/secret_token.rb