lulu 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/lulu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lulu
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lulu.gemspec CHANGED
@@ -4,10 +4,10 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'lulu/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "lulu"
7
+ spec.name = 'lulu'
8
8
  spec.version = Lulu::VERSION
9
- spec.authors = ["Gene Ressler"]
10
- spec.email = ["gene.ressler@gmail.com"]
9
+ spec.authors = ['Gene Ressler']
10
+ spec.email = ['gene.ressler@gmail.com']
11
11
  spec.summary = %q{Merge map markers by agglomerative clustering.}
12
12
  spec.description =
13
13
  %q{Lulu merges the closest overlapping pair of map markers into a one whose
@@ -16,17 +16,17 @@ this until no overlaps remain. Some interesting data structures make this
16
16
  quite fast for all but pathologically bad data. Markers can be circles or
17
17
  squares. The user may provide a scale factor allowing the marker radius to
18
18
  have a different scale than distance between markers.}
19
- spec.homepage = "https://github.com/gene-ressler/lulu/wiki"
20
- spec.licenses = "GPL-3.0"
19
+ spec.homepage = 'https://github.com/gene-ressler/lulu/wiki'
20
+ spec.licenses = 'GPL-3.0'
21
21
 
22
22
  spec.files = `git ls-files`.split($/)
23
23
  spec.extensions = ['ext/lulu/extconf.rb']
24
24
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
25
25
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
26
- spec.require_paths = ["lib"]
26
+ spec.require_paths = ['lib']
27
27
 
28
- spec.add_development_dependency "bundler", "~> 1.5"
29
- spec.add_development_dependency "rake", "~> 10.1"
30
- spec.add_development_dependency "rake-compiler"
31
- spec.add_development_dependency "rspec", "~> 2.14"
28
+ spec.add_development_dependency 'bundler', '~> 1.5'
29
+ spec.add_development_dependency 'rake', '~> 10.1'
30
+ spec.add_development_dependency 'rake-compiler', '~> 0.9'
31
+ spec.add_development_dependency 'rspec', '~> 2.14'
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene Ressler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-02 00:00:00.000000000 Z
11
+ date: 2014-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.9'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +90,6 @@ files:
90
90
  - LICENSE.txt
91
91
  - README.md
92
92
  - Rakefile
93
- - ext/lulu/Makefile
94
93
  - ext/lulu/extconf.rb
95
94
  - ext/lulu/lulu.c
96
95
  - ext/lulu/marker.c
@@ -106,7 +105,6 @@ files:
106
105
  - ext/lulu/utility.c
107
106
  - ext/lulu/utility.h
108
107
  - lib/lulu.rb
109
- - lib/lulu/lulu.bundle
110
108
  - lib/lulu/version.rb
111
109
  - lulu.gemspec
112
110
  - spec/lib/lulu_spec.rb
