couchbase-jruby-client 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.jrubyrc +722 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +203 -0
  7. data/README.md +349 -0
  8. data/Rakefile +10 -0
  9. data/couchbase-jruby-client.gemspec +31 -0
  10. data/lib/couchbase/async/callback.rb +19 -0
  11. data/lib/couchbase/async/queue.rb +26 -0
  12. data/lib/couchbase/async.rb +140 -0
  13. data/lib/couchbase/bucket.rb +556 -0
  14. data/lib/couchbase/cluster.rb +105 -0
  15. data/lib/couchbase/constants.rb +12 -0
  16. data/lib/couchbase/design_doc.rb +61 -0
  17. data/lib/couchbase/error.rb +43 -0
  18. data/lib/couchbase/jruby/couchbase_client.rb +22 -0
  19. data/lib/couchbase/jruby/future.rb +8 -0
  20. data/lib/couchbase/operations/arithmetic.rb +301 -0
  21. data/lib/couchbase/operations/delete.rb +104 -0
  22. data/lib/couchbase/operations/design_docs.rb +99 -0
  23. data/lib/couchbase/operations/get.rb +282 -0
  24. data/lib/couchbase/operations/stats.rb +26 -0
  25. data/lib/couchbase/operations/store.rb +461 -0
  26. data/lib/couchbase/operations/touch.rb +136 -0
  27. data/lib/couchbase/operations/unlock.rb +192 -0
  28. data/lib/couchbase/operations/utils.rb +44 -0
  29. data/lib/couchbase/operations.rb +27 -0
  30. data/lib/couchbase/query.rb +73 -0
  31. data/lib/couchbase/result.rb +43 -0
  32. data/lib/couchbase/transcoder.rb +77 -0
  33. data/lib/couchbase/utils.rb +62 -0
  34. data/lib/couchbase/version.rb +3 -0
  35. data/lib/couchbase/view.rb +367 -0
  36. data/lib/couchbase/view_row.rb +193 -0
  37. data/lib/couchbase.rb +157 -0
  38. data/lib/jars/commons-codec-1.5.jar +0 -0
  39. data/lib/jars/couchbase-client-1.2.0-javadoc.jar +0 -0
  40. data/lib/jars/couchbase-client-1.2.0-sources.jar +0 -0
  41. data/lib/jars/couchbase-client-1.2.0.jar +0 -0
  42. data/lib/jars/httpcore-4.1.1.jar +0 -0
  43. data/lib/jars/httpcore-nio-4.1.1.jar +0 -0
  44. data/lib/jars/jettison-1.1.jar +0 -0
  45. data/lib/jars/netty-3.5.5.Final.jar +0 -0
  46. data/lib/jars/spymemcached-2.10.0-javadoc.jar +0 -0
  47. data/lib/jars/spymemcached-2.10.0-sources.jar +0 -0
  48. data/lib/jars/spymemcached-2.10.0.jar +0 -0
  49. data/test/profile/.gitignore +1 -0
  50. data/test/profile/.jrubyrc +722 -0
  51. data/test/profile/Gemfile +6 -0
  52. data/test/profile/benchmark.rb +168 -0
  53. data/test/profile/profile.rb +59 -0
  54. data/test/setup.rb +203 -0
  55. data/test/test_arithmetic.rb +177 -0
  56. data/test/test_async.rb +324 -0
  57. data/test/test_bucket.rb +213 -0
  58. data/test/test_cas.rb +79 -0
  59. data/test/test_couchbase.rb +29 -0
  60. data/test/test_couchbase_rails_cache_store.rb +341 -0
  61. data/test/test_delete.rb +125 -0
  62. data/test/test_design_docs.rb +72 -0
  63. data/test/test_errors.rb +82 -0
  64. data/test/test_format.rb +161 -0
  65. data/test/test_get.rb +417 -0
  66. data/test/test_query.rb +23 -0
  67. data/test/test_stats.rb +57 -0
  68. data/test/test_store.rb +213 -0
  69. data/test/test_timer.rb +43 -0
  70. data/test/test_touch.rb +97 -0
  71. data/test/test_unlock.rb +121 -0
  72. data/test/test_utils.rb +58 -0
  73. data/test/test_version.rb +53 -0
  74. data/test/test_view.rb +94 -0
  75. metadata +255 -0
