File: minitest-hooks.gemspec

package info (click to toggle)
ruby-minitest-hooks 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 160 kB
  • sloc: ruby: 608; makefile: 4
file content (32 lines) | stat: -rw-r--r-- 1,653 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
Gem::Specification.new do |s|
  s.name = 'minitest-hooks'
  s.version = '1.5.3'
  s.platform = Gem::Platform::RUBY
  s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "MIT-LICENSE"]
  s.rdoc_options += ["--quiet", "--line-numbers", "--inline-source", '--title', 'minitest-hooks: around and before_all/after_all/around_all hooks for Minitest', '--main', 'README.rdoc']
  s.license = "MIT"
  s.summary = "Around and before_all/after_all/around_all hooks for Minitest"
  s.author = "Jeremy Evans"
  s.email = "code@jeremyevans.net"
  s.homepage = "http://github.com/jeremyevans/minitest-hooks"
  s.metadata = {
    'bug_tracker_uri'   => 'https://github.com/jeremyevans/minitest-hooks/issues',
    'changelog_uri'     => 'https://github.com/jeremyevans/minitest-hooks/blob/master/CHANGELOG',
    'mailing_list_uri'  => 'https://github.com/jeremyevans/minitest-hooks/discussions',
    'source_code_uri'   => 'https://github.com/jeremyevans/minitest-hooks',
  }
  s.files = %w(MIT-LICENSE CHANGELOG README.rdoc) + Dir["lib/**/*.rb"]
  s.required_ruby_version = ">= 1.8"
  s.description = <<END
minitest-hooks adds around and before_all/after_all/around_all hooks for Minitest.
This allows you do things like run each suite of specs inside a database transaction,
running each spec inside its own savepoint inside that transaction, which can
significantly speed up testing for specs that share expensive database setup code.
END

  s.add_dependency "minitest", ">5.3"
  s.add_development_dependency "sequel", '>4'
  s.add_development_dependency "sqlite3"
  s.add_development_dependency "rake"
  s.add_development_dependency "minitest-global_expectations"
end