Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Setting version number to 0.1.0

  • Loading branch information...
commit 1291b994098b66477fa710a801dc616b34b5cb8f 1 parent cd2d6e9
Jan Wedekind authored

Showing 2 changed files with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 3 Makefile
  2. +1 1  malloc.gemspec
7 Makefile
@@ -2,6 +2,7 @@
2 2 .SUFFIXES: .gem .o .cc .hh .rb .tar .gz .bz2
3 3
4 4 RUBY_VERSION = 1.8
  5 +GEM_VERSION = 0.1.0
5 6
6 7 GEM = gem$(RUBY_VERSION)
7 8 RUBY = ruby$(RUBY_VERSION)
@@ -15,12 +16,12 @@ TESTS = $(wildcard tests/*.rb)
15 16 DOC = $(wildcard doc/*.rb)
16 17 SOURCES = $(MAIN) $(EXT) $(LIB) $(TESTS) $(DOC)
17 18
18   -all:: malloc-1.0.0-x86-linux.gem
  19 +all:: malloc-$(GEM_VERSION)-x86-linux.gem
19 20
20 21 check:: ext/malloc.so $(LIB) $(TESTS)
21 22 $(RUBY) -Iext -Ilib $(TESTS)
22 23
23   -install:: malloc-1.0.0-x86-linux.gem
  24 +install:: malloc-$(GEM_VERSION)-x86-linux.gem
24 25 $(GEM) install $(TEST) $<
25 26
26 27 uninstall::
@@ -32,7 +33,7 @@ dist-gzip:: malloc.tar.gz
32 33
33 34 dist-bzip2:: malloc.tar.bz2
34 35
35   -malloc-1.0.0-x86-linux.gem: malloc.gemspec README $(EXT) $(LIB) $(TESTS) $(DOC)
  36 +malloc-$(GEM_VERSION)-x86-linux.gem: malloc.gemspec README $(EXT) $(LIB) $(TESTS) $(DOC)
36 37 $(GEM) build malloc.gemspec
37 38
38 39 ext/Makefile: ext/extconf.rb
2  malloc.gemspec
... ... @@ -1,7 +1,7 @@
1 1 require 'date'
2 2 Gem::Specification.new do |s|
3 3 s.name = %q{malloc}
4   - s.version = '1.0.0'
  4 + s.version = '0.1.0'
5 5 # gem1.8 help platforms
6 6 # CURRENT, LINUX_586, WIN32, RUBY, RUBY, or DARWIN
7 7 s.platform = Gem::Platform::CURRENT

0 comments on commit 1291b99

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