-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathrspec-request_describer.gemspec
More file actions
27 lines (22 loc) · 945 Bytes
/
rspec-request_describer.gemspec
File metadata and controls
27 lines (22 loc) · 945 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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rspec/request_describer/version'
Gem::Specification.new do |spec|
spec.name = 'rspec-request_describer'
spec.version = RSpec::RequestDescriber::VERSION
spec.authors = ['Ryo Nakamura']
spec.email = ['r7kamura@gmail.com']
spec.summary = 'An RSpec plugin to write self-documenting request-specs.'
spec.homepage = 'https://github.com/r7kamura/rspec-request_describer'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.2'
gemspec = File.basename(__FILE__)
spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
ls.readlines("\x0", chomp: true).reject do |f|
(f == gemspec) ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
end
end
spec.require_paths = ['lib']
end