Skip to content

Instantly share code, notes, and snippets.

@geoffballinger
geoffballinger / pebble-sdk.rb
Created September 18, 2015 07:06
Tweaked Pebble SDK brew formula for Xcode 7
require 'curses'
class PebbleSdk < Formula
class Version < ::Version
def <=> (other)
mine = ::Version.new(self.to_s.sub('dp', 'alpha'))
other = ::Version.new(other.to_s.sub('dp', 'alpha'))
mine <=> other
end
end

Keybase proof

I hereby claim:

  • I am geoffballinger on github.
  • I am geoffballinger (https://keybase.io/geoffballinger) on keybase.
  • I have a public key whose fingerprint is 98BB 775C D25A E710 17FB D4F1 37C3 6EEB 0ED9 C418

To claim this, I am signing this object: