thrift 0.0.751142

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/CHANGELOG +2 -0
  2. data/COPYING +14 -0
  3. data/LICENSE +14 -0
  4. data/Makefile.am +15 -0
  5. data/Manifest +78 -0
  6. data/README +30 -0
  7. data/Rakefile +102 -0
  8. data/benchmark/Benchmark.thrift +5 -0
  9. data/benchmark/benchmark.rb +254 -0
  10. data/benchmark/client.rb +56 -0
  11. data/benchmark/gen-rb/BenchmarkService.rb +81 -0
  12. data/benchmark/gen-rb/Benchmark_constants.rb +11 -0
  13. data/benchmark/gen-rb/Benchmark_types.rb +10 -0
  14. data/benchmark/server.rb +64 -0
  15. data/benchmark/thin_server.rb +26 -0
  16. data/ext/binary_protocol_accelerated.c +463 -0
  17. data/ext/binary_protocol_accelerated.h +1 -0
  18. data/ext/constants.h +77 -0
  19. data/ext/extconf.rb +7 -0
  20. data/ext/memory_buffer.c +52 -0
  21. data/ext/memory_buffer.h +1 -0
  22. data/ext/protocol.c +166 -0
  23. data/ext/protocol.h +1 -0
  24. data/ext/struct.c +574 -0
  25. data/ext/struct.h +48 -0
  26. data/ext/thrift_native.c +173 -0
  27. data/lib/thrift/client.rb +44 -0
  28. data/lib/thrift/deprecation.rb +155 -0
  29. data/lib/thrift/exceptions.rb +65 -0
  30. data/lib/thrift/processor.rb +39 -0
  31. data/lib/thrift/protocol/binaryprotocol.rb +213 -0
  32. data/lib/thrift/protocol/binaryprotocolaccelerated.rb +19 -0
  33. data/lib/thrift/protocol/tbinaryprotocol.rb +2 -0
  34. data/lib/thrift/protocol/tprotocol.rb +2 -0
  35. data/lib/thrift/protocol.rb +270 -0
  36. data/lib/thrift/serializer.rb +27 -0
  37. data/lib/thrift/server/httpserver.rb +44 -0
  38. data/lib/thrift/server/nonblockingserver.rb +278 -0
  39. data/lib/thrift/server/thttpserver.rb +2 -0
  40. data/lib/thrift/server/tserver.rb +2 -0
  41. data/lib/thrift/server.rb +135 -0
  42. data/lib/thrift/struct.rb +272 -0
  43. data/lib/thrift/thrift.rb +14 -0
  44. data/lib/thrift/transport/httpclient.rb +29 -0
  45. data/lib/thrift/transport/socket.rb +167 -0
  46. data/lib/thrift/transport/thttpclient.rb +2 -0
  47. data/lib/thrift/transport/tsocket.rb +2 -0
  48. data/lib/thrift/transport/ttransport.rb +2 -0
  49. data/lib/thrift/transport/unixsocket.rb +58 -0
  50. data/lib/thrift/transport.rb +319 -0
  51. data/lib/thrift/types.rb +83 -0
  52. data/lib/thrift.rb +28 -0
  53. data/setup.rb +1585 -0
  54. data/spec/ThriftSpec.thrift +46 -0
  55. data/spec/backwards_compatibility_spec.rb +136 -0
  56. data/spec/binaryprotocol_spec.rb +45 -0
  57. data/spec/binaryprotocol_spec_shared.rb +274 -0
  58. data/spec/binaryprotocolaccelerated_spec.rb +101 -0
  59. data/spec/client_spec.rb +81 -0
  60. data/spec/deprecation_spec.rb +443 -0
  61. data/spec/exception_spec.rb +123 -0
  62. data/spec/gen-rb/NonblockingService.rb +268 -0
  63. data/spec/gen-rb/ThriftSpec_constants.rb +11 -0
  64. data/spec/gen-rb/ThriftSpec_types.rb +134 -0
  65. data/spec/httpclient_spec.rb +31 -0
  66. data/spec/httpserver_spec.rb +98 -0
  67. data/spec/nonblockingserver_spec.rb +245 -0
  68. data/spec/processor_spec.rb +64 -0
  69. data/spec/protocol_spec.rb +142 -0
  70. data/spec/serializer_spec.rb +52 -0
  71. data/spec/server_spec.rb +141 -0
  72. data/spec/socket_spec.rb +97 -0
  73. data/spec/socket_spec_shared.rb +85 -0
  74. data/spec/spec_helper.rb +35 -0
  75. data/spec/struct_spec.rb +244 -0
  76. data/spec/transport_spec.rb +359 -0
  77. data/spec/types_spec.rb +98 -0
  78. data/spec/unixsocket_spec.rb +90 -0
  79. data/thrift.gemspec +33 -0
  80. data.tar.gz.sig +0 -0
  81. metadata +200 -0
  82. metadata.gz.sig +0 -0
