nutcracker 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data/README.md +22 -0
  2. data/Rakefile +55 -0
  3. data/bin/nutcracker +2 -0
  4. data/ext/nutcracker/ChangeLog +66 -0
  5. data/ext/nutcracker/LICENSE +177 -0
  6. data/ext/nutcracker/Makefile.am +7 -0
  7. data/ext/nutcracker/Makefile.in +726 -0
  8. data/ext/nutcracker/NOTICE +124 -0
  9. data/ext/nutcracker/README.md +240 -0
  10. data/ext/nutcracker/aclocal.m4 +956 -0
  11. data/ext/nutcracker/conf/nutcracker.leaf.yml +10 -0
  12. data/ext/nutcracker/conf/nutcracker.root.yml +8 -0
  13. data/ext/nutcracker/conf/nutcracker.yml +67 -0
  14. data/ext/nutcracker/config.h.in +316 -0
  15. data/ext/nutcracker/config/config.guess +1561 -0
  16. data/ext/nutcracker/config/config.sub +1686 -0
  17. data/ext/nutcracker/config/depcomp +630 -0
  18. data/ext/nutcracker/config/install-sh +520 -0
  19. data/ext/nutcracker/config/ltmain.sh +8413 -0
  20. data/ext/nutcracker/config/missing +376 -0
  21. data/ext/nutcracker/configure +18862 -0
  22. data/ext/nutcracker/configure.ac +155 -0
  23. data/ext/nutcracker/contrib/Makefile.am +3 -0
  24. data/ext/nutcracker/contrib/Makefile.in +560 -0
  25. data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
  26. data/ext/nutcracker/contrib/yaml-0.1.4/LICENSE +19 -0
  27. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.am +20 -0
  28. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +736 -0
  29. data/ext/nutcracker/contrib/yaml-0.1.4/README +27 -0
  30. data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +956 -0
  31. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in +80 -0
  32. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +1561 -0
  33. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +1686 -0
  34. data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +630 -0
  35. data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +520 -0
  36. data/ext/nutcracker/contrib/yaml-0.1.4/config/ltmain.sh +8406 -0
  37. data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +376 -0
  38. data/ext/nutcracker/contrib/yaml-0.1.4/configure +13085 -0
  39. data/ext/nutcracker/contrib/yaml-0.1.4/configure.ac +75 -0
  40. data/ext/nutcracker/contrib/yaml-0.1.4/doc/doxygen.cfg +222 -0
  41. data/ext/nutcracker/contrib/yaml-0.1.4/include/yaml.h +1971 -0
  42. data/ext/nutcracker/contrib/yaml-0.1.4/m4/libtool.m4 +7357 -0
  43. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltoptions.m4 +368 -0
  44. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltsugar.m4 +123 -0
  45. data/ext/nutcracker/contrib/yaml-0.1.4/m4/ltversion.m4 +23 -0
  46. data/ext/nutcracker/contrib/yaml-0.1.4/m4/lt~obsolete.m4 +92 -0
  47. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.am +4 -0
  48. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +484 -0
  49. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.c +1392 -0
  50. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.c +394 -0
  51. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.c +2329 -0
  52. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.c +432 -0
  53. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.c +1374 -0
  54. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.c +465 -0
  55. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.c +3570 -0
  56. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.c +141 -0
  57. data/ext/nutcracker/contrib/yaml-0.1.4/src/yaml_private.h +640 -0
  58. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.am +8 -0
  59. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +675 -0
  60. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.c +800 -0
  61. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.c +1130 -0
  62. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.c +217 -0
  63. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.c +202 -0
  64. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.c +311 -0
  65. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.c +327 -0
  66. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.c +63 -0
  67. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.c +63 -0
  68. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.c +63 -0
  69. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-reader.c +354 -0
  70. data/ext/nutcracker/contrib/yaml-0.1.4/tests/test-version.c +29 -0
  71. data/ext/nutcracker/extconf.rb +5 -0
  72. data/ext/nutcracker/m4/libtool.m4 +7376 -0
  73. data/ext/nutcracker/m4/ltoptions.m4 +368 -0
  74. data/ext/nutcracker/m4/ltsugar.m4 +123 -0
  75. data/ext/nutcracker/m4/ltversion.m4 +23 -0
  76. data/ext/nutcracker/m4/lt~obsolete.m4 +92 -0
  77. data/ext/nutcracker/notes/c-styleguide.txt +425 -0
  78. data/ext/nutcracker/notes/debug.txt +96 -0
  79. data/ext/nutcracker/notes/memcache.txt +123 -0
  80. data/ext/nutcracker/notes/recommendation.md +118 -0
  81. data/ext/nutcracker/notes/redis.md +415 -0
  82. data/ext/nutcracker/notes/socket.txt +131 -0
  83. data/ext/nutcracker/scripts/multi_get.sh +26 -0
  84. data/ext/nutcracker/scripts/nutcracker.init +73 -0
  85. data/ext/nutcracker/scripts/nutcracker.spec +52 -0
  86. data/ext/nutcracker/scripts/pipelined_read.sh +23 -0
  87. data/ext/nutcracker/scripts/pipelined_write.sh +29 -0
  88. data/ext/nutcracker/scripts/populate_memcached.sh +24 -0
  89. data/ext/nutcracker/scripts/redis-check.py +23 -0
  90. data/ext/nutcracker/scripts/redis-check.sh +564 -0
  91. data/ext/nutcracker/src/Makefile.am +46 -0
  92. data/ext/nutcracker/src/Makefile.in +726 -0
  93. data/ext/nutcracker/src/hashkit/Makefile.am +22 -0
  94. data/ext/nutcracker/src/hashkit/Makefile.in +501 -0
  95. data/ext/nutcracker/src/hashkit/nc_crc32.c +105 -0
  96. data/ext/nutcracker/src/hashkit/nc_fnv.c +82 -0
  97. data/ext/nutcracker/src/hashkit/nc_hashkit.h +74 -0
  98. data/ext/nutcracker/src/hashkit/nc_hsieh.c +93 -0
  99. data/ext/nutcracker/src/hashkit/nc_jenkins.c +230 -0
  100. data/ext/nutcracker/src/hashkit/nc_ketama.c +240 -0
  101. data/ext/nutcracker/src/hashkit/nc_md5.c +379 -0
  102. data/ext/nutcracker/src/hashkit/nc_modula.c +144 -0
  103. data/ext/nutcracker/src/hashkit/nc_murmur.c +99 -0
  104. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +51 -0
  105. data/ext/nutcracker/src/hashkit/nc_random.c +146 -0
  106. data/ext/nutcracker/src/nc.c +573 -0
  107. data/ext/nutcracker/src/nc_array.c +204 -0
  108. data/ext/nutcracker/src/nc_array.h +73 -0
  109. data/ext/nutcracker/src/nc_client.c +189 -0
  110. data/ext/nutcracker/src/nc_client.h +28 -0
  111. data/ext/nutcracker/src/nc_conf.c +1766 -0
  112. data/ext/nutcracker/src/nc_conf.h +134 -0
  113. data/ext/nutcracker/src/nc_connection.c +392 -0
  114. data/ext/nutcracker/src/nc_connection.h +99 -0
  115. data/ext/nutcracker/src/nc_core.c +334 -0
  116. data/ext/nutcracker/src/nc_core.h +131 -0
  117. data/ext/nutcracker/src/nc_event.c +214 -0
  118. data/ext/nutcracker/src/nc_event.h +39 -0
  119. data/ext/nutcracker/src/nc_log.c +254 -0
  120. data/ext/nutcracker/src/nc_log.h +120 -0
  121. data/ext/nutcracker/src/nc_mbuf.c +285 -0
  122. data/ext/nutcracker/src/nc_mbuf.h +67 -0
  123. data/ext/nutcracker/src/nc_message.c +828 -0
  124. data/ext/nutcracker/src/nc_message.h +253 -0
  125. data/ext/nutcracker/src/nc_proxy.c +359 -0
  126. data/ext/nutcracker/src/nc_proxy.h +34 -0
  127. data/ext/nutcracker/src/nc_queue.h +788 -0
  128. data/ext/nutcracker/src/nc_rbtree.c +348 -0
  129. data/ext/nutcracker/src/nc_rbtree.h +47 -0
  130. data/ext/nutcracker/src/nc_request.c +588 -0
  131. data/ext/nutcracker/src/nc_response.c +332 -0
  132. data/ext/nutcracker/src/nc_server.c +841 -0
  133. data/ext/nutcracker/src/nc_server.h +143 -0
  134. data/ext/nutcracker/src/nc_signal.c +131 -0
  135. data/ext/nutcracker/src/nc_signal.h +34 -0
  136. data/ext/nutcracker/src/nc_stats.c +1188 -0
  137. data/ext/nutcracker/src/nc_stats.h +206 -0
  138. data/ext/nutcracker/src/nc_string.c +109 -0
  139. data/ext/nutcracker/src/nc_string.h +112 -0
  140. data/ext/nutcracker/src/nc_util.c +619 -0
  141. data/ext/nutcracker/src/nc_util.h +214 -0
  142. data/ext/nutcracker/src/proto/Makefile.am +14 -0
  143. data/ext/nutcracker/src/proto/Makefile.in +482 -0
  144. data/ext/nutcracker/src/proto/nc_memcache.c +1306 -0
  145. data/ext/nutcracker/src/proto/nc_proto.h +155 -0
  146. data/ext/nutcracker/src/proto/nc_redis.c +2102 -0
  147. data/lib/nutcracker.rb +7 -0
  148. data/lib/nutcracker/version.rb +3 -0
  149. metadata +194 -0
