forked from kucaahbe/rspec-html-matchers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspec-html-matchers.gemspec
44 lines (38 loc) · 1.72 KB
/
rspec-html-matchers.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = 'rspec-html-matchers'
s.version = '0.6.1'
s.platform = Gem::Platform::RUBY
s.authors = ['kucaahbe']
s.email = ['[email protected]']
s.license = 'MIT'
s.homepage = 'http://github.com/kucaahbe/rspec-html-matchers'
s.summary = %q{Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 2.x.x}
s.description = <<DESC
#{s.summary}. Does not depend on assert_select matcher, provides useful error messages.
DESC
s.post_install_message = <<POST_INST
Support for rspec "should" syntax removed,
please use new "expect" syntax instead (see README on github for examples).
More info on "expect" syntax: https://github.com/rspec/rspec-expectations#rspec-expectations--
POST_INST
s.rubyforge_project = 'rspec-html-matchers'
s.files = Dir.glob('lib/**/*.rb')
s.test_files = Dir.glob('{spec,features}/**/*')
s.require_path = 'lib'
s.extra_rdoc_files = ['README.md','CHANGELOG.md']
# since 2.11.0 introduced new expect().to syntax
s.add_runtime_dependency 'rspec', '~> 3'
s.add_runtime_dependency 'nokogiri', '~> 1'
s.add_development_dependency 'simplecov', '~> 0'
s.add_development_dependency 'cucumber', '~> 1'
s.add_development_dependency 'capybara', '~> 2'
s.add_development_dependency 'selenium-webdriver', '~> 2'
s.add_development_dependency 'sinatra', '~> 1'
s.add_development_dependency 'rake', '~> 10'
s.add_development_dependency 'travis-lint', '~> 1'
if RUBY_ENGINE=='ruby' and RUBY_VERSION < '2.1.1'
s.add_development_dependency 'debugger', '~> 1'
end
end