Kirill Simonov avatar Kirill Simonov committed 6ef7006

Updated tests.

Comments (0)

Files changed (4)

 ===============
 
 
+2.3.3 (2013-01-XX)
+------------------
+
+* Added a binary attachment operator (`@`).
+* Added support for references in locators.
+* Added comment syntax (`#`).
+* `tweak.shell`: include JQuery and Codemirror to the source
+  and binary distributions.
+* `tweak.filedb`: makes a database from a set of CSV files.
+* `tweak.gateway`: defines gateway to other database servers.
+* `tweak.csrf`: protection against CSRF attacks.
+* `tweak.etl`: insert, merge, update and delete commands
+  (PostgreSQL only, work in progress)
+* `tweak.django`: fixed the introspector missing auto-created
+  many-to-many models.
+* Configuration: added support for `!include` tag.
+* Reduced memory footprint for large database schemas.
+* Improved error reporting.
+* Many other fixes and improvements.
+
+
 2.3.2 (2012-08-24)
 ------------------
 

test/input/addon.yaml

       tweak.gateway:
         gateways:
           sqlite_gw: sqlite:///build/regress/sqlite/htsql_demo.sqlite
-          pgsql_gw:
-            engine: pgsql
-            database: htsql_demo
-            username: htsql_demo
-            password: secret
-            host: ${PGSQL_HOST}
-            port: ${PGSQL_PORT}
 
   # Normal queries
   - uri: /sqlite_gw(/school)
-  - uri: /department[ee]{name, count(course)}/:pgsql_gw
+  - uri: /department[ee]{name, count(course)}/:sqlite_gw
 
   # Formats and commands
   - uri: /sqlite_gw(/school[art].program)/:json
-  - uri: /pgsql_gw(/fetch(count(course)))/:raw
+  - uri: /sqlite_gw(/fetch(count(course)))/:raw
 
   # Errors
-  - uri: /pgsql_gw(/school/:html)
+  - uri: /sqlite_gw(/school/:html)
     expect: 400
     skip: true # is it still an error?
   - uri: /sqlite_gw(/nothing)

test/input/etl.yaml

 - uri: /{'ACID' :as code, 'Acer' :as name} :as manufacturer
         /:insert
   expect: 409
+  ignore: true
 - uri: /{'SMSN', 'Samsung'} :as manufacturer
         /:insert
   expect: 409

test/output/mysql.yaml

                     "school"."campus"
              FROM "school"
              ORDER BY 1 ASC
-        - uri: /department[ee]{name, count(course)}/:pgsql_gw
+        - uri: /department[ee]{name, count(course)}/:sqlite_gw
           status: 200 OK
           headers:
           - [Content-Type, text/plain; charset=UTF-8]
              /department[ee]{name,count(course)}
              SELECT "department"."name",
                     COALESCE("course"."count", 0)
-             FROM "ad"."department"
-                  LEFT OUTER JOIN (SELECT COUNT(TRUE) AS "count",
+             FROM "department"
+                  LEFT OUTER JOIN (SELECT COUNT(1) AS "count",
                                           "course"."department_code"
-                                   FROM "ad"."course"
+                                   FROM "course"
                                    GROUP BY 2) AS "course"
                                   ON ("department"."code" = "course"."department_code")
              WHERE ("department"."code" = 'ee')
                 }
               ]
             }
-        - uri: /pgsql_gw(/fetch(count(course)))/:raw
+        - uri: /sqlite_gw(/fetch(count(course)))/:raw
           status: 200 OK
           headers:
           - [Content-Type, application/javascript]
               },
               "data": 358
             }
-        - uri: /pgsql_gw(/school/:html)
+        - uri: /sqlite_gw(/school/:html)
           status: 400 Bad Request
           headers:
           - [Content-Type, text/plain; charset=UTF-8]
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.