traffic_mansion 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a717cc1264a412fe5239c68178c5cc461b56c86e
4
- data.tar.gz: 766f0dd67e6906441f7d3db4d7dd1c78e2805fc5
3
+ metadata.gz: c40f471e4abb956952c12b5b6b694489258ddcad
4
+ data.tar.gz: 55ecfdd2d24378d5e23852aff46c602b7d5ba857
5
5
  SHA512:
6
- metadata.gz: 278896cc86058caf655a332f5f6e9ceeeee8135d9986bbdc7daa227431991789e11287a0c17aaf81c501ad80cbd0ff59652589e141925315c467e54aff631ed1
7
- data.tar.gz: ff1f7ce3e2f06e455790252ee4b758f3392fa726a0c0b010a23e162d439e42601956120b0f5d9dd08feb0aa41e7337bfa27fa559465c214f20a46edf16ab11f0
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
 
@@ -1,3 +1,3 @@
1
1
  module TrafficMansion
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traffic_mansion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - AgileWings