couchbase-jruby 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +40 -0
- data/Rakefile +2 -0
- data/couchbase-jruby.gemspec +17 -0
- data/lib/couchbase-jruby.rb +7 -0
- data/lib/couchbase-jruby/jars/commons-codec-1.5.jar +0 -0
- data/lib/couchbase-jruby/jars/couchbase-client-1.1-dp2-javadocs.jar +0 -0
- data/lib/couchbase-jruby/jars/couchbase-client-1.1-dp2.jar +0 -0
- data/lib/couchbase-jruby/jars/httpcore-4.1.1.jar +0 -0
- data/lib/couchbase-jruby/jars/httpcore-nio-4.1.1.jar +0 -0
- data/lib/couchbase-jruby/jars/jettison-1.1.jar +0 -0
- data/lib/couchbase-jruby/jars/netty-3.2.0.Final.jar +0 -0
- data/lib/couchbase-jruby/jars/spymemcached-2.8.4-javadocs.jar +0 -0
- data/lib/couchbase-jruby/jars/spymemcached-2.8.4.jar +0 -0
- data/lib/couchbase-jruby/version.rb +5 -0
- metadata +62 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2012 Jasdeep Jaitla
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
## NOTE: This gem is new, it's a work in progress, it currently is not functional, but should be soon.
|
|
2
|
+
|
|
3
|
+
# Couchbase::Jruby
|
|
4
|
+
|
|
5
|
+
Couchbase JRuby gem is a wrapper around Couchbase Java SDK, plus modifications to make it syntactically identical to Ruby gem (gem couchbase).
|
|
6
|
+
This is intended to be a drop-in-replacement for Ruby couchbase gem but for JRuby.
|
|
7
|
+
If you are looking for a simple wrapper that is syntactically like Java SDK check out https://github.com/jeremy-brenner/jcouchbase which is a basic wrapper.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
Add this line to your application's Gemfile:
|
|
12
|
+
|
|
13
|
+
gem 'couchbase-jruby'
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install couchbase-jruby
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
If you are familiar with Ruby couchbase gem, this works no differently. You can check out https://github.com/couchbase/couchbase-ruby-client
|
|
26
|
+
for syntax. Ignore the installation procedures for libcouchbase, as they are not needed, also the Java SDK jars are included in this gem.
|
|
27
|
+
|
|
28
|
+
It works on Couchbase Server 1.8.x and Couchbase Server 2.x.
|
|
29
|
+
|
|
30
|
+
## TODO
|
|
31
|
+
|
|
32
|
+
1.
|
|
33
|
+
|
|
34
|
+
## Contributing
|
|
35
|
+
|
|
36
|
+
1. Fork it
|
|
37
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
38
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
|
39
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
|
40
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
require File.expand_path('../lib/couchbase-jruby/version', __FILE__)
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |gem|
|
|
5
|
+
gem.authors = ["Jasdeep Jaitla"]
|
|
6
|
+
gem.email = ["jasdeep@scalabl3.com"]
|
|
7
|
+
gem.description = %q{Couchbase JRuby SDK for connections and operations}
|
|
8
|
+
gem.summary = %q{Couchbase JRuby gem simulating behavior of Couchbase Ruby gem}
|
|
9
|
+
gem.homepage = ""
|
|
10
|
+
|
|
11
|
+
gem.files = `git ls-files`.split($\)
|
|
12
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
|
13
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
14
|
+
gem.name = "couchbase-jruby"
|
|
15
|
+
gem.require_paths = ["lib"]
|
|
16
|
+
gem.version = Couchbase::Jruby::VERSION
|
|
17
|
+
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: couchbase-jruby
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Jasdeep Jaitla
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-09-09 00:00:00.000000000 Z
|
|
13
|
+
dependencies: []
|
|
14
|
+
description: Couchbase JRuby SDK for connections and operations
|
|
15
|
+
email:
|
|
16
|
+
- jasdeep@scalabl3.com
|
|
17
|
+
executables: []
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- .gitignore
|
|
22
|
+
- Gemfile
|
|
23
|
+
- LICENSE
|
|
24
|
+
- README.md
|
|
25
|
+
- Rakefile
|
|
26
|
+
- couchbase-jruby.gemspec
|
|
27
|
+
- lib/couchbase-jruby.rb
|
|
28
|
+
- lib/couchbase-jruby/jars/commons-codec-1.5.jar
|
|
29
|
+
- lib/couchbase-jruby/jars/couchbase-client-1.1-dp2-javadocs.jar
|
|
30
|
+
- lib/couchbase-jruby/jars/couchbase-client-1.1-dp2.jar
|
|
31
|
+
- lib/couchbase-jruby/jars/httpcore-4.1.1.jar
|
|
32
|
+
- lib/couchbase-jruby/jars/httpcore-nio-4.1.1.jar
|
|
33
|
+
- lib/couchbase-jruby/jars/jettison-1.1.jar
|
|
34
|
+
- lib/couchbase-jruby/jars/netty-3.2.0.Final.jar
|
|
35
|
+
- lib/couchbase-jruby/jars/spymemcached-2.8.4-javadocs.jar
|
|
36
|
+
- lib/couchbase-jruby/jars/spymemcached-2.8.4.jar
|
|
37
|
+
- lib/couchbase-jruby/version.rb
|
|
38
|
+
homepage: ''
|
|
39
|
+
licenses: []
|
|
40
|
+
post_install_message:
|
|
41
|
+
rdoc_options: []
|
|
42
|
+
require_paths:
|
|
43
|
+
- lib
|
|
44
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
|
+
none: false
|
|
46
|
+
requirements:
|
|
47
|
+
- - ! '>='
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '0'
|
|
50
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
|
+
none: false
|
|
52
|
+
requirements:
|
|
53
|
+
- - ! '>='
|
|
54
|
+
- !ruby/object:Gem::Version
|
|
55
|
+
version: '0'
|
|
56
|
+
requirements: []
|
|
57
|
+
rubyforge_project:
|
|
58
|
+
rubygems_version: 1.8.21
|
|
59
|
+
signing_key:
|
|
60
|
+
specification_version: 3
|
|
61
|
+
summary: Couchbase JRuby gem simulating behavior of Couchbase Ruby gem
|
|
62
|
+
test_files: []
|