Permalink
Browse files

Setting version number to 0.1.0

  • Loading branch information...
1 parent cd2d6e9 commit 1291b994098b66477fa710a801dc616b34b5cb8f @wedesoft committed Dec 2, 2009
Showing with 5 additions and 4 deletions.
  1. +4 −3 Makefile
  2. +1 −1 malloc.gemspec
View
7 Makefile
@@ -2,6 +2,7 @@
.SUFFIXES: .gem .o .cc .hh .rb .tar .gz .bz2
RUBY_VERSION = 1.8
+GEM_VERSION = 0.1.0
GEM = gem$(RUBY_VERSION)
RUBY = ruby$(RUBY_VERSION)
@@ -15,12 +16,12 @@ TESTS = $(wildcard tests/*.rb)
DOC = $(wildcard doc/*.rb)
SOURCES = $(MAIN) $(EXT) $(LIB) $(TESTS) $(DOC)
-all:: malloc-1.0.0-x86-linux.gem
+all:: malloc-$(GEM_VERSION)-x86-linux.gem
check:: ext/malloc.so $(LIB) $(TESTS)
$(RUBY) -Iext -Ilib $(TESTS)
-install:: malloc-1.0.0-x86-linux.gem
+install:: malloc-$(GEM_VERSION)-x86-linux.gem
$(GEM) install $(TEST) $<
uninstall::
@@ -32,7 +33,7 @@ dist-gzip:: malloc.tar.gz
dist-bzip2:: malloc.tar.bz2
-malloc-1.0.0-x86-linux.gem: malloc.gemspec README $(EXT) $(LIB) $(TESTS) $(DOC)
+malloc-$(GEM_VERSION)-x86-linux.gem: malloc.gemspec README $(EXT) $(LIB) $(TESTS) $(DOC)
$(GEM) build malloc.gemspec
ext/Makefile: ext/extconf.rb
View
2 malloc.gemspec
@@ -1,7 +1,7 @@
require 'date'
Gem::Specification.new do |s|
s.name = %q{malloc}
- s.version = '1.0.0'
+ s.version = '0.1.0'
# gem1.8 help platforms
# CURRENT, LINUX_586, WIN32, RUBY, RUBY, or DARWIN
s.platform = Gem::Platform::CURRENT

0 comments on commit 1291b99

Please sign in to comment.