Seattle.rb: June 2009 Archives

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.3.2 / 2009-06-30

Releasing with Hoe

| | Comments (0)

hoe_release.mov (2054 Kb)

I've got other movies up there too from all my presentations and demos.

ETA: I should add, not only is that releasing a new gem, it is also posting news to rubyforge, my blog, and the seattle.rb and ruby-talk mailing lists. I don't have to do anything afterwards.

Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.

Changes:

1.2.0 / 2009-06-24

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.3.1 / 2009-06-24

ZenWeb is a set of classes/tools for organizing and formating a website. It is website oriented rather than webpage oriented, unlike most rendering tools. It is content oriented, rather than style oriented, unlike most rendering tools. It provides a plugin system of renderers and filters to provide a very flexible, and powerful system.

Documentation is available in the docs directory, and can be generated into html (in docshtml) simply by running make. See QuickStart and YourOwnWebsite for setup and starting to build a website.

(EXPERIMENTAL) If you are running apache, you might try 'make apache' which will run a private version of apache that points to the generated documenation. Point your browser to port 8080 of localhost or whatever machine you are running on.

Changes:

2.18.1 / 2009-06-23

ZenWeb is a set of classes/tools for organizing and formating a website. It is website oriented rather than webpage oriented, unlike most rendering tools. It is content oriented, rather than style oriented, unlike most rendering tools. It provides a plugin system of renderers and filters to provide a very flexible, and powerful system.

Documentation is available in the docs directory, and can be generated into html (in docshtml) simply by running make. See QuickStart and YourOwnWebsite for setup and starting to build a website.

(EXPERIMENTAL) If you are running apache, you might try 'make apache' which will run a private version of apache that points to the generated documenation. Point your browser to port 8080 of localhost or whatever machine you are running on.

Changes:

2.18.0 / 2009-06-23

  • 1 major enhancement:

    • Transitioned to hoe layout. FIVE YEARS since this was last released!
  • 28 minor enhancements

    • Added CalendarRenderer.
    • Added FileAttachmentRenderer.
    • Added TemplateRenderer. Might not work w/o other files tho... But readable. :)
    • Added colon to the allowed filename regex.
    • Added escape param to include method, defaulting to false.
    • Added metadata: headextra, nakedpage, skip_subpages
    • Added new syntax for automatic div and table markup.
    • Added ordered HTML list support with the "=" delimiter
    • Added several tests.
    • Added style handlers to the HtmlTableRenderer for pretty markup
    • Big push towards HTML 4.0 Strict compliance.
    • Clarified what classes must not modify regular input in a test.
    • Cleaned TextToHtmlRenderer by switching to a case for most stuff.
    • Cleaned and fixed tests.
    • Cleaned up FileAttachmentRenderer using new scan_region.
    • Cleaned up all render tests to go directly against renderer.
    • Enhanced GenericRenderer.scan_region to make it much easier for developers.
    • Enhanced HtmlTableRenderer to be more customizable.
    • Extended GenericRenderer#scan_region to pass the context to the yield block.
    • Lots of work in tests to make cleaner/better.
    • Made tests a TON faster (2x) by removing most calls to renderContent.
    • Modified RubyCodeRenderer to use tags instead of ! lines.
    • Revamped a number of tests.
    • Switched HtmlTableRenderer to scan by line, not by paragraph.
    • Workaround added until a bug is fixed in ruby (should be in 1.8.2). This speeds up ZenWeb by 50% on my website. (HAHA!)
    • head_extra allows you to inject into the header (for JS mostly).
    • naked_page turns off nearly all of the page template.
    • skip_subpages turns off subpage injection.
  • 10 bug fixes

    • Couldn't call parent on the top page.
    • Fixed a bug in HtmlTableRenderer when a paragraph butts up against it.
    • Fixed a bug in the doco.
    • Fixed a problem where files with dashes in their names were rejected.
    • Fixed a validation issue w/ divs inside tables.
    • Fixed includes in makefile. Improved pre-test syntax checks.
    • Fixed scan_region so it preserves all whitespace as-is.
    • Fixed some HTML issues and a bug accidentally merging the event array
    • ICBM metadata was missing a newline.
    • TextToHtmlRenderer no longer wraps in P tags if it detects a block tag.
  • http://rubyforge.org/projects/zenweb/

PNG is an almost-pure-ruby PNG library. It lets you write a PNG without any C libraries.

Changes:

1.2.0 / 2009-06-23

  • 26 minor enhancements:

    • Add load_metadata flag to PNG.load to extract dimensions and depth.
    • Add pure-ruby versions back for pngjoin and pngcrc.
    • Added Canvas#composite(canvas, x, y, style) with overwrite, underlay, overlay, and blend.
    • Added Canvas#each, passes x, y, color.
    • Added Canvas#extract.
    • Added Color#|, Background color is effective false.
    • Added Font#coordinates and cached each letter when extracted.
    • Added PNG::load_file.
    • Added reader tests.
    • Added tests for PNG::Font.
    • Added tests for PNG::load.
    • Added to/from hsv methods to Color.
    • Clean up tests to remove duplication.
    • Cleaned up Color#to_ascii to make much easier to read and extend.
    • Cleaned up a fair amount of code, removing as many raw literals as possible.
    • Color#blend is a simple averaging algorithm now.
    • Extended reader to include RGB as well, paving the way for grayscale.
    • Fake support for RGB as well as RGBA (default alpha to 255).
    • Made reader work again (was flipped and all sorts of broken).
    • Split out reader.
    • Switched to minitest.
    • Time to refactor PNG::Font to use #extract and #composite...
    • Updated Rakefile to new hoe capabilities.
    • Updated manifest.
    • metadata_only now cleaner.
    • read_IHDR now returns height, width instead of a canvas.
  • 3 bug fixes:

    • Fixed example/lines and added text.
    • Fixes for 1.9.
    • Ignore color profile if it exists (fixes problems on osx screenshots).
  • http://seattlerb.rubyforge.org/

ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve. :)

For more information including build steps, see http://seattlerb.rubyforge.org/

Changes:

1.2.0 / 2009-06-23

  • 7 minor enhancements:

    • Moved quickthumb to bin/imagescience_thumb and properly added.
    • Added -s (square) flag to bin/imagesciencethumb
    • Added autorotating on image load. (choonkeat)
    • Added ruby_inline to clean globs
    • Added withimagefrom_memory. (sumbach)
    • Switched to minitest.
    • Updated rakefile for now hoe capabilities.
  • 3 bug fixes:

    • Check and convert to 24 BPP if save type is jpg. Caused by 32bpp png to jpg.
    • Fixed 1.9isms
    • Fixed BMP support. Tweaked whitespace.
  • http://seattlerb.rubyforge.org/ImageScience.html

  • http://rubyforge.org/projects/seattlerb

Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.

Changes:

1.1.1 / 2009-06-22

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.3.0 / 2009-06-23

  • 1 major enhancement:

    • Plugins can no longer be self-activating.
  • 8 minor enhancements:

    • All hoe plugins are pre-activated.
    • Allow RDoc title to be set via specextras['rdocoptions'].
    • Cleaned up plugin activation.
    • History intuition extended for markdown. drnic/jbarnette
    • Move RDoc task requires to hoe/publish.rb.
    • Only activated plugins are loaded, extended, and activated.
    • Plugin loading deferred until hoe-spec creation, allowing proper meta-plugins.
    • inline plugin adds RubyInline dependency and hooks clean task.
  • 2 bug fixes:

    • Fixed developer load order error in load_plugins.
    • rcov should use test_globs. apatterson
  • http://rubyforge.org/projects/seattlerb/

  • http://seattlerb.rubyforge.org/hoe/
  • ryand-ruby@zenspider.com

Getting there...

| | Comments (0)
seattlerb_dashboard.png

closer and closer...

Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.

Changes:

1.1.0 / 2009-06-17

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.2.0 / 2009-06-17

  • 8 minor enhancements:

    • Alter task descriptions to say what plugin they come from. jbarnette
    • Fix and improve generate_key task. Patch #20441 by Matthew Kent.
    • Hoe.plugin can take multiple names. jbarnette
    • Increase configurability of RDoc tasks. Patch #19597 by Sylvain Joyeux.
    • Refactored and renamed email task to debug_email, removed from announce.
    • Removed email task from announce task.
    • Switched to seattlerb plugin
    • checkextradeps now installs developer dependencies as well
  • 3 bug fixes:

    • Fixed blogs entry in DEFAULT_CONFIG.
    • activated but missing plugins are properly skipped now
    • exclude field was missing from DEFAULT_CONFIG
  • http://rubyforge.org/projects/seattlerb/

  • http://seattlerb.rubyforge.org/hoe/
  • ryand-ruby@zenspider.com

Hoe 2, Electric Boogaloo

| | Comments (2)

What is Hoe?

Hoe is a library that provides extensions to rake to automate every step of the development process from genesis to release. It provides project creation, configuration, and a multitude of tasks including project maintenance, testing, analysis, and release. We found rake to be an incredible vehicle for functionality in the abstract, but decidedly lacking in concrete functionality. We filled in all the blanks we could through a "hoe-spec":

require "hoe"
Hoe.spec "project_name" do
  developer "Ryan Davis", "ryand-ruby@zenspider.com"
  # ...
end

This hoe-spec specifies everything about your task that is different from the defaults and from that, creates a multitude of tasks and a gemspec used for packaging and release. When you update hoe, you update all your projects that use hoe. That's it. Nothing more is needed. Everything is DRY.

Hoe plugins providing tasks used by seattle.rb.

Changes:

1.0.0 / 2009-06-14

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.1.0 / 2009-06-14

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

Plug-ins Provided:

  • Hoe::Clean
  • Hoe::Debug
  • Hoe::Deps
  • Hoe::Flay
  • Hoe::Flog
  • Hoe::Inline
  • Hoe::Package
  • Hoe::Publish
  • Hoe::RCov
  • Hoe::Signing
  • Hoe::Test

See class rdoc for help. Hint: ri Hoe

Changes:

2.0.0 / 2009-06-02

  • 3 major enhancements:

    • Added a plugin system and extracted nearly everything into separate plugins.
    • Added Clean, Debug, Deps, Flay, Flog, Inline, Package, Publish, Rake, Rcov, Signing, and Test plugins
  • 9 minor enhancements:

    • Added Hoe::spec replacing old Hoe.new spec form. Now with DSL flavors!
    • Added DEFAULT_CONFIG so plugins can add to it.
    • Added pluggable! to declare your package depends on rubygems 1.3.1+.
    • Changes are now included in the gem's description.
    • Deprecated Hoe.new spec form.
    • Filled in all the blanks on rdoc.
    • Refactored nearly all the spec logic down to much smaller/cleaner pieces.
    • Updated templates to use new form. No clue how best to update yours. :P
    • Version number is now auto-searchable by grepping in all the files.
  • http://rubyforge.org/projects/seattlerb/

  • http://seattlerb.rubyforge.org/hoe/
  • ryand-ruby@zenspider.com

About this Archive

This page is a archive of entries in the Seattle.rb category from June 2009.

Seattle.rb: May 2009 is the previous archive.

Seattle.rb: July 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en