forked from teamcapybara/xpath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxpath.gemspec
36 lines (28 loc) · 1.02 KB
/
xpath.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('lib', File.dirname(__FILE__))
$:.unshift lib unless $:.include?(lib)
require 'xpath/version'
Gem::Specification.new do |s|
s.name = "xpath"
s.rubyforge_project = "xpath"
s.version = XPath::VERSION
s.authors = ["Jonas Nicklas"]
s.email = ["[email protected]"]
s.description = "XPath is a Ruby DSL for generating XPath expressions"
s.license = "MIT"
s.files = Dir.glob("{lib,spec}/**/*") + %w(README.md)
s.extra_rdoc_files = ["README.md"]
s.homepage = "http://github.com/jnicklas/xpath"
s.rdoc_options = ["--main", "README.md"]
s.require_paths = ["lib"]
s.rubygems_version = "1.3.6"
s.summary = "Generate XPath expressions from Ruby"
s.add_dependency("nokogiri", [">= 1.3"])
s.add_development_dependency("rspec", ["~> 2.0"])
s.add_development_dependency("yard", [">= 0.5.8"])
s.add_development_dependency("rake")
if File.exist?("gem-private_key.pem")
s.signing_key = 'gem-private_key.pem'
end
s.cert_chain = ['gem-public_cert.pem']
end