Permalink
Browse files

Fixed bin and update gempsec, now it's a CLI gem :0)

  • Loading branch information...
1 parent 75cd068 commit 0edb0787d3a2b74cec80ce69068f30a57443da4b @hemanth committed May 22, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 bin/xkcd
  2. +3 −2 xkcd.gemspec
View
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
require 'xkcd'
-puts XKCD.get
+puts XKCD.imgs
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "xkcd"
- s.version = "0.0.7"
+ s.version = "0.0.3"
s.default_executable = "xkcd"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
@@ -14,7 +14,8 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubygems_version = %q{1.6.2}
s.summary = %q{XCKD random img urls!}
- s.add_runtime_dependency 'nokogiri', '~> 1.5.2', '>= 1.5.0'
+ s.bindir = 'bin'
+ s.executables = 'xkcd'
if s.respond_to? :specification_version then
s.specification_version = 3

0 comments on commit 0edb078

Please sign in to comment.