feature/share-libs
gemspec 36 lines 1.38 KB
Raw
1 # frozen_string_literal: true
2
3 require_relative 'lib/gem_error_codes/version'
4
5 Gem::Specification.new do |spec|
6 spec.name = 'gem_error_codes'
7 spec.version = GemErrorCodes::VERSION
8 spec.authors = ['Seto Elkahfi']
9 spec.email = ['setoelkahfi@gmail.com']
10
11 spec.summary = 'Ruby binding error_codes from crate_error_codes.'
12 spec.description = 'Write a longer description or delete this line.'
13 spec.homepage = 'https://splitfire.ai/gem_error_codes'
14 spec.required_ruby_version = '>= 3.0.0'
15 spec.required_rubygems_version = '>= 3.3.11'
16
17 # Specify which files should be added to the gem when it is released.
18 # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19 gemspec = File.basename(__FILE__)
20 spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
21 ls.readlines("\x0", chomp: true).reject do |f|
22 (f == gemspec) ||
23 f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
24 end
25 end
26 spec.bindir = 'exe'
27 spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28 spec.require_paths = ['lib']
29 spec.extensions = ['ext/gem_error_codes/Cargo.toml']
30
31 # Uncomment to register a new dependency of your gem
32 # spec.add_dependency "example-gem", "~> 1.0"
33
34 # For more information and examples about making a new gem, check out our
35 # guide at: https://bundler.io/guides/creating_gem.html
36 end