This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<status> | |
<created_at>Thu Mar 18 21:19:11 +0000 2010</created_at> | |
<id>10689863523</id> | |
<text>As you can tell by this tweet, geo tagging is now available on mobile.twitter.com.</text> | |
<source><a href="http://mobile.twitter.com" rel="nofollow">mobile web</a></source> | |
<truncated>false</truncated> | |
<in_reply_to_status_id></in_reply_to_status_id> | |
<in_reply_to_user_id></in_reply_to_user_id> | |
<favorited>false</favorited> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"in_reply_to_screen_name": null, | |
"in_reply_to_user_id": null, | |
"created_at": "Thu Mar 18 21:19:11 +0000 2010", | |
"in_reply_to_status_id": null, | |
"geo": { | |
"type": "Point", | |
"coordinates": [37.77576905, -122.40486341] | |
}, | |
"favorited": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'grit' | |
require 'active_support' | |
include Grit | |
merged_branches = `git branch -a --merged`.split("\n").collect(&:strip) - ["* master"] | |
repo = Repo.new(ARGV[0]) | |
merged_branches.each do |branch| | |
begin | |
last_commit = repo.commits(branch).first | |
last_time = Time.parse last_commit.to_hash['committed_date'] |
NewerOlder