-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruby-duplicates.gemspec
More file actions
31 lines (26 loc) · 920 Bytes
/
ruby-duplicates.gemspec
File metadata and controls
31 lines (26 loc) · 920 Bytes
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
# frozen_string_literal: true
require_relative "lib/ruby_duplicates/version"
Gem::Specification.new do |spec|
spec.name = "ruby-duplicates"
spec.version = RubyDuplicates::VERSION
spec.authors = ["Bartas Urba"]
spec.email = ["b@bartas.co"]
spec.summary = "Find structurally similar Ruby methods."
spec.description = "A small duplicate-code metric for Ruby that compares normalized Ripper syntax fingerprints with Jaccard similarity. Inspired by Uncle Bob's dry4clj."
spec.homepage = "https://github.com/barturba/ruby-duplicates"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2"
spec.metadata = {
"source_code_uri" => spec.homepage,
"inspiration_uri" => "https://github.com/unclebob/dry4clj"
}
spec.files = Dir.glob(%w[
README.md
LICENSE
exe/*
lib/**/*.rb
])
spec.bindir = "exe"
spec.executables = ["ruby-duplicates"]
spec.require_paths = ["lib"]
end