native_btree 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e2df9fa087346ceb88e3352b81707085432b0f2b55cb6315175236bcdfb5167
4
- data.tar.gz: 5ce010f70cfafe99d7a89ffe1517330da355bde7a52bc3255711dc56e159b14e
3
+ metadata.gz: 398bae312c489bfe71fdee2f82499005e655097606a5537c38cfb122980b9f48
4
+ data.tar.gz: 492df9b7fc0585e0615da770a6c3fd3e2d02323d33c1d3cfecae46b882b881a3
5
5
  SHA512:
6
- metadata.gz: 5a071792ca329c65f44f04ab4609dce810136fe96d2250d785bdce5d26008adc8c81c03b36a7bc1afd5a7000932ce069af74d368fa4f504afad5fdca5d828efb
7
- data.tar.gz: 5790f7446d3390d004101d25c8b7f716c19cdc79cbec64e8f4741667aee281fb8d72ef3b9dca28aef4382d0c52b678a626220cd673ac32e8e8e1f4f3b41cb0b6
6
+ metadata.gz: 634ac5f2eab6a8f9ebf9ed577d5cd2fcdca75fdb8e61f285b3e83e244204976bdef93981320ea101a621b2845cb9346099d61a94193eb5872d0f1480ad363f09
7
+ data.tar.gz: cf5f853401bdcab2d12088fe11c23cbde946e5a3542620d905e1acb59ede62522cbd293f65c7b10ca54f4a00737c9fe5485519c72358f185840fa8efbe81719b
data/CHANGELOG.md CHANGED
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  * select()
15
15
  * select!
16
16
 
17
+ ## [0.2.1] - 2022-09-08
18
+
19
+ ### Changed
20
+
21
+ * Legacy CMake versions support
22
+
17
23
  ## [0.2.0] - 2022-09-07
18
24
 
19
25
  ### Changed
@@ -25,4 +31,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
31
  * to_a()
26
32
  * to_h()
27
33
  * clear()
28
- * includes?()
34
+ * include?()
data/CMakeLists.txt CHANGED
@@ -1,9 +1,8 @@
1
- cmake_minimum_required(VERSION 3.14.0 FATAL_ERROR)
1
+ cmake_minimum_required(VERSION 3.5)
2
2
 
3
3
  project(ruby-native-btree
4
4
  LANGUAGES C
5
- VERSION 0.2.0
6
- HOMEPAGE_URL https://github.com/unixs/ruby-native-btree)
5
+ VERSION 0.2.1)
7
6
 
8
7
  include(CheckSymbolExists)
9
8
 
@@ -37,9 +36,17 @@ find_package(PkgConfig REQUIRED)
37
36
 
38
37
  # Find Ruby
39
38
  find_package(Ruby ${REQUIRED_RUBY_VERSION} REQUIRED)
40
- include_directories(${Ruby_INCLUDE_DIRS})
41
- link_libraries(${Ruby_LIBRARIES})
42
- message("Ruby_INCLUDE_DIRS: ${Ruby_INCLUDE_DIRS}")
39
+
40
+ if(CMAKE_VERSION VERSION_GREATER "3.17.100")
41
+ include_directories(${Ruby_INCLUDE_DIRS})
42
+ link_libraries(${Ruby_LIBRARIES})
43
+ message(STATUS "Ruby_INCLUDE_DIRS: ${Ruby_INCLUDE_DIRS}")
44
+ else()
45
+ message(WARNING "Old CMake. Legacy FindRuby macro is used.")
46
+ include_directories(${RUBY_INCLUDE_DIRS})
47
+ link_libraries(${RUBY_LIBRARIES})
48
+ message(STATUS "RUBY_INCLUDE_DIRS: ${RUBY_INCLUDE_DIRS}")
49
+ endif()
43
50
 
44
51
  message(STATUS "Find Ruby deps.")
45
52
 
data/README.md CHANGED
@@ -65,3 +65,7 @@ You must provide your own comparator for keys in `new` class method block.
65
65
  * `size`
66
66
  * `height`
67
67
  * `each`
