Skip to content

Commit e60c911

Browse files
Cleanup gemspec
1 parent 45e3806 commit e60c911

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

stalker.gemspec

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
# frozen_string_literal: true
22

3-
require_relative "lib/stalker/version"
3+
require_relative 'lib/stalker/version'
44

55
Gem::Specification.new do |spec|
6-
spec.name = "stalker"
6+
spec.name = 'stalker'
77
spec.version = Stalker::VERSION
8-
spec.authors = [ "Kevyn Lebouille" ]
9-
spec.email = [ "[email protected]" ]
10-
spec.homepage = "https://gitlab.opsone.net"
11-
spec.summary = "Summary of Stalker."
12-
spec.description = "Description of Stalker."
13-
spec.license = "MIT"
8+
spec.authors = ['Kevyn Lebouille']
9+
spec.email = ['[email protected]']
10+
spec.homepage = 'https://github.com/opsone/stalker-gem'
11+
spec.summary = 'Summary of Stalker.'
12+
spec.description = 'Description of Stalker.'
13+
spec.license = 'MIT'
1414

15-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host"
16-
# to allow pushing to a single host or delete this section to allow pushing to any host.
17-
spec.metadata["allowed_push_host"] = "Set to 'http://mygemserver.com'"
18-
19-
spec.metadata["homepage_uri"] = spec.homepage
20-
spec.metadata["source_code_uri"] = "https://gitlab.opsone.net"
21-
spec.metadata["changelog_uri"] = "https://gitlab.opsone.net"
15+
spec.metadata['homepage_uri'] = spec.homepage
16+
spec.metadata['source_code_uri'] = spec.homepage
17+
spec.metadata['changelog_uri'] = spec.homepage + '/blob/main/CHANGELOG.md'
2218

2319
spec.files = Dir.chdir(File.expand_path(__dir__)) do
24-
Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
20+
Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
2521
end
2622

27-
spec.add_dependency "rails", ">= 6.1.0"
23+
spec.add_dependency 'rails', '>= 6.1.0'
2824
end

0 commit comments

Comments
 (0)