@@ -8,33 +8,24 @@ Gem::Specification.new do |spec|
88 spec . authors = [ "Hakan Ensari" ]
99 spec . email = [ "hakanensari@gmail.com" ]
1010
11- spec . summary = "TODO: Write a short summary, because RubyGems requires one."
12- spec . description = "TODO: Write a longer description or delete this line."
13- spec . homepage = "TODO: Put your gem's website or public repo URL here."
11+ spec . summary = "Amazon Ads API in Ruby"
12+ spec . homepage = "https://github.com/lineofflight/sponsor"
1413 spec . license = "MIT"
1514 spec . required_ruby_version = ">= 3.2.0"
1615
17- spec . metadata [ "allowed_push_host" ] = "TODO: Set to your gem server 'https://example.com'"
1816 spec . metadata [ "homepage_uri" ] = spec . homepage
19- spec . metadata [ "source_code_uri" ] = "TODO: Put your gem's public repo URL here."
20- spec . metadata [ "changelog_uri" ] = "TODO: Put your gem's CHANGELOG.md URL here."
17+ spec . metadata [ "source_code_uri" ] = spec . homepage
18+ spec . metadata [ "changelog_uri" ] = "#{ spec . homepage } /blob/main/CHANGELOG.md"
19+ spec . metadata [ "rubygems_mfa_required" ] = "true"
2120
22- # Specify which files should be added to the gem when it is released.
23- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2421 gemspec = File . basename ( __FILE__ )
25- spec . files = IO . popen ( %w[ git ls-files -z ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
22+ spec . files = IO . popen ( [ " git" , " ls-files" , "-z" ] , chdir : __dir__ , err : IO ::NULL ) do |ls |
2623 ls . readlines ( "\x0 " , chomp : true ) . reject do |f |
2724 ( f == gemspec ) ||
28- f . start_with? ( * %w[ bin/ Gemfile .gitignore test/ .github/ .rubocop.yml ] )
25+ f . start_with? ( " bin/" , " Gemfile" , " .gitignore" , " test/" , " .github/" , " .rubocop.yml" )
2926 end
3027 end
3128 spec . bindir = "exe"
3229 spec . executables = spec . files . grep ( %r{\A exe/} ) { |f | File . basename ( f ) }
3330 spec . require_paths = [ "lib" ]
34-
35- # Uncomment to register a new dependency of your gem
36- # spec.add_dependency "example-gem", "~> 1.0"
37-
38- # For more information and examples about making a new gem, check out our
39- # guide at: https://bundler.io/guides/creating_gem.html
4031end
0 commit comments