Skip to content

Releases: esotericpig/attr_bool

v0.2.2

16 Jun 20:23
Compare
Choose a tag to compare

Changed

  • Formatted code with RuboCop.

v0.2.1

07 Nov 09:48
Compare
Choose a tag to compare

Highlights

Minor changes to README and Gemspec description.

v0.2.0

23 Oct 12:16
Compare
Choose a tag to compare

Highlights

This is a major departure from the previous version (v0.1.0) by not extending the core (monkey-patching) Module by default.

Instead, you should update your code to extend AttrBool::Ext:

require 'attr_bool'

class BananaHammock
  extend AttrBool::Ext
  
  attr_reader? :the_todd
end

The above is recommended for shared libraries.

However, if you wish to continue imitating the previous version, simply require the new attr_bool/core_ext.

This is great for scripts and/or apps, but also important for legacy code that used v0.1.0.

require 'attr_bool/core_ext'

class BananaHammock
  attr_reader? :the_todd
end

v0.1.0

19 Apr 17:30
Compare
Choose a tag to compare

Initial working version.