README.md in code-box-1.0.1 vs README.md in code-box-1.1.0

- old
+ new

@@ -73,13 +73,16 @@ Example class Person include CodeBox::CodeAttribute - attr_accessor :nationality_code + attr_accessor :nationality_code, :nationalities_code - code_attribute :nationality, :lookup_type => :lookup + code_attribute :nationality, :lookup_type => :lookup + + code_attribute :nationalities, :lookup_type => :lookup, :enum => :set, :class_name => 'Codes::Country' + # Will store countries as comma separated list of country codes, e.g. 'SUI,GER,USA' end # Note: Below class is a plain sample implementation. Code objects can be built easier with # 'ActsAsCode' include (see below) class Code::Nationality @@ -302,13 +305,18 @@ ### Examples TO BE DONE… ## Changelog +### Version 1.1.0 +* Type lookup has now :enum functionality. Supported is the type :set right now + +### Version 1.0.1 +* Fixed Constant creation. Checks for constants are limited to current scope. + ### Version 1.0.0 * Whatever activerecord version you use - or not activerecord at all - simply use the gem version 1.0.0. There is no dependency on activerecord anymore. You can use activerecord codes as described. TravisCI tests show proper working on activerecord 3.x and 4.x. - ### Version 0.5.1 * Adding testing methods for codes objects. E.g. Code-Object with code 'my_code' get method `#codeObjectInstance.my_code?` defined. * Method `.build_select_options` has been changed so you can pass in more flexible empty option configuration (see Readme). * Ugrade of Rails 4 Version pending…