1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/version'
4
+
5
+ Gem ::Specification . new do |spec |
6
+ spec . name = 'infisical-sdk'
7
+ spec . version = InfisicalSDK ::VERSION
8
+ spec . authors = [ 'Infisical Inc.' ]
9
+ spec . email = [ 'team@infisical.com' ]
10
+
11
+ spec . summary = 'Ruby SDK for interacting with the Infisical platform.'
12
+ spec . description = 'The official Infisical Ruby SDK.'
13
+ spec . homepage = 'https://infisical.com'
14
+ spec . required_ruby_version = '>= 2.7'
15
+
16
+ spec . metadata [ 'homepage_uri' ] = spec . homepage
17
+ spec . metadata [ 'source_code_uri' ] = 'https://github.com/infisical/sdk'
18
+ spec . metadata [ 'changelog_uri' ] = 'https://infisical.com/docs/changelog/overview'
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec . files = Dir . chdir ( __dir__ ) do
23
+ `git ls-files -z` . split ( "\x0 " ) . reject do |f |
24
+ ( File . expand_path ( f ) == __FILE__ ) || f . start_with? ( *%w[ bin/ test/ spec/ features/ .git Gemfile ] )
25
+ end
26
+ end
27
+
28
+ spec . files += Dir . glob ( 'lib/linux-x64/**/*' )
29
+ spec . files += Dir . glob ( 'lib/macos-x64/**/*' )
30
+ spec . files += Dir . glob ( 'lib/windows-x64/**/*' )
31
+ spec . files += Dir . glob ( 'lib/macos-arm64/**/*' )
32
+ spec . files += Dir . glob ( 'lib/schemas.rb' )
33
+
34
+ spec . bindir = 'exe'
35
+ spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
36
+ spec . require_paths = [ 'lib' ]
37
+
38
+ # Uncomment to register a new dependency of your gem
39
+ # spec.add_dependency "example-gem", "~> 1.0"
40
+ spec . add_dependency 'dry-struct' , '~> 1.6'
41
+ spec . add_dependency 'dry-types' , '~> 1.7'
42
+ spec . add_dependency 'ffi' , '~> 1.15'
43
+ spec . add_dependency 'json' , '~> 2.6'
44
+ spec . add_dependency 'rake' , '~> 13.0'
45
+ spec . add_dependency 'rubocop' , '~> 1.21'
46
+
47
+ end
0 commit comments