traffic_mansion 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/traffic_mansion/tracker.rb +6 -0
- data/lib/traffic_mansion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c40f471e4abb956952c12b5b6b694489258ddcad
|
4
|
+
data.tar.gz: 55ecfdd2d24378d5e23852aff46c602b7d5ba857
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49c8958155fef10216568dd38a4deebdbf7d6f0c0ff72a99c1edcd705197ec5e823c980b4098dbcdcd31510a14729929801bf1e0c954841310c9131d0fbbe385
|
7
|
+
data.tar.gz: 9ac5e723bc1beb81a9426fbdcf37f955e7bbc2187ebc1940d34e965956e229fe9d16fa5288dab1e94356e8f0459421979df6ec82ffd920c52f41a3c762d61420
|
@@ -61,6 +61,9 @@ module TrafficMansion
|
|
61
61
|
"remote_addr" => @remote_addr,
|
62
62
|
"user_id" => @user_id
|
63
63
|
}.merge options
|
64
|
+
# patch the user id that has to be numeric and unique in the TM database
|
65
|
+
# it's deprecated
|
66
|
+
params["user_id"] = params["visit_id"]
|
64
67
|
get_response url, params
|
65
68
|
end
|
66
69
|
|
@@ -77,6 +80,9 @@ module TrafficMansion
|
|
77
80
|
"remote_addr" => @remote_addr,
|
78
81
|
"command" => command
|
79
82
|
}.merge options
|
83
|
+
# patch the user id that has to be numeric and unique in the TM database
|
84
|
+
# it's deprecated
|
85
|
+
params["user_id"] = params["visit_id"]
|
80
86
|
get_response url, params
|
81
87
|
end
|
82
88
|
|