Skip to content

Commit ad9133f

Browse files
committed
Fix license name in gemspec
Previously, we had the license name set to "Apache 2.0", which doesn't conform to the entry in the list that `gem` validates against (https://spdx.org/licenses/). This commit replaces the space with a hyphen so that we match the format expected by `gem`, and don't get this warning when we build the gem: > WARNING: license value 'Apache 2.0' is invalid. Use a license > identifier from http://spdx.org/licenses or 'Nonstandard' for a > nonstandard license. Did you mean 'Apache-2.0'? Signed-off-by: Chris Sinjakli <[email protected]>
1 parent 82d41f1 commit ad9133f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus-client.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
1010
s.authors = ['Ben Kochie', 'Chris Sinjakli', 'Daniel Magliola']
1111
1212
s.homepage = 'https://github.com/prometheus/client_ruby'
13-
s.license = 'Apache 2.0'
13+
s.license = 'Apache-2.0'
1414

1515
s.files = %w(README.md) + Dir.glob('{lib/**/*}')
1616
s.require_paths = ['lib']

0 commit comments

Comments
 (0)