Skip to content

Commit 85dacb9

Browse files
committed
minor pre-release fixes
1 parent 416fe68 commit 85dacb9

File tree

4 files changed

+8
-23
lines changed

4 files changed

+8
-23
lines changed

couchbase.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
2828
spec.required_ruby_version = "> 2.7"
2929

3030
spec.metadata = {
31-
"homepage_uri" => "https://docs.couchbase.com/ruby-sdk/3.2/hello-world/start-using-sdk.html",
31+
"homepage_uri" => "https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html",
3232
"bug_tracker_uri" => "https://couchbase.com/issues/browse/RCBC",
3333
"mailing_list_uri" => "https://forums.couchbase.com/c/ruby-sdk",
3434
"source_code_uri" => "https://github.com/couchbase/couchbase-ruby-client/tree/#{spec.version}",

lib/couchbase/logger.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2021 Couchbase, Inc.
1+
# Copyright 2020-Present Couchbase, Inc.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -58,12 +58,12 @@ def self.logger
5858
# See {Utils::StdlibLoggerAdapter} and {Utils::GenericLoggerAdapter}
5959
# @param [Boolean] verbose if true, the message will also include source code location, where the message was
6060
# generated (if available)
61-
# @param [Symbol] log level, see {#log_level=} for allowed values
61+
# @param [Symbol] level log level, see {::log_level=} for allowed values
6262
#
6363
# @example Specify custom logger and limit core messages to debug level
6464
# Couchbase.set_logger(Logger.new(STDERR), level: :debug)
6565
#
66-
# @since 3.3.1
66+
# @since 3.4.0
6767
def self.set_logger(logger, adapter_class: nil, verbose: false, level: :info)
6868
@logger = logger # rubocop:disable ThreadSafety/InstanceVariableInClassMethod
6969
if @logger.nil? # rubocop:disable ThreadSafety/InstanceVariableInClassMethod

lib/couchbase/search_options.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -962,8 +962,7 @@ def to_json(*args)
962962

963963
# Prepare {PhraseQuery} body
964964
#
965-
# @yieldparam [PhraseQuery] query
966-
# @param [*String] terms
965+
# Creates a new instances {PhraseQuery} passing all parameters into {PhraseQuery#initialize}.
967966
#
968967
# @return [PhraseQuery]
969968
def self.phrase(...)

lib/couchbase/version.rb

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,9 @@
1515
module Couchbase
1616
# Version of the library and all bundled dependencies
1717
#
18-
# @example Display version and all dependencies in command line
19-
# # ruby -rcouchbase -e 'pp Couchbase::VERSION'
20-
# {:sdk=>"3.2.0",
21-
# :backend=>"1.6.0",
22-
# :build_timestamp=>"2021-08-04 10:10:35",
23-
# :revision=>"6c069e4e6965117c7240b331847dc3f62afe0554",
24-
# :platform=>"Linux-4.18.0-326.el8.x86_64",
25-
# :cpu=>"x86_64",
26-
# :cc=>"GNU 8.5.0",
27-
# :cxx=>"GNU 8.5.0",
28-
# :ruby=>"2.7.0",
29-
# :spdlog=>"1.8.1",
30-
# :asio=>"1.18.0",
31-
# :snappy=>"1.1.8",
32-
# :http_parser=>"2.9.4",
33-
# :openssl_headers=>"OpenSSL 1.1.1k FIPS 25 Mar 2021",
34-
# :openssl_runtime=>"OpenSSL 1.1.1k FIPS 25 Mar 2021"}
18+
# @example Display version (+Couchbase::BUILD_INFO+ contains more details)
19+
# $ ruby -rcouchbase -e 'pp Couchbase::VERSION'
20+
# {:sdk=>"3.4.0", :ruby_abi=>"3.1.0", :revision=>"416fe68e6029ec8a4c40611cf6e6b30d3b90d20f"}
3521
VERSION = {} unless defined?(VERSION) # rubocop:disable Style/MutableConstant
3622
VERSION.update(:sdk => "3.4.0".freeze)
3723
end

0 commit comments

Comments
 (0)