File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,25 @@ Gem::Specification.new do |s|
9
9
10
10
11
11
s . summary = 'Grape swagger adapter to support representable object parsing'
12
- s . homepage = 'https://github.com/ruby-grape/grape-swagger-representable'
13
12
s . license = 'MIT'
14
13
15
14
s . files = `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) }
16
15
s . bindir = 'exe'
17
16
s . executables = s . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
18
17
s . require_paths = [ 'lib' ]
19
18
19
+ github_uri = "https://github.com/ruby-grape/#{ s . name } "
20
+
21
+ s . homepage = github_uri
22
+
23
+ s . metadata = {
24
+ 'rubygems_mfa_required' => 'true' ,
25
+ 'bug_tracker_uri' => "#{ github_uri } /issues" ,
26
+ 'documentation_uri' => "http://www.rubydoc.info/gems/#{ s . name } /#{ s . version } " ,
27
+ 'homepage_uri' => s . homepage ,
28
+ 'source_code_uri' => github_uri
29
+ }
30
+
20
31
s . required_ruby_version = '>= 2.7' , '< 4'
21
32
22
33
s . add_runtime_dependency 'grape-swagger' , '~> 2.0'
You can’t perform that action at this time.
0 commit comments