nutcracker 0.4.1.22 → 0.4.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nutcracker/Makefile.in +9 -6
- data/ext/nutcracker/aclocal.m4 +86 -103
- data/ext/nutcracker/autom4te.cache/output.0 +96 -95
- data/ext/nutcracker/autom4te.cache/output.1 +96 -95
- data/ext/nutcracker/autom4te.cache/requests +221 -221
- data/ext/nutcracker/autom4te.cache/traces.0 +92 -106
- data/ext/nutcracker/autom4te.cache/traces.1 +9 -9
- data/ext/nutcracker/config/compile +4 -4
- data/ext/nutcracker/config/config.guess +281 -278
- data/ext/nutcracker/config/config.sub +107 -142
- data/ext/nutcracker/config/depcomp +4 -4
- data/ext/nutcracker/config/install-sh +31 -14
- data/ext/nutcracker/config/missing +7 -7
- data/ext/nutcracker/configure +96 -95
- data/ext/nutcracker/contrib/Makefile.in +9 -6
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +9 -6
- data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +86 -103
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +390 -390
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +92 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +9 -9
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +92 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/config/compile +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +281 -278
- data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +107 -142
- data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +31 -14
- data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +7 -7
- data/ext/nutcracker/contrib/yaml-0.1.4/config/test-driver +4 -4
- data/ext/nutcracker/contrib/yaml-0.1.4/configure +96 -95
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +53 -26
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +58 -22
- data/ext/nutcracker/src/Makefile.in +93 -41
- data/ext/nutcracker/src/event/Makefile.in +36 -21
- data/ext/nutcracker/src/hashkit/Makefile.in +64 -29
- data/ext/nutcracker/src/proto/Makefile.in +33 -20
- data/lib/nutcracker.rb +6 -4
- data/lib/nutcracker/version.rb +1 -1
- metadata +5 -4
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -128,7 +128,9 @@ am__v_at_0 = @
|
|
128
128
|
am__v_at_1 =
|
129
129
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
130
130
|
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
131
|
-
|
131
|
+
am__maybe_remake_depfiles = depfiles
|
132
|
+
am__depfiles_remade = ./$(DEPDIR)/nc_epoll.Po ./$(DEPDIR)/nc_evport.Po \
|
133
|
+
./$(DEPDIR)/nc_kqueue.Po
|
132
134
|
am__mv = mv -f
|
133
135
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
134
136
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
@@ -333,8 +335,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
333
335
|
*config.status*) \
|
334
336
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
335
337
|
*) \
|
336
|
-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
337
|
-
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
338
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
339
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
338
340
|
esac;
|
339
341
|
|
340
342
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
@@ -360,9 +362,15 @@ mostlyclean-compile:
|
|
360
362
|
distclean-compile:
|
361
363
|
-rm -f *.tab.c
|
362
364
|
|
363
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_epoll.Po@am__quote@
|
364
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_evport.Po@am__quote@
|
365
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_kqueue.Po@am__quote@
|
365
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_epoll.Po@am__quote@ # am--include-marker
|
366
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_evport.Po@am__quote@ # am--include-marker
|
367
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_kqueue.Po@am__quote@ # am--include-marker
|
368
|
+
|
369
|
+
$(am__depfiles_remade):
|
370
|
+
@$(MKDIR_P) $(@D)
|
371
|
+
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
|
372
|
+
|
373
|
+
am--depfiles: $(am__depfiles_remade)
|
366
374
|
|
367
375
|
.c.o:
|
368
376
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
@@ -443,7 +451,10 @@ cscopelist-am: $(am__tagged_files)
|
|
443
451
|
distclean-tags:
|
444
452
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
445
453
|
|
446
|
-
distdir: $(
|
454
|
+
distdir: $(BUILT_SOURCES)
|
455
|
+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
456
|
+
|
457
|
+
distdir-am: $(DISTFILES)
|
447
458
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
448
459
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
449
460
|
list='$(DISTFILES)'; \
|
@@ -514,7 +525,9 @@ clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
|
514
525
|
mostlyclean-am
|
515
526
|
|
516
527
|
distclean: distclean-am
|
517
|
-
|
528
|
+
-rm -f ./$(DEPDIR)/nc_epoll.Po
|
529
|
+
-rm -f ./$(DEPDIR)/nc_evport.Po
|
530
|
+
-rm -f ./$(DEPDIR)/nc_kqueue.Po
|
518
531
|
-rm -f Makefile
|
519
532
|
distclean-am: clean-am distclean-compile distclean-generic \
|
520
533
|
distclean-tags
|
@@ -560,7 +573,9 @@ install-ps-am:
|
|
560
573
|
installcheck-am:
|
561
574
|
|
562
575
|
maintainer-clean: maintainer-clean-am
|
563
|
-
|
576
|
+
-rm -f ./$(DEPDIR)/nc_epoll.Po
|
577
|
+
-rm -f ./$(DEPDIR)/nc_evport.Po
|
578
|
+
-rm -f ./$(DEPDIR)/nc_kqueue.Po
|
564
579
|
-rm -f Makefile
|
565
580
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
566
581
|
|
@@ -581,16 +596,16 @@ uninstall-am:
|
|
581
596
|
|
582
597
|
.MAKE: install-am install-strip
|
583
598
|
|
584
|
-
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean
|
585
|
-
clean-libtool clean-noinstLIBRARIES
|
586
|
-
ctags-am distclean distclean-compile
|
587
|
-
distclean-libtool distclean-tags distdir dvi
|
588
|
-
html-am info info-am install install-am
|
589
|
-
install-data-am install-dvi install-dvi-am
|
590
|
-
install-exec-am install-html install-html-am
|
591
|
-
install-info-am install-man install-pdf
|
592
|
-
install-ps install-ps-am install-strip
|
593
|
-
installcheck-am installdirs maintainer-clean \
|
599
|
+
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
600
|
+
clean-generic clean-libtool clean-noinstLIBRARIES \
|
601
|
+
cscopelist-am ctags ctags-am distclean distclean-compile \
|
602
|
+
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
603
|
+
dvi-am html html-am info info-am install install-am \
|
604
|
+
install-data install-data-am install-dvi install-dvi-am \
|
605
|
+
install-exec install-exec-am install-html install-html-am \
|
606
|
+
install-info install-info-am install-man install-pdf \
|
607
|
+
install-pdf-am install-ps install-ps-am install-strip \
|
608
|
+
installcheck installcheck-am installdirs maintainer-clean \
|
594
609
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
595
610
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
596
611
|
tags tags-am uninstall uninstall-am
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -131,7 +131,13 @@ am__v_at_0 = @
|
|
131
131
|
am__v_at_1 =
|
132
132
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
133
133
|
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
134
|
-
|
134
|
+
am__maybe_remake_depfiles = depfiles
|
135
|
+
am__depfiles_remade = ./$(DEPDIR)/nc_crc16.Po ./$(DEPDIR)/nc_crc32.Po \
|
136
|
+
./$(DEPDIR)/nc_fnv.Po ./$(DEPDIR)/nc_hsieh.Po \
|
137
|
+
./$(DEPDIR)/nc_jenkins.Po ./$(DEPDIR)/nc_ketama.Po \
|
138
|
+
./$(DEPDIR)/nc_md5.Po ./$(DEPDIR)/nc_modula.Po \
|
139
|
+
./$(DEPDIR)/nc_murmur.Po ./$(DEPDIR)/nc_one_at_a_time.Po \
|
140
|
+
./$(DEPDIR)/nc_random.Po
|
135
141
|
am__mv = mv -f
|
136
142
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
137
143
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
@@ -344,8 +350,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
344
350
|
*config.status*) \
|
345
351
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
346
352
|
*) \
|
347
|
-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
348
|
-
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
353
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
354
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
349
355
|
esac;
|
350
356
|
|
351
357
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
@@ -371,17 +377,23 @@ mostlyclean-compile:
|
|
371
377
|
distclean-compile:
|
372
378
|
-rm -f *.tab.c
|
373
379
|
|
374
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_crc16.Po@am__quote@
|
375
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_crc32.Po@am__quote@
|
376
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_fnv.Po@am__quote@
|
377
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_hsieh.Po@am__quote@
|
378
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_jenkins.Po@am__quote@
|
379
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_ketama.Po@am__quote@
|
380
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_md5.Po@am__quote@
|
381
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_modula.Po@am__quote@
|
382
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_murmur.Po@am__quote@
|
383
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_one_at_a_time.Po@am__quote@
|
384
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_random.Po@am__quote@
|
380
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_crc16.Po@am__quote@ # am--include-marker
|
381
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_crc32.Po@am__quote@ # am--include-marker
|
382
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_fnv.Po@am__quote@ # am--include-marker
|
383
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_hsieh.Po@am__quote@ # am--include-marker
|
384
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_jenkins.Po@am__quote@ # am--include-marker
|
385
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_ketama.Po@am__quote@ # am--include-marker
|
386
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_md5.Po@am__quote@ # am--include-marker
|
387
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_modula.Po@am__quote@ # am--include-marker
|
388
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_murmur.Po@am__quote@ # am--include-marker
|
389
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_one_at_a_time.Po@am__quote@ # am--include-marker
|
390
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_random.Po@am__quote@ # am--include-marker
|
391
|
+
|
392
|
+
$(am__depfiles_remade):
|
393
|
+
@$(MKDIR_P) $(@D)
|
394
|
+
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
|
395
|
+
|
396
|
+
am--depfiles: $(am__depfiles_remade)
|
385
397
|
|
386
398
|
.c.o:
|
387
399
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
@@ -462,7 +474,10 @@ cscopelist-am: $(am__tagged_files)
|
|
462
474
|
distclean-tags:
|
463
475
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
464
476
|
|
465
|
-
distdir: $(
|
477
|
+
distdir: $(BUILT_SOURCES)
|
478
|
+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
479
|
+
|
480
|
+
distdir-am: $(DISTFILES)
|
466
481
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
467
482
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
468
483
|
list='$(DISTFILES)'; \
|
@@ -533,7 +548,17 @@ clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
|
533
548
|
mostlyclean-am
|
534
549
|
|
535
550
|
distclean: distclean-am
|
536
|
-
|
551
|
+
-rm -f ./$(DEPDIR)/nc_crc16.Po
|
552
|
+
-rm -f ./$(DEPDIR)/nc_crc32.Po
|
553
|
+
-rm -f ./$(DEPDIR)/nc_fnv.Po
|
554
|
+
-rm -f ./$(DEPDIR)/nc_hsieh.Po
|
555
|
+
-rm -f ./$(DEPDIR)/nc_jenkins.Po
|
556
|
+
-rm -f ./$(DEPDIR)/nc_ketama.Po
|
557
|
+
-rm -f ./$(DEPDIR)/nc_md5.Po
|
558
|
+
-rm -f ./$(DEPDIR)/nc_modula.Po
|
559
|
+
-rm -f ./$(DEPDIR)/nc_murmur.Po
|
560
|
+
-rm -f ./$(DEPDIR)/nc_one_at_a_time.Po
|
561
|
+
-rm -f ./$(DEPDIR)/nc_random.Po
|
537
562
|
-rm -f Makefile
|
538
563
|
distclean-am: clean-am distclean-compile distclean-generic \
|
539
564
|
distclean-tags
|
@@ -579,7 +604,17 @@ install-ps-am:
|
|
579
604
|
installcheck-am:
|
580
605
|
|
581
606
|
maintainer-clean: maintainer-clean-am
|
582
|
-
|
607
|
+
-rm -f ./$(DEPDIR)/nc_crc16.Po
|
608
|
+
-rm -f ./$(DEPDIR)/nc_crc32.Po
|
609
|
+
-rm -f ./$(DEPDIR)/nc_fnv.Po
|
610
|
+
-rm -f ./$(DEPDIR)/nc_hsieh.Po
|
611
|
+
-rm -f ./$(DEPDIR)/nc_jenkins.Po
|
612
|
+
-rm -f ./$(DEPDIR)/nc_ketama.Po
|
613
|
+
-rm -f ./$(DEPDIR)/nc_md5.Po
|
614
|
+
-rm -f ./$(DEPDIR)/nc_modula.Po
|
615
|
+
-rm -f ./$(DEPDIR)/nc_murmur.Po
|
616
|
+
-rm -f ./$(DEPDIR)/nc_one_at_a_time.Po
|
617
|
+
-rm -f ./$(DEPDIR)/nc_random.Po
|
583
618
|
-rm -f Makefile
|
584
619
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
585
620
|
|
@@ -600,16 +635,16 @@ uninstall-am:
|
|
600
635
|
|
601
636
|
.MAKE: install-am install-strip
|
602
637
|
|
603
|
-
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean
|
604
|
-
clean-libtool clean-noinstLIBRARIES
|
605
|
-
ctags-am distclean distclean-compile
|
606
|
-
distclean-libtool distclean-tags distdir dvi
|
607
|
-
html-am info info-am install install-am
|
608
|
-
install-data-am install-dvi install-dvi-am
|
609
|
-
install-exec-am install-html install-html-am
|
610
|
-
install-info-am install-man install-pdf
|
611
|
-
install-ps install-ps-am install-strip
|
612
|
-
installcheck-am installdirs maintainer-clean \
|
638
|
+
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
639
|
+
clean-generic clean-libtool clean-noinstLIBRARIES \
|
640
|
+
cscopelist-am ctags ctags-am distclean distclean-compile \
|
641
|
+
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
642
|
+
dvi-am html html-am info info-am install install-am \
|
643
|
+
install-data install-data-am install-dvi install-dvi-am \
|
644
|
+
install-exec install-exec-am install-html install-html-am \
|
645
|
+
install-info install-info-am install-man install-pdf \
|
646
|
+
install-pdf-am install-ps install-ps-am install-strip \
|
647
|
+
installcheck installcheck-am installdirs maintainer-clean \
|
613
648
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
614
649
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
615
650
|
tags tags-am uninstall uninstall-am
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.16.1 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -127,7 +127,9 @@ am__v_at_0 = @
|
|
127
127
|
am__v_at_1 =
|
128
128
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
129
129
|
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
|
130
|
-
|
130
|
+
am__maybe_remake_depfiles = depfiles
|
131
|
+
am__depfiles_remade = ./$(DEPDIR)/nc_memcache.Po \
|
132
|
+
./$(DEPDIR)/nc_redis.Po
|
131
133
|
am__mv = mv -f
|
132
134
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
133
135
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
@@ -331,8 +333,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
331
333
|
*config.status*) \
|
332
334
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
333
335
|
*) \
|
334
|
-
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
335
|
-
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(
|
336
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
337
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
336
338
|
esac;
|
337
339
|
|
338
340
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
@@ -358,8 +360,14 @@ mostlyclean-compile:
|
|
358
360
|
distclean-compile:
|
359
361
|
-rm -f *.tab.c
|
360
362
|
|
361
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_memcache.Po@am__quote@
|
362
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_redis.Po@am__quote@
|
363
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_memcache.Po@am__quote@ # am--include-marker
|
364
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nc_redis.Po@am__quote@ # am--include-marker
|
365
|
+
|
366
|
+
$(am__depfiles_remade):
|
367
|
+
@$(MKDIR_P) $(@D)
|
368
|
+
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
|
369
|
+
|
370
|
+
am--depfiles: $(am__depfiles_remade)
|
363
371
|
|
364
372
|
.c.o:
|
365
373
|
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
@@ -440,7 +448,10 @@ cscopelist-am: $(am__tagged_files)
|
|
440
448
|
distclean-tags:
|
441
449
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
442
450
|
|
443
|
-
distdir: $(
|
451
|
+
distdir: $(BUILT_SOURCES)
|
452
|
+
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
453
|
+
|
454
|
+
distdir-am: $(DISTFILES)
|
444
455
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
445
456
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
446
457
|
list='$(DISTFILES)'; \
|
@@ -511,7 +522,8 @@ clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
|
|
511
522
|
mostlyclean-am
|
512
523
|
|
513
524
|
distclean: distclean-am
|
514
|
-
|
525
|
+
-rm -f ./$(DEPDIR)/nc_memcache.Po
|
526
|
+
-rm -f ./$(DEPDIR)/nc_redis.Po
|
515
527
|
-rm -f Makefile
|
516
528
|
distclean-am: clean-am distclean-compile distclean-generic \
|
517
529
|
distclean-tags
|
@@ -557,7 +569,8 @@ install-ps-am:
|
|
557
569
|
installcheck-am:
|
558
570
|
|
559
571
|
maintainer-clean: maintainer-clean-am
|
560
|
-
|
572
|
+
-rm -f ./$(DEPDIR)/nc_memcache.Po
|
573
|
+
-rm -f ./$(DEPDIR)/nc_redis.Po
|
561
574
|
-rm -f Makefile
|
562
575
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
563
576
|
|
@@ -578,16 +591,16 @@ uninstall-am:
|
|
578
591
|
|
579
592
|
.MAKE: install-am install-strip
|
580
593
|
|
581
|
-
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean
|
582
|
-
clean-libtool clean-noinstLIBRARIES
|
583
|
-
ctags-am distclean distclean-compile
|
584
|
-
distclean-libtool distclean-tags distdir dvi
|
585
|
-
html-am info info-am install install-am
|
586
|
-
install-data-am install-dvi install-dvi-am
|
587
|
-
install-exec-am install-html install-html-am
|
588
|
-
install-info-am install-man install-pdf
|
589
|
-
install-ps install-ps-am install-strip
|
590
|
-
installcheck-am installdirs maintainer-clean \
|
594
|
+
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
|
595
|
+
clean-generic clean-libtool clean-noinstLIBRARIES \
|
596
|
+
cscopelist-am ctags ctags-am distclean distclean-compile \
|
597
|
+
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
598
|
+
dvi-am html html-am info info-am install install-am \
|
599
|
+
install-data install-data-am install-dvi install-dvi-am \
|
600
|
+
install-exec install-exec-am install-html install-html-am \
|
601
|
+
install-info install-info-am install-man install-pdf \
|
602
|
+
install-pdf-am install-ps install-ps-am install-strip \
|
603
|
+
installcheck installcheck-am installdirs maintainer-clean \
|
591
604
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
592
605
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
593
606
|
tags tags-am uninstall uninstall-am
|
data/lib/nutcracker.rb
CHANGED
@@ -115,7 +115,7 @@ module Nutcracker
|
|
115
115
|
node_data = cluster_data[node]
|
116
116
|
node = aliases[node] || node
|
117
117
|
url = ( node =~ /redis\:\/\// ) ? node : "redis://#{node}"
|
118
|
-
info = redis_info(url)
|
118
|
+
info = redis_info(url, config[cluster_name]["redis_auth"])
|
119
119
|
cluster[:nodes] << {
|
120
120
|
server_url: url, info: info, running: info.any?
|
121
121
|
}.merge(node_data)
|
@@ -139,11 +139,13 @@ module Nutcracker
|
|
139
139
|
end
|
140
140
|
|
141
141
|
# Returns hash with information about a given Redis
|
142
|
-
def redis_info url
|
142
|
+
def redis_info url, password
|
143
143
|
begin
|
144
|
-
r = Redis.new url: url
|
144
|
+
r = Redis.new url: url, password: password
|
145
145
|
info = r.info.merge 'dbsize' => r.dbsize
|
146
|
-
rescue Exception
|
146
|
+
rescue Exception => e
|
147
|
+
STDERR.puts "[ERROR][#{__FILE__}:#{__LINE__}] Failed to get data from Redis - " +
|
148
|
+
"#{url.inspect} (using password #{password.inspect}): #{e.message}\n#{e.backtrace.join("\n")}"
|
147
149
|
return {}
|
148
150
|
end
|
149
151
|
|
data/lib/nutcracker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nutcracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.1.
|
4
|
+
version: 0.4.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eran Barak Levi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: Gem wrapper for Twitter's Nutcracker
|
55
|
+
description: Gem wrapper for Twitter's Nutcracker - aka Twemproxy
|
56
56
|
email: eran@kontera.com
|
57
57
|
executables:
|
58
58
|
- nutcracker
|
@@ -235,7 +235,8 @@ files:
|
|
235
235
|
- lib/nutcracker.rb
|
236
236
|
- lib/nutcracker/version.rb
|
237
237
|
homepage: http://www.kontera.com
|
238
|
-
licenses:
|
238
|
+
licenses:
|
239
|
+
- MIT
|
239
240
|
metadata: {}
|
240
241
|
post_install_message:
|
241
242
|
rdoc_options: []
|