referer_tracking 3.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,10 +4,13 @@ require "referer_tracking/sweeper"
4
4
 
5
5
  module RefererTracking
6
6
 
7
- mattr_accessor :save_cookies, :set_referer_cookies, :set_referer_cookies_name
7
+ mattr_accessor :save_cookies, :set_referer_cookies, :set_referer_cookies_name, :set_referer_cookies_first_url_max_length, :set_referer_cookies_ref_url_max_length
8
+
8
9
  self.save_cookies = true
9
10
  self.set_referer_cookies = true
10
11
  self.set_referer_cookies_name = 'ref_track'
12
+ self.set_referer_cookies_first_url_max_length = 400
13
+ self.set_referer_cookies_ref_url_max_length = 200
11
14
 
12
15
  def self.add_tracking_to(*models_list)
13
16
  models_list.each do |model|
@@ -18,7 +18,7 @@ module RefererTracking::ControllerAddons
18
18
  hash[:session_first_url] = first_url
19
19
 
20
20
  if RefererTracking.set_referer_cookies && cookies[RefererTracking.set_referer_cookies_name].blank?
21
- cookie_info = "v01|||#{Time.now.utc.to_i}|||#{first_url.first(200)}|||#{request_ref.first(200)}"
21
+ cookie_info = "v01|||#{Time.now.utc.to_i}|||#{first_url.first(RefererTracking.set_referer_cookies_first_url_max_length)}|||#{request_ref.first(RefererTracking.set_referer_cookies_ref_url_max_length)}"
22
22
  cookies[RefererTracking.set_referer_cookies_name] = { :value => cookie_info, :expires => 5.years.from_now, :domain => :all }
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module RefererTracking
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.2"
3
3
  end
Binary file
@@ -8689,3 +8689,562 @@ Started GET "/users" for 127.0.0.1 at 2013-11-25 15:30:36 +0200
8689
8689
  REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8690
8690
  User Load (0.1ms) SELECT "users".* FROM "users"
8691
8691
  Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
