-
Notifications
You must be signed in to change notification settings - Fork 51
/
couchbase.gemspec
71 lines (65 loc) · 3.13 KB
/
couchbase.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# frozen_string_literal: true
# Copyright 2020-2021 Couchbase, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "couchbase/version"
Gem::Specification.new do |spec|
spec.name = "couchbase"
spec.version = Couchbase::VERSION[:sdk]
spec.authors = ["Sergey Avseyev"]
spec.email = ["[email protected]"]
spec.summary = "SDK for Couchbase Server"
spec.description = "Modern SDK for Couchbase Server"
spec.homepage = "https://www.couchbase.com"
spec.license = "Apache-2.0"
spec.required_ruby_version = "> 3.1"
spec.metadata = {
"homepage_uri" => "https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html",
"bug_tracker_uri" => "https://jira.issues.couchbase.com/browse/RCBC",
"mailing_list_uri" => "https://www.couchbase.com/forums/c/ruby-sdk",
"source_code_uri" => "https://github.com/couchbase/couchbase-ruby-client/tree/#{spec.version}",
"changelog_uri" => "https://github.com/couchbase/couchbase-ruby-client/releases/tag/#{spec.version}",
"documentation_uri" => "https://docs.couchbase.com/sdk-api/couchbase-ruby-client-#{spec.version}/index.html",
"github_repo" => "https://github.com/couchbase/couchbase-ruby-client",
"rubygems_mfa_required" => "true",
}
spec.files = Dir.glob([
"LICENSE.txt",
"README.md",
"ext/*.cxx",
"ext/*.hxx",
"ext/*.hxx.in",
"ext/*.patch",
"ext/*.rb",
"ext/CMakeLists.txt",
"ext/cache/**/*",
"ext/couchbase/CMakeLists.txt",
"ext/couchbase/LICENSE.txt",
"ext/couchbase/cmake/*",
"ext/couchbase/core/**/*",
"ext/couchbase/couchbase/**/*",
"ext/couchbase/third_party/cxx_function/cxx_function.hpp",
"ext/couchbase/third_party/expected/COPYING",
"ext/couchbase/third_party/expected/include/**/*",
"ext/couchbase/third_party/jsonsl/*",
"lib/**/*.rb",
], File::FNM_DOTMATCH).select { |path| File.file?(path) }
spec.bindir = "exe"
spec.executables = spec.files.grep(/^exe\//) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.extensions = ["ext/extconf.rb"]
spec.rdoc_options << "--exclude" << "ext/"
spec.add_dependency "grpc", "~> 1.59"
end