-
Notifications
You must be signed in to change notification settings - Fork 0
/
tourist.gemspec
43 lines (35 loc) · 1.18 KB
/
tourist.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
# -*- encoding: utf-8 -*-
$:.push('lib')
require "tourist/version"
Gem::Specification.new do |s|
s.name = "tourist"
s.version = Tourist::VERSION.dup
s.date = "2012-05-13"
s.summary = "Acceptance test journey automation framework"
s.email = "[email protected]"
s.homepage = "http://todo.project.com/"
s.authors = ['Me Todo']
s.description = <<-EOF
Long description
EOF
dependencies = [
# Examples:
# [:runtime, "rack", "~> 1.1"],
# [:development, "rspec", "~> 2.1"],
]
s.files = Dir['**/*']
s.test_files = Dir['test/**/*'] + Dir['spec/**/*']
s.executables = Dir['bin/*'].map { |f| File.basename(f) }
s.require_paths = ["lib"]
## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "1.8.10"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.specification_version = 3 if s.respond_to? :specification_version
dependencies.each do |type, name, version|
if s.respond_to?("add_#{type}_dependency")
s.send("add_#{type}_dependency", name, version)
else
s.add_dependency(name, version)
end
end
end