Tommy Sullivan's blog



Tommy SullivanTommy Sullivan
Standup April 21st - AWS is down, Heroku is out
edit Posted by Tommy Sullivan on Thursday April 21, 2011 at 02:07PM

Help

"What's the best admin gem out there?"

Interesting

"Amazon Web Services is down"

This is one of the longest outages we've seen of Amazon and thus Heroku. So many Ruby applications rely on Heroku that the community is certainly affected. Updates on the damage are on Heroku and Amazon. You can see how far reaching problems on EC2 are on ec2disabled.com

"Obama is in town!"

There have been rumors he is visiting a few notable software companies in the area, hopefully he'll stop by. Watch out for blocked streets for the motorcade.

Tommy SullivanTommy Sullivan
Standup April 18th - Keeping fixtures fresh and Regex's encoded
edit Posted by Tommy Sullivan on Monday April 18, 2011 at 10:52AM

Help!

Jasmine fixtures A Pivot was bothered by the occasionally stale state of Jasmine .html fixtures. If you're following a workflow similar to the recent Jasmine Railscast then your fixture files will undoubtable deviate from the 'reality' of your application. JB posted a solution that address the issue of quickly generating and loading .html fixture files, but this Pivot's concern was having to manually kick off that process. It seems like watchr would be a good tool to monitor app/views and call one's fixture generation process.

encoding of regular expressions in 1.9 Executing regular expressions over input of unknown encodings has caused headaches for people using Ruby 1.9. When the encoding of the regex and input differ Ruby throws an Encoding::CompatibilityError. The only solution we've seen is to change the encoding of either the input or expression to match the other, as seen here.

Tommy SullivanTommy Sullivan
Standup 6/3/2010: Jasmine bundled with RubyRacer
edit Posted by Tommy Sullivan on Thursday June 03, 2010 at 12:16PM

Interesting Things

Jasmine bundled with RubyRacer
Jasmine is now optionally bundled with the RubyRacer gem. This lets you run Jasmine tests through Google's V8 engine in a browser-less environment. Similarly, some Pivots paired Jasmine with Johnson and env.js to produce JazzMoney. Right now, JazzMoney is the only headless testing tool for Ruby that has DOM support, but I'm sure RubyRacer has that in mind. You can find JazzMoney here.

Help

Does anyone know how to run specs with a certain name? We're using RSpec to generate fixtures for our Jasmine tests and want those to be updated right before we run our Jasmine task.

You can set SPEC_OPTS with the 'e' flag and give it a string to match test names. Something like this: rake spec SPEC_OPTS='-e "should generate a fixture"'

Tommy SullivanTommy Sullivan
Standup 6/2/2010: RubyMine integrates with Tracker
edit Posted by Tommy Sullivan on Wednesday June 02, 2010 at 12:50PM

Interesting Things

RubyMine Integration
RubyMine is integrating with Pivotal Tracker! Beta version 2.5 lets you follow stories through the IDE's task tool and tags your source control comments with the current tasks. It's nice to see the title of your current story as you work. I'm excited to see what deeper integrations lie ahead. This screenshot shows what it looks like selecting a story through the menu item Tools > Task > Open... Selecting stories through open task autocomplete.

Tommy SullivanTommy Sullivan
Standup 6/1/2010: TextMate debugging & Hack Night
edit Posted by Tommy Sullivan on Tuesday June 01, 2010 at 12:00PM

Ask for Help

"Has anyone run into issues with TextMate's 'convert to RTF'?"

Interesting Things

  • Sarah Mei is hosting another SF Ruby Ruby Hack Night in our office tonight at 7PM