Captain's Log: 2013.07.24
- First time all three of us met together in a week
- Learned about pending and pending message
- Used where there were methods in tests we don't understand yet and still need to rewrite
- Methods: expects, onebox_for_url, base_url, apply
- Added Mocha dependency for tests
- Fixed all remaining tests w/ RSpec, 0 failures, 14 pending
- Learned about Travis-CI
- Captain Kurt added travis.yml for Travis-CI
- Travis build doesn't fail! (but the spam emails continue...)
- HOMEWORK: Work on RGSoC blog post for Monday, due Friday!
Captain's Log: 2013.07.16
- Captain Kurt fixed JZ's expired version of Sublime Text 2
- Vyki is still in the process of recreating her dev environment: installed Ruby, RVM, Sublime
- Captain Kurt switched from Rails JSON to MultiJSON for JSON parsing
- Used RSpec to run discourse-oneboxer and fix specs on our own
bundle exec rake
: run all testsrspec <file_with_error.rb:line>
: run specific test- Messed up git branches
- supposed to create new branches from master branch
- instead, created nested mess
- solution: git merged all nested branches into one
- Fixed 9 tests, 23 failures to go
- replaced Rails methods
- replaced
squish()
withgsub()
- changed
m.present?
tom.to_a.any?
because it's more precise- replaced
blank?
withempty?
- changed instances of
present?
to usenil?
instead- removed favicons from expected results
- Conference/meetup talk
- Need to ask Jen if we can give quick talk at tomorrow's Eastside/Westside Monthly Bash at Oversee.net (all 3 of us will be in attendance)
- Might be interested in presenting at GoGaRuCo 2013 in September
- HOMEWORK: fix all tests
And So It Begins
Tonight was the first night all three of us (Vyki, JZ, and Kurtis) got to work in the same room together! Though I'm still getting all of my tools installed and set up, and despite my kernel headers problem with VirtualBox, we dove right in.
We started off with lectures on semantic versioning and best practices for Ruby gems. We then officially forked Discourse to our GitHub.
In 3 short hours we managed to:
- learn about oneboxing
- create a discourse-oneboxer repo for the gem we're building
- generate a new gem using Bundler
- start pulling in oneboxer files from the Discourse lib to discourse-oneboxer
- start properly namespacing the files in discourse-oneboxer
Now off to finish our homework! Mine is to finish the namespacing in discourse-oneboxer, and JZ's is to finish transfering all the oneboxer files to discourse-oneboxer.