@@ -7,37 +7,30 @@ Gem::Specification.new do |spec|
77 spec . version = Triangulum ::VERSION
88 spec . authors = [ 'Niklas van Schrick' ]
99 spec . email = [ 'mc.taucher2003@gmail.com' ]
10+ spec . license = 'MIT'
1011
1112 spec . summary = 'Triangulum is the CodeZero validation layer'
1213 spec . homepage = 'https://github.com/code0-tech/triangulum'
1314 spec . required_ruby_version = '>= 3.1.0'
1415
1516 spec . metadata [ 'homepage_uri' ] = spec . homepage
16- spec . metadata [ 'source_code_uri' ] = spec . homepage
1717 spec . metadata [ 'changelog_uri' ] = "#{ spec . homepage } /releases"
1818 spec . metadata [ 'rubygems_mfa_required' ] = 'true'
1919
2020 # 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- gemspec = File . basename ( __FILE__ )
23- spec . files = IO . popen ( %w[ git ls-files -z ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
24- ls . readlines ( "\x0 " , chomp : true ) . reject do |f |
25- ( f == gemspec ) ||
26- f . start_with? ( *%w[ bin/ test/ spec/ features/ .git .github appveyor Gemfile ] )
27- end
28- end
21+ spec . files = Dir . glob ( 'lib/**/*' , base : __dir__ ) . select { |f | File . file? ( File . join ( __dir__ , f ) ) } + [ 'README.md' ]
2922 spec . bindir = 'exe'
3023 spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
3124 spec . require_paths = [ 'lib' ]
3225
33- # Uncomment to register a new dependency of your gem
34- # spec.add_dependency "example-gem", "~> 1.0"
26+ spec . add_dependency 'base64' , '~> 0.3'
27+ spec . add_dependency 'json' , '~> 2.19'
28+ spec . add_dependency 'open3' , '~> 0.2'
29+ spec . add_dependency 'tucana' , '~> 0.0' , '>= 0.0.62'
3530
36- # For more information and examples about making a new gem, check out our
37- # guide at: https://bundler.io/guides/creating_gem.html
38-
39- spec . add_development_dependency 'irb'
31+ spec . add_development_dependency 'irb' , '~> 1.17'
4032 spec . add_development_dependency 'rake' , '~> 13.0'
33+ spec . add_development_dependency 'rubyzip' , '~> 2.3'
4134
4235 spec . add_development_dependency 'rspec' , '~> 3.0'
4336
0 commit comments