68
+ * `include?`
69
+ * `clear`
70
+ * `to_h`
71
+ * `to_a`
data/Rakefile CHANGED
@@ -28,7 +28,8 @@ namespace :cmake do
28
28
 
29
29
  desc "Configure ext CMake project"
30
30
  task :configure do
31
- sh "cmake -S . -B #{BUILD_DIR}"
31
+ sh "mkdir #{BUILD_DIR} || true"
32
+ sh "cd #{BUILD_DIR} && cmake .."
32
33
  end
33
34
 
34
35
  desc "Build ext CMake project"
@@ -15,6 +15,11 @@ if(HAVE_GTREE_REMOVE_ALL)
15
15
  add_compile_definitions(HAVE_GTREE_REMOVE_ALL)
16
16
  endif()
17
17
 
18
+
19
+ add_library(${EXT_NAME}
20
+ SHARED
21
+ native_btree.c)
22
+
18
23
  add_library(rbtree_type OBJECT rbtree_type.c)
19
24
  add_library(constructor OBJECT constructor.c)
20
25
  add_library(instance OBJECT instance.c)
@@ -22,17 +27,17 @@ add_library(comparator OBJECT comparator.c)
22
27
  add_library(iterators OBJECT iterators.c)
23
28
  add_library(conversion OBJECT conversion.c)
24
29
 
25
- add_library(${EXT_NAME}
26
- SHARED
27
- native_btree.c)
30
+ add_library(native_btree_interface
31
+ STATIC
32
+ $<TARGET_OBJECTS:conversion>
33
+ $<TARGET_OBJECTS:iterators>
34
+ $<TARGET_OBJECTS:comparator>
35
+ $<TARGET_OBJECTS:instance>
36
+ $<TARGET_OBJECTS:constructor>
37
+ $<TARGET_OBJECTS:rbtree_type>)
28
38
 
29
39
  target_link_libraries(${EXT_NAME}
30
40
  PRIVATE
31
- conversion
32
- iterators
33
- rbtree_type
34
- constructor
35
- instance
36
- comparator
41
+ native_btree_interface
37
42
  ${GLIB2_LDFLAGS})
