riakpb 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +35 -0
- data/Rakefile +44 -76
- data/lib/benchmark/bench_stocks.rb +26 -0
- data/lib/riakpb/client/rpc.rb +7 -7
- data/lib/riakpb/version.rb +3 -0
- data/lib/riakpb.rb +0 -2
- data/load_stocks.rb +10 -2
- data/riak-pbclient.tmproj +157 -0
- data/riakpb.gemspec +28 -0
- data/spec/riak/bucket_spec.rb +105 -0
- data/spec/riak/client_spec.rb +199 -0
- data/spec/riak/content_spec.rb +74 -0
- data/spec/riak/key_spec.rb +54 -0
- data/spec/riak/map_reduce_spec.rb +327 -0
- data/spec/riak/rpc_spec.rb +4 -0
- metadata +82 -33
- data/History.txt +0 -4
- data/Manifest.txt +0 -30
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Scott Gonyea
|
@@ -14,55 +14,87 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2011-01-02 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: activesupport
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
24
25
|
requirements:
|
25
26
|
- - ~>
|
26
27
|
- !ruby/object:Gem::Version
|
27
28
|
segments:
|
28
|
-
-
|
29
|
+
- 3
|
29
30
|
- 0
|
30
31
|
- 0
|
31
|
-
|
32
|
-
|
33
|
-
version: 2.0.0.beta.9
|
34
|
-
type: :development
|
32
|
+
version: 3.0.0
|
33
|
+
type: :runtime
|
35
34
|
version_requirements: *id001
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
36
|
+
name: ruby_protobuf
|
38
37
|
prerelease: false
|
39
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
segments:
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
version:
|
44
|
+
- 0
|
45
|
+
- 4
|
46
|
+
- 8
|
47
|
+
version: 0.4.8
|
48
48
|
type: :runtime
|
49
49
|
version_requirements: *id002
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
|
-
name:
|
51
|
+
name: yard
|
52
52
|
prerelease: false
|
53
53
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
54
55
|
requirements:
|
55
|
-
- -
|
56
|
+
- - ~>
|
56
57
|
- !ruby/object:Gem::Version
|
57
58
|
segments:
|
58
59
|
- 0
|
60
|
+
- 6
|
59
61
|
- 4
|
60
|
-
|
61
|
-
version: 0.4.4
|
62
|
+
version: 0.6.4
|
62
63
|
type: :runtime
|
63
64
|
version_requirements: *id003
|
64
|
-
|
65
|
-
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rspec
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 2
|
75
|
+
- 3
|
76
|
+
- 0
|
77
|
+
version: 2.3.0
|
78
|
+
type: :development
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: i18n
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
- 5
|
91
|
+
- 0
|
92
|
+
version: 0.5.0
|
93
|
+
type: :development
|
94
|
+
version_requirements: *id005
|
95
|
+
description: riakpb is an all-ruby protocol buffer client for Riak--the distributed database by Basho.
|
96
|
+
email:
|
97
|
+
- me@sgonyea.com
|
66
98
|
executables: []
|
67
99
|
|
68
100
|
extensions: []
|
@@ -70,11 +102,18 @@ extensions: []
|
|
70
102
|
extra_rdoc_files: []
|
71
103
|
|
72
104
|
files:
|
105
|
+
- .gitignore
|
106
|
+
- .rspec
|
107
|
+
- Gemfile
|
108
|
+
- Gemfile.lock
|
109
|
+
- README.rdoc
|
110
|
+
- Rakefile
|
73
111
|
- goog.csv
|
74
|
-
-
|
112
|
+
- lib/benchmark/bench_stocks.rb
|
113
|
+
- lib/riakpb.rb
|
75
114
|
- lib/riakpb/bucket.rb
|
76
|
-
- lib/riakpb/client/rpc.rb
|
77
115
|
- lib/riakpb/client.rb
|
116
|
+
- lib/riakpb/client/rpc.rb
|
78
117
|
- lib/riakpb/client_pb.rb
|
79
118
|
- lib/riakpb/content.rb
|
80
119
|
- lib/riakpb/failed_exchange.rb
|
@@ -88,14 +127,16 @@ files:
|
|
88
127
|
- lib/riakpb/util/encode.rb
|
89
128
|
- lib/riakpb/util/message_code.rb
|
90
129
|
- lib/riakpb/util/translation.rb
|
91
|
-
- lib/riakpb.rb
|
130
|
+
- lib/riakpb/version.rb
|
92
131
|
- load_stocks.rb
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
132
|
+
- riak-pbclient.tmproj
|
133
|
+
- riakpb.gemspec
|
134
|
+
- spec/riak/bucket_spec.rb
|
135
|
+
- spec/riak/client_spec.rb
|
136
|
+
- spec/riak/content_spec.rb
|
137
|
+
- spec/riak/key_spec.rb
|
138
|
+
- spec/riak/map_reduce_spec.rb
|
139
|
+
- spec/riak/rpc_spec.rb
|
99
140
|
- spec/riakpb/bucket_spec.rb
|
100
141
|
- spec/riakpb/client_spec.rb
|
101
142
|
- spec/riakpb/content_spec.rb
|
@@ -104,7 +145,7 @@ files:
|
|
104
145
|
- spec/riakpb/rpc_spec.rb
|
105
146
|
- spec/spec_helper.rb
|
106
147
|
has_rdoc: true
|
107
|
-
homepage: http://github.com/
|
148
|
+
homepage: http://github.com/sgonyea/riak-pbclient
|
108
149
|
licenses: []
|
109
150
|
|
110
151
|
post_install_message:
|
@@ -113,6 +154,7 @@ rdoc_options: []
|
|
113
154
|
require_paths:
|
114
155
|
- lib
|
115
156
|
required_ruby_version: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
116
158
|
requirements:
|
117
159
|
- - ">="
|
118
160
|
- !ruby/object:Gem::Version
|
@@ -120,6 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
162
|
- 0
|
121
163
|
version: "0"
|
122
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
123
166
|
requirements:
|
124
167
|
- - ">="
|
125
168
|
- !ruby/object:Gem::Version
|
@@ -129,11 +172,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
172
|
requirements: []
|
130
173
|
|
131
174
|
rubyforge_project:
|
132
|
-
rubygems_version: 1.3.
|
175
|
+
rubygems_version: 1.3.7
|
133
176
|
signing_key:
|
134
177
|
specification_version: 3
|
135
|
-
summary: riakpb is a protocol buffer client for
|
178
|
+
summary: riakpb is a protocol buffer client for Riak--the distributed database by Basho.
|
136
179
|
test_files:
|
180
|
+
- spec/riak/bucket_spec.rb
|
181
|
+
- spec/riak/client_spec.rb
|
182
|
+
- spec/riak/content_spec.rb
|
183
|
+
- spec/riak/key_spec.rb
|
184
|
+
- spec/riak/map_reduce_spec.rb
|
185
|
+
- spec/riak/rpc_spec.rb
|
137
186
|
- spec/riakpb/bucket_spec.rb
|
138
187
|
- spec/riakpb/client_spec.rb
|
139
188
|
- spec/riakpb/content_spec.rb
|
data/History.txt
DELETED
data/Manifest.txt
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.rdoc
|
4
|
-
Rakefile
|
5
|
-
lib/riak.rb
|
6
|
-
lib/riak/client.rb
|
7
|
-
lib/riak/client/rpc.rb
|
8
|
-
lib/riak/client_pb.rb
|
9
|
-
lib/riak/bucket.rb
|
10
|
-
lib/riak/key.rb
|
11
|
-
lib/riak/riak_content.rb
|
12
|
-
lib/riak/i18n.rb
|
13
|
-
lib/riak/locale/en.yml
|
14
|
-
lib/riak/util/decode.rb
|
15
|
-
lib/riak/util/encode.rb
|
16
|
-
lib/riak/util/message_code.rb
|
17
|
-
lib/riak/util/translation.rb
|
18
|
-
lib/riak/failed_exchange.rb
|
19
|
-
lib/riak/failed_request.rb
|
20
|
-
lib/riak/sibling_error.rb
|
21
|
-
script/console
|
22
|
-
script/destroy
|
23
|
-
script/generate
|
24
|
-
spec/spec_helper.rb
|
25
|
-
spec/riak/client_spec.rb
|
26
|
-
spec/riak/rpc_spec.rb
|
27
|
-
spec/riak/bucket_spec.rb
|
28
|
-
spec/riak/key_spec.rb
|
29
|
-
spec/riak/riak_content_spec.rb
|
30
|
-
spec/riak/map_reduce_spec.rb
|
data/script/console
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# File: script/console
|
3
|
-
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
-
|
5
|
-
libs = " -r irb/completion"
|
6
|
-
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
-
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
-
libs << " -r #{File.dirname(__FILE__) + '/../lib/riak.rb'}"
|
9
|
-
puts "Loading riak gem"
|
10
|
-
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/destroy'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Generate.new.run(ARGV)
|