Sha256: 9048b2037af396eb3bee7e0b9da4a5a071600fb9ead3931b0b04d57172cf91ff

Contents?: true

Size: 1.57 KB

Versions: 374

Compression:

Stored size: 1.57 KB

Contents

= Builder 2.1.1 Released.

Release 2.1.1 of Builder is mainly a bug fix release.

== Changes in 2.1.1

* Added <tt>reveal</tt> capability to BlankSlate.

* Fixed a bug in BlankSlate where including a module into Object could
  cause methods to leak into BlankSlate.

* Fixed typo in XmlMarkup class docs (from Martin Fowler).

* Fixed test on private methods to differentiate between targetted and
  untargetted private methods.

* Removed legacy capture of @self in XmlBase (@self was used back when
  we used instance eval).

* Added additional tests for global functions (both direct and
  included).

* Several misc internal cleanups, including rearranging the source
  code tree.

<b>NOTE:</b> The escaping attribute values by default is different
than in previous releases of Builder.  This makes version 2.0.x
somewhat incompatible with the 1.x series of Builder.  If you use "&",
"<", or ">" in attributes values, you may have to change your
code. (Essentially you remove the manual escaping.  The new way is
easier, believe me).

== What is Builder?

Builder::XmlMarkup is a library that allows easy programmatic creation
of XML markup.  For example:

  builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2)
  builder.person { |b| b.name("Jim"); b.phone("555-1234") }

will generate:

  <person>
    <name>Jim</name>
    <phone>555-1234</phone>
  </person>

== Availability

The easiest way to get and install builder is via RubyGems ...

  gem install builder    (you may need root/admin privileges)

== Thanks

* Martin Fowler for spotting some typos in the documentation.

-- Jim Weirich

Version data entries

374 entries across 301 versions & 74 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/builder-3.3.0/doc/releases/builder-2.1.1.rdoc
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/doc/releases/builder-2.1.1.rdoc
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/builder-3.3.0/doc/releases/builder-2.1.1.rdoc
builder-3.3.0 doc/releases/builder-2.1.1.rdoc
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
vagrant-unbundled-2.2.19.0 vendor/bundle/ruby/3.0.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/builder-3.2.4/doc/releases/builder-2.1.1.rdoc