8692
+ Fixture Delete (0.1ms) DELETE FROM "users"
8693
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:39:07', '2014-01-14 14:39:07', 980190962)
8694
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:39:07', '2014-01-14 14:39:07', 298486374)
8695
+
8696
+
8697
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8698
+ Processing by UsersController#index as HTML
8699
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8700
+ User Load (0.1ms) SELECT "users".* FROM "users"
8701
+ Rendered users/index.html.erb within layouts/application (19.6ms)
8702
+ Completed 200 OK in 28ms (Views: 26.2ms | ActiveRecord: 0.1ms)
8703
+
8704
+
8705
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8706
+ Processing by UsersController#create as HTML
8707
+ Parameters: {"user"=>{"name"=>"test name"}}
8708
+  (0.1ms) SAVEPOINT active_record_1
8709
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00]]
8710
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
8711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8712
+ Redirected to http://www.example.com/users/980190963
8713
+ Completed 302 Found in 16ms
8714
+
8715
+
8716
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8717
+ Processing by UsersController#index as HTML
8718
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8719
+ User Load (0.1ms) SELECT "users".* FROM "users"
8720
+ Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.1ms)
8721
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
8722
+
8723
+
8724
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8725
+ Processing by UsersController#create as HTML
8726
+ Parameters: {"user"=>{"name"=>"test name"}}
8727
+  (0.0ms) SAVEPOINT active_record_1
8728
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00]]
8729
+ SQL (0.2ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:39:07 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTgxNjg4MzkyN2U2ZWI3MjBjMzFmOWIzNTlmMTdmZjFjBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiIWh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnMGOwBGOhJzZXNzaW9uX2FkZGVkSSIYdGVzdGluZ19zZXNzaW9uX2FkZAY7AEY=--a8e5b19f39488fac2d833001ab9adee2f54cee4c\nref_track: v01|||1389710347|||http://www.example.com/users|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users"], ["session_id", "816883927e6eb720c31f9b359f17ff1c"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:39:07 UTC +00:00], ["user_agent", "som user agent"]]
8730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8731
+ Redirected to http://www.example.com/users/980190963
8732
+ Completed 302 Found in 3ms
8733
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8734
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
8735
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
8736
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
8737
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
8738
+
8739
+
8740
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8741
+ Processing by UsersController#update as HTML
8742
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
8743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
8744
+  (0.0ms) SAVEPOINT active_record_1
8745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8746
+ Redirected to http://www.example.com/users/980190963
8747
+ Completed 302 Found in 2ms
8748
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8749
+
8750
+
8751
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8752
+ Processing by UsersController#index as HTML
8753
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8754
+ User Load (0.1ms) SELECT "users".* FROM "users" 
8755
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
8756
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
8757
+
8758
+
8759
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8760
+ Processing by UsersController#show as HTML
8761
+ Parameters: {"id"=>"298486374"}
8762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
8763
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.1ms)
8764
+
8765
+
8766
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:39:07 +0200
8767
+ Processing by UsersController#index as HTML
8768
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8769
+ User Load (0.1ms) SELECT "users".* FROM "users"
8770
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)
8771
+ Fixture Delete (0.2ms) DELETE FROM "users"
8772
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:41:00', '2014-01-14 14:41:00', 980190962)
8773
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:41:00', '2014-01-14 14:41:00', 298486374)
8774
+
8775
+
8776
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:41:00 +0200
8777
+ Processing by UsersController#index as HTML
8778
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8779
+ User Load (0.1ms) SELECT "users".* FROM "users"
8780
+ Rendered users/index.html.erb within layouts/application (7.5ms)
8781
+ Completed 200 OK in 21ms (Views: 18.2ms | ActiveRecord: 0.1ms)
8782
+
8783
+
8784
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:41:00 +0200
8785
+ Processing by UsersController#create as HTML
8786
+ Parameters: {"user"=>{"name"=>"test name"}}
8787
+  (0.1ms) SAVEPOINT active_record_1
8788
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00]]
8789
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
8790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8791
+ Redirected to http://www.example.com/users/980190963
8792
+ Completed 302 Found in 41ms
8793
+
8794
+
8795
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]" for 127.0.0.1 at 2014-01-14 16:41:00 +0200
8796
+ Processing by UsersController#index as HTML
8797
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]"}
8798
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx
8799
+ User Load (0.1ms) SELECT "users".* FROM "users"
8800
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
8801
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
8802
+
8803
+
8804
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:41:00 +0200
8805
+ Processing by UsersController#create as HTML
8806
+ Parameters: {"user"=>{"name"=>"test name"}}
8807
+  (0.0ms) SAVEPOINT active_record_1
8808
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00]]
8809
+ SQL (0.3ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:41:00 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTMzYmUxZGEwZTVlNDFkNDQxMjE1MjI0ZTg0M2QyM2NjBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiPmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eAY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--38c867b0053e1bb5f8dcb280000bb48a8f347308\nref_track: v01|||1389710460|||http://www.example.com/users?gclib=some_keyword&pass=xxxx|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx"], ["session_id", "33be1da0e5e41d441215224e843d23cc"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:41:00 UTC +00:00], ["user_agent", "som user agent"]]
8810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8811
+ Redirected to http://www.example.com/users/980190963
8812
+ Completed 302 Found in 3ms
8813
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8814
+ RefererTracking::RefererTracking Load (0.6ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
8815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
8816
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
8817
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
8818
+
8819
+
8820
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:41:38 +0200
8821
+ Processing by UsersController#update as HTML
8822
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
8823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
8824
+  (0.0ms) SAVEPOINT active_record_1
8825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8826
+ Redirected to http://www.example.com/users/980190963
8827
+ Completed 302 Found in 2ms
8828
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
8829
+
8830
+
8831
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:41:38 +0200
8832
+ Processing by UsersController#index as HTML
8833
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8834
+ User Load (0.1ms) SELECT "users".* FROM "users" 
8835
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
8836
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
8837
+
8838
+
8839
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:41:38 +0200
8840
+ Processing by UsersController#show as HTML
8841
+ Parameters: {"id"=>"298486374"}
8842
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
8843
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
8844
+
8845
+
8846
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:41:38 +0200
8847
+ Processing by UsersController#index as HTML
8848
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8849
+ User Load (0.1ms) SELECT "users".* FROM "users"
8850
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
8851
+ Fixture Delete (0.1ms) DELETE FROM "users"
8852
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:41:41', '2014-01-14 14:41:41', 980190962)
8853
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:41:41', '2014-01-14 14:41:41', 298486374)
8854
+
8855
+
8856
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:41:41 +0200
8857
+ Processing by UsersController#index as HTML
8858
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8859
+ User Load (0.1ms) SELECT "users".* FROM "users"
8860
+ Rendered users/index.html.erb within layouts/application (6.3ms)
8861
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.1ms)
8862
+
8863
+
8864
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:41:41 +0200
8865
+ Processing by UsersController#create as HTML
8866
+ Parameters: {"user"=>{"name"=>"test name"}}
8867
+  (0.0ms) SAVEPOINT active_record_1
8868
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00]]
8869
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
8870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8871
+ Redirected to http://www.example.com/users/980190963
8872
+ Completed 302 Found in 31ms
8873
+
8874
+
8875
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]&more=things" for 127.0.0.1 at 2014-01-14 16:41:41 +0200
8876
+ Processing by UsersController#index as HTML
8877
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]", "more"=>"things"}
8878
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things
8879
+ User Load (0.1ms) SELECT "users".* FROM "users"
8880
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
8881
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
8882
+
8883
+
8884
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:41:41 +0200
8885
+ Processing by UsersController#create as HTML
8886
+ Parameters: {"user"=>{"name"=>"test name"}}
8887
+  (0.0ms) SAVEPOINT active_record_1
8888
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00]]
8889
+ SQL (0.2ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:41:41 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTU0YTQ2YzE5NGM1ODYwYmVkZmMwNDQ0NDI1Y2VmNTU5BjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiSmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eCZtb3JlPXRoaW5ncwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--847821cbd69843975fad42324f96ba83ad91abbc\nref_track: v01|||1389710501|||http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["session_id", "54a46c194c5860bedfc0444425cef559"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:41:41 UTC +00:00], ["user_agent", "som user agent"]]
8890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8891
+ Redirected to http://www.example.com/users/980190963
8892
+ Completed 302 Found in 3ms
8893
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8894
+ RefererTracking::RefererTracking Load (0.7ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
8895
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
8896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
8897
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
8898
+
8899
+
8900
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:42:16 +0200
8901
+ Processing by UsersController#update as HTML
8902
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
8903
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
8904
+  (0.0ms) SAVEPOINT active_record_1
8905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8906
+ Redirected to http://www.example.com/users/980190963
8907
+ Completed 302 Found in 2ms
8908
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8909
+
8910
+
8911
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:16 +0200
8912
+ Processing by UsersController#index as HTML
8913
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8914
+ User Load (0.1ms) SELECT "users".* FROM "users" 
8915
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms)
8916
+ User Load (0.2ms) SELECT "users".* FROM "users" LIMIT 1
8917
+
8918
+
8919
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:42:16 +0200
8920
+ Processing by UsersController#show as HTML
8921
+ Parameters: {"id"=>"298486374"}
8922
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
8923
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
8924
+
8925
+
8926
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:16 +0200
8927
+ Processing by UsersController#index as HTML
8928
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8929
+ User Load (0.1ms) SELECT "users".* FROM "users"
8930
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
8931
+ Fixture Delete (0.1ms) DELETE FROM "users"
8932
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:42:18', '2014-01-14 14:42:18', 980190962)
8933
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:42:18', '2014-01-14 14:42:18', 298486374)
8934
+
8935
+
8936
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8937
+ Processing by UsersController#index as HTML
8938
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8939
+ User Load (0.1ms) SELECT "users".* FROM "users"
8940
+ Rendered users/index.html.erb within layouts/application (6.1ms)
8941
+ Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.1ms)
8942
+
8943
+
8944
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8945
+ Processing by UsersController#create as HTML
8946
+ Parameters: {"user"=>{"name"=>"test name"}}
8947
+  (0.0ms) SAVEPOINT active_record_1
8948
+ SQL (1.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00]]
8949
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
8950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8951
+ Redirected to http://www.example.com/users/980190963
8952
+ Completed 302 Found in 31ms
8953
+
8954
+
8955
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]&more=things" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8956
+ Processing by UsersController#index as HTML
8957
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]", "more"=>"things"}
8958
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things
8959
+ User Load (0.1ms) SELECT "users".* FROM "users"
8960
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
8961
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
8962
+
8963
+
8964
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8965
+ Processing by UsersController#create as HTML
8966
+ Parameters: {"user"=>{"name"=>"test name"}}
8967
+  (0.0ms) SAVEPOINT active_record_1
8968
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00]]
8969
+ SQL (0.2ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:42:18 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTJiMDRkODdjNjcxM2Q4MWJiZDQzMGZiNmIyMzhkZWIyBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiSmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eCZtb3JlPXRoaW5ncwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--829048a6f03222b8d4991331f9ba35ae421367e9\nref_track: v01|||1389710538|||http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["session_id", "2b04d87c6713d81bbd430fb6b238deb2"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:42:18 UTC +00:00], ["user_agent", "som user agent"]]
8970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8971
+ Redirected to http://www.example.com/users/980190963
8972
+ Completed 302 Found in 3ms
8973
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8974
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
8975
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
8976
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
8977
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
8978
+
8979
+
8980
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8981
+ Processing by UsersController#update as HTML
8982
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
8983
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
8984
+  (0.0ms) SAVEPOINT active_record_1
8985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8986
+ Redirected to http://www.example.com/users/980190963
8987
+ Completed 302 Found in 2ms
8988
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
8989
+
8990
+
8991
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
8992
+ Processing by UsersController#index as HTML
8993
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
8994
+ User Load (0.1ms) SELECT "users".* FROM "users" 
8995
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
8996
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
8997
+
8998
+
8999
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
9000
+ Processing by UsersController#show as HTML
9001
+ Parameters: {"id"=>"298486374"}
9002
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
9003
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
9004
+
9005
+
9006
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:18 +0200
9007
+ Processing by UsersController#index as HTML
9008
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9009
+ User Load (0.1ms) SELECT "users".* FROM "users"
9010
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
9011
+ Fixture Delete (0.1ms) DELETE FROM "users"
9012
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:42:37', '2014-01-14 14:42:37', 980190962)
9013
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:42:37', '2014-01-14 14:42:37', 298486374)
9014
+
9015
+
9016
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9017
+ Processing by UsersController#index as HTML
9018
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9019
+ User Load (0.1ms) SELECT "users".* FROM "users"
9020
+ Rendered users/index.html.erb within layouts/application (21.0ms)
9021
+ Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 0.1ms)
9022
+
9023
+
9024
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9025
+ Processing by UsersController#create as HTML
9026
+ Parameters: {"user"=>{"name"=>"test name"}}
9027
+  (0.0ms) SAVEPOINT active_record_1
9028
+ SQL (0.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00]]
9029
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
9030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9031
+ Redirected to http://www.example.com/users/980190963
9032
+ Completed 302 Found in 15ms
9033
+
9034
+
9035
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]&more=things" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9036
+ Processing by UsersController#index as HTML
9037
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]", "more"=>"things"}
9038
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things
9039
+ User Load (0.1ms) SELECT "users".* FROM "users"
9040
+ Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.1ms)
9041
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
9042
+
9043
+
9044
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9045
+ Processing by UsersController#create as HTML
9046
+ Parameters: {"user"=>{"name"=>"test name"}}
9047
+  (0.0ms) SAVEPOINT active_record_1
9048
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00]]
9049
+ SQL (0.4ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:42:37 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWE1N2I0NGE0MGVhMzE0OWM2MzRlMmUwYzIzYjVmMjA3BjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiSmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eCZtb3JlPXRoaW5ncwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--b65ee8549437ef719ff4381b134cf69736638656\nref_track: v01|||1389710557|||http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["session_id", "a57b44a40ea3149c634e2e0c23b5f207"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:42:37 UTC +00:00], ["user_agent", "som user agent"]]
9050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9051
+ Redirected to http://www.example.com/users/980190963
9052
+ Completed 302 Found in 4ms
9053
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
9054
+ RefererTracking::RefererTracking Load (0.2ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
9055
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
9056
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
9057
+ RefererTracking::RefererTracking Load (0.2ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
9058
+
9059
+
9060
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9061
+ Processing by UsersController#update as HTML
9062
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
9063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
9064
+  (0.0ms) SAVEPOINT active_record_1
9065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9066
+ Redirected to http://www.example.com/users/980190963
9067
+ Completed 302 Found in 2ms
9068
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings"
9069
+
9070
+
9071
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9072
+ Processing by UsersController#index as HTML
9073
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9074
+ User Load (0.1ms) SELECT "users".* FROM "users" 
9075
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
9076
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
9077
+
9078
+
9079
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9080
+ Processing by UsersController#show as HTML
9081
+ Parameters: {"id"=>"298486374"}
9082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
9083
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.1ms)
9084
+
9085
+
9086
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:37 +0200
9087
+ Processing by UsersController#index as HTML
9088
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9089
+ User Load (0.1ms) SELECT "users".* FROM "users"
9090
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
9091
+ Fixture Delete (0.1ms) DELETE FROM "users"
9092
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:42:53', '2014-01-14 14:42:53', 980190962)
9093
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:42:53', '2014-01-14 14:42:53', 298486374)
9094
+
9095
+
9096
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9097
+ Processing by UsersController#index as HTML
9098
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9099
+ User Load (0.1ms) SELECT "users".* FROM "users"
9100
+ Rendered users/index.html.erb within layouts/application (6.5ms)
9101
+ Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.1ms)
9102
+
9103
+
9104
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9105
+ Processing by UsersController#create as HTML
9106
+ Parameters: {"user"=>{"name"=>"test name"}}
9107
+  (0.0ms) SAVEPOINT active_record_1
9108
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00]]
9109
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
9110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9111
+ Redirected to http://www.example.com/users/980190963
9112
+ Completed 302 Found in 18ms
9113
+
9114
+
9115
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]&more=things" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9116
+ Processing by UsersController#index as HTML
9117
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]", "more"=>"things"}
9118
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things
9119
+ User Load (0.1ms) SELECT "users".* FROM "users"
9120
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms)
9121
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
9122
+
9123
+
9124
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9125
+ Processing by UsersController#create as HTML
9126
+ Parameters: {"user"=>{"name"=>"test name"}}
9127
+  (0.0ms) SAVEPOINT active_record_1
9128
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00]]
9129
+ SQL (0.3ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:42:53 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTZiOWZkMmYyZTUxZmYzMWE5NTFhNjM0NzFhYzZmM2Y2BjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiSmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eCZtb3JlPXRoaW5ncwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--60b5a098985713018cea7e1087d098a7307ebcf0\nref_track: v01|||1389710573|||http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["session_id", "6b9fd2f2e51ff31a951a63471ac6f3f6"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:42:53 UTC +00:00], ["user_agent", "som user agent"]]
9130
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9131
+ Redirected to http://www.example.com/users/980190963
9132
+ Completed 302 Found in 3ms
9133
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
9134
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
9135
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
9136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
9137
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
9138
+
9139
+
9140
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9141
+ Processing by UsersController#update as HTML
9142
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
9143
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
9144
+  (0.0ms) SAVEPOINT active_record_1
9145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9146
+ Redirected to http://www.example.com/users/980190963
9147
+ Completed 302 Found in 2ms
9148
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
9149
+
9150
+
9151
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9152
+ Processing by UsersController#index as HTML
9153
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9154
+ User Load (0.1ms) SELECT "users".* FROM "users" 
9155
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
9156
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
9157
+
9158
+
9159
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9160
+ Processing by UsersController#show as HTML
9161
+ Parameters: {"id"=>"298486374"}
9162
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
9163
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
9164
+
9165
+
9166
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:42:53 +0200
9167
+ Processing by UsersController#index as HTML
9168
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9169
+ User Load (0.1ms) SELECT "users".* FROM "users"
9170
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.1ms)
9171
+ Fixture Delete (0.1ms) DELETE FROM "users"
9172
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2014-01-14 14:42:59', '2014-01-14 14:42:59', 980190962)
9173
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2014-01-14 14:42:59', '2014-01-14 14:42:59', 298486374)
9174
+
9175
+
9176
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9177
+ Processing by UsersController#index as HTML
9178
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9179
+ User Load (0.1ms) SELECT "users".* FROM "users"
9180
+ Rendered users/index.html.erb within layouts/application (20.4ms)
9181
+ Completed 200 OK in 29ms (Views: 27.6ms | ActiveRecord: 0.1ms)
9182
+
9183
+
9184
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9185
+ Processing by UsersController#create as HTML
9186
+ Parameters: {"user"=>{"name"=>"test name"}}
9187
+  (0.0ms) SAVEPOINT active_record_1
9188
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00]]
9189
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
9190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9191
+ Redirected to http://www.example.com/users/980190963
9192
+ Completed 302 Found in 17ms
9193
+
9194
+
9195
+ Started GET "/users?gclib=some_keyword&password=[FILTERED]&more=things" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9196
+ Processing by UsersController#index as HTML
9197
+ Parameters: {"gclib"=>"some_keyword", "password"=>"[FILTERED]", "more"=>"things"}
9198
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things
9199
+ User Load (0.1ms) SELECT "users".* FROM "users"
9200
+ Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
9201
+  (0.1ms) SELECT COUNT(*) FROM "referer_trackings" 
9202
+
9203
+
9204
+ Started POST "/users" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9205
+ Processing by UsersController#create as HTML
9206
+ Parameters: {"user"=>{"name"=>"test name"}}
9207
+  (0.0ms) SAVEPOINT active_record_1
9208
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00], ["name", "test name"], ["updated_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00]]
9209
+ SQL (0.2ms) INSERT INTO "referer_trackings" ("cookie_first_url", "cookie_referer_url", "cookie_time", "cookies_yaml", "created_at", "current_request_referer_url", "current_request_url", "ip", "request_added", "session_added", "session_first_url", "session_id", "session_referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["cookie_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["cookie_referer_url", "www.some-source-forward.com"], ["cookie_time", Tue, 14 Jan 2014 14:43:00 UTC +00:00], ["cookies_yaml", "---\n_dummy_session: BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWYyOGNjYjZiODE5NmQ4MTE5NDgyNWIwNjcyNTdiNTdmBjsAVEkiFXJlZmVyZXJfdHJhY2tpbmcGOwBGewg6GHNlc3Npb25fcmVmZXJlcl91cmxJIiB3d3cuc29tZS1zb3VyY2UtZm9yd2FyZC5jb20GOwBGOhZzZXNzaW9uX2ZpcnN0X3VybEkiSmh0dHA6Ly93d3cuZXhhbXBsZS5jb20vdXNlcnM/Z2NsaWI9c29tZV9rZXl3b3JkJnBhc3M9eHh4eCZtb3JlPXRoaW5ncwY7AEY6EnNlc3Npb25fYWRkZWRJIhh0ZXN0aW5nX3Nlc3Npb25fYWRkBjsARg==--36e9d011aa75b94ad6e699cfe06f13b14d00185c\nref_track: v01|||1389710580|||http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things|||www.some-source-forward.com\n"], ["created_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00], ["current_request_referer_url", "localhost.inv/request_from_this_page"], ["current_request_url", "http://www.example.com/users"], ["ip", "127.0.0.1"], ["request_added", "testing_request_add"], ["session_added", "testing_session_add"], ["session_first_url", "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things"], ["session_id", "f28ccb6b8196d81194825b067257b57f"], ["session_referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Tue, 14 Jan 2014 14:43:00 UTC +00:00], ["user_agent", "som user agent"]]
9210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9211
+ Redirected to http://www.example.com/users/980190963
9212
+ Completed 302 Found in 3ms
9213
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
9214
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" ORDER BY created_at DESC LIMIT 1
9215
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
9216
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
9217
+ RefererTracking::RefererTracking Load (0.1ms) SELECT "referer_trackings".* FROM "referer_trackings" WHERE "referer_trackings"."trackable_id" = 980190963 AND "referer_trackings"."trackable_type" = 'User' LIMIT 1
9218
+
9219
+
9220
+ Started PUT "/users/980190963" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9221
+ Processing by UsersController#update as HTML
9222
+ Parameters: {"user"=>{"name"=>"test name"}, "id"=>"980190963"}
9223
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
9224
+  (0.0ms) SAVEPOINT active_record_1
9225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9226
+ Redirected to http://www.example.com/users/980190963
9227
+ Completed 302 Found in 2ms
9228
+  (0.0ms) SELECT COUNT(*) FROM "referer_trackings"
9229
+
9230
+
9231
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9232
+ Processing by UsersController#index as HTML
9233
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9234
+ User Load (0.1ms) SELECT "users".* FROM "users" 
9235
+ Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
9236
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
9237
+
9238
+
9239
+ Started GET "/users/298486374" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9240
+ Processing by UsersController#show as HTML
9241
+ Parameters: {"id"=>"298486374"}
9242
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
9243
+ Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
9244
+
9245
+
9246
+ Started GET "/users" for 127.0.0.1 at 2014-01-14 16:43:00 +0200
9247
+ Processing by UsersController#index as HTML
9248
+ REFERER_TRACKING_FIRST: ver04 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
9249
+ User Load (0.1ms) SELECT "users".* FROM "users"
9250
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
@@ -37,7 +37,7 @@ class RefererSessionTest < ActionDispatch::IntegrationTest
37
37
  test "should be able to save models and safe referer_tracking at the same" do
38
38
  RefererTracking.save_cookies = true
39
39
 
40
- get 'users', {}, {"HTTP_REFERER" => (@referer = "www.some-source-forward.com")}
40
+ get 'users', {'gclib' => 'some_keyword', 'password' => 'secret', 'more' => 'things'}, {"HTTP_REFERER" => (@referer = "www.some-source-forward.com")}
41
41
 
42
42
  assert !cookies['ref_track'].blank?, "should set tracking cookie"
43
43
  cookie_arr = cookies['ref_track'].split("|||")
@@ -52,6 +52,8 @@ class RefererSessionTest < ActionDispatch::IntegrationTest
52
52
  assert_equal @original_count + 1, RefererTracking::RefererTracking.count, "did not create referer tracking"
53
53
 
54
54
  ref_session = session["referer_tracking"]
55
+ assert_equal "http://www.example.com/users?gclib=some_keyword&pass=xxxx&more=things", ref_session[:session_first_url]
56
+
55
57
  ref_track = RefererTracking::RefererTracking.order(:created_at).last
56
58
 
57
59
  assert !ref_track.blank?, "did not create ref tracking"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: referer_tracking
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-25 00:00:00.000000000 Z
12
+ date: 2014-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -74,84 +74,84 @@ files:
74
74
  - config/routes.rb
75
75
  - db/migrate/20131124175848_cookie_ref_tracking.rb
76
76
  - db/migrate/20120119124101_create_referer_tracking_referer_trackings.rb
77
- - lib/tasks/referer_tracking_tasks.rake
78
- - lib/referer_tracking/engine.rb
79
- - lib/referer_tracking/sweeper.rb
80
- - lib/referer_tracking/version.rb
81
- - lib/referer_tracking/controller_addons.rb
82
77
  - lib/referer_tracking.rb
78
+ - lib/referer_tracking/controller_addons.rb
79
+ - lib/referer_tracking/version.rb
80
+ - lib/referer_tracking/sweeper.rb
81
+ - lib/referer_tracking/engine.rb
82
+ - lib/tasks/referer_tracking_tasks.rake
83
83
  - MIT-LICENSE
84
84
  - Rakefile
85
85
  - README.md
86
- - test/integration/referer_tracking/referer_session_test.rb
87
- - test/integration/navigation_test.rb
86
+ - test/fixtures/referer_tracking/referer_trackings.yml
87
+ - test/dummy/app/controllers/users_controller.rb
88
+ - test/dummy/app/controllers/application_controller.rb
89
+ - test/dummy/app/helpers/application_helper.rb
90
+ - test/dummy/app/helpers/users_helper.rb
91
+ - test/dummy/app/assets/javascripts/application.js
92
+ - test/dummy/app/assets/javascripts/users.js
93
+ - test/dummy/app/assets/stylesheets/users.css
94
+ - test/dummy/app/assets/stylesheets/application.css
95
+ - test/dummy/app/assets/stylesheets/scaffold.css
96
+ - test/dummy/app/views/users/edit.html.erb
97
+ - test/dummy/app/views/users/new.html.erb
98
+ - test/dummy/app/views/users/index.html.erb
99
+ - test/dummy/app/views/users/show.html.erb
100
+ - test/dummy/app/views/users/_form.html.erb
101
+ - test/dummy/app/views/layouts/application.html.erb
102
+ - test/dummy/app/models/user.rb
103
+ - test/dummy/public/422.html
104
+ - test/dummy/public/500.html
105
+ - test/dummy/public/404.html
106
+ - test/dummy/public/favicon.ico
88
107
  - test/dummy/script/rails
89
108
  - test/dummy/db/development.sqlite3
90
- - test/dummy/db/migrate/20120418183653_table_rename.rb
91
109
  - test/dummy/db/migrate/20120119111039_create_users.rb
110
+ - test/dummy/db/migrate/20120418183653_table_rename.rb
92
111
  - test/dummy/db/test.sqlite3
93
112
  - test/dummy/db/schema.rb
94
- - test/dummy/config/boot.rb
95
- - test/dummy/config/locales/en.yml
96
- - test/dummy/config/initializers/secret_token.rb
97
- - test/dummy/config/initializers/referer_tracking.rb
98
- - test/dummy/config/initializers/mime_types.rb
99
- - test/dummy/config/initializers/inflections.rb
100
- - test/dummy/config/initializers/session_store.rb
101
- - test/dummy/config/initializers/wrap_parameters.rb
102
- - test/dummy/config/initializers/backtrace_silencers.rb
103
- - test/dummy/config/database.yml
104
- - test/dummy/config/environments/production.rb
105
- - test/dummy/config/environments/test.rb
106
- - test/dummy/config/environments/development.rb
107
- - test/dummy/config/routes.rb
108
- - test/dummy/config/environment.rb
109
- - test/dummy/config/application.rb
110
- - test/dummy/config.ru
111
- - test/dummy/public/500.html
112
- - test/dummy/public/favicon.ico
113
- - test/dummy/public/422.html
114
- - test/dummy/public/404.html
115
113
  - test/dummy/log/development.log
116
114
  - test/dummy/log/test.log
117
- - test/dummy/test/fixtures/users.yml
118
- - test/dummy/test/unit/helpers/users_helper_test.rb
119
- - test/dummy/test/unit/user_test.rb
120
- - test/dummy/test/functional/users_controller_test.rb
121
- - test/dummy/app/helpers/application_helper.rb
122
- - test/dummy/app/helpers/users_helper.rb
123
- - test/dummy/app/controllers/application_controller.rb
124
- - test/dummy/app/controllers/users_controller.rb
125
- - test/dummy/app/views/layouts/application.html.erb
126
- - test/dummy/app/views/users/index.html.erb
127
- - test/dummy/app/views/users/_form.html.erb
128
- - test/dummy/app/views/users/edit.html.erb
129
- - test/dummy/app/views/users/new.html.erb
130
- - test/dummy/app/views/users/show.html.erb
131
- - test/dummy/app/models/user.rb
132
- - test/dummy/app/assets/javascripts/users.js
133
- - test/dummy/app/assets/javascripts/application.js
134
- - test/dummy/app/assets/stylesheets/scaffold.css
135
- - test/dummy/app/assets/stylesheets/users.css
136
- - test/dummy/app/assets/stylesheets/application.css
137
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
115
+ - test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
138
116
  - test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
139
- - test/dummy/tmp/cache/assets/D9A/830/sprockets%2F97b0ba4e6b920af1eb0c96a299f28b3b
140
- - test/dummy/tmp/cache/assets/D61/6B0/sprockets%2Fcb11afa26a559c0c626de8b4b720f554
141
- - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
117
+ - test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92
142
118
  - test/dummy/tmp/cache/assets/D27/530/sprockets%2F4f6982cf32d995b6ac3bce79729b6435
143
- - test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55
144
- - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
145
119
  - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
146
- - test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92
147
- - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
148
120
  - test/dummy/tmp/cache/assets/D39/8B0/sprockets%2Ff3fdaca7531a71f4014b287f392e7b08
121
+ - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
122
+ - test/dummy/tmp/cache/assets/D61/6B0/sprockets%2Fcb11afa26a559c0c626de8b4b720f554
123
+ - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
124
+ - test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55
125
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
149
126
  - test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
150
- - test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
127
+ - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
128
+ - test/dummy/tmp/cache/assets/D9A/830/sprockets%2F97b0ba4e6b920af1eb0c96a299f28b3b
129
+ - test/dummy/test/unit/user_test.rb
130
+ - test/dummy/test/unit/helpers/users_helper_test.rb
131
+ - test/dummy/test/functional/users_controller_test.rb
132
+ - test/dummy/test/fixtures/users.yml
151
133
  - test/dummy/Rakefile
152
- - test/fixtures/referer_tracking/referer_trackings.yml
153
- - test/referer_tracking_test.rb
134
+ - test/dummy/config.ru
135
+ - test/dummy/config/initializers/backtrace_silencers.rb
136
+ - test/dummy/config/initializers/session_store.rb
137
+ - test/dummy/config/initializers/mime_types.rb
138
+ - test/dummy/config/initializers/referer_tracking.rb
139
+ - test/dummy/config/initializers/secret_token.rb
140
+ - test/dummy/config/initializers/wrap_parameters.rb
141
+ - test/dummy/config/initializers/inflections.rb
142
+ - test/dummy/config/routes.rb
143
+ - test/dummy/config/locales/en.yml
144
+ - test/dummy/config/environment.rb
145
+ - test/dummy/config/application.rb
146
+ - test/dummy/config/boot.rb
147
+ - test/dummy/config/database.yml
148
+ - test/dummy/config/environments/production.rb
149
+ - test/dummy/config/environments/test.rb
150
+ - test/dummy/config/environments/development.rb
151
+ - test/integration/referer_tracking/referer_session_test.rb
152
+ - test/integration/navigation_test.rb
154
153
  - test/test_helper.rb
154
+ - test/referer_tracking_test.rb
155
155
  homepage: https://github.com/holli/referer_tracking/
156
156
  licenses: []
157
157
  post_install_message:
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 1.8.25
175
+ rubygems_version: 1.8.23
176
176
  signing_key:
177
177
  specification_version: 3
178
178
  summary: Referer tracking automates better tracking in your Rails app. It tells you
@@ -181,72 +181,72 @@ summary: Referer tracking automates better tracking in your Rails app. It tells
181
181
  information about the request when creating new item. It enables you to optimize
182
182
  your web-app user interface and flow.
183
183
  test_files:
184
- - test/integration/referer_tracking/referer_session_test.rb
185
- - test/integration/navigation_test.rb
184
+ - test/fixtures/referer_tracking/referer_trackings.yml
185
+ - test/dummy/app/controllers/users_controller.rb
186
+ - test/dummy/app/controllers/application_controller.rb
187
+ - test/dummy/app/helpers/application_helper.rb
188
+ - test/dummy/app/helpers/users_helper.rb
189
+ - test/dummy/app/assets/javascripts/application.js
190
+ - test/dummy/app/assets/javascripts/users.js
191
+ - test/dummy/app/assets/stylesheets/users.css
192
+ - test/dummy/app/assets/stylesheets/application.css
193
+ - test/dummy/app/assets/stylesheets/scaffold.css
194
+ - test/dummy/app/views/users/edit.html.erb
195
+ - test/dummy/app/views/users/new.html.erb
196
+ - test/dummy/app/views/users/index.html.erb
197
+ - test/dummy/app/views/users/show.html.erb
198
+ - test/dummy/app/views/users/_form.html.erb
199
+ - test/dummy/app/views/layouts/application.html.erb
200
+ - test/dummy/app/models/user.rb
201
+ - test/dummy/public/422.html
202
+ - test/dummy/public/500.html
203
+ - test/dummy/public/404.html
204
+ - test/dummy/public/favicon.ico
186
205
  - test/dummy/script/rails
187
206
  - test/dummy/db/development.sqlite3
188
- - test/dummy/db/migrate/20120418183653_table_rename.rb
189
207
  - test/dummy/db/migrate/20120119111039_create_users.rb
208
+ - test/dummy/db/migrate/20120418183653_table_rename.rb
190
209
  - test/dummy/db/test.sqlite3
191
210
  - test/dummy/db/schema.rb
192
- - test/dummy/config/boot.rb
193
- - test/dummy/config/locales/en.yml
194
- - test/dummy/config/initializers/secret_token.rb
195
- - test/dummy/config/initializers/referer_tracking.rb
196
- - test/dummy/config/initializers/mime_types.rb
197
- - test/dummy/config/initializers/inflections.rb
198
- - test/dummy/config/initializers/session_store.rb
199
- - test/dummy/config/initializers/wrap_parameters.rb
200
- - test/dummy/config/initializers/backtrace_silencers.rb
201
- - test/dummy/config/database.yml
202
- - test/dummy/config/environments/production.rb
203
- - test/dummy/config/environments/test.rb
204
- - test/dummy/config/environments/development.rb
205
- - test/dummy/config/routes.rb
206
- - test/dummy/config/environment.rb
207
- - test/dummy/config/application.rb
208
- - test/dummy/config.ru
209
- - test/dummy/public/500.html
210
- - test/dummy/public/favicon.ico
211
- - test/dummy/public/422.html
212
- - test/dummy/public/404.html
213
211
  - test/dummy/log/development.log
214
212
  - test/dummy/log/test.log
215
- - test/dummy/test/fixtures/users.yml
216
- - test/dummy/test/unit/helpers/users_helper_test.rb
217
- - test/dummy/test/unit/user_test.rb
218
- - test/dummy/test/functional/users_controller_test.rb
219
- - test/dummy/app/helpers/application_helper.rb
220
- - test/dummy/app/helpers/users_helper.rb
221
- - test/dummy/app/controllers/application_controller.rb
222
- - test/dummy/app/controllers/users_controller.rb
223
- - test/dummy/app/views/layouts/application.html.erb
224
- - test/dummy/app/views/users/index.html.erb
225
- - test/dummy/app/views/users/_form.html.erb
226
- - test/dummy/app/views/users/edit.html.erb
227
- - test/dummy/app/views/users/new.html.erb
228
- - test/dummy/app/views/users/show.html.erb
229
- - test/dummy/app/models/user.rb
230
- - test/dummy/app/assets/javascripts/users.js
231
- - test/dummy/app/assets/javascripts/application.js
232
- - test/dummy/app/assets/stylesheets/scaffold.css
233
- - test/dummy/app/assets/stylesheets/users.css
234
- - test/dummy/app/assets/stylesheets/application.css
235
- - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
213
+ - test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
236
214
  - test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
237
- - test/dummy/tmp/cache/assets/D9A/830/sprockets%2F97b0ba4e6b920af1eb0c96a299f28b3b
238
- - test/dummy/tmp/cache/assets/D61/6B0/sprockets%2Fcb11afa26a559c0c626de8b4b720f554
239
- - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
215
+ - test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92
240
216
  - test/dummy/tmp/cache/assets/D27/530/sprockets%2F4f6982cf32d995b6ac3bce79729b6435
241
- - test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55
242
- - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
243
217
  - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
244
- - test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92
245
- - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
246
218
  - test/dummy/tmp/cache/assets/D39/8B0/sprockets%2Ff3fdaca7531a71f4014b287f392e7b08
219
+ - test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2
220
+ - test/dummy/tmp/cache/assets/D61/6B0/sprockets%2Fcb11afa26a559c0c626de8b4b720f554
221
+ - test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6
222
+ - test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55
223
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
247
224
  - test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
248
- - test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4
225
+ - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
226
+ - test/dummy/tmp/cache/assets/D9A/830/sprockets%2F97b0ba4e6b920af1eb0c96a299f28b3b
227
+ - test/dummy/test/unit/user_test.rb
228
+ - test/dummy/test/unit/helpers/users_helper_test.rb
229
+ - test/dummy/test/functional/users_controller_test.rb
230
+ - test/dummy/test/fixtures/users.yml
249
231
  - test/dummy/Rakefile
250
- - test/fixtures/referer_tracking/referer_trackings.yml
251
- - test/referer_tracking_test.rb
232
+ - test/dummy/config.ru
233
+ - test/dummy/config/initializers/backtrace_silencers.rb
234
+ - test/dummy/config/initializers/session_store.rb
235
+ - test/dummy/config/initializers/mime_types.rb
236
+ - test/dummy/config/initializers/referer_tracking.rb
237
+ - test/dummy/config/initializers/secret_token.rb
238
+ - test/dummy/config/initializers/wrap_parameters.rb
239
+ - test/dummy/config/initializers/inflections.rb
240
+ - test/dummy/config/routes.rb
241
+ - test/dummy/config/locales/en.yml
242
+ - test/dummy/config/environment.rb
243
+ - test/dummy/config/application.rb
244
+ - test/dummy/config/boot.rb
245
+ - test/dummy/config/database.yml
246
+ - test/dummy/config/environments/production.rb
247
+ - test/dummy/config/environments/test.rb
248
+ - test/dummy/config/environments/development.rb
249
+ - test/integration/referer_tracking/referer_session_test.rb
250
+ - test/integration/navigation_test.rb
252
251
  - test/test_helper.rb
252
+ - test/referer_tracking_test.rb