Commits

Richo Healey  committed 4727769

Create gem

  • Participants
  • Parent commits 7a34e03

Comments (0)

Files changed (2)

 end
 
 module Twat
+  VERSION_MAJOR = 0
+  VERSION_MINOR = 1
+  VERSION_PATCH = 0
+
+  VERSION = "#{VERSION_MAJOR}.#{VERSION_MINOR}.#{VERSION_PATCH}"
   class Twat
     def run
       begin

File twat.gemspec

+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "twat"
+
+Gem::Specification.new do |s|
+  s.name        = "twat"
+  s.version     = Twat::VERSION
+  s.authors     = ["Rich Healey"]
+  s.email       = ["richo@psych0tik.net"]
+  s.homepage    = "http://github.com/richoH/twat"
+  s.summary     = "Command line tool for tweeting and whatnot"
+  s.description = s.summary
+
+  s.add_dependency "twitter"
+  s.add_dependency "oauth"
+
+  s.files         = `git ls-files`.split("\n")
+  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+  s.require_paths = ["lib"]
+end