Trio of Gems
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Trio of Gems

on

  • 1,190 views

Presentation given at October 2009 London Ruby User Group on three gems I have written: ...

Presentation given at October 2009 London Ruby User Group on three gems I have written:

Numerouno - English natural language parser
Baldrick - framework for readying RSS feeds and other sources to hack things together
Bumps - remote feature management for Cucumber

Statistics

Views

Total Views
1,190
Views on SlideShare
1,185
Embed Views
5

Actions

Likes
0
Downloads
9
Comments
0

3 Embeds 5

http://www.slideshare.net 2
http://www.linkedin.com 2
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Trio of Gems Presentation Transcript

  • 1. GemsI made some Brent Snook http://skillsmatter.com/podcast/ajax-ria/a-trio-of-gems Friday, 16 October 2009
  • 2. Brent who? • Agile weenie from Melbourne, Australia • known to use Java when cornered • available for dev, coaching, children’s parties • fuglylogic.com • brentsnook Friday, 16 October 2009
  • 3. Numerouno http://github.com/brentsnook/ numerouno Friday, 16 October 2009
  • 4. parse a number require 'numerouno' 'five billion and forty two apples'.as_number => 5000000042 '65'.as_number => 65 require 'numerouno-parsing' Numerouno.parse 'one hundred and ten things' Friday, 16 October 2009
  • 5. replace numbers require 'numerouno' 'two bit varmint'.sub_numbers => '2 bit varmint' require 'numerouno-parsing' Numerouno.replace '2 bit varmint' Friday, 16 October 2009
  • 6. Cucumber steps require 'numerouno' Then /the meaning of life is (.+)/ do |number| 42.should == number.as_number end Then the meaning of life is forty two Then the meaning of life is 42 Friday, 16 October 2009
  • 7. Baldrick http://github.com/brentsnook/ baldrick Friday, 16 October 2009
  • 8. inspired by Friday, 16 October 2009
  • 9. cuppa.rb require 'rubygems' require 'baldrick_serve' feed_url = 'http://search.twitter.com/search.atom?q=cup+of' listen_to :feed, :at => feed_url on_hearing /cup of (.*?)[.,]/ do |beverage, order| puts "#{order[:who]} would like a cup of #{beverage}" end Friday, 16 October 2009
  • 10. orders === brent on commodore64.:43215 === * [25-Feb-2009 10:17 PM] I’d like a cup of tea, maybe a biscuit too Friday, 16 October 2009
  • 11. tasks kettle.fill kettle.switch_on Friday, 16 October 2009
  • 12. cuppa.rb require 'rubygems' require 'baldrick_serve' feed_url = 'http://search.twitter.com/search.atom?q=cup+of' listen_to :feed, :at => feed_url on_hearing /cup of (.*?)[.,]/ do |beverage, order| puts "#{order[:who]} would like a cup of #{beverage}" end Friday, 16 October 2009
  • 13. why not use it for Friday, 16 October 2009
  • 14. Bumps http://github.com/brentsnook/ bumps Friday, 16 October 2009
  • 15. the bigger picture ? Friday, 16 October 2009
  • 16. alternatives • Remote Feature http://github.com/mhennemeyer/remote_feature • Pickler http://github.com/tpope/pickler • CucumberTFS http://github.com/mscottford/cucumbertfs Friday, 16 October 2009
  • 17. configuration (env.rb) require 'bumps' Bumps.configure do use_server 'http://localhost:1981' end Friday, 16 October 2009
  • 18. next ? Friday, 16 October 2009
  • 19. images Cucumber - http://www.flickr.com/photos/vizzzual-dot-com/2738586453/ Steps - http://commons.wikimedia.org/wiki/File:Step_Ladder.jpg Sinatra - http://www.flickr.com/photos/t/916884/ Barrel Hitch Instructions - http://commons.wikimedia.org/wiki/File:Barrel_hitch_instructions.png Puzzle Piece - http://commons.wikimedia.org/wiki/File:Puzzle.svg Cup of Tea - http://www.flickr.com/photos/psd/54314099 Lava Lamp - http://commons.wikimedia.org/wiki/File:Lavalampe.jpg Nuclear power plant - http://commons.wikimedia.org/wiki/File:Nuclear_power.JPG Arduino - http://commons.wikimedia.org/wiki/File:Arduino-0017-512x512px.png Bumps Sign - http://commons.wikimedia.org/wiki/File:0bnsc-109_0.svg Wave Logo - http://commons.wikimedia.org/wiki/File:Google_Wave_logo.png Friday, 16 October 2009