“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…
Activity feeds can be complicated to do correctly, which is why we developed the activity_feed gem. The 1.3.0 release adds functionality to update the timestamp for a given activity feed item, which is useful when you want items to “bubble up”. You can also remove items from activity feeds.
It was an exciting week for the amico project, which allows you to express relationships (e.g. friendships) backed by Redis. The 2.0.1 release adds support for an all call that can return all the relationships for a given relationship type, such as following or followers. We would also like to highlight acts_as_amico, developed by GitHub user John Metta, which is an ActiveRecord injectable version of the Redis-backed friendship system. He originally submitted this as a pull request to amico.
bettertabs is a simple
Contributor(s): Jeffrey Lee (GitHub)
We released a new gem this week, bnet_scraper. This is a Nokogiri-based scraper of Battle.net profiles. Currently this only includes Starcraft 2 data scraping. It has support for scraping profiles, league data, achievements, and match history. Let us know if this gem is useful to you.
One of our most popular gems, leaderboard, has a new release this week with version 2.0.5. leaderboard allows you to create leaderboards (aka high score tables, aka scoreboards) in Redis. This releases addresses the first future idea from the README when the gem was released over a year ago to add a method allowing for bulk insert of data into a leaderboard. Performance of the bulk insert indicates this is preferable to individual inserts if you ever need to insert a large amount of data into a leaderboard.
The darksky gem saw a couple of releases this week. 1.0.2 removed the default to disable SSL peer verification now that the DarkSky API server has a signed certificate. 1.0.3 added the new “interesting” API endpoint to return a list of interesting storms happening right now. It also fixes a bug in the precipitation API endpoint where multiple locations were not correctly passed to the API.
We have a number of pull requests that we need to get integrated into various projects. Part of the reason these sat for so long is that we forgot to turn on GitHub notifications for the engineering team for these projects. So, look for releases next week of java-leaderboard, our port of the leaderboard gem to Java, and for errship, a Rails 3.1 engine for rendering error pages inside your layout.