jashmenn-apriori 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.1.2 2008-09-05
2
+ * fixed some bugs for case-sensitive machines
3
+
4
+ == 0.1.1 2008-09-04
5
+ * created first rubygem
6
+
1
7
  == 0.0.1 2008-08-30
2
8
 
3
9
  * 1 major enhancement:
data/Rakefile CHANGED
@@ -1,4 +1,15 @@
1
1
  require 'config/requirements'
2
2
  require 'config/hoe' # setup Hoe + all gem configuration
3
3
 
4
+ class Rake::Task
5
+ def abandon
6
+ prerequisites.clear
7
+ @actions.clear
8
+ end
9
+ end
10
+
4
11
  Dir['tasks/**/*.rake'].each { |rake| load rake }
12
+
13
+ Rake::Task[:default].abandon
14
+ task :default => :extension
15
+
data/config/hoe.rb CHANGED
@@ -66,7 +66,7 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
66
66
  p.rdoc_pattern = /^(lib|bin)|txt$/
67
67
 
68
68
  # p.spec_extras = {:extensions, FileList["ext/**/extconf.rb"].to_a} # A hash of extra values to set in the gemspec.
69
- p.spec_extras = {:extensions, 'rakefile'} # A hash of extra values to set in the gemspec.
69
+ p.spec_extras = {:extensions, 'Rakefile'} # A hash of extra values to set in the gemspec.
70
70
 
71
71
  # == Optional
72
72
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
data/ext/Makefile CHANGED
@@ -3,8 +3,8 @@ SHELL = /bin/sh
3
3
 
4
4
  #### Start of system configuration section. ####
5
5
 
6
- srcdir = /Users/nathan/Programming/datamining/apriori/ext
7
- topdir = /usr/local/lib/ruby/1.8/i686-darwin8.10.1
6
+ srcdir = /home/nathan/tmp/apriori/ext
7
+ topdir = /usr/local/lib/ruby/1.8/i686-linux
8
8
  hdrdir = $(topdir)
9
9
  VPATH = $(srcdir):$(topdir):$(hdrdir)
10
10
  prefix = $(DESTDIR)/usr/local
@@ -37,29 +37,29 @@ libexecdir = $(exec_prefix)/libexec
37
37
  CC = gcc
38
38
  LIBRUBY = $(LIBRUBY_A)
39
39
  LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
40
- LIBRUBYARG_SHARED =
40
+ LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -L.
41
41
  LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
42
42
 
43
43
  RUBY_EXTCONF_H =
44
- CFLAGS = -fno-common -g -O2 -pipe -fno-common
44
+ CFLAGS = -fPIC -g -O2
45
45
  INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
46
- CPPFLAGS = -I/Users/nathan/Programming/datamining/apriori/ext/util/src -I/Users/nathan/Programming/datamining/apriori/ext/math/src -I/Users/nathan/Programming/datamining/apriori/ext/apriori/src
46
+ CPPFLAGS = -I/home/nathan/tmp/apriori/ext/util/src -I/home/nathan/tmp/apriori/ext/math/src -I/home/nathan/tmp/apriori/ext/apriori/src
47
47
  CXXFLAGS = $(CFLAGS)
48
48
  DLDFLAGS =
49
- LDSHARED = cc -dynamic -bundle -undefined suppress -flat_namespace
49
+ LDSHARED = $(CC) -shared
50
50
  AR = ar
51
51
  EXEEXT =
52
52
 
53
53
  RUBY_INSTALL_NAME = ruby
54
54
  RUBY_SO_NAME = ruby
55
- arch = i686-darwin8.10.1
56
- sitearch = i686-darwin8.10.1
55
+ arch = i686-linux
56
+ sitearch = i686-linux
57
57
  ruby_version = 1.8
58
58
  ruby = /usr/local/bin/ruby
59
59
  RUBY = $(ruby)
60
60
  RM = rm -f
61
61
  MAKEDIRS = mkdir -p
