{"push_id":547848125,"size":17,"distinct_size":2,"ref":"refs/heads/master","head":"47aff9a04020e4ca456e57ed7d131b13b8b11c0b","before":"2da689c5b9ce58cbeacd73b74a87bde88387b228","commits":[{"sha":"84a5519afa388530413af83f17fb7ad9d3c98f7f","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"WIP: Add RESTBase spec loading support\n\n- Abstract out tree building and provide a simple flat tree builder\n- Start of a RESTBase spec loader / tree builder. This should probably be\n  moved out of the router & into restbase, but for now this is a convenient\n  way to get it going.","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/84a5519afa388530413af83f17fb7ad9d3c98f7f"},{"sha":"0f697a6aa8753b75a86c55ae174aaf1808e169a3","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: use the _modules property to keep track of loaded modules","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/0f697a6aa8753b75a86c55ae174aaf1808e169a3"},{"sha":"5d7cd9262911d32cc67c4b5c00622a09ad462181","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: Add a function loading the complete YAML conf\n\nRouter.loadFullConf() allows one to load the complete YAML swagger\nconfiguration, even if it is split in multiple files. Concretely, it\nfirst loads the YAML file, and then traverses the loaded object looking\nfor 'interfaces' keys. When found, it tries to load their contents if\nthe members are strings.\n\nExample:\n var router = new Router.Router();\n var conf = router.loadFullConf(yaml_file_name);\n var tree = router.restBaseSpecToTree(conf.spec);","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/5d7cd9262911d32cc67c4b5c00622a09ad462181"},{"sha":"6029ac353f54bcc5e6ea8f8506240bd0242da2a9","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: js-yaml and fs are required for loadFullConf() to work","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/6029ac353f54bcc5e6ea8f8506240bd0242da2a9"},{"sha":"7ea8eae81b9586253ee848cc5577e46d40d7c2fd","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: Add the js-yaml dependency to pass Travis tests","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/7ea8eae81b9586253ee848cc5577e46d40d7c2fd"},{"sha":"c884cb316d85529e0b2c5e0b5acefdcfed504699","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Move RESTBase spec loading out\n\nThe RESTBase-specific spec loading is now being developed in the restbase\n'modules' branch: https://github.com/wikimedia/restbase/tree/modules\n\nThis patch also defines the key prefix in the Node map as a central constant,\nand picks a value that is more readable when dumping a tree (/).","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/c884cb316d85529e0b2c5e0b5acefdcfed504699"},{"sha":"eb617d88115b69bc7694436f6e6e855e54e969bd","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Minor: s/_map/_children/g","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/eb617d88115b69bc7694436f6e6e855e54e969bd"},{"sha":"ff053dd908a35cac3a8e86f965668e32c5295126","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"General cleanup\n\n- Move path parameter names to the child node, so that we can support\n  different names for different fixed prefixes:\n  /{foo:a}/..\n  /{bar:b}/..\n\n  As a side-effect, this also reduces the size of `Node`s slightly.\n\n- Move the `_wildcard` property into `_children.wildcard`\n\n- Rename `Node.{get,set}` to `Node.{get,set}Child` for clarity\n\n- Support mixing of wildcard & non-wildcard routes at one level, with\n  precedence for non-wildcard matches.","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/ff053dd908a35cac3a8e86f965668e32c5295126"},{"sha":"4242e8ff8f489e5eff86a3af97feff8c5e863112","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Small bug fixes in clone() & buildPath()","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/4242e8ff8f489e5eff86a3af97feff8c5e863112"},{"sha":"ca5d6def89f405add0f10de85ff5c155f0729201","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Remove unused _buildPath method & add some tests\n\nStatement coverage is around 91% with these changes.","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/ca5d6def89f405add0f10de85ff5c155f0729201"},{"sha":"bfcc65df34b523642193f48c35a3f0836f3ffc2f","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Improve decoding / encoding of URI fragments, and add a test\n\nAlso remove the node counter; it should be more robust to establish sharing\nvia route object equality.","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/bfcc65df34b523642193f48c35a3f0836f3ffc2f"},{"sha":"af03315ae544fa2c83af36623a678a6d2c1dca64","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Merge remote-tracking branch 'upstream/restbase-loader' into restbase-loader","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/af03315ae544fa2c83af36623a678a6d2c1dca64"},{"sha":"1e6b4aa47d3546a5b35a2262fea3ac1924b1f258","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: Add some functionalities to the URI class\n\nThis commit brings three new methods to the URI class:\n * pushSuffix() - appends a suffix path to an existing URI object\n * popSuffix() - removes a suffix path from an URI object\n * startsWith() - checks if the URI object's path starts with the given\n   prefix","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/1e6b4aa47d3546a5b35a2262fea3ac1924b1f258"},{"sha":"217ec23ae0d2571f0f064b270bcd1d102cc355dc","author":{"email":"c25a5647c4068c11aeb56e953f109ffd04de4cb4@gmail.com","name":"Marko Obrovac"},"message":"Minor: Add tests for the new URI features","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/217ec23ae0d2571f0f064b270bcd1d102cc355dc"},{"sha":"5dd81775eaeb904a748c50ed1ebaf068cf56a716","author":{"email":"71feaa63d9ffd2c6469878d682ebe05eed90a36c@wikimedia.org","name":"Marko Obrovac"},"message":"Merge pull request #5 from wikimedia/restbase-loader\n\nRestbase loader","distinct":true,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/5dd81775eaeb904a748c50ed1ebaf068cf56a716"},{"sha":"8437c35a9bb4338e0c3294cf95e730a0aaa0d2ce","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Properly support lookup on URIs\n\nAlso:\n\n- rename public `.segments` property to `.path`\n- move URI code before Node","distinct":false,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/8437c35a9bb4338e0c3294cf95e730a0aaa0d2ce"},{"sha":"47aff9a04020e4ca456e57ed7d131b13b8b11c0b","author":{"email":"8d8a27ec7e6193445950faf84518bb6683b4866c@wikimedia.org","name":"Gabriel Wicke"},"message":"Merge branch 'restbase-loader'","distinct":true,"url":"https://api.github.com/repos/gwicke/swagger-router/commits/47aff9a04020e4ca456e57ed7d131b13b8b11c0b"}]}