Upload
michaeldwp
View
513
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Slides from Ottawa Ruby's May 2012 meetup.Has announcements for upcoming speakers, and details on some practice Ruby katas and Whenbot One-Liners.
Citation preview
Welcome toRuby Tuesday :)
May 22, 2012
Tonight’s Plan
1. Announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and networking
5. A bit of hacking
1. Announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and schmoozing
5. A bit of hacking
Tonight’s Plan
June Speaker:Jeff Casimir Returns!Jumpstart Lab Founder
Ruby, Rails, jQuery Teacher
As seen in Codeschool’s jQuery Air: First Flight
June Speaker:Jeff Casimir Returns!
Talk Topic
Adventures on the Golden Path
(Rails 4)
August Speaker:Avdi Grimm
Speaker
Author: Exceptional Ruby, Objects on Rails
Ruby Rogue
August Speaker:Avdi Grimm
Talk Topic
To Be Announced
Upcoming Speaker:Russ Olsen
Author: Design Patterns in Ruby
Upcoming Speaker:Russ Olsen
Author: Design Patterns in Ruby
Author: Eloquent Ruby
Upcoming Speaker:Russ Olsen
Author: Design Patterns in Ruby
Author: Eloquent Ruby
Topic: Chosen by vote
Upcoming Speaker:Russ Olsen
Survey coming this week
Idiomatic Ruby
How Ruby is Implemented
A talk about Explaining Tech
Or, he takes requests :-)
Tonight’s Speaker:Charles Max Wood
Ruby/Rails Coach and Teacher
TeachMeToCode.com
Ruby Rogues
Javascript Jabber
Ruby Freelancers
1. Announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and schmoozing
5. A bit of hacking
Tonight’s Plan
Introduce yourselves
We won’t bite. ;)
1. Announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and schmoozing
5. A bit of hacking
Tonight’s Plan
Charles Max Wood
Ruby / Rails CoachTeachMeToCode.com,
Podcasts:Ruby Rogues, Javascript Jabber, Ruby Freelancers
Tonight’s Speaker
1. A few announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and schmoozing
5. A bit of hacking
Tonight’s Plan
Break: Food and Schmoozing...
After the break: A bit of hacking
(around 20-30 minutes.)
1. A few announcements
2. Introduce yourselves
3. Presentation: Charles Max Wood
4. Break: food and schmoozing
5. A bit of hacking
Tonight’s Plan
1. Yellow Belt Kata
2. Gilded Rose Refactoring Kata
3. Whenbot: One-Liners
A Bit of Hacking
Kata steps1. Clone the repository
2. RVM: create a new gemset
3. Run ‘bundle install’
1. May need to ‘gem install bundler’ first
4. Run ‘rake’
5. Each page has instructions
Cloning the Repo
$ git clone https://github.com/jimweirich/gilded_rose_kata
1. Yellow Belt Kata
2. Gilded Rose Refactoring Kata
3. Whenbot: One-Liners
A Bit of Hacking
Beginner KatasYellow Belt Katas
Level: Easy
Results: Solve problems using your Ruby Skillz
Link: http://bit.ly/yellow-belt-kata
Or, Google “Ruby yellow belt kata”
Yellow Belt Kataslib/ -- fib.rb -- fizzbuzz.rb -- gcd.rb ...
spec/ -- fib_spec.rb -- fizzbuzz_spec.rb -- gcd_spec.rb ...
Choose which one you want to work on.
Yellow Belt Katas
# Reverse the given input string
def reverse_word(word)end
lib/reverseword.rb
Yellow Belt Katas
require 'reverseword'
describe "#reverse_word" do before { pending }
When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
spec/reverseword_spec.rb
Yellow Belt Katas
require 'reverseword'
describe "#reverse_word" do before { pending }
When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
spec/reverseword_spec.rb
Yellow Belt Katas
require 'reverseword'
describe "#reverse_word" do
When (:result) { reverse_word(word) } context "with any word" do Given(:word) { "looc" } Then { result.should == "cool" } endend
spec/reverseword_spec.rb
Yellow Belt Kata
http://bit.ly/yellow-belt-kata
1. Yellow Belt Kata
2. Gilded Rose Refactoring Kata
3. Whenbot: One-Liners
A Bit of Hacking
Gilded Rose Kata
Level: Medium
Results: Practice refactoring via TDD
Link: http://bit.ly/refactoring-kata
Or, Google “Ruby yellow belt kata”
Gilded Rose Kata
Gilded Rose Kata
http://bit.ly/refactoring-kata
1. Yellow Belt Kata
2. Gilded Rose Refactoring Kata
3. Whenbot: One-Liners
A Bit of Hacking
Whenbot One-Liners
Level: Easy-Medium
Results: Various Ruby/Rails tasks. Contribute to Open-Source
Link: http://bit.ly/whenbot-one-liners
Whenbot One-Liners
Whenbot One-Liners
Step by step instructions are at
http://bit.ly/whenbot-one-liners
Questions?
Let’s Hack!•Choose what you want to work on
•Holler / raise hand with any questions
•Most importantly, have fun! :)
KatasBeginners: Google “Ruby yellow belt kata”
Or: http://bit.ly/yellow-belt-kata
Intermediate/Advanced:
http://bit.ly/refactoring-kata
Various + Open Source
http://bit.ly/whenbot-one-liners