Skip to content

Commit

Permalink
gemspec should work standalone
Browse files Browse the repository at this point in the history
This is a personal issue. I know everyone uses this version file
technique. I don't care. I hate it. I think gemspecs should be
loadable from any location.
  • Loading branch information
rtomayko committed Jun 19, 2011
1 parent cf95e7a commit b76256a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions rocco.gemspec
@@ -1,13 +1,15 @@
$LOAD_PATH.unshift 'lib'
require "rocco"
# rocco.gemspec
#
# To update this file's version, date, and file list, change the VERSION
# constant in lib/rocco.rb and run `rake rocco.gemspec`.

Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=

s.name = 'rocco'
s.version = Rocco::VERSION
s.date = Time.now.strftime('%Y-%m-%d')
s.version = '0.7'
s.date = '2011-06-19'

s.description = "Docco in Ruby"
s.summary = s.description
Expand Down

0 comments on commit b76256a

Please sign in to comment.