forked from Narnach/barcodevalidation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
barcodevalidation.gemspec
27 lines (23 loc) · 1.03 KB
/
barcodevalidation.gemspec
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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "barcodevalidation/version"
Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.5"
spec.name = "barcodevalidation"
spec.version = BarcodeValidation::VERSION
spec.authors = ["Marketplacer"]
spec.email = ["[email protected]"]
spec.summary = "Parses and validates barcodes"
spec.description = "A RubyGem to parse and validate barcodes"
spec.homepage = "https://github.com/marketplacer/#{spec.name}"
spec.license = "MIT"
spec.files = %w[LICENSE.md README.md barcodevalidation.gemspec
config/*.rb lib/**/*.rb]
.flat_map { |pattern| Dir.glob(pattern) }
.reject { |f| File.directory?(f) }
spec.bindir = "exe"
spec.executables = spec.files
.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end