malloc 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Makefile +51 -0
- data/README +7 -0
- data/malloc.gemspec +4 -4
- data/{tests → test}/ts_malloc.rb +0 -0
- metadata +7 -6
data/Makefile
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
.SUFFIXES:
|
2
|
+
.SUFFIXES: .gem .o .cc .hh .rb .tar .gz .bz2
|
3
|
+
|
4
|
+
RUBY_VERSION = 1.8
|
5
|
+
MALLOC_VERSION = 0.1.5
|
6
|
+
|
7
|
+
GEM = gem$(RUBY_VERSION)
|
8
|
+
RUBY = ruby$(RUBY_VERSION)
|
9
|
+
TAR = tar
|
10
|
+
|
11
|
+
MAIN = Makefile malloc.gemspec README COPYING
|
12
|
+
EXT = ext/extconf.rb $(wildcard ext/*.cc) $(wildcard ext/*.hh)
|
13
|
+
LIB = $(wildcard lib/*.rb)
|
14
|
+
TESTS = $(wildcard test/*.rb)
|
15
|
+
DOC = $(wildcard doc/*.rb)
|
16
|
+
SOURCES = $(MAIN) $(EXT) $(LIB) $(TESTS) $(DOC)
|
17
|
+
|
18
|
+
all:: malloc-$(MALLOC_VERSION).gem
|
19
|
+
|
20
|
+
check:: ext/malloc.so $(LIB) $(TESTS)
|
21
|
+
$(RUBY) -Iext -Ilib $(TESTS)
|
22
|
+
|
23
|
+
install:: malloc-$(MALLOC_VERSION).gem
|
24
|
+
$(GEM) install $<
|
25
|
+
|
26
|
+
uninstall::
|
27
|
+
$(GEM) uninstall malloc || echo Nothing to uninstall
|
28
|
+
|
29
|
+
dist:: malloc.tar.gz
|
30
|
+
|
31
|
+
dist-gzip:: malloc.tar.gz
|
32
|
+
|
33
|
+
dist-bzip2:: malloc.tar.bz2
|
34
|
+
|
35
|
+
malloc-$(MALLOC_VERSION).gem: malloc.gemspec README $(EXT) $(LIB) $(TESTS) $(DOC)
|
36
|
+
$(GEM) build malloc.gemspec
|
37
|
+
|
38
|
+
ext/Makefile: ext/extconf.rb
|
39
|
+
cd ext && $(RUBY) extconf.rb && cd ..
|
40
|
+
|
41
|
+
ext/malloc.so: ext/Makefile $(EXT)
|
42
|
+
cd ext && $(MAKE) && cd ..
|
43
|
+
|
44
|
+
malloc.tar.gz: $(SOURCES)
|
45
|
+
$(TAR) czf $@ $(SOURCES)
|
46
|
+
|
47
|
+
malloc.tar.bz2: $(SOURCES)
|
48
|
+
$(TAR) cjf $@ $(SOURCES)
|
49
|
+
|
50
|
+
clean::
|
51
|
+
rm -f *~ ext/*~ ext/*.o ext/*.so ext/Makefile lib/*~ lib/*.so test/*~ doc/*~ *.gem
|
data/README
CHANGED
@@ -1,2 +1,9 @@
|
|
1
|
+
This software is very experimental at the moment.
|
2
|
+
The most pressing problem is to achieve a good combination of support across operating systems, support across Ruby versions, and ease of installation for everyone.
|
3
|
+
|
4
|
+
http://www.wedesoft.demon.co.uk/hornetseye-api/files/Installation-txt.html
|
5
|
+
http://rake-compiler.rubyforge.org/
|
6
|
+
http://pkg-ruby-extras.alioth.debian.org/upstream-devs.html
|
7
|
+
http://nsis.sourceforge.net/
|
1
8
|
http://rubyforge.org/tracker/index.php?func=detail&aid=27503&group_id=126&atid=575
|
2
9
|
|
data/malloc.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'date'
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = %q{malloc}
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.5'
|
5
5
|
# gem1.8 help platforms
|
6
6
|
# CURRENT, LINUX_586, WIN32, RUBY, RUBY, or DARWIN
|
7
7
|
s.platform = Gem::Platform::RUBY
|
@@ -13,13 +13,13 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.author = %q{Jan Wedekind}
|
14
14
|
s.email = %q{jan@wedesoft.de}
|
15
15
|
s.homepage = %q{http://wedesoft.github.com/malloc/}
|
16
|
-
s.files = [ 'malloc.gemspec', 'README', 'COPYING' ] +
|
16
|
+
s.files = [ 'malloc.gemspec', 'Makefile', 'README', 'COPYING' ] +
|
17
17
|
Dir.glob( 'lib/*.rb' ) +
|
18
18
|
Dir.glob( 'ext/*.cc' ) +
|
19
19
|
Dir.glob( 'ext/*.hh' ) +
|
20
20
|
[ 'ext/extconf.rb',
|
21
|
-
'
|
22
|
-
s.test_files = [ '
|
21
|
+
'test/ts_malloc.rb' ]
|
22
|
+
s.test_files = [ 'test/ts_malloc.rb' ]
|
23
23
|
# s.default_executable = %q{...}
|
24
24
|
# s.executables = Dir.glob( 'bin/*' ).collect { |f| File.basename f }
|
25
25
|
s.require_paths = [ 'lib', 'ext' ]
|
data/{tests → test}/ts_malloc.rb
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: malloc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Wedekind
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-04 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -23,16 +23,17 @@ extra_rdoc_files: []
|
|
23
23
|
|
24
24
|
files:
|
25
25
|
- malloc.gemspec
|
26
|
+
- Makefile
|
26
27
|
- README
|
27
28
|
- COPYING
|
28
29
|
- lib/malloc_ext.rb
|
29
|
-
- ext/error.cc
|
30
30
|
- ext/malloc.cc
|
31
31
|
- ext/init.cc
|
32
|
-
- ext/error.
|
32
|
+
- ext/error.cc
|
33
33
|
- ext/malloc.hh
|
34
|
+
- ext/error.hh
|
34
35
|
- ext/extconf.rb
|
35
|
-
-
|
36
|
+
- test/ts_malloc.rb
|
36
37
|
has_rdoc: true
|
37
38
|
homepage: http://wedesoft.github.com/malloc/
|
38
39
|
licenses: []
|
@@ -63,4 +64,4 @@ signing_key:
|
|
63
64
|
specification_version: 3
|
64
65
|
summary: Object for raw memory allocation and pointer operations
|
65
66
|
test_files:
|
66
|
-
-
|
67
|
+
- test/ts_malloc.rb
|