-
Notifications
You must be signed in to change notification settings - Fork 5
/
ff-ruby-server-sdk.gemspec
63 lines (45 loc) · 2.32 KB
/
ff-ruby-server-sdk.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
# frozen_string_literal: true
if not Dir.exist?("lib/ff/ruby/server/generated")
puts "Generating OpenAPI sources..."
system "sh scripts/openapi.sh lib/ff/ruby/server/generated"
else
puts "OpenAPI sources found"
end if
require_relative "lib/ff/ruby/server/sdk/version"
Gem::Specification.new do |spec|
spec.name = "ff-ruby-server-sdk"
spec.version = Ff::Ruby::Server::Sdk::VERSION
spec.authors = ["Miloš Vasić, cyr.: Милош Васић"]
spec.email = ["[email protected]"]
spec.summary = "Harness is a feature management platform that helps teams to build better software and to test features quicker."
spec.description = "Harness is a feature management platform that helps teams to build better software and to test features quicker."
spec.homepage = "https://www.harness.io/"
spec.required_ruby_version = ">= 2.6.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/harness/ff-ruby-server-sdk"
spec.metadata["changelog_uri"] = "https://github.com/harness/ff-ruby-server-sdk/blob/main/CHANGELOG.md"
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) || f.start_with?("ruby_on_rails_example")
end
end
spec.files += Dir['lib/ff/ruby/server/generated/lib/**/*.rb']
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.require_paths += ["lib/ff/ruby/server/generated/lib"]
spec.add_development_dependency "rake", "~> 13.2"
spec.add_development_dependency "minitest", "~> 5.25"
spec.add_development_dependency "standard", "~> 1.4"
spec.add_dependency "rufus-scheduler", "~> 3.8"
spec.add_dependency "libcache", "0.4.2"
spec.add_dependency "jwt", "~> 2.3"
spec.add_dependency "moneta", "~> 1.4"
spec.add_dependency "rest-client", "~> 2.1"
spec.add_dependency "concurrent-ruby", "~> 1.1"
spec.add_dependency "murmurhash3", "0.1.6"
spec.add_dependency "typhoeus", '~> 1.0', '>= 1.0.1'
end