Permalink
Browse files

Troll: The Executable

  • Loading branch information...
1 parent a878f6f commit 629eddfc42440ad137cb655a1ae85725e16da4ff @scudco committed Sep 17, 2011
Showing with 12 additions and 2 deletions.
  1. +8 −0 bin/troll
  2. +1 −1 lib/troll/version.rb
  3. +3 −1 troll.gemspec
View
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+
+require 'rubygems'
+require 'troll'
+
+Troll::Collector.new(ARGV.first).files.each do |file|
+ Troll::Troller.new(file).troll!
+end
View
@@ -1,3 +1,3 @@
module Troll
- VERSION = "0.0.4"
+ VERSION = "0.0.5"
end
View
@@ -8,9 +8,11 @@ Gem::Specification.new do |s|
s.version = Troll::VERSION
s.authors = ["scudco"]
s.email = "adamandersonis@gmail.com"
- s.files = Dir["README.md", "lib/**/*"]
+ s.files = Dir["README.md", "bin/troll", "lib/**/*"]
s.homepage = "http://github.com/scudco/troll"
s.require_path = "lib"
+ s.default_executable = "troll"
+ s.executables = "troll"
s.rubyforge_project = "troll"
s.rubygems_version = "1.6.2"
s.description = "Trolling is a art"

0 comments on commit 629eddf

Please sign in to comment.