thrift 0.0.810255.1 → 0.0.820831
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Makefile.am +47 -0
- data/Manifest +11 -8
- data/ext/binary_protocol_accelerated.c +3 -0
- data/ext/conftest.dSYM/Contents/Info.plist +25 -0
- data/ext/conftest.dSYM/Contents/Resources/DWARF/conftest +0 -0
- data/ext/struct.c +3 -0
- data/thrift.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +19 -14
- metadata.gz.sig +0 -0
data/CHANGELOG
CHANGED
data/Makefile.am
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
#
|
2
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
# or more contributor license agreements. See the NOTICE file
|
4
|
+
# distributed with this work for additional information
|
5
|
+
# regarding copyright ownership. The ASF licenses this file
|
6
|
+
# to you under the Apache License, Version 2.0 (the
|
7
|
+
# "License"); you may not use this file except in compliance
|
8
|
+
# with the License. You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing,
|
13
|
+
# software distributed under the License is distributed on an
|
14
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
# KIND, either express or implied. See the License for the
|
16
|
+
# specific language governing permissions and limitations
|
17
|
+
# under the License.
|
18
|
+
#
|
19
|
+
|
20
|
+
EXTRA_DIST = \
|
21
|
+
CHANGELOG \
|
22
|
+
Rakefile \
|
23
|
+
Manifest \
|
24
|
+
setup.rb \
|
25
|
+
lib \
|
26
|
+
ext \
|
27
|
+
benchmark \
|
28
|
+
script \
|
29
|
+
spec
|
30
|
+
|
31
|
+
all-local:
|
32
|
+
$(RUBY) setup.rb config
|
33
|
+
$(RUBY) setup.rb setup
|
34
|
+
|
35
|
+
install-exec-hook:
|
36
|
+
$(RUBY) setup.rb install
|
37
|
+
|
38
|
+
# Make sure this doesn't fail if Ruby is not configured.
|
39
|
+
clean-local:
|
40
|
+
RUBY=$(RUBY) ; if test -z "$$RUBY" ; then RUBY=: ; fi ; \
|
41
|
+
$$RUBY setup.rb clean
|
42
|
+
|
43
|
+
check-local: all
|
44
|
+
if HAVE_RSPEC
|
45
|
+
rake spec
|
46
|
+
endif
|
47
|
+
|
data/Manifest
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
CHANGELOG
|
2
|
+
Makefile.am
|
2
3
|
Manifest
|
3
|
-
Rakefile
|
4
4
|
README
|
5
|
-
|
6
|
-
benchmark/benchmark.rb
|
5
|
+
Rakefile
|
7
6
|
benchmark/Benchmark.thrift
|
7
|
+
benchmark/benchmark.rb
|
8
8
|
benchmark/client.rb
|
9
9
|
benchmark/server.rb
|
10
10
|
benchmark/thin_server.rb
|
@@ -12,6 +12,8 @@ ext/binary_protocol_accelerated.c
|
|
12
12
|
ext/binary_protocol_accelerated.h
|
13
13
|
ext/compact_protocol.c
|
14
14
|
ext/compact_protocol.h
|
15
|
+
ext/conftest.dSYM/Contents/Info.plist
|
16
|
+
ext/conftest.dSYM/Contents/Resources/DWARF/conftest
|
15
17
|
ext/constants.h
|
16
18
|
ext/extconf.rb
|
17
19
|
ext/macros.h
|
@@ -25,12 +27,9 @@ ext/thrift_native.c
|
|
25
27
|
lib/thrift.rb
|
26
28
|
lib/thrift/client.rb
|
27
29
|
lib/thrift/core_ext.rb
|
30
|
+
lib/thrift/core_ext/fixnum.rb
|
28
31
|
lib/thrift/exceptions.rb
|
29
32
|
lib/thrift/processor.rb
|
30
|
-
lib/thrift/struct.rb
|
31
|
-
lib/thrift/thrift_native.rb
|
32
|
-
lib/thrift/types.rb
|
33
|
-
lib/thrift/core_ext/fixnum.rb
|
34
33
|
lib/thrift/protocol/base_protocol.rb
|
35
34
|
lib/thrift/protocol/binary_protocol.rb
|
36
35
|
lib/thrift/protocol/binary_protocol_accelerated.rb
|
@@ -43,6 +42,8 @@ lib/thrift/server/nonblocking_server.rb
|
|
43
42
|
lib/thrift/server/simple_server.rb
|
44
43
|
lib/thrift/server/thread_pool_server.rb
|
45
44
|
lib/thrift/server/threaded_server.rb
|
45
|
+
lib/thrift/struct.rb
|
46
|
+
lib/thrift/thrift_native.rb
|
46
47
|
lib/thrift/transport/base_server_transport.rb
|
47
48
|
lib/thrift/transport/base_transport.rb
|
48
49
|
lib/thrift/transport/buffered_transport.rb
|
@@ -54,9 +55,12 @@ lib/thrift/transport/server_socket.rb
|
|
54
55
|
lib/thrift/transport/socket.rb
|
55
56
|
lib/thrift/transport/unix_server_socket.rb
|
56
57
|
lib/thrift/transport/unix_socket.rb
|
58
|
+
lib/thrift/types.rb
|
57
59
|
script/proto_benchmark.rb
|
58
60
|
script/read_struct.rb
|
59
61
|
script/write_struct.rb
|
62
|
+
setup.rb
|
63
|
+
spec/ThriftSpec.thrift
|
60
64
|
spec/base_protocol_spec.rb
|
61
65
|
spec/base_transport_spec.rb
|
62
66
|
spec/binary_protocol_accelerated_spec.rb
|
@@ -76,6 +80,5 @@ spec/socket_spec.rb
|
|
76
80
|
spec/socket_spec_shared.rb
|
77
81
|
spec/spec_helper.rb
|
78
82
|
spec/struct_spec.rb
|
79
|
-
spec/ThriftSpec.thrift
|
80
83
|
spec/types_spec.rb
|
81
84
|
spec/unix_socket_spec.rb
|
@@ -76,6 +76,9 @@ static void write_i64_direct(VALUE trans, int64_t value) {
|
|
76
76
|
}
|
77
77
|
|
78
78
|
static void write_string_direct(VALUE trans, VALUE str) {
|
79
|
+
if (TYPE(str) != T_STRING) {
|
80
|
+
rb_raise(rb_eStandardError, "Value should be a string");
|
81
|
+
}
|
79
82
|
write_i32_direct(trans, RSTRING_LEN(str));
|
80
83
|
rb_funcall(trans, write_method_id, 1, str);
|
81
84
|
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>English</string>
|
7
|
+
<key>CFBundleIdentifier</key>
|
8
|
+
<string>com.apple.xcode.dsym.conftest</string>
|
9
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
10
|
+
<string>6.0</string>
|
11
|
+
<key>CFBundlePackageType</key>
|
12
|
+
<string>dSYM</string>
|
13
|
+
<key>CFBundleSignature</key>
|
14
|
+
<string>????</string>
|
15
|
+
<key>CFBundleShortVersionString</key>
|
16
|
+
<string>1.0</string>
|
17
|
+
<key>CFBundleVersion</key>
|
18
|
+
<string>1</string>
|
19
|
+
<key>dSYM_UUID</key>
|
20
|
+
<dict>
|
21
|
+
<key>i386</key>
|
22
|
+
<string>4E938E88-BCE3-4A18-3AAB-916230C467BE</string>
|
23
|
+
</dict>
|
24
|
+
</dict>
|
25
|
+
</plist>
|
Binary file
|
data/ext/struct.c
CHANGED
data/thrift.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{thrift}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.820831"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Kevin Ballard, Kevin Clark, Mark Slee, Evan Weaver"]
|
9
9
|
s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
|
10
|
-
s.date = %q{
|
10
|
+
s.date = %q{2010-02-05}
|
11
11
|
s.description = %q{Ruby libraries for Thrift, with fixes.}
|
12
12
|
s.email = %q{}
|
13
13
|
s.extensions = ["ext/extconf.rb"]
|
14
|
-
s.extra_rdoc_files = ["CHANGELOG", "README", "ext/binary_protocol_accelerated.c", "ext/binary_protocol_accelerated.h", "ext/compact_protocol.c", "ext/compact_protocol.h", "ext/constants.h", "ext/extconf.rb", "ext/macros.h", "ext/memory_buffer.c", "ext/memory_buffer.h", "ext/protocol.c", "ext/protocol.h", "ext/struct.c", "ext/struct.h", "ext/thrift_native.c", "lib/thrift.rb", "lib/thrift/client.rb", "lib/thrift/core_ext.rb", "lib/thrift/
|
15
|
-
s.files = ["CHANGELOG", "
|
14
|
+
s.extra_rdoc_files = ["CHANGELOG", "README", "ext/binary_protocol_accelerated.c", "ext/binary_protocol_accelerated.h", "ext/compact_protocol.c", "ext/compact_protocol.h", "ext/conftest.dSYM/Contents/Info.plist", "ext/conftest.dSYM/Contents/Resources/DWARF/conftest", "ext/constants.h", "ext/extconf.rb", "ext/macros.h", "ext/memory_buffer.c", "ext/memory_buffer.h", "ext/protocol.c", "ext/protocol.h", "ext/struct.c", "ext/struct.h", "ext/thrift_native.c", "lib/thrift.rb", "lib/thrift/client.rb", "lib/thrift/core_ext.rb", "lib/thrift/core_ext/fixnum.rb", "lib/thrift/exceptions.rb", "lib/thrift/processor.rb", "lib/thrift/protocol/base_protocol.rb", "lib/thrift/protocol/binary_protocol.rb", "lib/thrift/protocol/binary_protocol_accelerated.rb", "lib/thrift/protocol/compact_protocol.rb", "lib/thrift/serializer/deserializer.rb", "lib/thrift/serializer/serializer.rb", "lib/thrift/server/base_server.rb", "lib/thrift/server/mongrel_http_server.rb", "lib/thrift/server/nonblocking_server.rb", "lib/thrift/server/simple_server.rb", "lib/thrift/server/thread_pool_server.rb", "lib/thrift/server/threaded_server.rb", "lib/thrift/struct.rb", "lib/thrift/thrift_native.rb", "lib/thrift/transport/base_server_transport.rb", "lib/thrift/transport/base_transport.rb", "lib/thrift/transport/buffered_transport.rb", "lib/thrift/transport/framed_transport.rb", "lib/thrift/transport/http_client_transport.rb", "lib/thrift/transport/io_stream_transport.rb", "lib/thrift/transport/memory_buffer_transport.rb", "lib/thrift/transport/server_socket.rb", "lib/thrift/transport/socket.rb", "lib/thrift/transport/unix_server_socket.rb", "lib/thrift/transport/unix_socket.rb", "lib/thrift/types.rb"]
|
15
|
+
s.files = ["CHANGELOG", "Makefile.am", "Manifest", "README", "Rakefile", "benchmark/Benchmark.thrift", "benchmark/benchmark.rb", "benchmark/client.rb", "benchmark/server.rb", "benchmark/thin_server.rb", "ext/binary_protocol_accelerated.c", "ext/binary_protocol_accelerated.h", "ext/compact_protocol.c", "ext/compact_protocol.h", "ext/conftest.dSYM/Contents/Info.plist", "ext/conftest.dSYM/Contents/Resources/DWARF/conftest", "ext/constants.h", "ext/extconf.rb", "ext/macros.h", "ext/memory_buffer.c", "ext/memory_buffer.h", "ext/protocol.c", "ext/protocol.h", "ext/struct.c", "ext/struct.h", "ext/thrift_native.c", "lib/thrift.rb", "lib/thrift/client.rb", "lib/thrift/core_ext.rb", "lib/thrift/core_ext/fixnum.rb", "lib/thrift/exceptions.rb", "lib/thrift/processor.rb", "lib/thrift/protocol/base_protocol.rb", "lib/thrift/protocol/binary_protocol.rb", "lib/thrift/protocol/binary_protocol_accelerated.rb", "lib/thrift/protocol/compact_protocol.rb", "lib/thrift/serializer/deserializer.rb", "lib/thrift/serializer/serializer.rb", "lib/thrift/server/base_server.rb", "lib/thrift/server/mongrel_http_server.rb", "lib/thrift/server/nonblocking_server.rb", "lib/thrift/server/simple_server.rb", "lib/thrift/server/thread_pool_server.rb", "lib/thrift/server/threaded_server.rb", "lib/thrift/struct.rb", "lib/thrift/thrift_native.rb", "lib/thrift/transport/base_server_transport.rb", "lib/thrift/transport/base_transport.rb", "lib/thrift/transport/buffered_transport.rb", "lib/thrift/transport/framed_transport.rb", "lib/thrift/transport/http_client_transport.rb", "lib/thrift/transport/io_stream_transport.rb", "lib/thrift/transport/memory_buffer_transport.rb", "lib/thrift/transport/server_socket.rb", "lib/thrift/transport/socket.rb", "lib/thrift/transport/unix_server_socket.rb", "lib/thrift/transport/unix_socket.rb", "lib/thrift/types.rb", "script/proto_benchmark.rb", "script/read_struct.rb", "script/write_struct.rb", "setup.rb", "spec/ThriftSpec.thrift", "spec/base_protocol_spec.rb", "spec/base_transport_spec.rb", "spec/binary_protocol_accelerated_spec.rb", "spec/binary_protocol_spec.rb", "spec/binary_protocol_spec_shared.rb", "spec/client_spec.rb", "spec/compact_protocol_spec.rb", "spec/exception_spec.rb", "spec/http_client_spec.rb", "spec/mongrel_http_server_spec.rb", "spec/nonblocking_server_spec.rb", "spec/processor_spec.rb", "spec/serializer_spec.rb", "spec/server_socket_spec.rb", "spec/server_spec.rb", "spec/socket_spec.rb", "spec/socket_spec_shared.rb", "spec/spec_helper.rb", "spec/struct_spec.rb", "spec/types_spec.rb", "spec/unix_socket_spec.rb", "thrift.gemspec"]
|
16
16
|
s.homepage = %q{http://blog.evanweaver.com/files/doc/fauna/thrift/}
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Thrift", "--main", "README"]
|
18
18
|
s.require_paths = ["lib", "ext"]
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thrift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.820831
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Ballard, Kevin Clark, Mark Slee, Evan Weaver
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
yZ0=
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date:
|
33
|
+
date: 2010-02-05 00:00:00 -08:00
|
34
34
|
default_executable:
|
35
35
|
dependencies: []
|
36
36
|
|
@@ -47,6 +47,8 @@ extra_rdoc_files:
|
|
47
47
|
- ext/binary_protocol_accelerated.h
|
48
48
|
- ext/compact_protocol.c
|
49
49
|
- ext/compact_protocol.h
|
50
|
+
- ext/conftest.dSYM/Contents/Info.plist
|
51
|
+
- ext/conftest.dSYM/Contents/Resources/DWARF/conftest
|
50
52
|
- ext/constants.h
|
51
53
|
- ext/extconf.rb
|
52
54
|
- ext/macros.h
|
@@ -60,12 +62,9 @@ extra_rdoc_files:
|
|
60
62
|
- lib/thrift.rb
|
61
63
|
- lib/thrift/client.rb
|
62
64
|
- lib/thrift/core_ext.rb
|
65
|
+
- lib/thrift/core_ext/fixnum.rb
|
63
66
|
- lib/thrift/exceptions.rb
|
64
67
|
- lib/thrift/processor.rb
|
65
|
-
- lib/thrift/struct.rb
|
66
|
-
- lib/thrift/thrift_native.rb
|
67
|
-
- lib/thrift/types.rb
|
68
|
-
- lib/thrift/core_ext/fixnum.rb
|
69
68
|
- lib/thrift/protocol/base_protocol.rb
|
70
69
|
- lib/thrift/protocol/binary_protocol.rb
|
71
70
|
- lib/thrift/protocol/binary_protocol_accelerated.rb
|
@@ -78,6 +77,8 @@ extra_rdoc_files:
|
|
78
77
|
- lib/thrift/server/simple_server.rb
|
79
78
|
- lib/thrift/server/thread_pool_server.rb
|
80
79
|
- lib/thrift/server/threaded_server.rb
|
80
|
+
- lib/thrift/struct.rb
|
81
|
+
- lib/thrift/thrift_native.rb
|
81
82
|
- lib/thrift/transport/base_server_transport.rb
|
82
83
|
- lib/thrift/transport/base_transport.rb
|
83
84
|
- lib/thrift/transport/buffered_transport.rb
|
@@ -89,14 +90,15 @@ extra_rdoc_files:
|
|
89
90
|
- lib/thrift/transport/socket.rb
|
90
91
|
- lib/thrift/transport/unix_server_socket.rb
|
91
92
|
- lib/thrift/transport/unix_socket.rb
|
93
|
+
- lib/thrift/types.rb
|
92
94
|
files:
|
93
95
|
- CHANGELOG
|
96
|
+
- Makefile.am
|
94
97
|
- Manifest
|
95
|
-
- Rakefile
|
96
98
|
- README
|
97
|
-
-
|
98
|
-
- benchmark/benchmark.rb
|
99
|
+
- Rakefile
|
99
100
|
- benchmark/Benchmark.thrift
|
101
|
+
- benchmark/benchmark.rb
|
100
102
|
- benchmark/client.rb
|
101
103
|
- benchmark/server.rb
|
102
104
|
- benchmark/thin_server.rb
|
@@ -104,6 +106,8 @@ files:
|
|
104
106
|
- ext/binary_protocol_accelerated.h
|
105
107
|
- ext/compact_protocol.c
|
106
108
|
- ext/compact_protocol.h
|
109
|
+
- ext/conftest.dSYM/Contents/Info.plist
|
110
|
+
- ext/conftest.dSYM/Contents/Resources/DWARF/conftest
|
107
111
|
- ext/constants.h
|
108
112
|
- ext/extconf.rb
|
109
113
|
- ext/macros.h
|
@@ -117,12 +121,9 @@ files:
|
|
117
121
|
- lib/thrift.rb
|
118
122
|
- lib/thrift/client.rb
|
119
123
|
- lib/thrift/core_ext.rb
|
124
|
+
- lib/thrift/core_ext/fixnum.rb
|
120
125
|
- lib/thrift/exceptions.rb
|
121
126
|
- lib/thrift/processor.rb
|
122
|
-
- lib/thrift/struct.rb
|
123
|
-
- lib/thrift/thrift_native.rb
|
124
|
-
- lib/thrift/types.rb
|
125
|
-
- lib/thrift/core_ext/fixnum.rb
|
126
127
|
- lib/thrift/protocol/base_protocol.rb
|
127
128
|
- lib/thrift/protocol/binary_protocol.rb
|
128
129
|
- lib/thrift/protocol/binary_protocol_accelerated.rb
|
@@ -135,6 +136,8 @@ files:
|
|
135
136
|
- lib/thrift/server/simple_server.rb
|
136
137
|
- lib/thrift/server/thread_pool_server.rb
|
137
138
|
- lib/thrift/server/threaded_server.rb
|
139
|
+
- lib/thrift/struct.rb
|
140
|
+
- lib/thrift/thrift_native.rb
|
138
141
|
- lib/thrift/transport/base_server_transport.rb
|
139
142
|
- lib/thrift/transport/base_transport.rb
|
140
143
|
- lib/thrift/transport/buffered_transport.rb
|
@@ -146,9 +149,12 @@ files:
|
|
146
149
|
- lib/thrift/transport/socket.rb
|
147
150
|
- lib/thrift/transport/unix_server_socket.rb
|
148
151
|
- lib/thrift/transport/unix_socket.rb
|
152
|
+
- lib/thrift/types.rb
|
149
153
|
- script/proto_benchmark.rb
|
150
154
|
- script/read_struct.rb
|
151
155
|
- script/write_struct.rb
|
156
|
+
- setup.rb
|
157
|
+
- spec/ThriftSpec.thrift
|
152
158
|
- spec/base_protocol_spec.rb
|
153
159
|
- spec/base_transport_spec.rb
|
154
160
|
- spec/binary_protocol_accelerated_spec.rb
|
@@ -168,7 +174,6 @@ files:
|
|
168
174
|
- spec/socket_spec_shared.rb
|
169
175
|
- spec/spec_helper.rb
|
170
176
|
- spec/struct_spec.rb
|
171
|
-
- spec/ThriftSpec.thrift
|
172
177
|
- spec/types_spec.rb
|
173
178
|
- spec/unix_socket_spec.rb
|
174
179
|
- thrift.gemspec
|
metadata.gz.sig
CHANGED
Binary file
|