sessionm-cassandra 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/CHANGELOG +135 -0
  2. data/Gemfile +8 -0
  3. data/LICENSE +202 -0
  4. data/Manifest +94 -0
  5. data/README.md +373 -0
  6. data/Rakefile +195 -0
  7. data/bin/cassandra_helper +16 -0
  8. data/conf/0.6/cassandra.in.sh +47 -0
  9. data/conf/0.6/log4j.properties +38 -0
  10. data/conf/0.6/schema.json +57 -0
  11. data/conf/0.6/storage-conf.xml +352 -0
  12. data/conf/0.7/cassandra.in.sh +46 -0
  13. data/conf/0.7/cassandra.yaml +336 -0
  14. data/conf/0.7/log4j-server.properties +41 -0
  15. data/conf/0.7/schema.json +57 -0
  16. data/conf/0.7/schema.txt +45 -0
  17. data/conf/0.8/cassandra.in.sh +41 -0
  18. data/conf/0.8/cassandra.yaml +61 -0
  19. data/conf/0.8/log4j-server.properties +40 -0
  20. data/conf/0.8/schema.json +72 -0
  21. data/conf/0.8/schema.txt +57 -0
  22. data/conf/1.0/cassandra.in.sh +41 -0
  23. data/conf/1.0/cassandra.yaml +415 -0
  24. data/conf/1.0/log4j-server.properties +40 -0
  25. data/conf/1.0/schema.json +72 -0
  26. data/conf/1.0/schema.txt +57 -0
  27. data/conf/1.1/cassandra.in.sh +41 -0
  28. data/conf/1.1/cassandra.yaml +567 -0
  29. data/conf/1.1/log4j-server.properties +44 -0
  30. data/conf/1.1/schema.json +72 -0
  31. data/conf/1.1/schema.txt +57 -0
  32. data/ext/cassandra_native.c +34 -0
  33. data/ext/extconf.rb +9 -0
  34. data/lib/cassandra/0.6/cassandra.rb +113 -0
  35. data/lib/cassandra/0.6/columns.rb +78 -0
  36. data/lib/cassandra/0.6/protocol.rb +91 -0
  37. data/lib/cassandra/0.6.rb +7 -0
  38. data/lib/cassandra/0.7/cassandra.rb +2 -0
  39. data/lib/cassandra/0.7/columns.rb +4 -0
  40. data/lib/cassandra/0.7/protocol.rb +5 -0
  41. data/lib/cassandra/0.7.rb +7 -0
  42. data/lib/cassandra/0.8/cassandra.rb +51 -0
  43. data/lib/cassandra/0.8/columns.rb +28 -0
  44. data/lib/cassandra/0.8/protocol.rb +10 -0
  45. data/lib/cassandra/0.8.rb +7 -0
  46. data/lib/cassandra/1.0/cassandra.rb +1 -0
  47. data/lib/cassandra/1.0/columns.rb +1 -0
  48. data/lib/cassandra/1.0/protocol.rb +1 -0
  49. data/lib/cassandra/1.0.rb +7 -0
  50. data/lib/cassandra/1.1/cassandra.rb +1 -0
  51. data/lib/cassandra/1.1/columns.rb +1 -0
  52. data/lib/cassandra/1.1/protocol.rb +1 -0
  53. data/lib/cassandra/1.1.rb +7 -0
  54. data/lib/cassandra/array.rb +8 -0
  55. data/lib/cassandra/batch.rb +41 -0
  56. data/lib/cassandra/cassandra.rb +1088 -0
  57. data/lib/cassandra/column_family.rb +3 -0
  58. data/lib/cassandra/columns.rb +172 -0
  59. data/lib/cassandra/comparable.rb +28 -0
  60. data/lib/cassandra/composite.rb +140 -0
  61. data/lib/cassandra/constants.rb +11 -0
  62. data/lib/cassandra/debug.rb +9 -0
  63. data/lib/cassandra/dynamic_composite.rb +96 -0
  64. data/lib/cassandra/helpers.rb +41 -0
  65. data/lib/cassandra/keyspace.rb +3 -0
  66. data/lib/cassandra/long.rb +58 -0
  67. data/lib/cassandra/mock.rb +525 -0
  68. data/lib/cassandra/ordered_hash.rb +192 -0
  69. data/lib/cassandra/protocol.rb +137 -0
  70. data/lib/cassandra/time.rb +11 -0
  71. data/lib/cassandra.rb +41 -0
  72. data/sessionm-cassandra.gemspec +47 -0
  73. data/test/cassandra_client_test.rb +20 -0
  74. data/test/cassandra_mock_test.rb +128 -0
  75. data/test/cassandra_test.rb +1353 -0
  76. data/test/comparable_types_test.rb +45 -0
  77. data/test/composite_type_test.rb +64 -0
  78. data/test/eventmachine_test.rb +42 -0
  79. data/test/ordered_hash_test.rb +386 -0
  80. data/test/test_helper.rb +19 -0
  81. data/vendor/0.6/gen-rb/cassandra.rb +1481 -0
  82. data/vendor/0.6/gen-rb/cassandra_constants.rb +12 -0
  83. data/vendor/0.6/gen-rb/cassandra_types.rb +482 -0
  84. data/vendor/0.7/gen-rb/cassandra.rb +1936 -0
  85. data/vendor/0.7/gen-rb/cassandra_constants.rb +12 -0
  86. data/vendor/0.7/gen-rb/cassandra_types.rb +681 -0
  87. data/vendor/0.8/gen-rb/cassandra.rb +2215 -0
  88. data/vendor/0.8/gen-rb/cassandra_constants.rb +12 -0
  89. data/vendor/0.8/gen-rb/cassandra_types.rb +824 -0
  90. data/vendor/1.0/gen-rb/cassandra.rb +2215 -0
  91. data/vendor/1.0/gen-rb/cassandra_constants.rb +12 -0
  92. data/vendor/1.0/gen-rb/cassandra_types.rb +857 -0
  93. data/vendor/1.1/gen-rb/cassandra.rb +2571 -0
  94. data/vendor/1.1/gen-rb/cassandra_constants.rb +12 -0
  95. data/vendor/1.1/gen-rb/cassandra_types.rb +928 -0
  96. metadata +287 -0
