{"id":1657,"date":"2014-12-16T19:35:38","date_gmt":"2014-12-16T19:35:38","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1657"},"modified":"2025-06-13T21:11:07","modified_gmt":"2025-06-14T04:11:07","slug":"introducing-ruby-sdk-20-developer-preview-jruby-support","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","title":{"rendered":"Apresentando o Ruby SDK 2.0 Developer Preview com suporte a JRuby"},"content":{"rendered":"<p>Ol\u00e1 a todos, ap\u00f3s longos preparativos, tenho o prazer de anunciar uma pr\u00e9via da pr\u00f3xima gera\u00e7\u00e3o da API para o cliente rubi. Em geral, ela apenas alinha o cliente ruby com todos os outros SDKs, onde a nova API orientada a documentos foi lan\u00e7ada h\u00e1 cerca de um m\u00eas.<\/p>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">No momento, a vers\u00e3o s\u00f3 est\u00e1 acess\u00edvel para a implementa\u00e7\u00e3o do JRuby, mas o CRuby est\u00e1 chegando. Aqui est\u00e1 uma pr\u00e9via do novo design.<\/span><\/p>\n<div class=\"geshifilter\">\n<div class=\"ruby geshifilter-ruby\" style=\"font-family:monospace\"><span style=\"color:#CC0066;font-weight:bold\">exigir<\/span> <span style=\"color:#996600\">'couchbase'<\/span><\/p>\n<p>grupo = <span style=\"color:#6666ff;font-weight:bold\">Couchbase::Cluster<\/span>.<span style=\"color:#9900CC\">novo<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">'localhost'<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>bucket = cluster.<span style=\"color:#9900CC\">open_bucket<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">\"amostra de cerveja<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><\/p>\n<p>doc = bucket.<span style=\"color:#9900CC\">obter<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">'abbaye_de_leffe-leffe_blonde'<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/><span style=\"color:#008000;font-style:italic\"># =&gt; #&lt;Couchbase::Document:0x207513da<\/span><br \/><span style=\"color:#008000;font-style:italic\"># @cas=255200433657064,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># @content=<\/span><br \/><span style=\"color:#008000;font-style:italic\"># {\"name\"=&gt;\"Leffe Blonde\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"abv\"=&gt;6,6,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"ibu\"=&gt;0,0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"srm\"=&gt;0,0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"upc\"=&gt;0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"type\"=&gt;\"beer\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"brewery_id\"=&gt;\"abbaye_de_leffe\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"updated\"=&gt;\"2010-07-22 20:00:20\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"description\"=&gt;\"\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"style\"=&gt;\"Golden ou Blonde Ale\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \"category\"=&gt;\"North American Ale\"},<\/span><br \/><span style=\"color:#008000;font-style:italic\"># @expiry=0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># @id=\"abbaye_de_leffe-leffe_blonde\",<\/span><br \/><span style=\"color:#008000;font-style:italic\"># @transcode=true&gt;<\/span><\/p>\n<p>doc.<span style=\"color:#9900CC\">conte\u00fado<\/span>.<span style=\"color:#9900CC\">atualiza\u00e7\u00e3o<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">'ibu'<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006666\">20<\/span>, <span style=\"color:#996600\">'description'<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006600;font-weight:bold\">&lt;&lt;<\/span>EOD<span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>O Leffe Blond \u00e9 o carro-chefe da Leffe. <span style=\"color:#9900CC\">O<\/span> A receita exclusiva \u00e9 a fruta<br \/>de s\u00e9culos de experi\u00eancia <span style=\"color:#9966CC;font-weight:bold\">em<\/span> a arte da fabrica\u00e7\u00e3o de cerveja, que traz uma ampla<br \/>paleta de aromas em equil\u00edbrio.<br \/><span style=\"color:#9900CC\">EOD<\/span><\/p>\n<p>balde.<span style=\"color:#9900CC\">substituir<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span>doc<span style=\"color:#006600;font-weight:bold\">)<\/span><\/p>\n<p>doc = bucket.<span style=\"color:#9900CC\">obter<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">'abbaye_de_leffe-leffe_blonde'<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>doc.<span style=\"color:#9900CC\">conte\u00fado<\/span><span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">'ibu'<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span><br \/><span style=\"color:#008000;font-style:italic\"># =&gt; 20<\/span><\/p>\n<p>res = bucket.<span style=\"color:#9900CC\">consulta<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">\"cerveja<\/span>, <span style=\"color:#996600\">'by_location'<\/span>, <span style=\"color:#ff3333;font-weight:bold\">:group_level<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006666\">1<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/><span style=\"color:#CC0066;font-weight:bold\">coloca<\/span> <span style=\"color:#996600\">\"Primeiros 4 pa\u00edses:<\/span><br \/>res.<span style=\"color:#9900CC\">linhas<\/span>.<span style=\"color:#9900CC\">tomar<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#006666\">4<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span>.<span style=\"color:#9900CC\">cada<\/span> <span style=\"color:#9966CC;font-weight:bold\">fazer<\/span> <span style=\"color:#006600;font-weight:bold\">|<\/span>fila<span style=\"color:#006600;font-weight:bold\">|<\/span><br \/>\u00a0 <span style=\"color:#CC0066;font-weight:bold\">coloca<\/span> <span style=\"color:#996600\">\"#{row['key'].first}: #{row['value']}\"<\/span><br \/><span style=\"color:#9966CC;font-weight:bold\">final<\/span><\/p>\n<p>res.<span style=\"color:#9900CC\">linhas<\/span>.<span style=\"color:#9900CC\">cada<\/span> <span style=\"color:#9966CC;font-weight:bold\">fazer<\/span> <span style=\"color:#006600;font-weight:bold\">|<\/span>fila<span style=\"color:#006600;font-weight:bold\">|<\/span><br \/>\u00a0 balde.<span style=\"color:#9900CC\">contador<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">\"amantes de cerveja<\/span>, <span style=\"color:#006600;font-weight:bold\">+<\/span><span style=\"color:#006666\">1<\/span>, inicial: <span style=\"color:#006666\">1<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span> <span style=\"color:#9966CC;font-weight:bold\">se<\/span> fila<span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">'valor'<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span> <span style=\"color:#006600;font-weight:bold\">&gt;<\/span> <span style=\"color:#006666\">10<\/span><br \/><span style=\"color:#9966CC;font-weight:bold\">final<\/span><br \/><span style=\"color:#CC0066;font-weight:bold\">coloca<\/span> <span style=\"color:#996600\">\"H\u00e1 #{bucket.get('beer_lovers').content} pa\u00edses com mais de 10 cervejarias\"<\/span><\/p>\n<p>agrupamento.<span style=\"color:#9900CC\">desconectar<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Primeiros 4 pa\u00edses:<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Argentina: 2<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Aruba: 1<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Austr\u00e1lia: 14<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; \u00c1ustria: 10<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; H\u00e1 171 pa\u00edses com mais de 10 cervejarias<\/span><\/div>\n<\/div>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">A nova vers\u00e3o j\u00e1 est\u00e1 dispon\u00edvel em\u00a0<\/span><a href=\"https:\/\/rubygems.org\/gems\/couchbase\/versions\/2.0.0.pre.1-java\" style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">https:\/\/rubygems.org\/gems\/couchbase\/versions\/2.0.0.pre.1-java<\/a><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">\u00a0e pode ser instalado com o comando gem:<\/span><\/p>\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\" style=\"font-family:monospace\">$ jruby -S gem install couchbase -pre<br \/>Instalado com sucesso o couchbase-2.0.0.pre.1-java<br \/>Analisando a documenta\u00e7\u00e3o do couchbase-2.0.0.pre.1-java<br \/>Instala\u00e7\u00e3o da documenta\u00e7\u00e3o do couchbase conclu\u00edda ap\u00f3s 0 segundos<br \/>1 gema instalada<\/div>\n<\/div>\n<p>Ou com o pacote de gemas, basta usar o seguinte Gemfile<\/p>\n<div class=\"geshifilter\">\n<div class=\"ruby geshifilter-ruby\" style=\"font-family:monospace\">fonte <span style=\"color:#996600\">'https:\/\/rubygems.org'<\/span><\/p>\n<p>gema <span style=\"color:#996600\">'couchbase'<\/span>, <span style=\"color:#996600\">'~&gt; 2.0.0.pre.1'<\/span><\/div>\n<\/div>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">Deixe seu feedback aqui nos coment\u00e1rios ou em seu novo f\u00f3rum: <a href=\"https:\/\/www.couchbase.com\/blog\/pt\/forums\/c\/ruby-sdk\/\">https:\/\/www.couchbase.com\/forums\/c\/ruby-sdk<\/a>. Obrigado<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]<\/p>","protected":false},"author":25,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,9407,2201],"tags":[],"ppma_author":[8995],"class_list":["post-1657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-ruby","category-tools-sdks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\" \/>\n<meta property=\"og:description\" content=\"Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-16T19:35:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T04:11:07+00:00\" \/>\n<meta name=\"author\" content=\"Sergey Avseyev, SDK Engineer, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@avsej\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergey Avseyev, SDK Engineer, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"},\"author\":{\"name\":\"Sergey Avseyev, SDK Engineer, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e\"},\"headline\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\",\"datePublished\":\"2014-12-16T19:35:38+00:00\",\"dateModified\":\"2025-06-14T04:11:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"},\"wordCount\":356,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Server\",\"Ruby\",\"Tools &amp; SDKs\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\",\"name\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2014-12-16T19:35:38+00:00\",\"dateModified\":\"2025-06-14T04:11:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e\",\"name\":\"Sergey Avseyev, SDK Engineer, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/796ab283bd56fe3716a102ebe16daff6\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g\",\"caption\":\"Sergey Avseyev, SDK Engineer, Couchbase\"},\"description\":\"Sergey Avseyev is a SDK Engineer at Couchbase. Sergey Avseyev is responsible for development of Kafka connector, and underlying library, which implements DCP, Couchbase replication protocol. Also maintaining PHP SDK for Couchbase.\",\"sameAs\":[\"https:\/\/x.com\/avsej\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/pt\/author\/sergey-avseyev\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/pt\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","og_locale":"pt_BR","og_type":"article","og_title":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support","og_description":"Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","og_site_name":"The Couchbase Blog","article_published_time":"2014-12-16T19:35:38+00:00","article_modified_time":"2025-06-14T04:11:07+00:00","author":"Sergey Avseyev, SDK Engineer, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@avsej","twitter_misc":{"Written by":"Sergey Avseyev, SDK Engineer, Couchbase","Est. reading time":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"},"author":{"name":"Sergey Avseyev, SDK Engineer, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e"},"headline":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support","datePublished":"2014-12-16T19:35:38+00:00","dateModified":"2025-06-14T04:11:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"},"wordCount":356,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Server","Ruby","Tools &amp; SDKs"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","url":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","name":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2014-12-16T19:35:38+00:00","dateModified":"2025-06-14T04:11:07+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e","name":"Sergey Avseyev, engenheiro de SDK, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/796ab283bd56fe3716a102ebe16daff6","url":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","caption":"Sergey Avseyev, SDK Engineer, Couchbase"},"description":"Sergey Avseyev \u00e9 engenheiro de SDK na Couchbase. Sergey Avseyev \u00e9 respons\u00e1vel pelo desenvolvimento do conector Kafka e da biblioteca subjacente, que implementa o DCP, o protocolo de replica\u00e7\u00e3o do Couchbase. Tamb\u00e9m mant\u00e9m o PHP SDK para o Couchbase.","sameAs":["https:\/\/x.com\/avsej"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/sergey-avseyev\/"}]}},"authors":[{"term_id":8995,"user_id":25,"is_guest":0,"slug":"sergey-avseyev","display_name":"Sergey Avseyev, SDK Engineer, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","author_category":"","last_name":"Avseyev, SDK Engineer, Couchbase","first_name":"Sergey","job_title":"","user_url":"","description":"Sergey Avseyev \u00e9 engenheiro de SDK na Couchbase. Sergey Avseyev \u00e9 respons\u00e1vel pelo desenvolvimento do conector Kafka e da biblioteca subjacente, que implementa o DCP, o protocolo de replica\u00e7\u00e3o do Couchbase. Tamb\u00e9m mant\u00e9m o PHP SDK para o Couchbase."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=1657"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}