-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtwo-step.gemspec
More file actions
78 lines (69 loc) · 2.38 KB
/
Copy pathtwo-step.gemspec
File metadata and controls
78 lines (69 loc) · 2.38 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Gem::Specification.new do |spec|
spec.name = "two-step"
spec.version = "1.0"
author_list = {
"Judson Lester" => "judson@lrdesign.com",
"Evan Dorn" => "evan@lrdesign.com"
}
spec.authors = author_list.keys
spec.email = spec.authors.map {|name| author_list[name]}
spec.summary = "I want steps in RSpec 2.x"
spec.description = <<-EOD
I don't like Cucumber. I don't need plain text stories. My clients either
read code or don't read any test documents, so Cucumber is mostly useless to me.
But often, especially in full integration tests, it would be nice to have
steps in a test.
EOD
spec.rubyforge_project= spec.name.downcase
spec.homepage = "https://github.com/LRDesign/two-step"
spec.required_rubygems_version = Gem::Requirement.new(">= 0") if spec.respond_to? :required_rubygems_version=
# Do this: d$@"
spec.files = %w[
lib/two-step.rb
lib/two-step/stepwise.rb
lib/two-step/duckpunch/example-group.rb
lib/two-step/duckpunch/example.rb
lib/two-step/duckpunch/object-extensions.rb
doc/README
doc/Specifications
spec/example_group_spec.rb
spec_help/spec_helper.rb
spec_help/gem_test_suite.rb
spec_help/rspec-sandbox.rb
spec_help/ungemmer.rb
spec_help/file-sandbox.rb
]
spec.test_file = "spec_help/gem_test_suite.rb"
spec.licenses = ["MIT"]
spec.require_paths = %w[lib/]
spec.rubygems_version = "1.3.5"
dev_deps = [
["corundum", ">= 0.4.0"],
["metric_fu", "~> 4.11.1"],
]
if spec.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
spec.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
dev_deps.each do |gem, versions|
spec.add_development_dependency(gem, versions)
end
else
dev_deps.each do |gem, versions|
spec.add_dependency(gem, versions)
end
end
else
dev_deps.each do |gem, versions|
spec.add_dependency(gem, versions)
end
end
spec.has_rdoc = true
spec.extra_rdoc_files = Dir.glob("doc/**/*")
spec.rdoc_options = %w{--inline-source }
spec.rdoc_options += %w{--main doc/README }
spec.rdoc_options += ["--title", "#{spec.name}-#{spec.version} RDoc"]
spec.add_dependency("rspec", ">= 2.6", "< 3")
#spec.post_install_message = "Another tidy package brought to you by Judson
#Lester of Logical Reality Design"
end