@@ -0,0 +1,7 @@
1
+ require 'nutcracker/version'
2
+
3
+ module Nutcracker
4
+ def self.version
5
+ VERSION
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ module Nutcracker
2
+ VERSION = "0.2.3".freeze
3
+ end
metadata ADDED
@@ -0,0 +1,194 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nutcracker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Eran Barak Levi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-07 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Gem/Bundler benefits for Twitter's Nutcraker C app
15
+ email: eran@kontera.com
16
+ executables:
17
+ - nutcracker
18
+ extensions:
19
+ - ext/nutcracker/extconf.rb
20
+ extra_rdoc_files: []
21
+ files:
22
+ - README.md
23
+ - Rakefile
24
+ - bin/nutcracker
25
+ - lib/nutcracker/version.rb
26
+ - lib/nutcracker.rb
27
+ - ext/nutcracker/aclocal.m4
28
+ - ext/nutcracker/ChangeLog
29
+ - ext/nutcracker/conf/nutcracker.leaf.yml
30
+ - ext/nutcracker/conf/nutcracker.root.yml
31
+ - ext/nutcracker/conf/nutcracker.yml
32
+ - ext/nutcracker/config/config.guess
33
+ - ext/nutcracker/config/config.sub
34
+ - ext/nutcracker/config/depcomp
35
+ - ext/nutcracker/config/install-sh
36
+ - ext/nutcracker/config/ltmain.sh
37
+ - ext/nutcracker/config/missing
38
+ - ext/nutcracker/config.h.in
39
+ - ext/nutcracker/configure
40
+ - ext/nutcracker/configure.ac
41
+ - ext/nutcracker/contrib/Makefile.am
42
+ - ext/nutcracker/contrib/Makefile.in
43
+ - ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4
44
+ - ext/nutcracker/contrib/yaml-0.1.4/config/config.guess
45
+ - ext/nutcracker/contrib/yaml-0.1.4/config/config.sub
46
+ - ext/nutcracker/contrib/yaml-0.1.4/config/depcomp
47
+ - ext/nutcracker/contrib/yaml-0.1.4/config/install-sh
48
+ - ext/nutcracker/contrib/yaml-0.1.4/config/ltmain.sh
49
+ - ext/nutcracker/contrib/yaml-0.1.4/config/missing
50
+ - ext/nutcracker/contrib/yaml-0.1.4/config.h.in
51
+ - ext/nutcracker/contrib/yaml-0.1.4/configure
52
+ - ext/nutcracker/contrib/yaml-0.1.4/configure.ac
53
+ - ext/nutcracker/contrib/yaml-0.1.4/doc/doxygen.cfg
54
+ - ext/nutcracker/contrib/yaml-0.1.4/include/yaml.h
55
+ - ext/nutcracker/contrib/yaml-0.1.4/LICENSE
56
+ - ext/nutcracker/contrib/yaml-0.1.4/m4/libtool.m4
57
+ - ext/nutcracker/contrib/yaml-0.1.4/m4/ltoptions.m4
58
+ - ext/nutcracker/contrib/yaml-0.1.4/m4/ltsugar.m4
59
+ - ext/nutcracker/contrib/yaml-0.1.4/m4/ltversion.m4
60
+ - ext/nutcracker/contrib/yaml-0.1.4/m4/lt~obsolete.m4
61
+ - ext/nutcracker/contrib/yaml-0.1.4/Makefile.am
62
+ - ext/nutcracker/contrib/yaml-0.1.4/Makefile.in
63
+ - ext/nutcracker/contrib/yaml-0.1.4/README
64
+ - ext/nutcracker/contrib/yaml-0.1.4/src/api.c
65
+ - ext/nutcracker/contrib/yaml-0.1.4/src/dumper.c
66
+ - ext/nutcracker/contrib/yaml-0.1.4/src/emitter.c
67
+ - ext/nutcracker/contrib/yaml-0.1.4/src/loader.c
68
+ - ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.am
69
+ - ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in
70
+ - ext/nutcracker/contrib/yaml-0.1.4/src/parser.c
71
+ - ext/nutcracker/contrib/yaml-0.1.4/src/reader.c
72
+ - ext/nutcracker/contrib/yaml-0.1.4/src/scanner.c
73
+ - ext/nutcracker/contrib/yaml-0.1.4/src/writer.c
74
+ - ext/nutcracker/contrib/yaml-0.1.4/src/yaml_private.h
75
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.c
76
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.c
77
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.c
78
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.c
79
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.am
80
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in
81
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.c
82
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.c
83
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.c
84
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.c
85
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.c
86
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/test-reader.c
87
+ - ext/nutcracker/contrib/yaml-0.1.4/tests/test-version.c
88
+ - ext/nutcracker/contrib/yaml-0.1.4.tar.gz
89
+ - ext/nutcracker/extconf.rb
90
+ - ext/nutcracker/LICENSE
91
+ - ext/nutcracker/m4/libtool.m4
92
+ - ext/nutcracker/m4/ltoptions.m4
93
+ - ext/nutcracker/m4/ltsugar.m4
94
+ - ext/nutcracker/m4/ltversion.m4
95
+ - ext/nutcracker/m4/lt~obsolete.m4
96
+ - ext/nutcracker/Makefile.am
97
+ - ext/nutcracker/Makefile.in
98
+ - ext/nutcracker/notes/c-styleguide.txt
99
+ - ext/nutcracker/notes/debug.txt
100
+ - ext/nutcracker/notes/memcache.txt
101
+ - ext/nutcracker/notes/recommendation.md
102
+ - ext/nutcracker/notes/redis.md
103
+ - ext/nutcracker/notes/socket.txt
104
+ - ext/nutcracker/NOTICE
105
+ - ext/nutcracker/README.md
106
+ - ext/nutcracker/scripts/multi_get.sh
107
+ - ext/nutcracker/scripts/nutcracker.init
108
+ - ext/nutcracker/scripts/nutcracker.spec
109
+ - ext/nutcracker/scripts/pipelined_read.sh
110
+ - ext/nutcracker/scripts/pipelined_write.sh
111
+ - ext/nutcracker/scripts/populate_memcached.sh
112
+ - ext/nutcracker/scripts/redis-check.py
113
+ - ext/nutcracker/scripts/redis-check.sh
114
+ - ext/nutcracker/src/hashkit/Makefile.am
115
+ - ext/nutcracker/src/hashkit/Makefile.in
116
+ - ext/nutcracker/src/hashkit/nc_crc32.c
117
+ - ext/nutcracker/src/hashkit/nc_fnv.c
118
+ - ext/nutcracker/src/hashkit/nc_hashkit.h
119
+ - ext/nutcracker/src/hashkit/nc_hsieh.c
120
+ - ext/nutcracker/src/hashkit/nc_jenkins.c
121
+ - ext/nutcracker/src/hashkit/nc_ketama.c
122
+ - ext/nutcracker/src/hashkit/nc_md5.c
123
+ - ext/nutcracker/src/hashkit/nc_modula.c
124
+ - ext/nutcracker/src/hashkit/nc_murmur.c
125
+ - ext/nutcracker/src/hashkit/nc_one_at_a_time.c
126
+ - ext/nutcracker/src/hashkit/nc_random.c
127
+ - ext/nutcracker/src/Makefile.am
128
+ - ext/nutcracker/src/Makefile.in
129
+ - ext/nutcracker/src/nc.c
130
+ - ext/nutcracker/src/nc_array.c
131
+ - ext/nutcracker/src/nc_array.h
132
+ - ext/nutcracker/src/nc_client.c
133
+ - ext/nutcracker/src/nc_client.h
134
+ - ext/nutcracker/src/nc_conf.c
135
+ - ext/nutcracker/src/nc_conf.h
136
+ - ext/nutcracker/src/nc_connection.c
137
+ - ext/nutcracker/src/nc_connection.h
138
+ - ext/nutcracker/src/nc_core.c
139
+ - ext/nutcracker/src/nc_core.h
140
+ - ext/nutcracker/src/nc_event.c
141
+ - ext/nutcracker/src/nc_event.h
142
+ - ext/nutcracker/src/nc_log.c
143
+ - ext/nutcracker/src/nc_log.h
144
+ - ext/nutcracker/src/nc_mbuf.c
145
+ - ext/nutcracker/src/nc_mbuf.h
146
+ - ext/nutcracker/src/nc_message.c
147
+ - ext/nutcracker/src/nc_message.h
148
+ - ext/nutcracker/src/nc_proxy.c
149
+ - ext/nutcracker/src/nc_proxy.h
150
+ - ext/nutcracker/src/nc_queue.h
151
+ - ext/nutcracker/src/nc_rbtree.c
152
+ - ext/nutcracker/src/nc_rbtree.h
153
+ - ext/nutcracker/src/nc_request.c
154
+ - ext/nutcracker/src/nc_response.c
155
+ - ext/nutcracker/src/nc_server.c
156
+ - ext/nutcracker/src/nc_server.h
157
+ - ext/nutcracker/src/nc_signal.c
158
+ - ext/nutcracker/src/nc_signal.h
159
+ - ext/nutcracker/src/nc_stats.c
160
+ - ext/nutcracker/src/nc_stats.h
161
+ - ext/nutcracker/src/nc_string.c
162
+ - ext/nutcracker/src/nc_string.h
163
+ - ext/nutcracker/src/nc_util.c
164
+ - ext/nutcracker/src/nc_util.h
165
+ - ext/nutcracker/src/proto/Makefile.am
166
+ - ext/nutcracker/src/proto/Makefile.in
167
+ - ext/nutcracker/src/proto/nc_memcache.c
168
+ - ext/nutcracker/src/proto/nc_proto.h
169
+ - ext/nutcracker/src/proto/nc_redis.c
170
+ homepage: http://www.kontera.com
171
+ licenses: []
172
+ post_install_message:
173
+ rdoc_options: []
174
+ require_paths:
175
+ - lib
176
+ required_ruby_version: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: 1.8.5
182
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
+ none: false
184
+ requirements:
185
+ - - ! '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ requirements: []
189
+ rubyforge_project: ruby-nutcracker
190
+ rubygems_version: 1.8.25
191
+ signing_key:
192
+ specification_version: 3
193
+ summary: Twitter's Nutcraker Gem Wrapper
194
+ test_files: []