From 7cfcad744d3e18cbe8a9f71c43a0cad1e8fdd6b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 27 Jun 2012 09:46:06 +0200 Subject: update example to refelect API changes --- examples/hello_world.json | 9 ++++----- examples/hello_world.rb | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/hello_world.json b/examples/hello_world.json index 295b10d..6635bca 100644 --- a/examples/hello_world.json +++ b/examples/hello_world.json @@ -1,6 +1,6 @@ { "kls": "Edoors::Spin", - "timestamp": "2012-06-10 23:17:15 +0200", + "timestamp": "2012-06-24 22:50:00 +0200", "name": "dom0", "hibernation": false, "inner_room": { @@ -20,9 +20,8 @@ "kls": "Edoors::Link", "src": "input", "dsts": "output", - "fields": null, - "cond_fields": null, - "cond_value": null + "keys": null, + "value": null } ] } @@ -33,6 +32,6 @@ "app_fifo": [ ], - "debug_errors": false, + "debug_garbage": false, "debug_routing": false } diff --git a/examples/hello_world.rb b/examples/hello_world.rb index 3976d6f..e4ee3c2 100644 --- a/examples/hello_world.rb +++ b/examples/hello_world.rb @@ -62,7 +62,7 @@ if $0 == __FILE__ # This will output the receive data and let the system recycle the particle output = OutputDoor.new 'output', dom0 # This will be the unconditinal link leading from 'input' to 'output' - dom0.add_link Edoors::Link.new('input', 'output', nil, nil, nil) + dom0.add_link Edoors::Link.new('input', 'output', nil, nil) # # schedule the spinning particles untill the system cools down dom0.spin! -- cgit v1.1-2-g2b99