From df9f88adf2f8455798ed66e6835aef193c467aa8 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2014 23:23:09 -0700 Subject: [PATCH 1/5] initial travis setup --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..a564c1bf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: ruby +rvm: + - "1.9.3" + - "2.1.1" + - "2.1.2" +# uncomment this line if your project needs to run something other than `rake`: +# script: bundle exec rspec spec From 5403af3a51335e6b62aaf99a84fa516cc141c26e Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2014 23:30:42 -0700 Subject: [PATCH 2/5] add build status image --- README.textile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.textile b/README.textile index dbbcae63..d9896961 100644 --- a/README.textile +++ b/README.textile @@ -2,6 +2,8 @@ h1. Ruby JSON Schema Validator This library is intended to provide Ruby with an interface for validating JSON objects against a JSON schema conforming to "JSON Schema Draft 4":http://tools.ietf.org/html/draft-zyp-json-schema-04. Legacy support for "JSON Schema Draft 3":http://tools.ietf.org/html/draft-zyp-json-schema-03, "JSON Schema Draft 2":http://tools.ietf.org/html/draft-zyp-json-schema-02, and "JSON Schema Draft 1":http://tools.ietf.org/html/draft-zyp-json-schema-01 is also included. +Build Status: !https://travis-ci.org/apsoto/json-schema.svg?branch=master + h2. Version 2.0.0 Upgrade Notes Please be aware that the upgrade to version 2.0.0 will use Draft-04 *by default*, so schemas that do not declare a validator using the $schema keyword will use Draft-04 now instead of Draft-03. This is the reason for the major version upgrade. From fd725dce8d8f02eb9fc44623dd717613a57f67fb Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2014 23:31:47 -0700 Subject: [PATCH 3/5] fix build status image --- README.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.textile b/README.textile index d9896961..4535a371 100644 --- a/README.textile +++ b/README.textile @@ -2,7 +2,7 @@ h1. Ruby JSON Schema Validator This library is intended to provide Ruby with an interface for validating JSON objects against a JSON schema conforming to "JSON Schema Draft 4":http://tools.ietf.org/html/draft-zyp-json-schema-04. Legacy support for "JSON Schema Draft 3":http://tools.ietf.org/html/draft-zyp-json-schema-03, "JSON Schema Draft 2":http://tools.ietf.org/html/draft-zyp-json-schema-02, and "JSON Schema Draft 1":http://tools.ietf.org/html/draft-zyp-json-schema-01 is also included. -Build Status: !https://travis-ci.org/apsoto/json-schema.svg?branch=master +Build Status: !https://travis-ci.org/apsoto/json-schema.svg?branch=master! h2. Version 2.0.0 Upgrade Notes From 4b74e1fc27a661a4fbe3817241c968b043016558 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2014 23:32:54 -0700 Subject: [PATCH 4/5] move build status to top --- README.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.textile b/README.textile index 4535a371..5294cbb3 100644 --- a/README.textile +++ b/README.textile @@ -1,9 +1,9 @@ +!https://travis-ci.org/apsoto/json-schema.svg?branch=master! + h1. Ruby JSON Schema Validator This library is intended to provide Ruby with an interface for validating JSON objects against a JSON schema conforming to "JSON Schema Draft 4":http://tools.ietf.org/html/draft-zyp-json-schema-04. Legacy support for "JSON Schema Draft 3":http://tools.ietf.org/html/draft-zyp-json-schema-03, "JSON Schema Draft 2":http://tools.ietf.org/html/draft-zyp-json-schema-02, and "JSON Schema Draft 1":http://tools.ietf.org/html/draft-zyp-json-schema-01 is also included. -Build Status: !https://travis-ci.org/apsoto/json-schema.svg?branch=master! - h2. Version 2.0.0 Upgrade Notes Please be aware that the upgrade to version 2.0.0 will use Draft-04 *by default*, so schemas that do not declare a validator using the $schema keyword will use Draft-04 now instead of Draft-03. This is the reason for the major version upgrade. From c795b591d56bd64acb0954b7d2482b9a5717c2ea Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Fri, 18 Jul 2014 23:39:40 -0700 Subject: [PATCH 5/5] realized that the build badge is pinned to my fork, fix on upstream once travis running on it --- README.textile | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.textile b/README.textile index 5294cbb3..dbbcae63 100644 --- a/README.textile +++ b/README.textile @@ -1,5 +1,3 @@ -!https://travis-ci.org/apsoto/json-schema.svg?branch=master! - h1. Ruby JSON Schema Validator This library is intended to provide Ruby with an interface for validating JSON objects against a JSON schema conforming to "JSON Schema Draft 4":http://tools.ietf.org/html/draft-zyp-json-schema-04. Legacy support for "JSON Schema Draft 3":http://tools.ietf.org/html/draft-zyp-json-schema-03, "JSON Schema Draft 2":http://tools.ietf.org/html/draft-zyp-json-schema-02, and "JSON Schema Draft 1":http://tools.ietf.org/html/draft-zyp-json-schema-01 is also included.