riak-client 0.9.5 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -16,13 +16,13 @@ gemspec = Gem::Specification.new do |gem|
16
16
  gem.add_development_dependency "excon", "~>0.5.7"
17
17
  gem.add_dependency "i18n", ">=0.4.0"
18
18
  gem.add_dependency "builder", "~>2.1.2"
19
- gem.add_dependency "beefcake", "~>0.3.0"
19
+ gem.add_dependency "beefcake", "=0.3.2"
20
20
 
21
21
  files = FileList["**/*"]
22
22
  # Editor and O/S files
23
- files.exclude ".DS_Store", "*~", "\#*", ".\#*", "*.swp", "*.tmproj", "tmtags"
23
+ files.exclude ".DS_Store", "*~", /#/, "*.swp", "*.tmproj", "tmtags"
24
24
  # Generated artifacts
25
- files.exclude "coverage", "rdoc", "pkg", "doc", ".bundle", "*.rbc", ".rvmrc", ".watchr", ".rspec"
25
+ files.exclude "coverage/*", "rdoc/*", "pkg/*", "doc/*", ".bundle", "*.rbc", ".rvmrc", ".watchr", ".rspec"
26
26
  # Project-specific
27
27
  files.exclude "Gemfile.lock", %r{spec/support/test_server.yml$}, "bin"
28
28
  # Remove directories
@@ -30,7 +30,7 @@ gemspec = Gem::Specification.new do |gem|
30
30
 
31
31
  gem.files = files.to_a
32
32
 
33
- gem.test_files = gem.files.grep(/_spec\.rb$/)
33
+ gem.test_files = gem.files.grep(/spec\/.*_spec\.rb$/)
34
34
  end
35
35
 
36
36
  # Gem packaging tasks
data/riak-client.gemspec CHANGED
@@ -2,19 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{riak-client}
5
- s.version = "0.9.5"
5
+ s.version = "0.9.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Sean Cribbs}]
9
- s.date = %q{2011-06-14}
9
+ s.date = %q{2011-07-26}
10
10
  s.description = %q{riak-client is a rich client for Riak, the distributed database by Basho. It supports the full HTTP interface including storage operations, bucket configuration, link-walking and map-reduce.}
11
11
  s.email = %q{sean@basho.com}