data/ext/lulu/Makefile DELETED
@@ -1,220 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- # V=0 quiet, V=1 verbose. other values don't work.
5
- V = 0
6
- Q1 = $(V:1=)
7
- Q = $(Q1:0=@)
8
- n=$(NULLCMD)
9
- ECHO1 = $(V:1=@$n)
10
- ECHO = $(ECHO1:0=@echo)
11
-
12
- #### Start of system configuration section. ####
13
-
14
- srcdir = .
15
- topdir = /usr/local/rvm/rubies/ruby-1.9.3-p484/include/ruby-1.9.1
16
- hdrdir = /usr/local/rvm/rubies/ruby-1.9.3-p484/include/ruby-1.9.1
17
- arch_hdrdir = /usr/local/rvm/rubies/ruby-1.9.3-p484/include/ruby-1.9.1/$(arch)
18
- VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
19
- prefix = $(DESTDIR)/usr/local/rvm/rubies/ruby-1.9.3-p484
20
- rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
21
- exec_prefix = $(prefix)
22
- vendorhdrdir = $(rubyhdrdir)/vendor_ruby
23
- sitehdrdir = $(rubyhdrdir)/site_ruby
24
- rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
25
- vendordir = $(rubylibprefix)/vendor_ruby
26
- sitedir = $(rubylibprefix)/site_ruby
27
- ridir = $(datarootdir)/$(RI_BASE_NAME)
28
- mandir = $(datarootdir)/man
29
- localedir = $(datarootdir)/locale
30
- libdir = $(exec_prefix)/lib
31
- psdir = $(docdir)
32
- pdfdir = $(docdir)
33
- dvidir = $(docdir)
34
- htmldir = $(docdir)
35
- infodir = $(datarootdir)/info
36
- docdir = $(datarootdir)/doc/$(PACKAGE)
37
- oldincludedir = $(DESTDIR)/usr/include
38
- includedir = $(prefix)/include
39
- localstatedir = $(prefix)/var
40
- sharedstatedir = $(prefix)/com
41
- sysconfdir = $(prefix)/etc
42
- datadir = $(datarootdir)
43
- datarootdir = $(prefix)/share
44
- libexecdir = $(exec_prefix)/libexec
45
- sbindir = $(exec_prefix)/sbin
46
- bindir = $(exec_prefix)/bin
47
- rubylibdir = $(rubylibprefix)/$(ruby_version)
48
- archdir = $(rubylibdir)/$(arch)
49
- sitelibdir = $(sitedir)/$(ruby_version)
50
- sitearchdir = $(sitelibdir)/$(sitearch)
51
- vendorlibdir = $(vendordir)/$(ruby_version)
52
- vendorarchdir = $(vendorlibdir)/$(sitearch)
53
-
54
- NULLCMD = :
55
-
56
- CC = /usr/local/opt/apple-gcc42/bin/gcc-4.2
57
- CXX = g++
58
- LIBRUBY = $(LIBRUBY_SO)
59
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
60
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
61
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
62
- empty =
63
- OUTFLAG = -o $(empty)
64
- COUTFLAG = -o $(empty)
65
-
66
- RUBY_EXTCONF_H =
67
- cflags = $(optflags) $(debugflags) $(warnflags)
68
- optflags = -O3
69
- debugflags = -ggdb
70
- warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration
71
- CFLAGS = -fno-common $(cflags) -fno-common -pipe -std=c99 -Wno-declaration-after-statement $(ARCH_FLAG)
72
- INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
73
- DEFS =
74
- CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE $(DEFS) $(cppflags) -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include
75
- CXXFLAGS = $(CFLAGS) $(cxxflags)
76
- ldflags = -L. -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib
77
- dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib
78
- ARCH_FLAG =
79
- DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
80
- LDSHARED = $(CC) -dynamic -bundle
81
- LDSHAREDXX = $(CXX) -dynamic -bundle
82
- AR = ar
83
- EXEEXT =
84
-
85
- RUBY_BASE_NAME = ruby
86
- RUBY_INSTALL_NAME = ruby
87
- RUBY_SO_NAME = ruby.1.9.1
88
- arch = x86_64-darwin13.0.0
89
- sitearch = $(arch)
90
- ruby_version = 1.9.1
91
- ruby = /usr/local/rvm/rubies/ruby-1.9.3-p484/bin/ruby
92
- RUBY = $(ruby)
93
- RM = rm -f
94
- RM_RF = $(RUBY) -run -e rm -- -rf
95
- RMDIRS = rmdir -p
96
- MAKEDIRS = mkdir -p
97
- INSTALL = /usr/bin/install -c
98
- INSTALL_PROG = $(INSTALL) -m 0755
99
- INSTALL_DATA = $(INSTALL) -m 644
100
- COPY = cp
101
- TOUCH = exit >
102
-
103
- #### End of system configuration section. ####
104
-
105
- preload =
106
-
107
- libpath = . $(libdir) /usr/local/opt/libyaml/lib /usr/local/opt/readline/lib /usr/local/opt/libksba/lib /usr/local/opt/openssl/lib
108
- LIBPATH = -L. -L$(libdir) -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib
109
- DEFFILE =
110
-
111
- CLEANFILES = mkmf.log
112
- DISTCLEANFILES =
113
- DISTCLEANDIRS =
114
-
115
- extout =
116
- extout_prefix =
117
- target_prefix = /lulu
118
- LOCAL_LIBS =
119
- LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lobjc
120
- SRCS = lulu.c marker.c merger.c pq.c qt.c test.c utility.c
121
- OBJS = lulu.o marker.o merger.o pq.o qt.o test.o utility.o
122
- TARGET = lulu
123
- TARGET_NAME = lulu
124
- TARGET_ENTRY = Init_$(TARGET_NAME)
125
- DLLIB = $(TARGET).bundle
126
- EXTSTATIC =
127
- STATIC_LIB =
128
-
129
- BINDIR = $(bindir)
130
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
131
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
132
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
133
- HDRDIR = $(rubyhdrdir)/ruby$(target_prefix)
134
- ARCHHDRDIR = $(rubyhdrdir)/$(arch)/ruby$(target_prefix)
135
-
136
- TARGET_SO = $(DLLIB)
137
- CLEANLIBS = $(TARGET).bundle
138
- CLEANOBJS = *.o *.bak
139
-
140
- all: $(DLLIB)
141
- static: $(STATIC_LIB)
142
- .PHONY: all install static install-so install-rb
143
- .PHONY: clean clean-so clean-rb
144
-
145
- clean-static::
146
- clean-rb-default::
147
- clean-rb::
148
- clean-so::
149
- clean: clean-so clean-static clean-rb-default clean-rb
150
- -$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
151
-
152
- distclean-rb-default::
153
- distclean-rb::
154
- distclean-so::
155
- distclean: clean distclean-so distclean-rb-default distclean-rb
156
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
157
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
158
- @-$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
159
-
160
- realclean: distclean
161
- install: install-so install-rb
162
-
163
- install-so: $(RUBYARCHDIR)/$(DLLIB)
164
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
165
- -$(Q)$(MAKEDIRS) $(@D)
166
- $(INSTALL_PROG) $(DLLIB) $(@D)
167
- clean-static::
168
- -$(Q)$(RM) $(STATIC_LIB)
169
- install-rb: pre-install-rb install-rb-default
170
- install-rb-default: pre-install-rb-default
171
- pre-install-rb: Makefile
172
- pre-install-rb-default: Makefile
173
- pre-install-rb-default:
174
- $(ECHO) installing default lulu libraries
175
- ./.RUBYARCHDIR.time:
176
- $(Q) $(MAKEDIRS) $(RUBYARCHDIR)
177
- $(Q) $(TOUCH) $@
178
-
179
- site-install: site-install-so site-install-rb
180
- site-install-so: install-so
181
- site-install-rb: install-rb
182
-
183
- .SUFFIXES: .c .m .cc .mm .cxx .cpp .C .o
184
-
185
- .cc.o:
186
- $(ECHO) compiling $(<)
187
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
188
-
189
- .mm.o:
190
- $(ECHO) compiling $(<)
191
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
192
-
193
- .cxx.o:
194
- $(ECHO) compiling $(<)
195
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
196
-
197
- .cpp.o:
198
- $(ECHO) compiling $(<)
199
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
200
-
201
- .C.o:
202
- $(ECHO) compiling $(<)
203
- $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $<
204
-
205
- .c.o:
206
- $(ECHO) compiling $(<)
207
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
208
-
209
- .m.o:
210
- $(ECHO) compiling $(<)
211
- $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
212
-
213
- $(DLLIB): $(OBJS) Makefile
214
- $(ECHO) linking shared-object lulu/$(DLLIB)
215
- -$(Q)$(RM) $(@)
216
- $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
217
-
218
-
219
-
220
- $(OBJS): $(hdrdir)/ruby.h $(hdrdir)/ruby/defines.h $(arch_hdrdir)/ruby/config.h
data/lib/lulu/lulu.bundle DELETED
Binary file