metadata ADDED
@@ -0,0 +1,287 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sessionm-cassandra
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Evan Weaver, Ryan King
9
+ - Kris Lange
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-09-26 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: thrift_client
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '0.9'
23
+ - - ! '>='
24
+ - !ruby/object:Gem::Version
25
+ version: 0.7.0
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - <
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 0.7.0
37
+ - !ruby/object:Gem::Dependency
38
+ name: json
39
+ requirement: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: rake
55
+ requirement: !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simple_uuid
71
+ requirement: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 0.2.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
82
+ - - ~>
83
+ - !ruby/object:Gem::Version
84
+ version: 0.2.0
85
+ - !ruby/object:Gem::Dependency
86
+ name: echoe
87
+ requirement: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ description: A Ruby client for the Cassandra distributed database.
102
+ email: ''
103
+ executables:
104
+ - cassandra_helper
105
+ extensions:
106
+ - ext/extconf.rb
107
+ extra_rdoc_files:
108
+ - CHANGELOG
109
+ - LICENSE
110
+ - README.md
111
+ - bin/cassandra_helper
112
+ - ext/cassandra_native.c
113
+ - ext/extconf.rb
114
+ - lib/cassandra.rb
115
+ - lib/cassandra/0.6.rb
116
+ - lib/cassandra/0.6/cassandra.rb
117
+ - lib/cassandra/0.6/columns.rb
118
+ - lib/cassandra/0.6/protocol.rb
119
+ - lib/cassandra/0.7.rb
120
+ - lib/cassandra/0.7/cassandra.rb
121
+ - lib/cassandra/0.7/columns.rb
122
+ - lib/cassandra/0.7/protocol.rb
123
+ - lib/cassandra/0.8.rb
124
+ - lib/cassandra/0.8/cassandra.rb
125
+ - lib/cassandra/0.8/columns.rb
126
+ - lib/cassandra/0.8/protocol.rb
127
+ - lib/cassandra/1.0.rb
128
+ - lib/cassandra/1.0/cassandra.rb
129
+ - lib/cassandra/1.0/columns.rb
130
+ - lib/cassandra/1.0/protocol.rb
131
+ - lib/cassandra/1.1.rb
132
+ - lib/cassandra/1.1/cassandra.rb
133
+ - lib/cassandra/1.1/columns.rb
134
+ - lib/cassandra/1.1/protocol.rb
135
+ - lib/cassandra/array.rb
136
+ - lib/cassandra/batch.rb
137
+ - lib/cassandra/cassandra.rb
138
+ - lib/cassandra/column_family.rb
139
+ - lib/cassandra/columns.rb
140
+ - lib/cassandra/comparable.rb
141
+ - lib/cassandra/composite.rb
142
+ - lib/cassandra/constants.rb
143
+ - lib/cassandra/debug.rb
144
+ - lib/cassandra/dynamic_composite.rb
145
+ - lib/cassandra/helpers.rb
146
+ - lib/cassandra/keyspace.rb
147
+ - lib/cassandra/long.rb
148
+ - lib/cassandra/mock.rb
149
+ - lib/cassandra/ordered_hash.rb
150
+ - lib/cassandra/protocol.rb
151
+ - lib/cassandra/time.rb
152
+ files:
153
+ - CHANGELOG
154
+ - Gemfile
155
+ - LICENSE
156
+ - Manifest
157
+ - README.md
158
+ - Rakefile
159
+ - bin/cassandra_helper
160
+ - conf/0.6/cassandra.in.sh
161
+ - conf/0.6/log4j.properties
162
+ - conf/0.6/schema.json
163
+ - conf/0.6/storage-conf.xml
164
+ - conf/0.7/cassandra.in.sh
165
+ - conf/0.7/cassandra.yaml
166
+ - conf/0.7/log4j-server.properties
167
+ - conf/0.7/schema.json
168
+ - conf/0.7/schema.txt
169
+ - conf/0.8/cassandra.in.sh
170
+ - conf/0.8/cassandra.yaml
171
+ - conf/0.8/log4j-server.properties
172
+ - conf/0.8/schema.json
173
+ - conf/0.8/schema.txt
174
+ - conf/1.0/cassandra.in.sh
175
+ - conf/1.0/cassandra.yaml
176
+ - conf/1.0/log4j-server.properties
177
+ - conf/1.0/schema.json
178
+ - conf/1.0/schema.txt
179
+ - conf/1.1/cassandra.in.sh
180
+ - conf/1.1/cassandra.yaml
181
+ - conf/1.1/log4j-server.properties
182
+ - conf/1.1/schema.json
183
+ - conf/1.1/schema.txt
184
+ - ext/cassandra_native.c
185
+ - ext/extconf.rb
186
+ - lib/cassandra.rb
187
+ - lib/cassandra/0.6.rb
188
+ - lib/cassandra/0.6/cassandra.rb
189
+ - lib/cassandra/0.6/columns.rb
190
+ - lib/cassandra/0.6/protocol.rb
191
+ - lib/cassandra/0.7.rb
192
+ - lib/cassandra/0.7/cassandra.rb
193
+ - lib/cassandra/0.7/columns.rb
194
+ - lib/cassandra/0.7/protocol.rb
195
+ - lib/cassandra/0.8.rb
196
+ - lib/cassandra/0.8/cassandra.rb
197
+ - lib/cassandra/0.8/columns.rb
198
+ - lib/cassandra/0.8/protocol.rb
199
+ - lib/cassandra/1.0.rb
200
+ - lib/cassandra/1.0/cassandra.rb
201
+ - lib/cassandra/1.0/columns.rb
202
+ - lib/cassandra/1.0/protocol.rb
203
+ - lib/cassandra/1.1.rb
204
+ - lib/cassandra/1.1/cassandra.rb
205
+ - lib/cassandra/1.1/columns.rb
206
+ - lib/cassandra/1.1/protocol.rb
207
+ - lib/cassandra/array.rb
208
+ - lib/cassandra/batch.rb
209
+ - lib/cassandra/cassandra.rb
210
+ - lib/cassandra/column_family.rb
211
+ - lib/cassandra/columns.rb
212
+ - lib/cassandra/comparable.rb
213
+ - lib/cassandra/composite.rb
214
+ - lib/cassandra/constants.rb
215
+ - lib/cassandra/debug.rb
216
+ - lib/cassandra/dynamic_composite.rb
217
+ - lib/cassandra/helpers.rb
218
+ - lib/cassandra/keyspace.rb
219
+ - lib/cassandra/long.rb
220
+ - lib/cassandra/mock.rb
221
+ - lib/cassandra/ordered_hash.rb
222
+ - lib/cassandra/protocol.rb
223
+ - lib/cassandra/time.rb
224
+ - test/cassandra_client_test.rb
225
+ - test/cassandra_mock_test.rb
226
+ - test/cassandra_test.rb
227
+ - test/comparable_types_test.rb
228
+ - test/composite_type_test.rb
229
+ - test/eventmachine_test.rb
230
+ - test/ordered_hash_test.rb
231
+ - test/test_helper.rb
232
+ - vendor/0.6/gen-rb/cassandra.rb
233
+ - vendor/0.6/gen-rb/cassandra_constants.rb
234
+ - vendor/0.6/gen-rb/cassandra_types.rb
235
+ - vendor/0.7/gen-rb/cassandra.rb
236
+ - vendor/0.7/gen-rb/cassandra_constants.rb
237
+ - vendor/0.7/gen-rb/cassandra_types.rb
238
+ - vendor/0.8/gen-rb/cassandra.rb
239
+ - vendor/0.8/gen-rb/cassandra_constants.rb
240
+ - vendor/0.8/gen-rb/cassandra_types.rb
241
+ - vendor/1.0/gen-rb/cassandra.rb
242
+ - vendor/1.0/gen-rb/cassandra_constants.rb
243
+ - vendor/1.0/gen-rb/cassandra_types.rb
244
+ - vendor/1.1/gen-rb/cassandra.rb
245
+ - vendor/1.1/gen-rb/cassandra_constants.rb
246
+ - vendor/1.1/gen-rb/cassandra_types.rb
247
+ - sessionm-cassandra.gemspec
248
+ homepage: http://github.com/twitter/cassandra
249
+ licenses: []
250
+ post_install_message:
251
+ rdoc_options:
252
+ - --line-numbers
253
+ - --inline-source
254
+ - --title
255
+ - Cassandra
256
+ - --main
257
+ - README.md
258
+ require_paths:
259
+ - lib
260
+ - ext
261
+ required_ruby_version: !ruby/object:Gem::Requirement
262
+ none: false
263
+ requirements:
264
+ - - ! '>='
265
+ - !ruby/object:Gem::Version
266
+ version: '0'
267
+ required_rubygems_version: !ruby/object:Gem::Requirement
268
+ none: false
269
+ requirements:
270
+ - - ! '>='
271
+ - !ruby/object:Gem::Version
272
+ version: '0.8'
273
+ requirements: []
274
+ rubyforge_project: cassandra
275
+ rubygems_version: 1.8.25
276
+ signing_key:
277
+ specification_version: 3
278
+ summary: A Ruby client for the Cassandra distributed database.
279
+ test_files:
280
+ - test/cassandra_client_test.rb
281
+ - test/cassandra_mock_test.rb
282
+ - test/cassandra_test.rb
283
+ - test/comparable_types_test.rb
284
+ - test/composite_type_test.rb
285
+ - test/eventmachine_test.rb
286
+ - test/ordered_hash_test.rb
287
+ - test/test_helper.rb