62
- INSTALL = /usr/bin/install -c
62
+ INSTALL = /usr/bin/ginstall -c
63
63
  INSTALL_PROG = $(INSTALL) -m 0755
64
64
  INSTALL_DATA = $(INSTALL) -m 644
65
65
  COPY = cp
@@ -69,7 +69,7 @@ COPY = cp
69
69
  preload =
70
70
 
71
71
  libpath = $(libdir)
72
- LIBPATH = -L"$(libdir)"
72
+ LIBPATH = -L'$(libdir)' -Wl,-R'$(libdir)'
73
73
  DEFFILE =
74
74
 
75
75
  CLEANFILES =
@@ -79,11 +79,11 @@ extout =
79
79
  extout_prefix =
80
80
  target_prefix =
81
81
  LOCAL_LIBS =
82
- LIBS = -ldl -lobjc
82
+ LIBS = -ldl -lcrypt -lm -lc
83
83
  SRCS = vecops.c nimap.c tabscan.c scform.c gamma.c chi2.c tract.c istree.c apriori_wrapper.c Apriori.c
84
- OBJS = /Users/nathan/Programming/datamining/apriori/ext/util/src/vecops.o /Users/nathan/Programming/datamining/apriori/ext/util/src/nimap.o /Users/nathan/Programming/datamining/apriori/ext/util/src/tabscan.o /Users/nathan/Programming/datamining/apriori/ext/util/src/scform.o /Users/nathan/Programming/datamining/apriori/ext/math/src/gamma.o /Users/nathan/Programming/datamining/apriori/ext/math/src/chi2.o /Users/nathan/Programming/datamining/apriori/ext/apriori/src/tract.o /Users/nathan/Programming/datamining/apriori/ext/apriori/src/istree.o apriori_wrapper.o Apriori.o
84
+ OBJS = /home/nathan/tmp/apriori/ext/util/src/vecops.o /home/nathan/tmp/apriori/ext/util/src/nimap.o /home/nathan/tmp/apriori/ext/util/src/tabscan.o /home/nathan/tmp/apriori/ext/util/src/scform.o /home/nathan/tmp/apriori/ext/math/src/gamma.o /home/nathan/tmp/apriori/ext/math/src/chi2.o /home/nathan/tmp/apriori/ext/apriori/src/tract.o /home/nathan/tmp/apriori/ext/apriori/src/istree.o apriori_wrapper.o Apriori.o
85
85
  TARGET = apriori_ext
86
- DLLIB = $(TARGET).bundle
86
+ DLLIB = $(TARGET).so
87
87
  EXTSTATIC =
88
88
  STATIC_LIB =
89
89
 
@@ -92,7 +92,7 @@ RUBYLIBDIR = $(sitelibdir)$(target_prefix)
92
92
  RUBYARCHDIR = $(sitearchdir)$(target_prefix)
93
93
 
94
94
  TARGET_SO = $(DLLIB)
95
- CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
95
+ CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
96
96
  CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
97
97
 
98
98
  all: $(DLLIB)
@@ -2,7 +2,7 @@ module Apriori
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jashmenn-apriori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Murray
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-04 00:00:00 -07:00
12
+ date: 2008-09-05 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -39,13 +39,22 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.0.0
41
41
  version:
42
+ - !ruby/object:Gem::Dependency
43
+ name: hoe
44
+ version_requirement:
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 1.7.0
50
+ version:
42
51
  description: Ruby Apriori is a library to efficiently find item association rules within large sets of transactions.
43
52
  email:
44
53
  - nate@natemurray.com
45
54
  executables: []
46
55
 
47
56
  extensions:
48
- - rakefile
57
+ - Rakefile
49
58
  extra_rdoc_files:
50
59
  - History.txt
51
60
  - License.txt
@@ -179,7 +188,6 @@ files:
179
188
  - website/javascripts/rounded_corners_lite.inc.js
180
189
  - website/stylesheets/screen.css
181
190
  - website/template.html.erb
182
- - rakefile
183
191
  has_rdoc: true
184
192
  homepage: http://apriori.rubyforge.org
185
193
  post_install_message: ""