12
- s.files = [%q{erl_src/riak_kv_test_backend.beam}, %q{erl_src/riak_kv_test_backend.erl}, %q{Gemfile}, %q{lib/active_support/cache/riak_store.rb}, %q{lib/riak/bucket.rb}, %q{lib/riak/cache_store.rb}, %q{lib/riak/client/beefcake/messages.rb}, %q{lib/riak/client/beefcake/object_methods.rb}, %q{lib/riak/client/beefcake_protobuffs_backend.rb}, %q{lib/riak/client/curb_backend.rb}, %q{lib/riak/client/excon_backend.rb}, %q{lib/riak/client/http_backend/configuration.rb}, %q{lib/riak/client/http_backend/key_streamer.rb}, %q{lib/riak/client/http_backend/object_methods.rb}, %q{lib/riak/client/http_backend/request_headers.rb}, %q{lib/riak/client/http_backend/transport_methods.rb}, %q{lib/riak/client/http_backend.rb}, %q{lib/riak/client/net_http_backend.rb}, %q{lib/riak/client/protobuffs_backend.rb}, %q{lib/riak/client/pump.rb}, %q{lib/riak/client.rb}, %q{lib/riak/core_ext/blank.rb}, %q{lib/riak/core_ext/extract_options.rb}, %q{lib/riak/core_ext/slice.rb}, %q{lib/riak/core_ext/stringify_keys.rb}, %q{lib/riak/core_ext/symbolize_keys.rb}, %q{lib/riak/core_ext/to_param.rb}, %q{lib/riak/core_ext.rb}, %q{lib/riak/failed_request.rb}, %q{lib/riak/i18n.rb}, %q{lib/riak/json.rb}, %q{lib/riak/link.rb}, %q{lib/riak/locale/en.yml}, %q{lib/riak/map_reduce/filter_builder.rb}, %q{lib/riak/map_reduce/phase.rb}, %q{lib/riak/map_reduce.rb}, %q{lib/riak/map_reduce_error.rb}, %q{lib/riak/robject.rb}, %q{lib/riak/search.rb}, %q{lib/riak/test_server.rb}, %q{lib/riak/util/escape.rb}, %q{lib/riak/util/fiber1.8.rb}, %q{lib/riak/util/headers.rb}, %q{lib/riak/util/multipart/stream_parser.rb}, %q{lib/riak/util/multipart.rb}, %q{lib/riak/util/tcp_socket_extensions.rb}, %q{lib/riak/util/translation.rb}, %q{lib/riak/walk_spec.rb}, %q{lib/riak.rb}, %q{pkg/httpvpbuf.rb}, %q{pkg/lk.rb}, %q{pkg/riak-client-0.9.4.gem}, %q{pkg/ts.rb}, %q{Rakefile}, %q{riak-client.gemspec}, %q{spec/fixtures/cat.jpg}, %q{spec/fixtures/multipart-blank.txt}, %q{spec/fixtures/multipart-mapreduce.txt}, %q{spec/fixtures/multipart-with-body.txt}, %q{spec/fixtures/server.cert.crt}, %q{spec/fixtures/server.cert.key}, %q{spec/fixtures/test.pem}, %q{spec/integration/riak/cache_store_spec.rb}, %q{spec/integration/riak/http_backends_spec.rb}, %q{spec/integration/riak/protobuffs_backends_spec.rb}, %q{spec/integration/riak/test_server_spec.rb}, %q{spec/riak/beefcake_protobuffs_backend_spec.rb}, %q{spec/riak/bucket_spec.rb}, %q{spec/riak/client_spec.rb}, %q{spec/riak/core_ext/to_param_spec.rb}, %q{spec/riak/curb_backend_spec.rb}, %q{spec/riak/escape_spec.rb}, %q{spec/riak/excon_backend_spec.rb}, %q{spec/riak/headers_spec.rb}, %q{spec/riak/http_backend/configuration_spec.rb}, %q{spec/riak/http_backend/object_methods_spec.rb}, %q{spec/riak/http_backend/transport_methods_spec.rb}, %q{spec/riak/http_backend_spec.rb}, %q{spec/riak/link_spec.rb}, %q{spec/riak/map_reduce/filter_builder_spec.rb}, %q{spec/riak/map_reduce/phase_spec.rb}, %q{spec/riak/map_reduce_spec.rb}, %q{spec/riak/multipart_spec.rb}, %q{spec/riak/net_http_backend_spec.rb}, %q{spec/riak/robject_spec.rb}, %q{spec/riak/search_spec.rb}, %q{spec/riak/stream_parser_spec.rb}, %q{spec/riak/walk_spec_spec.rb}, %q{spec/spec_helper.rb}, %q{spec/support/drb_mock_server.rb}, %q{spec/support/http_backend_implementation_examples.rb}, %q{spec/support/mock_server.rb}, %q{spec/support/mocks.rb}, %q{spec/support/test_server.yml.example}, %q{spec/support/unified_backend_examples.rb}]
12
+ s.files = [%q{erl_src/riak_kv_test_backend.beam}, %q{erl_src/riak_kv_test_backend.erl}, %q{Gemfile}, %q{lib/active_support/cache/riak_store.rb}, %q{lib/riak/bucket.rb}, %q{lib/riak/cache_store.rb}, %q{lib/riak/client/beefcake/messages.rb}, %q{lib/riak/client/beefcake/object_methods.rb}, %q{lib/riak/client/beefcake_protobuffs_backend.rb}, %q{lib/riak/client/curb_backend.rb}, %q{lib/riak/client/excon_backend.rb}, %q{lib/riak/client/http_backend/configuration.rb}, %q{lib/riak/client/http_backend/key_streamer.rb}, %q{lib/riak/client/http_backend/object_methods.rb}, %q{lib/riak/client/http_backend/request_headers.rb}, %q{lib/riak/client/http_backend/transport_methods.rb}, %q{lib/riak/client/http_backend.rb}, %q{lib/riak/client/net_http_backend.rb}, %q{lib/riak/client/protobuffs_backend.rb}, %q{lib/riak/client/pump.rb}, %q{lib/riak/client.rb}, %q{lib/riak/core_ext/blank.rb}, %q{lib/riak/core_ext/extract_options.rb}, %q{lib/riak/core_ext/slice.rb}, %q{lib/riak/core_ext/stringify_keys.rb}, %q{lib/riak/core_ext/symbolize_keys.rb}, %q{lib/riak/core_ext/to_param.rb}, %q{lib/riak/core_ext.rb}, %q{lib/riak/failed_request.rb}, %q{lib/riak/i18n.rb}, %q{lib/riak/json.rb}, %q{lib/riak/link.rb}, %q{lib/riak/locale/en.yml}, %q{lib/riak/map_reduce/filter_builder.rb}, %q{lib/riak/map_reduce/phase.rb}, %q{lib/riak/map_reduce.rb}, %q{lib/riak/map_reduce_error.rb}, %q{lib/riak/robject.rb}, %q{lib/riak/search.rb}, %q{lib/riak/test_server.rb}, %q{lib/riak/util/escape.rb}, %q{lib/riak/util/fiber1.8.rb}, %q{lib/riak/util/headers.rb}, %q{lib/riak/util/multipart/stream_parser.rb}, %q{lib/riak/util/multipart.rb}, %q{lib/riak/util/tcp_socket_extensions.rb}, %q{lib/riak/util/translation.rb}, %q{lib/riak/walk_spec.rb}, %q{lib/riak.rb}, %q{Rakefile}, %q{riak-client.gemspec}, %q{spec/fixtures/cat.jpg}, %q{spec/fixtures/multipart-blank.txt}, %q{spec/fixtures/multipart-mapreduce.txt}, %q{spec/fixtures/multipart-with-body.txt}, %q{spec/fixtures/server.cert.crt}, %q{spec/fixtures/server.cert.key}, %q{spec/fixtures/test.pem}, %q{spec/integration/riak/cache_store_spec.rb}, %q{spec/integration/riak/http_backends_spec.rb}, %q{spec/integration/riak/protobuffs_backends_spec.rb}, %q{spec/integration/riak/test_server_spec.rb}, %q{spec/riak/beefcake_protobuffs_backend_spec.rb}, %q{spec/riak/bucket_spec.rb}, %q{spec/riak/client_spec.rb}, %q{spec/riak/core_ext/to_param_spec.rb}, %q{spec/riak/curb_backend_spec.rb}, %q{spec/riak/escape_spec.rb}, %q{spec/riak/excon_backend_spec.rb}, %q{spec/riak/headers_spec.rb}, %q{spec/riak/http_backend/configuration_spec.rb}, %q{spec/riak/http_backend/object_methods_spec.rb}, %q{spec/riak/http_backend/transport_methods_spec.rb}, %q{spec/riak/http_backend_spec.rb}, %q{spec/riak/link_spec.rb}, %q{spec/riak/map_reduce/filter_builder_spec.rb}, %q{spec/riak/map_reduce/phase_spec.rb}, %q{spec/riak/map_reduce_spec.rb}, %q{spec/riak/multipart_spec.rb}, %q{spec/riak/net_http_backend_spec.rb}, %q{spec/riak/robject_spec.rb}, %q{spec/riak/search_spec.rb}, %q{spec/riak/stream_parser_spec.rb}, %q{spec/riak/walk_spec_spec.rb}, %q{spec/spec_helper.rb}, %q{spec/support/drb_mock_server.rb}, %q{spec/support/http_backend_implementation_examples.rb}, %q{spec/support/mock_server.rb}, %q{spec/support/mocks.rb}, %q{spec/support/test_server.yml.example}, %q{spec/support/unified_backend_examples.rb}]
13
13
  s.homepage = %q{http://seancribbs.github.com/ripple}
14
14
  s.require_paths = [%q{lib}]
15
15
  s.rubygems_version = %q{1.8.5}
16
16
  s.summary = %q{riak-client is a rich client for Riak, the distributed database by Basho.}
17
- s.test_files = [%q{lib/riak/walk_spec.rb}, %q{spec/integration/riak/cache_store_spec.rb}, %q{spec/integration/riak/http_backends_spec.rb}, %q{spec/integration/riak/protobuffs_backends_spec.rb}, %q{spec/integration/riak/test_server_spec.rb}, %q{spec/riak/beefcake_protobuffs_backend_spec.rb}, %q{spec/riak/bucket_spec.rb}, %q{spec/riak/client_spec.rb}, %q{spec/riak/core_ext/to_param_spec.rb}, %q{spec/riak/curb_backend_spec.rb}, %q{spec/riak/escape_spec.rb}, %q{spec/riak/excon_backend_spec.rb}, %q{spec/riak/headers_spec.rb}, %q{spec/riak/http_backend/configuration_spec.rb}, %q{spec/riak/http_backend/object_methods_spec.rb}, %q{spec/riak/http_backend/transport_methods_spec.rb}, %q{spec/riak/http_backend_spec.rb}, %q{spec/riak/link_spec.rb}, %q{spec/riak/map_reduce/filter_builder_spec.rb}, %q{spec/riak/map_reduce/phase_spec.rb}, %q{spec/riak/map_reduce_spec.rb}, %q{spec/riak/multipart_spec.rb}, %q{spec/riak/net_http_backend_spec.rb}, %q{spec/riak/robject_spec.rb}, %q{spec/riak/search_spec.rb}, %q{spec/riak/stream_parser_spec.rb}, %q{spec/riak/walk_spec_spec.rb}]
17
+ s.test_files = [%q{spec/integration/riak/cache_store_spec.rb}, %q{spec/integration/riak/http_backends_spec.rb}, %q{spec/integration/riak/protobuffs_backends_spec.rb}, %q{spec/integration/riak/test_server_spec.rb}, %q{spec/riak/beefcake_protobuffs_backend_spec.rb}, %q{spec/riak/bucket_spec.rb}, %q{spec/riak/client_spec.rb}, %q{spec/riak/core_ext/to_param_spec.rb}, %q{spec/riak/curb_backend_spec.rb}, %q{spec/riak/escape_spec.rb}, %q{spec/riak/excon_backend_spec.rb}, %q{spec/riak/headers_spec.rb}, %q{spec/riak/http_backend/configuration_spec.rb}, %q{spec/riak/http_backend/object_methods_spec.rb}, %q{spec/riak/http_backend/transport_methods_spec.rb}, %q{spec/riak/http_backend_spec.rb}, %q{spec/riak/link_spec.rb}, %q{spec/riak/map_reduce/filter_builder_spec.rb}, %q{spec/riak/map_reduce/phase_spec.rb}, %q{spec/riak/map_reduce_spec.rb}, %q{spec/riak/multipart_spec.rb}, %q{spec/riak/net_http_backend_spec.rb}, %q{spec/riak/robject_spec.rb}, %q{spec/riak/search_spec.rb}, %q{spec/riak/stream_parser_spec.rb}, %q{spec/riak/walk_spec_spec.rb}]
18
18
 
19
19
  if s.respond_to? :specification_version then
20
20
  s.specification_version = 3
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency(%q<excon>, ["~> 0.5.7"])
28
28
  s.add_runtime_dependency(%q<i18n>, [">= 0.4.0"])
29
29
  s.add_runtime_dependency(%q<builder>, ["~> 2.1.2"])
30
- s.add_runtime_dependency(%q<beefcake>, ["~> 0.3.0"])
30
+ s.add_runtime_dependency(%q<beefcake>, ["= 0.3.2"])
31
31
  else
32
32
  s.add_dependency(%q<rspec>, ["~> 2.4.0"])
33
33
  s.add_dependency(%q<fakeweb>, [">= 1.2"])
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  s.add_dependency(%q<excon>, ["~> 0.5.7"])
37
37
  s.add_dependency(%q<i18n>, [">= 0.4.0"])
38
38
  s.add_dependency(%q<builder>, ["~> 2.1.2"])
39
- s.add_dependency(%q<beefcake>, ["~> 0.3.0"])
39
+ s.add_dependency(%q<beefcake>, ["= 0.3.2"])
40
40
  end
41
41
  else
42
42
  s.add_dependency(%q<rspec>, ["~> 2.4.0"])
@@ -46,6 +46,6 @@ Gem::Specification.new do |s|
46
46
  s.add_dependency(%q<excon>, ["~> 0.5.7"])
47
47
  s.add_dependency(%q<i18n>, [">= 0.4.0"])
48
48
  s.add_dependency(%q<builder>, ["~> 2.1.2"])
49
- s.add_dependency(%q<beefcake>, ["~> 0.3.0"])
49
+ s.add_dependency(%q<beefcake>, ["= 0.3.2"])
50
50
  end
51
51
  end
data/spec/spec_helper.rb CHANGED
@@ -32,7 +32,7 @@ rescue => e
32
32
  warn e.inspect
33
33
  end
34
34
 
35
- Dir[File.join(File.dirname(__FILE__), "support", "*.rb")].each {|f| require f }
35
+ Dir[File.join(File.dirname(__FILE__), "support", "*.rb")].sort.each {|f| require f }
36
36
 
37
37
  RSpec.configure do |config|
38
38
  config.mock_with :rspec
metadata CHANGED
@@ -1,119 +1,157 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: riak-client
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.5
3
+ version: !ruby/object:Gem::Version
4
+ hash: 43
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 9
9
+ - 8
10
+ version: 0.9.8
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Sean Cribbs
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-06-15 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-09-19 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: rspec
16
- requirement: &2151933920 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
28
+ - !ruby/object:Gem::Version
29
+ hash: 31
30
+ segments:
31
+ - 2
32
+ - 4
33
+ - 0
21
34
  version: 2.4.0
22
35
  type: :development
23
- prerelease: false
24
- version_requirements: *2151933920
25
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
26
38
  name: fakeweb
27
- requirement: &2151932640 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
28
41
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '1.2'
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 11
46
+ segments:
47
+ - 1
48
+ - 2
49
+ version: "1.2"
33
50
  type: :development
34
- prerelease: false
35
- version_requirements: *2151932640
36
- - !ruby/object:Gem::Dependency
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
37
53
  name: rack
38
- requirement: &2151931000 !ruby/object:Gem::Requirement
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
39
56
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '1.0'
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ hash: 15
61
+ segments:
62
+ - 1
63
+ - 0
64
+ version: "1.0"
44
65
  type: :development
45
- prerelease: false
46
- version_requirements: *2151931000
47
- - !ruby/object:Gem::Dependency
66
+ version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
48
68
  name: curb
49
- requirement: &2151929760 !ruby/object:Gem::Requirement
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
50
71
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0.6'
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ hash: 7
76
+ segments:
77
+ - 0
78
+ - 6
79
+ version: "0.6"
55
80
  type: :development
56
- prerelease: false
57
- version_requirements: *2151929760
58
- - !ruby/object:Gem::Dependency
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
59
83
  name: excon
60
- requirement: &2151928760 !ruby/object:Gem::Requirement
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
61
86
  none: false
62
- requirements:
87
+ requirements:
63
88
  - - ~>
64
- - !ruby/object:Gem::Version
89
+ - !ruby/object:Gem::Version
90
+ hash: 5
91
+ segments:
92
+ - 0
93
+ - 5
94
+ - 7
65
95
  version: 0.5.7
66
96
  type: :development
67
- prerelease: false
68
- version_requirements: *2151928760
69
- - !ruby/object:Gem::Dependency
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
70
99
  name: i18n
71
- requirement: &2151927680 !ruby/object:Gem::Requirement
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
72
102
  none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 15
107
+ segments:
108
+ - 0
109
+ - 4
110
+ - 0
76
111
  version: 0.4.0
77
112
  type: :runtime
78
- prerelease: false
79
- version_requirements: *2151927680
80
- - !ruby/object:Gem::Dependency
113
+ version_requirements: *id006
114
+ - !ruby/object:Gem::Dependency
81
115
  name: builder
82
- requirement: &2151926600 !ruby/object:Gem::Requirement
116
+ prerelease: false
117
+ requirement: &id007 !ruby/object:Gem::Requirement
83
118
  none: false
84
- requirements:
119
+ requirements:
85
120
  - - ~>
86
- - !ruby/object:Gem::Version
121
+ - !ruby/object:Gem::Version
122
+ hash: 15
123
+ segments:
124
+ - 2
125
+ - 1
126
+ - 2
87
127
  version: 2.1.2
88
128
  type: :runtime
89
- prerelease: false
90
- version_requirements: *2151926600
91
- - !ruby/object:Gem::Dependency
129
+ version_requirements: *id007
130
+ - !ruby/object:Gem::Dependency
92
131
  name: beefcake
93
- requirement: &2151924800 !ruby/object:Gem::Requirement
132
+ prerelease: false
133
+ requirement: &id008 !ruby/object:Gem::Requirement
94
134
  none: false
95
- requirements:
96
- - - ~>
97
- - !ruby/object:Gem::Version
98
- version: 0.3.0
135
+ requirements:
136
+ - - "="
137
+ - !ruby/object:Gem::Version
138
+ hash: 23
139
+ segments:
140
+ - 0
141
+ - 3
142
+ - 2
143
+ version: 0.3.2
99
144
  type: :runtime
100
- prerelease: false
101
- version_requirements: *2151924800
102
- description: riak-client is a rich client for Riak, the distributed database by Basho.
103
- It supports the full HTTP interface including storage operations, bucket configuration,
104
- link-walking and map-reduce.
145
+ version_requirements: *id008
146
+ description: riak-client is a rich client for Riak, the distributed database by Basho. It supports the full HTTP interface including storage operations, bucket configuration, link-walking and map-reduce.
105
147
  email: sean@basho.com
106
148
  executables: []
149
+
107
150
  extensions: []
151
+
108
152
  extra_rdoc_files: []
109
- files:
110
- - bin/autospec
111
- - bin/htmldiff
112
- - bin/ldiff
113
- - bin/protoc-gen-beefcake
114
- - bin/rackup
115
- - bin/rake
116
- - bin/rspec
153
+
154
+ files:
117
155
  - erl_src/riak_kv_test_backend.beam
118
156
  - erl_src/riak_kv_test_backend.erl
119
157
  - Gemfile
@@ -163,10 +201,6 @@ files:
163
201
  - lib/riak/util/translation.rb
164
202
  - lib/riak/walk_spec.rb
165
203
  - lib/riak.rb
166
- - pkg/httpvpbuf.rb
167
- - pkg/lk.rb
168
- - pkg/riak-client-0.9.4.gem
169
- - pkg/ts.rb
170
204
  - Rakefile
171
205
  - riak-client.gemspec
172
206
  - spec/fixtures/cat.jpg
@@ -209,32 +243,41 @@ files:
209
243
  - spec/support/mocks.rb
210
244
  - spec/support/test_server.yml.example
211
245
  - spec/support/unified_backend_examples.rb
246
+ has_rdoc: true
212
247
  homepage: http://seancribbs.github.com/ripple
213
248
  licenses: []
249
+
214
250
  post_install_message:
215
251
  rdoc_options: []
216
- require_paths:
252
+
253
+ require_paths:
217
254
  - lib
218
- required_ruby_version: !ruby/object:Gem::Requirement
255
+ required_ruby_version: !ruby/object:Gem::Requirement
219
256
  none: false
220
- requirements:
221
- - - ! '>='
222
- - !ruby/object:Gem::Version
223
- version: '0'
224
- required_rubygems_version: !ruby/object:Gem::Requirement
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ hash: 3
261
+ segments:
262
+ - 0
263
+ version: "0"
264
+ required_rubygems_version: !ruby/object:Gem::Requirement
225
265
  none: false
226
- requirements:
227
- - - ! '>='
228
- - !ruby/object:Gem::Version
229
- version: '0'
266
+ requirements:
267
+ - - ">="
268
+ - !ruby/object:Gem::Version
269
+ hash: 3
270
+ segments:
271
+ - 0
272
+ version: "0"
230
273
  requirements: []
274
+
231
275
  rubyforge_project:
232
- rubygems_version: 1.8.5
276
+ rubygems_version: 1.6.2
233
277
  signing_key:
234
278
  specification_version: 3
235
279
  summary: riak-client is a rich client for Riak, the distributed database by Basho.
236
- test_files:
237
- - lib/riak/walk_spec.rb
280
+ test_files:
238
281
  - spec/integration/riak/cache_store_spec.rb
239
282
  - spec/integration/riak/http_backends_spec.rb
240
283
  - spec/integration/riak/protobuffs_backends_spec.rb
data/bin/autospec DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'autospec' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('rspec-core', 'autospec')
data/bin/htmldiff DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'htmldiff' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('diff-lcs', 'htmldiff')
data/bin/ldiff DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'ldiff' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('diff-lcs', 'ldiff')
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'protoc-gen-beefcake' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('beefcake', 'protoc-gen-beefcake')
data/bin/rackup DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rackup' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('rack', 'rackup')
data/bin/rake DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rake' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('rake', 'rake')
data/bin/rspec DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env jruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rspec' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('rspec-core', 'rspec')
data/pkg/httpvpbuf.rb DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'rubygems'
3
- require 'bundler/setup'
4
- $: << File.expand_path("../../lib", __FILE__)
5
- require 'riak'
6
- require 'benchmark'
7
-
8
- http = Riak::Client.new(:http_backend => :Excon)
9
- pbc = Riak::Client.new(:protocol => "pbc")
10
-
11
- ops = {
12
- :list_buckets => [5],
13
- :list_keys => [20,"riakjs_http"],
14
- :ping => [100],
15
- :get_bucket_props => [1000,"riakjs_airlines"],
16
- :set_bucket_props => [100,"foo", {:n_val => 2}]
17
- }
18
-
19
- def textobj(c,key=nil)
20
- obj = c['bench'].new(key)
21
- obj.content_type = "text/plain"
22
- obj.raw_data = "This is a message to all out there who like to benchmark."
23
- obj
24
- end
25
-
26
- KEYS = 1000
27
-
28
- OPERATIONS = [
29
- [:ping, lambda {|client| 100.times { client.ping }}],
30
- [:buckets, lambda {|client| 10.times { client.buckets } }],
31
- [:get_bucket, lambda {|client| 1000.times { client.backend.get_bucket_props('foo') }}],
32
- [:set_bucket, lambda {|client| 100.times { client['foo'].props = {"n_val" => 2}}}],
33
- [:store_new, lambda {|client| KEYS.times { textobj(client).store }}],
34
- [:store_key, lambda {|client| KEYS.times {|i| textobj(client, "#{client.protocol}#{i}").store }}],
35
- [:fetch_key, lambda {|client| KEYS.times {|i| client['bench'].get("#{client.protocol}#{i}") } }],
36
- [:keys, lambda {|client| 5.times { client.backend.list_keys('bench') }}],
37
- [:key_stream, lambda {|client| 5.times { client['bench'].keys {|ks| "." }}}]
38
- ]
39
-
40
- Benchmark.bmbm(25) do |x|
41
- OPERATIONS.each do |op|
42
- [http, pbc].each do |c|
43
- x.report("#{c.protocol.ljust(6)}#{op[0]}") do
44
- op[1][c]
45
- end
46
- end
47
- end
48
- end
data/pkg/lk.rb DELETED
@@ -1,21 +0,0 @@
1
- require 'riak'
2
-
3
- riak = Riak::Client.new( :http_backend => :Excon )
4
-
5
- bucket_names = ["foobar"]
6
- bucket_names.each do |bucket_name|
7
- bucket = riak.bucket(bucket_name)
8
- 10.times do
9
- new_one = Riak::RObject.new(bucket, "#{rand}")
10
- new_one.content_type = "application/javascript" # You must set the content type.
11
- new_one.data = "Hello, World!')"
12
- new_one.store
13
- end
14
-
15
- bucket.keys do |keys|
16
- keys.each do |key|
17
- puts key
18
- bucket.delete(key)
19
- end
20
- end
21
- end
Binary file
data/pkg/ts.rb DELETED
@@ -1,35 +0,0 @@
1
- require 'bundler/setup'
2
- require 'riak'
3
- require 'riak/test_server'
4
-
5
- OUTER = 100
6
- INNER = 1000
7
-
8
- ts = Riak::TestServer.new(:bin_dir => "/usr/local/bin",
9
- :temp_dir => "./rel")
10
- $expect_verbose = true
11
- ts.prepare!
12
- ts.start
13
-
14
- c = Riak::Client.new(:port => 9000, :http_backend => :Excon)
15
-
16
- OUTER.times do
17
- warn "NOT STARTED, WTF?" unless ts.started?
18
- INNER.times do
19
- unless rand > 0.8
20
- c['test'].new.tap do |o|
21
- o.data = "Some test data" * rand(10)
22
- o.content_type = "text/plain"
23
- o.store
24
- end
25
- print "."
26
- end
27
- end
28
- puts
29
-
30
- ts.recycle
31
- end
32
-
33
- ts.stop
34
- ts.cleanup
35
- $expect_verbose = false