Captain's Log: 2013.08.15
- Pizza! Sodapop! courtesy of Captain Kurt, our prize for making all of our tests pass on 8/1/2013
- Added pessimistic version numbers for all of the gems in gemspec
- Find current version number with
gem list -r <gemname>
- Add latest version number excluding the last decimal number:
spec.add_runtime_dependency "<gemname>", "~>, x.x"
- Continued working on adding Open Graph support
- Moved duplicated code from oneboxes to new
Engine
module
- All oneboxes include
Engine
--> share methods
- Onebox engines now only need to define their own
extracted_data()
function
- Handlebars templates must follow name pattern
def template_name
self.class.name.split("::").last.downcase
end
- Created new function
read()
in Engine
to open url
- Will eventually use eithr Nokogiri or opengraph_parser depending on website
- Refactored Engine spec
- Cleaned up onebox specs, used
let:
to handle repetitive tasks
- Created a few more merge conflicts while we were both editing gemspec
- Cleaned them up ourselves like we learned on Tuesday
comments powered by