Skip to content

Commit

Permalink
Merge pull request #3678 from DataDog/tonycthsu/backport-missing-license
Browse files Browse the repository at this point in the history
Backport #3677
  • Loading branch information
TonyCTHsu authored Jun 5, 2024
2 parents f069f6d + 61b4800 commit b9f398f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
DESC

spec.homepage = 'https://github.com/DataDog/dd-trace-rb'
spec.license = 'BSD-3-Clause'
spec.licenses = ['BSD-3-Clause', 'Apache-2.0']

if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
Expand Down
6 changes: 6 additions & 0 deletions spec/ddtrace/release_gem_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,11 @@
)
end
end

context 'licenses' do
it 'returns dual licenses (BSD-3-Clause and Apache-2)' do
expect(gemspec.licenses).to contain_exactly('BSD-3-Clause', 'Apache-2.0')
end
end
end
end

0 comments on commit b9f398f

Please sign in to comment.