-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththis_is_ruby.gemspec
More file actions
35 lines (30 loc) · 1.46 KB
/
Copy paththis_is_ruby.gemspec
File metadata and controls
35 lines (30 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
require_relative "lib/this_is_ruby/version"
Gem::Specification.new do |spec|
spec.name = "this_is_ruby"
spec.version = ThisIsRuby::VERSION
spec.authors = ["Irina Nazarova"]
spec.email = ["inazarova@evilmartians.com"]
spec.summary = "Tell GitHub your project is Ruby."
# Kept as two paragraphs of unbroken sentences: RubyGems renders the
# description verbatim, so source-level wrapping shows up on the gem page.
spec.description = [
"Ruby is one of the most eloquent and efficient languages, but it gets " \
"punished for it by GitHub's language attribution. Even more so, a Rails " \
"app, carefully designed to require next to no boilerplate code, easily " \
"ends up with less Ruby than JS, TS or HTML (ERB).",
"This gem tells GitHub: this is Ruby, by marking your frontend as " \
"\"linguist-vendored\". No side effects on diffs or other DX."
].join("\n\n")
spec.homepage = "https://github.com/evilmartians/this_is_ruby"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir["lib/**/*.rb", "exe/*", "README.md", "CHANGELOG.md", "LICENSE.txt"]
spec.bindir = "exe"
spec.executables = ["this_is_ruby"]
spec.require_paths = ["lib"]
end