rmobio 1.1.22 → 1.1.23
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.
- data/lib/rmobio/ads/m_khoj.rb +2 -2
- metadata +2 -2
data/lib/rmobio/ads/m_khoj.rb
CHANGED
@@ -34,8 +34,8 @@ module Rmobio
|
|
34
34
|
# mKhoj just detects your URL, so you don't really need an adClient variable for this particular network!
|
35
35
|
#carrier="59.181.113.59" # only works with India carriers!!
|
36
36
|
|
37
|
-
adUrl = "http://www.mkhoj.com/view/Traffic/ShowAd.aspx?siteId=
|
38
|
-
#adUrl="http://www.mkhoj.com/view/Traffic/ShowAd.aspx?siteId=330ed28f-0de9-4c4f-b0a8-1f2118358c80&handset=nokia6030/&carrier=59.181.113.59"
|
37
|
+
adUrl = "http://www.mkhoj.com/view/Traffic/ShowAd.aspx?siteId=" + adClient +"&handset="+URI.escape(useragent)+"&carrier="+ip
|
38
|
+
# e.g. adUrl="http://www.mkhoj.com/view/Traffic/ShowAd.aspx?siteId=330ed28f-0de9-4c4f-b0a8-1f2118358c80&handset=nokia6030/&carrier=59.181.113.59"
|
39
39
|
logger.info "Calling: " + adUrl
|
40
40
|
begin
|
41
41
|
@ad = open(adUrl).read
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmobio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mobio Networks
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-06-03 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|