tokyomessenger 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/COPYING +504 -0
  2. data/README.rdoc +224 -0
  3. data/Rakefile +72 -0
  4. data/benchmarks/balancer.rb +101 -0
  5. data/benchmarks/bulk_db.rb +92 -0
  6. data/benchmarks/bulk_table.rb +104 -0
  7. data/benchmarks/db.rb +131 -0
  8. data/benchmarks/table.rb +186 -0
  9. data/ext/a.h +496 -0
  10. data/ext/extconf.rb +27 -0
  11. data/ext/md5.c +381 -0
  12. data/ext/md5.h +101 -0
  13. data/ext/tc_myconf.c +493 -0
  14. data/ext/tc_myconf.h +543 -0
  15. data/ext/tcadb.c +4339 -0
  16. data/ext/tcadb.h +533 -0
  17. data/ext/tcbdb.c +4180 -0
  18. data/ext/tcbdb.h +1086 -0
  19. data/ext/tcfdb.c +2746 -0
  20. data/ext/tcfdb.h +842 -0
  21. data/ext/tchdb.c +5153 -0
  22. data/ext/tchdb.h +856 -0
  23. data/ext/tcrdb.c +2637 -0
  24. data/ext/tcrdb.h +785 -0
  25. data/ext/tctdb.c +6199 -0
  26. data/ext/tctdb.h +1070 -0
  27. data/ext/tcutil.c +10528 -0
  28. data/ext/tcutil.h +4166 -0
  29. data/ext/tokyo_messenger.c +147 -0
  30. data/ext/tokyo_messenger.h +49 -0
  31. data/ext/tokyo_messenger_db.c +227 -0
  32. data/ext/tokyo_messenger_db.h +8 -0
  33. data/ext/tokyo_messenger_module.c +453 -0
  34. data/ext/tokyo_messenger_module.h +10 -0
  35. data/ext/tokyo_messenger_query.c +226 -0
  36. data/ext/tokyo_messenger_query.h +9 -0
  37. data/ext/tokyo_messenger_table.c +319 -0
  38. data/ext/tokyo_messenger_table.h +8 -0
  39. data/ext/tt_myconf.c +169 -0
  40. data/ext/tt_myconf.h +408 -0
  41. data/ext/ttutil.c +1509 -0
  42. data/ext/ttutil.h +480 -0
  43. data/lib/tokyo_messenger/balancer.rb +188 -0
  44. data/spec/ext.lua +4 -0
  45. data/spec/plu_db.rb +538 -0
  46. data/spec/spec.rb +1 -0
  47. data/spec/spec_base.rb +17 -0
  48. data/spec/start_tyrants.sh +36 -0
  49. data/spec/stop_tyrants.sh +9 -0
  50. data/spec/tokyo_tyrant_balancer_db_spec.rb +160 -0
  51. data/spec/tokyo_tyrant_balancer_table_spec.rb +177 -0
  52. data/spec/tokyo_tyrant_query_spec.rb +159 -0
  53. data/spec/tokyo_tyrant_spec.rb +254 -0
  54. data/spec/tokyo_tyrant_table_spec.rb +301 -0
  55. metadata +117 -0
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tokyomessenger
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.5"
5
+ platform: ruby
6
+ authors:
7
+ - Matt Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-12-21 00:00:00 -06:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: fast_hash_ring
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.1.1
24
+ version:
25
+ description:
26
+ email: bauer@pedalbrain.com
27
+ executables: []
28
+
29
+ extensions:
30
+ - ext/extconf.rb
31
+ extra_rdoc_files:
32
+ - README.rdoc
33
+ files:
34
+ - COPYING
35
+ - Rakefile
36
+ - README.rdoc
37
+ - ext/a.h
38
+ - ext/extconf.rb
39
+ - ext/md5.c
40
+ - ext/md5.h
41
+ - ext/tc_myconf.c
42
+ - ext/tc_myconf.h
43
+ - ext/tcadb.c
44
+ - ext/tcadb.h
45
+ - ext/tcbdb.c
46
+ - ext/tcbdb.h
47
+ - ext/tcfdb.c
48
+ - ext/tcfdb.h
49
+ - ext/tchdb.c
50
+ - ext/tchdb.h
51
+ - ext/tcrdb.c
52
+ - ext/tcrdb.h
53
+ - ext/tctdb.c
54
+ - ext/tctdb.h
55
+ - ext/tcutil.c
56
+ - ext/tcutil.h
57
+ - ext/tokyo_messenger.c
58
+ - ext/tokyo_messenger.h
59
+ - ext/tokyo_messenger_db.c
60
+ - ext/tokyo_messenger_db.h
61
+ - ext/tokyo_messenger_module.c
62
+ - ext/tokyo_messenger_module.h
63
+ - ext/tokyo_messenger_query.c
64
+ - ext/tokyo_messenger_query.h
65
+ - ext/tokyo_messenger_table.c
66
+ - ext/tokyo_messenger_table.h
67
+ - ext/tt_myconf.c
68
+ - ext/tt_myconf.h
69
+ - ext/ttutil.c
70
+ - ext/ttutil.h
71
+ - lib/tokyo_messenger/balancer.rb
72
+ - spec/ext.lua
73
+ - spec/plu_db.rb
74
+ - spec/spec.rb
75
+ - spec/spec_base.rb
76
+ - spec/start_tyrants.sh
77
+ - spec/stop_tyrants.sh
78
+ - spec/tokyo_tyrant_balancer_db_spec.rb
79
+ - spec/tokyo_tyrant_balancer_table_spec.rb
80
+ - spec/tokyo_tyrant_query_spec.rb
81
+ - spec/tokyo_tyrant_spec.rb
82
+ - spec/tokyo_tyrant_table_spec.rb
83
+ - benchmarks/balancer.rb
84
+ - benchmarks/bulk_db.rb
85
+ - benchmarks/bulk_table.rb
86
+ - benchmarks/db.rb
87
+ - benchmarks/table.rb
88
+ has_rdoc: true
89
+ homepage: http://github.com/mattbauer/tokyomessenger/
90
+ licenses: []
91
+
92
+ post_install_message:
93
+ rdoc_options: []
94
+
95
+ require_paths:
96
+ - ext
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: "0"
102
+ version:
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: "0"
108
+ version:
109
+ requirements: []
110
+
111
+ rubyforge_project:
112
+ rubygems_version: 1.3.5
113
+ signing_key:
114
+ specification_version: 3
115
+ summary: A C based TokyoTyrant Ruby adapter that doesn't require TokyoCabinet or TokyoTyrant to be installed
116
+ test_files:
117
+ - spec/spec.rb