File: rspec-collection_matchers.gemspec

package info (click to toggle)
ruby-rspec-collection-matchers 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 192 kB
  • sloc: ruby: 948; sh: 7; makefile: 4
file content (33 lines) | stat: -rw-r--r-- 1,573 bytes parent folder | download
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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rspec/collection_matchers/version'

Gem::Specification.new do |spec|
  spec.name          = "rspec-collection_matchers"
  spec.version       = RSpec::CollectionMatchers::VERSION
  spec.authors       = ["Hugo Baraúna"]
  spec.email         = ["hugo.barauna@plataformatec.com.br"]
  spec.summary       = "rspec-collection_matchers-#{RSpec::CollectionMatchers::VERSION}"
  spec.description   = "Collection cardinality matchers, extracted from rspec-expectations"
  spec.homepage      = "https://github.com/rspec/rspec-collection_matchers"
  spec.license       = "MIT"

  spec.metadata = {
    'bug_tracker_uri'   => 'https://github.com/rspec/rspec-collection_matchers/issues',
    'changelog_uri'     => "https://github.com/rspec/rspec-collection_matchers/blob/v#{spec.version}/Changelog.md",
    'documentation_uri' => 'https://rspec.info/documentation/',
    'mailing_list_uri'  => 'https://groups.google.com/forum/#!forum/rspec',
    'source_code_uri'   => 'https://github.com/rspec/rspec-collection_matchers',
  }

  spec.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_runtime_dependency     "rspec-expectations", ">= 2.99.0.beta1"

  spec.add_development_dependency "bundler",     ">= 1.3"
  spec.add_development_dependency "activemodel", ">= 3.0"
end