metadata ADDED
@@ -0,0 +1,200 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: thrift
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.751142
5
+ platform: ruby
6
+ authors:
7
+ - Kevin Ballard, Kevin Clark, Mark Slee, Evan Weaver
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ0wCwYDVQQDDARldmFu
14
+ MRgwFgYKCZImiZPyLGQBGRYIY2xvdWRidXIxEjAQBgoJkiaJk/IsZAEZFgJzdDAe
15
+ Fw0wNzA5MTYxMDMzMDBaFw0wODA5MTUxMDMzMDBaMD0xDTALBgNVBAMMBGV2YW4x
16
+ GDAWBgoJkiaJk/IsZAEZFghjbG91ZGJ1cjESMBAGCgmSJomT8ixkARkWAnN0MIIB
17
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5C0Io89nyApnr+PvbNFge9Vs
18
+ yRWAlGBUEMahpXp28VrrfXZT0rAW7JBo4PlCE3jl4nE4dzE6gAdItSycjTosrw7A
19
+ Ir5+xoyl4Vb35adv56TIQQXvNz+BzlqnkAY5JN0CSBRTQb6mxS3hFyD/h4qgDosj
20
+ R2RFVzHqSxCS8xq4Ny8uzOwOi+Xyu4w67fI5JvnPvMxqrlR1eaIQHmxnf76RzC46
21
+ QO5QhufjAYGGXd960XzbQsQyTDUYJzrvT7AdOfiyZzKQykKt8dEpDn+QPjFTnGnT
22
+ QmgJBX5WJN0lHF2l1sbv3gh4Kn1tZu+kTUqeXY6ShAoDTyvZRiFqQdwh8w2lTQID
23
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU+WqJz3xQ
24
+ XSea1hRvvHWcIMgeeC4wDQYJKoZIhvcNAQEFBQADggEBAGLZ75jfOEW8Nsl26CTt
25
+ JFrWxQTcQT/UljeefVE3xYr7lc9oQjbqO3FOyued3qW7TaNEtZfSHoYeUSMYbpw1
26
+ XAwocIPuSRFDGM4B+hgQGVDx8PMGiJKom4qLXjO40UZsR7QyN/u869Vj45LURm6h
27
+ MBcPeqCASI+WNprj9+uZa2kmHiitrFqqfMBNlm5IFbn9XeYSta9AHVvs5QQqV2m5
28
+ hIPfLqCyxsn/YgOGvo6iwyQTWyTswamaAC3HRWZxIS1sfn/Ssqa7E7oQMkv5FAXr
29
+ x5rKePfXINf8XTJczkl9OBEYdE9aNdJsJpXD0asLgGVwBICS5Bjohp6mizJcDC1+
30
+ yZ0=
31
+ -----END CERTIFICATE-----
32
+
33
+ date: 2010-02-22 00:00:00 -08:00
34
+ default_executable:
35
+ dependencies: []
36
+
37
+ description: Ruby libraries for Thrift (a language-agnostic RPC system)
38
+ email: ""
39
+ executables: []
40
+
41
+ extensions:
42
+ - ext/extconf.rb
43
+ extra_rdoc_files:
44
+ - CHANGELOG
45
+ - COPYING
46
+ - LICENSE
47
+ - README
48
+ - ext/binary_protocol_accelerated.c
49
+ - ext/binary_protocol_accelerated.h
50
+ - ext/constants.h
51
+ - ext/extconf.rb
52
+ - ext/memory_buffer.c
53
+ - ext/memory_buffer.h
54
+ - ext/protocol.c
55
+ - ext/protocol.h
56
+ - ext/struct.c
57
+ - ext/struct.h
58
+ - ext/thrift_native.c
59
+ - lib/thrift.rb
60
+ - lib/thrift/client.rb
61
+ - lib/thrift/deprecation.rb
62
+ - lib/thrift/exceptions.rb
63
+ - lib/thrift/processor.rb
64
+ - lib/thrift/protocol.rb
65
+ - lib/thrift/protocol/binaryprotocol.rb
66
+ - lib/thrift/protocol/binaryprotocolaccelerated.rb
67
+ - lib/thrift/protocol/tbinaryprotocol.rb
68
+ - lib/thrift/protocol/tprotocol.rb
69
+ - lib/thrift/serializer.rb
70
+ - lib/thrift/server.rb
71
+ - lib/thrift/server/httpserver.rb
72
+ - lib/thrift/server/nonblockingserver.rb
73
+ - lib/thrift/server/thttpserver.rb
74
+ - lib/thrift/server/tserver.rb
75
+ - lib/thrift/struct.rb
76
+ - lib/thrift/thrift.rb
77
+ - lib/thrift/transport.rb
78
+ - lib/thrift/transport/httpclient.rb
79
+ - lib/thrift/transport/socket.rb
80
+ - lib/thrift/transport/thttpclient.rb
81
+ - lib/thrift/transport/tsocket.rb
82
+ - lib/thrift/transport/ttransport.rb
83
+ - lib/thrift/transport/unixsocket.rb
84
+ - lib/thrift/types.rb
85
+ files:
86
+ - CHANGELOG
87
+ - COPYING
88
+ - LICENSE
89
+ - Makefile.am
90
+ - Manifest
91
+ - README
92
+ - Rakefile
93
+ - benchmark/Benchmark.thrift
94
+ - benchmark/benchmark.rb
95
+ - benchmark/client.rb
96
+ - benchmark/gen-rb/BenchmarkService.rb
97
+ - benchmark/gen-rb/Benchmark_constants.rb
98
+ - benchmark/gen-rb/Benchmark_types.rb
99
+ - benchmark/server.rb
100
+ - benchmark/thin_server.rb
101
+ - ext/binary_protocol_accelerated.c
102
+ - ext/binary_protocol_accelerated.h
103
+ - ext/constants.h
104
+ - ext/extconf.rb
105
+ - ext/memory_buffer.c
106
+ - ext/memory_buffer.h
107
+ - ext/protocol.c
108
+ - ext/protocol.h
109
+ - ext/struct.c
110
+ - ext/struct.h
111
+ - ext/thrift_native.c
112
+ - lib/thrift.rb
113
+ - lib/thrift/client.rb
114
+ - lib/thrift/deprecation.rb
115
+ - lib/thrift/exceptions.rb
116
+ - lib/thrift/processor.rb
117
+ - lib/thrift/protocol.rb
118
+ - lib/thrift/protocol/binaryprotocol.rb
119
+ - lib/thrift/protocol/binaryprotocolaccelerated.rb
120
+ - lib/thrift/protocol/tbinaryprotocol.rb
121
+ - lib/thrift/protocol/tprotocol.rb
122
+ - lib/thrift/serializer.rb
123
+ - lib/thrift/server.rb
124
+ - lib/thrift/server/httpserver.rb
125
+ - lib/thrift/server/nonblockingserver.rb
126
+ - lib/thrift/server/thttpserver.rb
127
+ - lib/thrift/server/tserver.rb
128
+ - lib/thrift/struct.rb
129
+ - lib/thrift/thrift.rb
130
+ - lib/thrift/transport.rb
131
+ - lib/thrift/transport/httpclient.rb
132
+ - lib/thrift/transport/socket.rb
133
+ - lib/thrift/transport/thttpclient.rb
134
+ - lib/thrift/transport/tsocket.rb
135
+ - lib/thrift/transport/ttransport.rb
136
+ - lib/thrift/transport/unixsocket.rb
137
+ - lib/thrift/types.rb
138
+ - setup.rb
139
+ - spec/ThriftSpec.thrift
140
+ - spec/backwards_compatibility_spec.rb
141
+ - spec/binaryprotocol_spec.rb
142
+ - spec/binaryprotocol_spec_shared.rb
143
+ - spec/binaryprotocolaccelerated_spec.rb
144
+ - spec/client_spec.rb
145
+ - spec/deprecation_spec.rb
146
+ - spec/exception_spec.rb
147
+ - spec/gen-rb/NonblockingService.rb
148
+ - spec/gen-rb/ThriftSpec_constants.rb
149
+ - spec/gen-rb/ThriftSpec_types.rb
150
+ - spec/httpclient_spec.rb
151
+ - spec/httpserver_spec.rb
152
+ - spec/nonblockingserver_spec.rb
153
+ - spec/processor_spec.rb
154
+ - spec/protocol_spec.rb
155
+ - spec/serializer_spec.rb
156
+ - spec/server_spec.rb
157
+ - spec/socket_spec.rb
158
+ - spec/socket_spec_shared.rb
159
+ - spec/spec_helper.rb
160
+ - spec/struct_spec.rb
161
+ - spec/transport_spec.rb
162
+ - spec/types_spec.rb
163
+ - spec/unixsocket_spec.rb
164
+ - thrift.gemspec
165
+ has_rdoc: true
166
+ homepage: http://blog.evanweaver.com/files/doc/fauna/thrift/
167
+ licenses: []
168
+
169
+ post_install_message:
170
+ rdoc_options:
171
+ - --line-numbers
172
+ - --inline-source
173
+ - --title
174
+ - Thrift
175
+ - --main
176
+ - README
177
+ require_paths:
178
+ - lib
179
+ - ext
180
+ required_ruby_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: "0"
185
+ version:
186
+ required_rubygems_version: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - ">="
189
+ - !ruby/object:Gem::Version
190
+ version: "1.2"
191
+ version:
192
+ requirements: []
193
+
194
+ rubyforge_project: fauna
195
+ rubygems_version: 1.3.5
196
+ signing_key:
197
+ specification_version: 3
198
+ summary: Ruby libraries for Thrift (a language-agnostic RPC system)
199
+ test_files: []
200
+
metadata.gz.sig ADDED
Binary file