README.md in avro-builder-0.3.2 vs README.md in avro-builder-0.4.0

- old
+ new

@@ -22,11 +22,11 @@ ## Limitations * Only Avro Schemas, not Protocols are supported. * See [Issues](https://github.com/salsify/avro-builder/issues) for functionality that has yet to be implemented. -* This is alpha quality code. There may be breaking changes until version 1.0 is +* This is beta quality code. There may be breaking changes until version 1.0 is released. ## Installation Add this line to your application's Gemfile: @@ -58,10 +58,12 @@ required :id, :long required :user_name, :string required :type, :user_type, default: :REGULAR required :pw, :password optional :full_name, :string + required :nicknames, :array, items: :string + required :permissions, :map, values: :bytes end ``` The schema definition may be passed as a string or a block to `Avro::Builder.build`. @@ -108,10 +110,24 @@ "type": [ "null", "string" ], "default": null + }, + { + "name": "nicknames", + "type": { + "type": "array", + "items": "string" + } + }, + { + "name": "permissions", + "type": { + "type": "map", + "values": "bytes" + } } ] } ``` @@ -241,6 +257,5 @@ Issues and pull requests are welcome on GitHub at https://github.com/salsify/avro-builder. ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). -