referer_tracking 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module RefererTracking
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
Binary file
@@ -5015,3 +5015,82 @@ Started GET "/users" for 127.0.0.1 at Thu Jan 19 18:07:01 +0200 2012
5015
5015
  REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5016
5016
  User Load (0.1ms) SELECT "users".* FROM "users"
5017
5017
  Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
5018
+ Fixture Delete (0.5ms) DELETE FROM "users"
5019
+ Fixture Insert (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Born', '2012-01-19 16:25:11', '2012-01-19 16:25:11', 298486374)
5020
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at", "id") VALUES ('Agent Smith', '2012-01-19 16:25:11', '2012-01-19 16:25:11', 980190962)
5021
+
5022
+
5023
+ Started GET "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5024
+ Processing by UsersController#index as HTML
5025
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5026
+ User Load (0.2ms) SELECT "users".* FROM "users"
5027
+ Rendered users/index.html.erb within layouts/application (7.8ms)
5028
+ Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.2ms)
5029
+
5030
+
5031
+ Started POST "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5032
+ Processing by UsersController#create as HTML
5033
+ Parameters: {"user"=>{"name"=>"test name"}}
5034
+  (0.1ms) SAVEPOINT active_record_1
5035
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00], ["name", "test name"], ["updated_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00]]
5036
+ RefererTracking::Sweeper.after_create problem with creating record: Exception
5037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5038
+ Redirected to http://www.example.com/users/980190963
5039
+ Completed 302 Found in 12ms
5040
+
5041
+
5042
+ Started GET "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5043
+ Processing by UsersController#index as HTML
5044
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5045
+ User Load (0.2ms) SELECT "users".* FROM "users"
5046
+ Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
5047
+  (0.1ms) SELECT COUNT(*) FROM "referer_tracking_referer_trackings" 
5048
+
5049
+
5050
+ Started POST "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5051
+ Processing by UsersController#create as HTML
5052
+ Parameters: {"user"=>{"name"=>"test name"}}
5053
+  (0.1ms) SAVEPOINT active_record_1
5054
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00], ["name", "test name"], ["updated_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00]]
5055
+ SQL (0.5ms) INSERT INTO "referer_tracking_referer_trackings" ("created_at", "first_url", "referer_url", "trackable_id", "trackable_type", "updated_at", "user_agent") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00], ["first_url", "http://www.example.com/users"], ["referer_url", "www.some-source-forward.com"], ["trackable_id", 980190963], ["trackable_type", "User"], ["updated_at", Thu, 19 Jan 2012 16:25:11 UTC +00:00], ["user_agent", "som user agent"]]
5056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5057
+ Redirected to http://www.example.com/users/980190963
5058
+ Completed 302 Found in 6ms
5059
+  (0.1ms) SELECT COUNT(*) FROM "referer_tracking_referer_trackings"
5060
+ RefererTracking::RefererTracking Load (0.2ms) SELECT "referer_tracking_referer_trackings".* FROM "referer_tracking_referer_trackings" ORDER BY created_at DESC LIMIT 1
5061
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = 'test name' LIMIT 1
5062
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 980190963 LIMIT 1
5063
+ RefererTracking::RefererTracking Load (0.2ms) SELECT "referer_tracking_referer_trackings".* FROM "referer_tracking_referer_trackings" WHERE "referer_tracking_referer_trackings"."trackable_id" = 980190963 AND "referer_tracking_referer_trackings"."trackable_type" = 'User' LIMIT 1
5064
+
5065
+
5066
+ Started PUT "/users/980190963" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5067
+ Processing by UsersController#update as HTML
5068
+ Parameters: {"id"=>"980190963", "user"=>{"name"=>"test name"}}
5069
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "980190963"]]
5070
+  (0.0ms) SAVEPOINT active_record_1
5071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
5072
+ Redirected to http://www.example.com/users/980190963
5073
+ Completed 302 Found in 3ms
5074
+  (0.1ms) SELECT COUNT(*) FROM "referer_tracking_referer_trackings"
5075
+
5076
+
5077
+ Started GET "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5078
+ Processing by UsersController#index as HTML
5079
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5080
+ User Load (0.2ms) SELECT "users".* FROM "users" 
5081
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
5082
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
5083
+
5084
+
5085
+ Started GET "/users/298486374" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5086
+ Processing by UsersController#show as HTML
5087
+ Parameters: {"id"=>"298486374"}
5088
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "298486374"]]
5089
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
5090
+
5091
+
5092
+ Started GET "/users" for 127.0.0.1 at Thu Jan 19 18:25:11 +0200 2012
5093
+ Processing by UsersController#index as HTML
5094
+ REFERER_TRACKING_FIRST: ver03 (ref|first) ||| www.some-source-forward.com ||| http://www.example.com/users
5095
+ User Load (0.2ms) SELECT "users".* FROM "users"
5096
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: referer_tracking
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Olli Huotari
@@ -70,12 +70,7 @@ extensions: []
70
70
  extra_rdoc_files: []
71
71
 
72
72
  files:
73
- - app/helpers/referer_tracking/application_helper.rb
74
- - app/controllers/referer_tracking/application_controller.rb
75
- - app/views/layouts/referer_tracking/application.html.erb
76
73
  - app/models/referer_tracking/referer_tracking.rb
77
- - app/assets/javascripts/referer_tracking/application.js
78
- - app/assets/stylesheets/referer_tracking/application.css
79
74
  - config/routes.rb
80
75
  - db/migrate/20120119124101_create_referer_tracking_referer_trackings.rb
81
76
  - lib/tasks/referer_tracking_tasks.rake
@@ -1,9 +0,0 @@
1
- // This is a manifest file that'll be compiled into including all the files listed below.
2
- // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
- // be included in the compiled file accessible from http://example.com/assets/application.js
4
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
- // the compiled file.
6
- //
7
- //= require jquery
8
- //= require jquery_ujs
9
- //= require_tree .
@@ -1,7 +0,0 @@
1
- /*
2
- * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
- * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
- * the top of the compiled file, but it's generally better to create a new file per style scope.
5
- *= require_self
6
- *= require_tree .
7
- */
@@ -1,4 +0,0 @@
1
- module RefererTracking
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module RefererTracking
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>RefererTracking</title>
5
- <%= stylesheet_link_tag "referer_tracking/application" %>
6
- <%= javascript_include_tag "referer_tracking/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>