-
Notifications
You must be signed in to change notification settings - Fork 0
/
iron-dsl.gemspec
42 lines (36 loc) · 1.16 KB
/
iron-dsl.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
Gem::Specification.new do |s|
# Project attributes
s.name = "iron-dsl"
s.summary = "Powerful and concise construction helpers for Domain Specific Languages"
s.description = "Provides the DslProxy and DslBuilder classes plus DSL-friendly accessor and flag support"
s.homepage = "https://github.com/irongaze/iron-dsl"
# Post-install message
# s.post_install_message = "Thanks for installing!"
# Additional dependencies
# s.add_dependency "another", "~> 1.2"
# Include all gem files that should be packaged
s.files = Dir[
"lib/**/*",
"bin/*",
"spec/**/*",
"LICENSE",
"*.txt",
"*.rdoc",
".rspec"
]
# Prune out files we don't want to include
s.files.reject! do |p|
['.tmproj'].detect {|test| p.include?(test)}
end
# Meta-info
s.version = File.read('Version.txt').strip
s.authors = ["Rob Morris"]
s.email = ["[email protected]"]
# Boilerplate
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.executables = Dir["bin/*"].collect {|p| File.basename(p)}
s.add_development_dependency "rspec", "~> 2.6"
s.required_ruby_version = '>= 1.9.2'
s.license = 'MIT'
end