From bea84213294d217dec686be6d3ae23840e258414 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 24 Feb 2016 17:18:59 +0200 Subject: [PATCH 1/4] Clean up bower package (fixes #24) --- bower.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 5e33c388..431e7fee 100644 --- a/bower.json +++ b/bower.json @@ -25,6 +25,10 @@ "tests", "lib", "demo", - "build" + "build", + "docs", + "gulpfile.js", + "*.conf.js", + "*.config.js" ] } From d0ac9667c5811b18f8f5114ba22ad06cd7917507 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Wed, 24 Feb 2016 18:25:49 +0200 Subject: [PATCH 2/4] Add additional keywords --- bower.json | 3 +++ package.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bower.json b/bower.json index 431e7fee..e21e0317 100644 --- a/bower.json +++ b/bower.json @@ -11,9 +11,12 @@ }, "license": "MIT", "keywords": [ + "OpenAPI", + "OpenAPI Specification", "Swagger", "JSON-Schema", "API", + "REST", "documentation", "Angular 2" ], diff --git a/package.json b/package.json index 9881d8c5..35315011 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,12 @@ "deploy": "build/prepare_deploy.sh && deploy-to-gh-pages demo" }, "keywords": [ + "OpenAPI", + "OpenAPI Specification", "Swagger", "JSON-Schema", "API", + "REST", "documentation", "Angular 2" ], From 8c52af3829424cb8fe427d4c9e9408a1f39b8a98 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sat, 27 Feb 2016 23:30:46 +0200 Subject: [PATCH 3/4] Fix hardcoded column witdth --- lib/components/JsonSchema/json-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/JsonSchema/json-schema.js b/lib/components/JsonSchema/json-schema.js index 0e8a4009..b8d0dbb1 100644 --- a/lib/components/JsonSchema/json-schema.js +++ b/lib/components/JsonSchema/json-schema.js @@ -144,7 +144,7 @@ export default class JsonSchema extends BaseComponent { // TODO handle internal schemes differently let names = [].slice.call(this.$element.querySelectorAll('.param-name-content')); - let widths = [144];//names.map(el => el.offsetWidth); + let widths = names.map(el => el.offsetWidth); let maxWidth = Math.max(...widths); if (!maxWidth) return; names.forEach(el => { From b054e62e0a75bf68cf97c6ad952b150ae55ed318 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sat, 27 Feb 2016 23:31:57 +0200 Subject: [PATCH 4/4] v0.6.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35315011..3941db64 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "redoc", "description": "Swagger-generated API Reference Documentation", - "version": "0.6.1", + "version": "0.6.2", "repository": { "type": "git", "url": "git://github.com/Rebilly/ReDoc"