Skip to content

Commit 54b1f8a

Browse files
Erwan CarriouErwan Carriou
authored andcommitted
- update version
1 parent 7938dc4 commit 54b1f8a

40 files changed

+214
-214
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "system-runtime",
3-
"version": "0.9.2",
3+
"version": "0.9.3",
44
"description": "SyrupJS, the System Runtime Platform",
55
"license": "MIT",
66
"homepage": "https://syrupjs.github.io",

build/syrup.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "syrup",
3-
"version": "0.9.2",
3+
"version": "0.9.3",
44
"description": "The System Runtime Platform",
55
"_id": "e89c617b6b15d24",
66
"schemas": {
@@ -764,158 +764,158 @@
764764
"core": true,
765765
"useCoreAPI": true
766766
},
767-
"145b21a2491c48a": {
768-
"_id": "145b21a2491c48a",
767+
"19997182e719383": {
768+
"_id": "19997182e719383",
769769
"component": "Syrup",
770770
"state": "error",
771771
"action": "function error(data) {\n console.error('syrup: ' + data.message, data.error);\n}",
772772
"core": true
773773
},
774-
"15bf119da01940b": {
775-
"_id": "15bf119da01940b",
774+
"1584d127ab1e5c5": {
775+
"_id": "1584d127ab1e5c5",
776776
"component": "Syrup",
777777
"state": "system",
778778
"action": "function system(name) {\n var System = null,\n system = {},\n systemId = '',\n result = [],\n conf = {};\n \n if (name) {\n conf.master = true;\n conf.name = name;\n System = this.require('SyrupSystem');\n system = new System(conf);\n } else {\n result = $db.SyrupSystem.find({\n 'master': true\n });\n if (result.length) {\n systemId = result[0]._id;\n system = $component.get(systemId);\n }\n }\n return system;\n}",
779779
"core": true,
780780
"useCoreAPI": true
781781
},
782-
"1ca171489c112a1": {
783-
"_id": "1ca171489c112a1",
782+
"1a38f1a0a81252f": {
783+
"_id": "1a38f1a0a81252f",
784784
"component": "Syrup",
785785
"state": "warning",
786786
"action": "function warning(message) {\n console.warn('syrup: ' + message);\n}",
787787
"core": true
788788
},
789-
"11b281a0501c9d8": {
790-
"_id": "11b281a0501c9d8",
789+
"100651d3a11f549": {
790+
"_id": "100651d3a11f549",
791791
"component": "SyrupClassInfo",
792792
"state": "collection",
793793
"action": "function collection(name) {\n var result = {};\n if (this.metamodel()[name] === 'collection') {\n result = this.model()[name];\n } \n \n return result; \n}",
794794
"core": true
795795
},
796-
"1f6ea14c1312618": {
797-
"_id": "1f6ea14c1312618",
796+
"1959618def17fd9": {
797+
"_id": "1959618def17fd9",
798798
"component": "SyrupClassInfo",
799799
"state": "collections",
800800
"action": "function collections() {\n var keys = Object.keys(this.metamodel()),\n item = '',\n result = [],\n i = 0,\n length = 0;\n \n length = keys.length; \n \n for (i = 0; i < length; i++) { \n item = keys[i]; \n if (this.metamodel()[item] === 'collection') {\n result.push(item);\n }\n }\n \n return result;\n}",
801801
"core": true
802802
},
803-
"1033e1631f11236": {
804-
"_id": "1033e1631f11236",
803+
"16c4a1e6f812c5a": {
804+
"_id": "16c4a1e6f812c5a",
805805
"component": "SyrupClassInfo",
806806
"state": "event",
807807
"action": "function event(name) {\n var result = {};\n \n if (this.metamodel()[name] === 'event') {\n result = this.model()[name];\n } \n \n return result;\n}",
808808
"core": true
809809
},
810-
"1b2791cb0016b19": {
811-
"_id": "1b2791cb0016b19",
810+
"1ea371b9d5157f5": {
811+
"_id": "1ea371b9d5157f5",
812812
"component": "SyrupClassInfo",
813813
"state": "events",
814814
"action": "function events() {\n var keys = Object.keys(this.metamodel()),\n item = '',\n result = [],\n i = 0,\n length = 0;\n \n length = keys.length;\n \n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.metamodel()[item] === 'event') {\n result.push(item);\n }\n } \n return result;\n}",
815815
"core": true
816816
},
817-
"11297164591795b": {
818-
"_id": "11297164591795b",
817+
"1fc661700610c04": {
818+
"_id": "1fc661700610c04",
819819
"component": "SyrupClassInfo",
820820
"state": "method",
821821
"action": "function method(name) {\n var result = {};\n if (this.metamodel()[name] === 'method') {\n result = this.model()[name];\n \n }\n \n return result;\n}",
822822
"core": true
823823
},
824-
"122b51892912f2a": {
825-
"_id": "122b51892912f2a",
824+
"1608a13a9a164bb": {
825+
"_id": "1608a13a9a164bb",
826826
"component": "SyrupClassInfo",
827827
"state": "methods",
828828
"action": "function methods() {\n var keys = Object.keys(this.metamodel()),\n item = '',\n result = [],\n i = 0,\n length = 0;\n length = keys.length;\n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.metamodel()[item] === 'method') {\n result.push(item);\n }\n } \n \n return result;\n}",
829829
"core": true
830830
},
831-
"1e5c8178e91e955": {
832-
"_id": "1e5c8178e91e955",
831+
"17a791d1b417509": {
832+
"_id": "17a791d1b417509",
833833
"component": "SyrupClassInfo",
834834
"state": "properties",
835835
"action": "function properties() { \n var keys = Object.keys(this.metamodel()),\n item = '',\n result = [],\n i = 0,\n length = 0;\n length = keys.length;\n \n for (i = 0; i < length; i++) {\n item = keys[i];\n if (this.metamodel()[item] === 'property') {\n result.push(item);\n }\n } return result;\n}",
836836
"core": true
837837
},
838-
"1a1c91ba8f16ff4": {
839-
"_id": "1a1c91ba8f16ff4",
838+
"1f98f175a41a920": {
839+
"_id": "1f98f175a41a920",
840840
"component": "SyrupClassInfo",
841841
"state": "property",
842842
"action": "function property(name) {\n var result = {};\n \n if (this.metamodel()[name] === 'property') {\n result = this.model()[name];\n }\n return result;\n}",
843843
"core": true
844844
},
845-
"1062b1874718c34": {
846-
"_id": "1062b1874718c34",
845+
"18c1d150fd12142": {
846+
"_id": "18c1d150fd12142",
847847
"component": "SyrupComponent",
848848
"state": "destroy",
849849
"action": "function destroy() {\n $component.destroy(this.id());\n}",
850850
"core": true,
851851
"useCoreAPI": true
852852
},
853-
"19b8f1180419484": {
854-
"_id": "19b8f1180419484",
853+
"16ca418f9e107c7": {
854+
"_id": "16ca418f9e107c7",
855855
"component": "SyrupComponent",
856856
"state": "off",
857857
"action": "function off(state, behaviorId) {\n var args = [],\n i = 0,\n length = 0;\n length = arguments.length;\n \n for (i = 0; i < length - 6; i++) {\n args.push(arguments[i]);\n }\n \n if ($workflow.checkParams({\"component\": this, \"methodName\": \"off\", \"args\": args})) {\n if ($metamodel.isValidState(state, this.constructor.name)) {\n $behavior.remove({\"behaviorId\": behaviorId, \"componentId\": this.id(), \"state\": state});\n } else { $helper.getSyrup().warning({ \"message\":\"invoke 'off' method of component '\" + this.id() + \"' with an invalid state '\" + state + \"'\"}); \n }\n }\n}",
858858
"core": true,
859859
"useCoreAPI": true
860860
},
861-
"1ef531b085178fd": {
862-
"_id": "1ef531b085178fd",
861+
"1e9051804915579": {
862+
"_id": "1e9051804915579",
863863
"component": "SyrupComponent",
864864
"state": "require",
865865
"action": "function require(id) {\n return $component.get(id);\n}",
866866
"core": true,
867867
"useCoreAPI": true
868868
},
869-
"15b4617d5d16512": {
870-
"_id": "15b4617d5d16512",
869+
"1f349196e119d9c": {
870+
"_id": "1f349196e119d9c",
871871
"component": "SyrupDatabase",
872872
"state": "collections",
873873
"action": "function collections() {\n var result = {},\n collectionName = '';\n \n for (collectionName in $db.store) {\n if ($db.store.hasOwnProperty(collectionName) && collectionName.indexOf('Syrup') !== 0) {\n result[collectionName] = $db[collectionName];\n \n }\n }\n return result;\n}",
874874
"core": true,
875875
"useCoreAPI": true
876876
},
877-
"17c391124c1c6d5": {
878-
"_id": "17c391124c1c6d5",
877+
"18a8a16ea81a24d": {
878+
"_id": "18a8a16ea81a24d",
879879
"component": "SyrupDatabase",
880880
"state": "subsystem",
881881
"action": "function subsystem(params) {\n return $db.subsystem(params);\n}",
882882
"core": true,
883883
"useCoreAPI": true
884884
},
885-
"1b28e1c3b7153c1": {
886-
"_id": "1b28e1c3b7153c1",
885+
"1e98716ea81bc6f": {
886+
"_id": "1e98716ea81bc6f",
887887
"component": "SyrupDatabase",
888888
"state": "system",
889889
"action": "function system(system) {\n return $db.system(system);\n}",
890890
"core": true,
891891
"useCoreAPI": true
892892
},
893-
"1f8c61201e14555": {
894-
"_id": "1f8c61201e14555",
893+
"170231f4e11dd87": {
894+
"_id": "170231f4e11dd87",
895895
"component": "SyrupMetamodel",
896896
"state": "create",
897897
"action": "function create() {\n $metamodel.create();\n}",
898898
"core": true,
899899
"useCoreAPI": true
900900
},
901-
"1115c1b09b14960": {
902-
"_id": "1115c1b09b14960",
901+
"15d6019c321e32c": {
902+
"_id": "15d6019c321e32c",
903903
"component": "SyrupMetamodel",
904904
"state": "schema",
905905
"action": "function schema(schema) {\n $metamodel.schema(schema);\n}",
906906
"core": true,
907907
"useCoreAPI": true
908908
},
909-
"1f7d61162315939": {
910-
"_id": "1f7d61162315939",
909+
"1cfe01d0bf12542": {
910+
"_id": "1cfe01d0bf12542",
911911
"component": "SyrupMetamodel",
912912
"state": "type",
913913
"action": "function type(type) {\n $metamodel.type(type);\n}",
914914
"core": true,
915915
"useCoreAPI": true
916916
},
917-
"1f295112911e30b": {
918-
"_id": "1f295112911e30b",
917+
"147ca11f0c1b2e8": {
918+
"_id": "147ca11f0c1b2e8",
919919
"component": "SyrupSystem",
920920
"state": "sync",
921921
"action": "function sync() {\n var system = JSON.parse($db.system());\n \n this.schemas(system.schemas);\n this.types(system.types);\n this.behaviors(system.behaviors);\n this.components(system.components);\n}",
@@ -927,7 +927,7 @@
927927
"Syrup": {
928928
"syrup": {
929929
"_id": "syrup",
930-
"version": "0.9.2"
930+
"version": "0.9.3"
931931
}
932932
},
933933
"SyrupDatabase": {

0 commit comments

Comments
 (0)