devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1693488 - in /devicemap/trunk/data/2.0/reference: a/patterns.json device/test.json
Date Thu, 30 Jul 2015 19:48:16 GMT
Author: rezan
Date: Thu Jul 30 19:48:16 2015
New Revision: 1693488

URL: http://svn.apache.org/r1693488
Log:
data changes

Modified:
    devicemap/trunk/data/2.0/reference/a/patterns.json
    devicemap/trunk/data/2.0/reference/device/test.json

Modified: devicemap/trunk/data/2.0/reference/a/patterns.json
URL: http://svn.apache.org/viewvc/devicemap/trunk/data/2.0/reference/a/patterns.json?rev=1693488&r1=1693487&r2=1693488&view=diff
==============================================================================
--- devicemap/trunk/data/2.0/reference/a/patterns.json (original)
+++ devicemap/trunk/data/2.0/reference/a/patterns.json Thu Jul 30 19:48:16 2015
@@ -49,7 +49,7 @@
         "patternId": "pattern4",
         "rankType": "Strong",
         "patternType": "Simple",
-        "patternTokens": ["Two"]
+        "patternTokens": ["Two", "ccc"]
       },
       {
         "patternId": "pattern5",

Modified: devicemap/trunk/data/2.0/reference/device/test.json
URL: http://svn.apache.org/viewvc/devicemap/trunk/data/2.0/reference/device/test.json?rev=1693488&r1=1693487&r2=1693488&view=diff
==============================================================================
--- devicemap/trunk/data/2.0/reference/device/test.json (original)
+++ devicemap/trunk/data/2.0/reference/device/test.json Thu Jul 30 19:48:16 2015
@@ -8,11 +8,19 @@
   "tests": [
     {
       "input": "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X; zh-cn) AppleWebKit/534.46.0
(KHTML, like Gecko) CriOS/21.0.1180.82 Mobile/10A403 Safari/7534.48.3",
-      "resultPatternId": "ipad"
+      "resultPatternId": "ipad",
+      "resultAttributes": {
+        "isPhone": "false",
+        "isTablet": "true"
+      }
     },
     {
       "input": "Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46
(KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3",
-      "resultPatternId": "iphone"
+      "resultPatternId": "iphone",
+      "resultAttributes": {
+        "isPhone": "true",
+        "isTablet": "false"
+      }
     },
     {
       "input": "Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; es) AppleWebKit/534.11+ (KHTML,
like Gecko) Version/7.1.0.428 Mobile Safari/534.11+",



Mime
View raw message