metadata ADDED
@@ -0,0 +1,255 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: couchbase-jruby-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Mike Evans
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: multi_json
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: '1.0'
25
+ prerelease: false
26
+ type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: atomic
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.14
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: 1.1.14
39
+ prerelease: false
40
+ type: :runtime
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ~>
51
+ - !ruby/object:Gem::Version
52
+ version: '1.3'
53
+ prerelease: false
54
+ type: :development
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ prerelease: false
68
+ type: :development
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 5.0.4
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ version: 5.0.4
81
+ prerelease: false
82
+ type: :development
83
+ - !ruby/object:Gem::Dependency
84
+ name: jrjackson
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 0.2.3
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 0.2.3
95
+ prerelease: false
96
+ type: :development
97
+ - !ruby/object:Gem::Dependency
98
+ name: active_support
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirement: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ prerelease: false
110
+ type: :development
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ version_requirements: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ requirement: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ prerelease: false
124
+ type: :development
125
+ description: Couchbase JRuby driver
126
+ email:
127
+ - mike@urlgonomics.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - .jrubyrc
134
+ - .ruby-version
135
+ - Gemfile
136
+ - LICENSE.txt
137
+ - README.md
138
+ - Rakefile
139
+ - couchbase-jruby-client.gemspec
140
+ - lib/couchbase.rb
141
+ - lib/couchbase/async.rb
142
+ - lib/couchbase/async/callback.rb
143
+ - lib/couchbase/async/queue.rb
144
+ - lib/couchbase/bucket.rb
145
+ - lib/couchbase/cluster.rb
146
+ - lib/couchbase/constants.rb
147
+ - lib/couchbase/design_doc.rb
148
+ - lib/couchbase/error.rb
149
+ - lib/couchbase/jruby/couchbase_client.rb
150
+ - lib/couchbase/jruby/future.rb
151
+ - lib/couchbase/operations.rb
152
+ - lib/couchbase/operations/arithmetic.rb
153
+ - lib/couchbase/operations/delete.rb
154
+ - lib/couchbase/operations/design_docs.rb
155
+ - lib/couchbase/operations/get.rb
156
+ - lib/couchbase/operations/stats.rb
157
+ - lib/couchbase/operations/store.rb
158
+ - lib/couchbase/operations/touch.rb
159
+ - lib/couchbase/operations/unlock.rb
160
+ - lib/couchbase/operations/utils.rb
161
+ - lib/couchbase/query.rb
162
+ - lib/couchbase/result.rb
163
+ - lib/couchbase/transcoder.rb
164
+ - lib/couchbase/utils.rb
165
+ - lib/couchbase/version.rb
166
+ - lib/couchbase/view.rb
167
+ - lib/couchbase/view_row.rb
168
+ - lib/jars/commons-codec-1.5.jar
169
+ - lib/jars/couchbase-client-1.2.0-javadoc.jar
170
+ - lib/jars/couchbase-client-1.2.0-sources.jar
171
+ - lib/jars/couchbase-client-1.2.0.jar
172
+ - lib/jars/httpcore-4.1.1.jar
173
+ - lib/jars/httpcore-nio-4.1.1.jar
174
+ - lib/jars/jettison-1.1.jar
175
+ - lib/jars/netty-3.5.5.Final.jar
176
+ - lib/jars/spymemcached-2.10.0-javadoc.jar
177
+ - lib/jars/spymemcached-2.10.0-sources.jar
178
+ - lib/jars/spymemcached-2.10.0.jar
179
+ - test/profile/.gitignore
180
+ - test/profile/.jrubyrc
181
+ - test/profile/Gemfile
182
+ - test/profile/benchmark.rb
183
+ - test/profile/profile.rb
184
+ - test/setup.rb
185
+ - test/test_arithmetic.rb
186
+ - test/test_async.rb
187
+ - test/test_bucket.rb
188
+ - test/test_cas.rb
189
+ - test/test_couchbase.rb
190
+ - test/test_couchbase_rails_cache_store.rb
191
+ - test/test_delete.rb
192
+ - test/test_design_docs.rb
193
+ - test/test_errors.rb
194
+ - test/test_format.rb
195
+ - test/test_get.rb
196
+ - test/test_query.rb
197
+ - test/test_stats.rb
198
+ - test/test_store.rb
199
+ - test/test_timer.rb
200
+ - test/test_touch.rb
201
+ - test/test_unlock.rb
202
+ - test/test_utils.rb
203
+ - test/test_version.rb
204
+ - test/test_view.rb
205
+ homepage: https://github.com/mje113/couchbase-jruby-client
206
+ licenses:
207
+ - Apache
208
+ metadata: {}
209
+ post_install_message:
210
+ rdoc_options: []
211
+ require_paths:
212
+ - lib
213
+ required_ruby_version: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - '>='
216
+ - !ruby/object:Gem::Version
217
+ version: '0'
218
+ required_rubygems_version: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ requirements: []
224
+ rubyforge_project:
225
+ rubygems_version: 2.1.9
226
+ signing_key:
227
+ specification_version: 4
228
+ summary: The unofficial jruby client library for use with Couchbase Server.
229
+ test_files:
230
+ - test/profile/.gitignore
231
+ - test/profile/.jrubyrc
232
+ - test/profile/Gemfile
233
+ - test/profile/benchmark.rb
234
+ - test/profile/profile.rb
235
+ - test/setup.rb
236
+ - test/test_arithmetic.rb
237
+ - test/test_async.rb
238
+ - test/test_bucket.rb
239
+ - test/test_cas.rb
240
+ - test/test_couchbase.rb
241
+ - test/test_couchbase_rails_cache_store.rb
242
+ - test/test_delete.rb
243
+ - test/test_design_docs.rb
244
+ - test/test_errors.rb
245
+ - test/test_format.rb
246
+ - test/test_get.rb
247
+ - test/test_query.rb
248
+ - test/test_stats.rb
249
+ - test/test_store.rb
250
+ - test/test_timer.rb
251
+ - test/test_touch.rb
252
+ - test/test_unlock.rb
253
+ - test/test_utils.rb
254
+ - test/test_version.rb
255
+ - test/test_view.rb