Skip to content
Browse files

add actual version to gemspec

  • Loading branch information...
1 parent ac5c317 commit 69ac0f71522fb7d06f39c70936248f33ee3d45c8 @garybernhardt garybernhardt committed Jan 25, 2012
Showing with 5 additions and 2 deletions.
  1. +4 −2 cls.gemspec
  2. +1 −0 lib/cls.rb
View
6 cls.gemspec
@@ -1,17 +1,19 @@
+require "./lib/cls"
+
Gem::Specification.new do |s|
s.name = "cls"
- s.version = "0.0.1"
+ s.version = Cls::VERSION
s.authors = ["Gary Bernhardt"]
s.email = ["gary.bernhardt@gmail.com"]
- s.files = Dir.glob("lib/**/*") + ["README.md"]
s.homepage = %q{https://github.com/garybernhardt/cls}
s.require_paths = ["lib"]
s.summary = "Cls: terse syntax for your classes"
s.description = "Cls: terse syntax for your classes"
s.add_development_dependency "rspec"
+ s.files = Dir.glob("lib/**/*") + ["README.md"]
s.require_path = "lib"
s.required_rubygems_version = ">= 1.3.6"
end
View
1 lib/cls.rb
@@ -1,4 +1,5 @@
module Cls
+ VERSION = "0.0.1"
def self.included(base)
base.send :extend, ClassMethods
end

0 comments on commit 69ac0f7

Please sign in to comment.
Something went wrong with that request. Please try again.