38
- #set_target_properties(${EXT_NAME} PROPERTIES BUNDLE TRUE)
43
+
@@ -0,0 +1,456 @@
1
+ # CMAKE generated file: DO NOT EDIT!
2
+ # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
+
4
+ # Default target executed when no arguments are given to make.
5
+ default_target: all
6
+
7
+ .PHONY : default_target
8
+
9
+ # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10
+ .NOTPARALLEL:
11
+
12
+
13
+ #=============================================================================
14
+ # Special targets provided by cmake.
15
+
16
+ # Disable implicit rules so canonical targets will work.
17
+ .SUFFIXES:
18
+
19
+
20
+ # Remove some rules from gmake that .SUFFIXES does not remove.
21
+ SUFFIXES =
22
+
23
+ .SUFFIXES: .hpux_make_needs_suffix_list
24
+
25
+
26
+ # Suppress display of executed commands.
27
+ $(VERBOSE).SILENT:
28
+
29
+
30
+ # A target that is always out of date.
31
+ cmake_force:
32
+
33
+ .PHONY : cmake_force
34
+
35
+ #=============================================================================
36
+ # Set environment variables for the build.
37
+
38
+ # The shell in which to execute make rules.
39
+ SHELL = /bin/sh
40
+
41
+ # The CMake executable.
42
+ CMAKE_COMMAND = /usr/bin/cmake
43
+
44
+ # The command to remove a file.
45
+ RM = /usr/bin/cmake -E remove -f
46
+
47
+ # Escaping for special characters.
48
+ EQUALS = =
49
+
50
+ # The top-level source directory on which CMake was run.
51
+ CMAKE_SOURCE_DIR = /root
52
+
53
+ # The top-level build directory on which CMake was run.
54
+ CMAKE_BINARY_DIR = /root
55
+
56
+ #=============================================================================
57
+ # Targets provided globally by CMake.
58
+
59
+ # Special rule for the target rebuild_cache
60
+ rebuild_cache:
61
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62
+ /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63
+ .PHONY : rebuild_cache
64
+
65
+ # Special rule for the target rebuild_cache
66
+ rebuild_cache/fast: rebuild_cache
67
+
68
+ .PHONY : rebuild_cache/fast
69
+
70
+ # Special rule for the target edit_cache
71
+ edit_cache:
72
+ @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73
+ /usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74
+ .PHONY : edit_cache
75
+
76
+ # Special rule for the target edit_cache
77
+ edit_cache/fast: edit_cache
78
+
79
+ .PHONY : edit_cache/fast
80
+
81
+ # The main all target
82
+ all: cmake_check_build_system
83
+ cd /root && $(CMAKE_COMMAND) -E cmake_progress_start /root/CMakeFiles /root/ext/native_btree/CMakeFiles/progress.marks
84
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/all
85
+ $(CMAKE_COMMAND) -E cmake_progress_start /root/CMakeFiles 0
86
+ .PHONY : all
87
+
88
+ # The main clean target
89
+ clean:
90
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/clean
91
+ .PHONY : clean
92
+
93
+ # The main clean target
94
+ clean/fast: clean
95
+
96
+ .PHONY : clean/fast
97
+
98
+ # Prepare targets for installation.
99
+ preinstall: all
100
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/preinstall
101
+ .PHONY : preinstall
102
+
103
+ # Prepare targets for installation.
104
+ preinstall/fast:
105
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/preinstall
106
+ .PHONY : preinstall/fast
107
+
108
+ # clear depends
109
+ depend:
110
+ cd /root && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111
+ .PHONY : depend
112
+
113
+ # Convenience name for target.
114
+ ext/native_btree/CMakeFiles/native_btree.dir/rule:
115
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/native_btree.dir/rule
116
+ .PHONY : ext/native_btree/CMakeFiles/native_btree.dir/rule
117
+
118
+ # Convenience name for target.
119
+ native_btree: ext/native_btree/CMakeFiles/native_btree.dir/rule
120
+
121
+ .PHONY : native_btree
122
+
123
+ # fast build rule for target.
124
+ native_btree/fast:
125
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/native_btree.dir/build.make ext/native_btree/CMakeFiles/native_btree.dir/build
126
+ .PHONY : native_btree/fast
127
+
128
+ # Convenience name for target.
129
+ ext/native_btree/CMakeFiles/constructor.dir/rule:
130
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/constructor.dir/rule
131
+ .PHONY : ext/native_btree/CMakeFiles/constructor.dir/rule
132
+
133
+ # Convenience name for target.
134
+ constructor: ext/native_btree/CMakeFiles/constructor.dir/rule
135
+
136
+ .PHONY : constructor
137
+
138
+ # fast build rule for target.
139
+ constructor/fast:
140
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/constructor.dir/build.make ext/native_btree/CMakeFiles/constructor.dir/build
141
+ .PHONY : constructor/fast
142
+
143
+ # Convenience name for target.
144
+ ext/native_btree/CMakeFiles/rbtree_type.dir/rule:
145
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/rbtree_type.dir/rule
146
+ .PHONY : ext/native_btree/CMakeFiles/rbtree_type.dir/rule
147
+
148
+ # Convenience name for target.
149
+ rbtree_type: ext/native_btree/CMakeFiles/rbtree_type.dir/rule
150
+
151
+ .PHONY : rbtree_type
152
+
153
+ # fast build rule for target.
154
+ rbtree_type/fast:
155
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/rbtree_type.dir/build.make ext/native_btree/CMakeFiles/rbtree_type.dir/build
156
+ .PHONY : rbtree_type/fast
157
+
158
+ # Convenience name for target.
159
+ ext/native_btree/CMakeFiles/comparator.dir/rule:
160
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/comparator.dir/rule
161
+ .PHONY : ext/native_btree/CMakeFiles/comparator.dir/rule
162
+
163
+ # Convenience name for target.
164
+ comparator: ext/native_btree/CMakeFiles/comparator.dir/rule
165
+
166
+ .PHONY : comparator
167
+
168
+ # fast build rule for target.
169
+ comparator/fast:
170
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/comparator.dir/build.make ext/native_btree/CMakeFiles/comparator.dir/build
171
+ .PHONY : comparator/fast
172
+
173
+ # Convenience name for target.
174
+ ext/native_btree/CMakeFiles/instance.dir/rule:
175
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/instance.dir/rule
176
+ .PHONY : ext/native_btree/CMakeFiles/instance.dir/rule
177
+
178
+ # Convenience name for target.
179
+ instance: ext/native_btree/CMakeFiles/instance.dir/rule
180
+
181
+ .PHONY : instance
182
+
183
+ # fast build rule for target.
184
+ instance/fast:
185
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/instance.dir/build.make ext/native_btree/CMakeFiles/instance.dir/build
186
+ .PHONY : instance/fast
187
+
188
+ # Convenience name for target.
189
+ ext/native_btree/CMakeFiles/iterators.dir/rule:
190
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/iterators.dir/rule
191
+ .PHONY : ext/native_btree/CMakeFiles/iterators.dir/rule
192
+
193
+ # Convenience name for target.
194
+ iterators: ext/native_btree/CMakeFiles/iterators.dir/rule
195
+
196
+ .PHONY : iterators
197
+
198
+ # fast build rule for target.
199
+ iterators/fast:
200
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/iterators.dir/build.make ext/native_btree/CMakeFiles/iterators.dir/build
201
+ .PHONY : iterators/fast
202
+
203
+ # Convenience name for target.
204
+ ext/native_btree/CMakeFiles/conversion.dir/rule:
205
+ cd /root && $(MAKE) -f CMakeFiles/Makefile2 ext/native_btree/CMakeFiles/conversion.dir/rule
206
+ .PHONY : ext/native_btree/CMakeFiles/conversion.dir/rule
207
+
208
+ # Convenience name for target.
209
+ conversion: ext/native_btree/CMakeFiles/conversion.dir/rule
210
+
211
+ .PHONY : conversion
212
+
213
+ # fast build rule for target.
214
+ conversion/fast:
215
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/conversion.dir/build.make ext/native_btree/CMakeFiles/conversion.dir/build
216
+ .PHONY : conversion/fast
217
+
218
+ comparator.o: comparator.c.o
219
+
220
+ .PHONY : comparator.o
221
+
222
+ # target to build an object file
223
+ comparator.c.o:
224
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/comparator.dir/build.make ext/native_btree/CMakeFiles/comparator.dir/comparator.c.o
225
+ .PHONY : comparator.c.o
226
+
227
+ comparator.i: comparator.c.i
228
+
229
+ .PHONY : comparator.i
230
+
231
+ # target to preprocess a source file
232
+ comparator.c.i:
233
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/comparator.dir/build.make ext/native_btree/CMakeFiles/comparator.dir/comparator.c.i
234
+ .PHONY : comparator.c.i
235
+
236
+ comparator.s: comparator.c.s
237
+
238
+ .PHONY : comparator.s
239
+
240
+ # target to generate assembly for a file
241
+ comparator.c.s:
242
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/comparator.dir/build.make ext/native_btree/CMakeFiles/comparator.dir/comparator.c.s
243
+ .PHONY : comparator.c.s
244
+
245
+ constructor.o: constructor.c.o
246
+
247
+ .PHONY : constructor.o
248
+
249
+ # target to build an object file
250
+ constructor.c.o:
251
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/constructor.dir/build.make ext/native_btree/CMakeFiles/constructor.dir/constructor.c.o
252
+ .PHONY : constructor.c.o
253
+
254
+ constructor.i: constructor.c.i
255
+
256
+ .PHONY : constructor.i
257
+
258
+ # target to preprocess a source file
259
+ constructor.c.i:
260
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/constructor.dir/build.make ext/native_btree/CMakeFiles/constructor.dir/constructor.c.i
261
+ .PHONY : constructor.c.i
262
+
263
+ constructor.s: constructor.c.s
264
+
265
+ .PHONY : constructor.s
266
+
267
+ # target to generate assembly for a file
268
+ constructor.c.s:
269
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/constructor.dir/build.make ext/native_btree/CMakeFiles/constructor.dir/constructor.c.s
270
+ .PHONY : constructor.c.s
271
+
272
+ conversion.o: conversion.c.o
273
+
274
+ .PHONY : conversion.o
275
+
276
+ # target to build an object file
277
+ conversion.c.o:
278
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/conversion.dir/build.make ext/native_btree/CMakeFiles/conversion.dir/conversion.c.o
279
+ .PHONY : conversion.c.o
280
+
281
+ conversion.i: conversion.c.i
282
+
283
+ .PHONY : conversion.i
284
+
285
+ # target to preprocess a source file
286
+ conversion.c.i:
287
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/conversion.dir/build.make ext/native_btree/CMakeFiles/conversion.dir/conversion.c.i
288
+ .PHONY : conversion.c.i
289
+
290
+ conversion.s: conversion.c.s
291
+
292
+ .PHONY : conversion.s
293
+
294
+ # target to generate assembly for a file
295
+ conversion.c.s:
296
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/conversion.dir/build.make ext/native_btree/CMakeFiles/conversion.dir/conversion.c.s
297
+ .PHONY : conversion.c.s
298
+
299
+ instance.o: instance.c.o
300
+
301
+ .PHONY : instance.o
302
+
303
+ # target to build an object file
304
+ instance.c.o:
305
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/instance.dir/build.make ext/native_btree/CMakeFiles/instance.dir/instance.c.o
306
+ .PHONY : instance.c.o
307
+
308
+ instance.i: instance.c.i
309
+
310
+ .PHONY : instance.i
311
+
312
+ # target to preprocess a source file
313
+ instance.c.i:
314
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/instance.dir/build.make ext/native_btree/CMakeFiles/instance.dir/instance.c.i
315
+ .PHONY : instance.c.i
316
+
317
+ instance.s: instance.c.s
318
+
319
+ .PHONY : instance.s
320
+
321
+ # target to generate assembly for a file
322
+ instance.c.s:
323
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/instance.dir/build.make ext/native_btree/CMakeFiles/instance.dir/instance.c.s
324
+ .PHONY : instance.c.s
325
+
326
+ iterators.o: iterators.c.o
327
+
328
+ .PHONY : iterators.o
329
+
330
+ # target to build an object file
331
+ iterators.c.o:
332
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/iterators.dir/build.make ext/native_btree/CMakeFiles/iterators.dir/iterators.c.o
333
+ .PHONY : iterators.c.o
334
+
335
+ iterators.i: iterators.c.i
336
+
337
+ .PHONY : iterators.i
338
+
339
+ # target to preprocess a source file
340
+ iterators.c.i:
341
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/iterators.dir/build.make ext/native_btree/CMakeFiles/iterators.dir/iterators.c.i
342
+ .PHONY : iterators.c.i
343
+
344
+ iterators.s: iterators.c.s
345
+
346
+ .PHONY : iterators.s
347
+
348
+ # target to generate assembly for a file
349
+ iterators.c.s:
350
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/iterators.dir/build.make ext/native_btree/CMakeFiles/iterators.dir/iterators.c.s
351
+ .PHONY : iterators.c.s
352
+
353
+ native_btree.o: native_btree.c.o
354
+
355
+ .PHONY : native_btree.o
356
+
357
+ # target to build an object file
358
+ native_btree.c.o:
359
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/native_btree.dir/build.make ext/native_btree/CMakeFiles/native_btree.dir/native_btree.c.o
360
+ .PHONY : native_btree.c.o
361
+
362
+ native_btree.i: native_btree.c.i
363
+
364
+ .PHONY : native_btree.i
365
+
366
+ # target to preprocess a source file
367
+ native_btree.c.i:
368
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/native_btree.dir/build.make ext/native_btree/CMakeFiles/native_btree.dir/native_btree.c.i
369
+ .PHONY : native_btree.c.i
370
+
371
+ native_btree.s: native_btree.c.s
372
+
373
+ .PHONY : native_btree.s
374
+
375
+ # target to generate assembly for a file
376
+ native_btree.c.s:
377
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/native_btree.dir/build.make ext/native_btree/CMakeFiles/native_btree.dir/native_btree.c.s
378
+ .PHONY : native_btree.c.s
379
+
380
+ rbtree_type.o: rbtree_type.c.o
381
+
382
+ .PHONY : rbtree_type.o
383
+
384
+ # target to build an object file
385
+ rbtree_type.c.o:
386
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/rbtree_type.dir/build.make ext/native_btree/CMakeFiles/rbtree_type.dir/rbtree_type.c.o
387
+ .PHONY : rbtree_type.c.o
388
+
389
+ rbtree_type.i: rbtree_type.c.i
390
+
391
+ .PHONY : rbtree_type.i
392
+
393
+ # target to preprocess a source file
394
+ rbtree_type.c.i:
395
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/rbtree_type.dir/build.make ext/native_btree/CMakeFiles/rbtree_type.dir/rbtree_type.c.i
396
+ .PHONY : rbtree_type.c.i
397
+
398
+ rbtree_type.s: rbtree_type.c.s
399
+
400
+ .PHONY : rbtree_type.s
401
+
402
+ # target to generate assembly for a file
403
+ rbtree_type.c.s:
404
+ cd /root && $(MAKE) -f ext/native_btree/CMakeFiles/rbtree_type.dir/build.make ext/native_btree/CMakeFiles/rbtree_type.dir/rbtree_type.c.s
405
+ .PHONY : rbtree_type.c.s
406
+
407
+ # Help Target
408
+ help:
409
+ @echo "The following are some of the valid targets for this Makefile:"
410
+ @echo "... all (the default if no target is provided)"
411
+ @echo "... clean"
412
+ @echo "... depend"
413
+ @echo "... rebuild_cache"
414
+ @echo "... edit_cache"
415
+ @echo "... native_btree"
416
+ @echo "... constructor"
417
+ @echo "... rbtree_type"
418
+ @echo "... comparator"
419
+ @echo "... instance"
420
+ @echo "... iterators"
421
+ @echo "... conversion"
422
+ @echo "... comparator.o"
423
+ @echo "... comparator.i"
424
+ @echo "... comparator.s"
425
+ @echo "... constructor.o"
426
+ @echo "... constructor.i"
427
+ @echo "... constructor.s"
428
+ @echo "... conversion.o"
429
+ @echo "... conversion.i"
430
+ @echo "... conversion.s"
431
+ @echo "... instance.o"
432
+ @echo "... instance.i"
433
+ @echo "... instance.s"
434
+ @echo "... iterators.o"
435
+ @echo "... iterators.i"
436
+ @echo "... iterators.s"
437
+ @echo "... native_btree.o"
438
+ @echo "... native_btree.i"
439
+ @echo "... native_btree.s"
440
+ @echo "... rbtree_type.o"
441
+ @echo "... rbtree_type.i"
442
+ @echo "... rbtree_type.s"
443
+ .PHONY : help
444
+
445
+
446
+
447
+ #=============================================================================
448
+ # Special targets to cleanup operation of make.
449
+
450
+ # Special rule to run CMake to check the build system integrity.
451
+ # No rule that depends on this can have commands that come from listfiles
452
+ # because they might be regenerated.
453
+ cmake_check_build_system:
454
+ cd /root && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
455
+ .PHONY : cmake_check_build_system
456
+
Binary file
@@ -1,3 +1,3 @@
1
1
  module NativeBtree
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: native_btree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Feodorov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-06 00:00:00.000000000 Z
11
+ date: 2022-09-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby bindings to GTree balanced binary tree from GLib library.
14
14
  email:
@@ -25,6 +25,7 @@ files:
25
25
  - README.md
26
26
  - Rakefile
27
27
  - ext/native_btree/CMakeLists.txt
28
+ - ext/native_btree/Makefile
28
29
  - ext/native_btree/comparator.c
29
30
  - ext/native_btree/constructor.c
30
31
  - ext/native_btree/conversion.c
@@ -43,7 +44,6 @@ files:
43
44
  - ext/native_btree/native_btree.c
44
45
  - ext/native_btree/rbtree_type.c
45
46
  - lib/native_btree.rb
46
- - lib/native_btree/native_btree.bundle
47
47
  - lib/native_btree/native_btree.so
48
48
  - lib/native_btree/version.rb
49
49
  - native_btree.gemspec
Binary file