Permalink
Browse files

Use public gem version

  • Loading branch information...
1 parent 5a75569 commit 8a5f5289854fd5909eddf0d026d78a9a58f57cc4 @avsej committed Jan 9, 2012
Showing with 18 additions and 24 deletions.
  1. +2 −3 Gemfile
  2. +14 −19 Gemfile.lock
  3. +2 −2 hello-world.rb
View
@@ -1,5 +1,4 @@
source "http://rubygems.org"
-gem "active_support"
-# gem "couchbase-ruby-client", :require => "couchbase"
-gem "couchbase-ruby-client", :git => "git://github.com/couchbase/couchbase-ruby-client.git", :require => "couchbase"
+gem "activesupport"
+gem "couchbase", '0.9.8'
View
@@ -1,27 +1,22 @@
-GIT
- remote: git://github.com/couchbase/couchbase-ruby-client.git
- revision: de0885eaa70f22f51daf659d3fb3d361abe47c8f
- specs:
- couchbase-ruby-client (0.9.3)
- curb (~> 0.7.15)
- memcached (~> 1.2.7)
- will_paginate (~> 2.3)
- yajl-ruby (~> 0.8.2)
-
GEM
remote: http://rubygems.org/
specs:
- active_support (3.0.0)
- activesupport (= 3.0.0)
- activesupport (3.0.0)
- curb (0.7.15)
- memcached (1.2.7.1)
- will_paginate (2.3.15)
- yajl-ruby (0.8.2)
+ activesupport (3.1.3)
+ multi_json (~> 1.0)
+ couchbase (0.9.8)
+ curb (~> 0.7.15)
+ memcached (~> 1.3)
+ yaji (~> 0.0.9)
+ yajl-ruby (~> 0.8.2)
+ curb (0.7.16)
+ memcached (1.3.5)
+ multi_json (1.0.4)
+ yaji (0.0.10)
+ yajl-ruby (0.8.3)
PLATFORMS
ruby
DEPENDENCIES
- active_support
- couchbase-ruby-client!
+ activesupport
+ couchbase (= 0.9.8)
View
@@ -3,11 +3,11 @@
Bundler.require(:default)
client = Couchbase.new "http://localhost:8091/pools/default"
-begin
+begin
spoon = client.get "spoon"
puts spoon
rescue Memcached::NotFound => e
puts "There is no spoon."
- client.set "spoon", "Hello World!", 10
+ client.set "spoon", "Hello World!", :ttl => 10
end

0 comments on commit 8a5f528

Please sign in to comment.