add: dependency

This commit is contained in:
viletyy 2022-05-05 17:30:45 +08:00
parent 638ee27fb0
commit b1f56b97e0
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,8 @@
PATH PATH
remote: . remote: .
specs: specs:
gitea-client (0.2.1) gitea-client (0.3.0)
rest-client (~> 2.1.0)
GEM GEM
remote: https://gems.ruby-china.com/ remote: https://gems.ruby-china.com/

View File

@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"] spec.require_paths = ["lib"]
spec.add_dependency('rest-client', '~> 2.1.0')
# Uncomment to register a new dependency of your gem # Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0" # spec.add_dependency "example-gem", "~> 1.0"