-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharst.gemspec
executable file
·25 lines (22 loc) · 1.13 KB
/
arst.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
require "pathname"
Gem::Specification.new do |s|
# Variables
s.author = "Ryan Scott Lewis"
s.email = "[email protected]"
s.summary = "Abstract Ruby Syntax Tree (ARST) is a high-level language syntax denoting the object domain of a Ruby project."
s.license = "MIT"
# Dependencies
# s.add_dependency 'active_support', '~> 3.0.0'
s.add_dependency "parslet", "~> 1.6.1"
s.add_dependency "rake", "~> 10.0.0" # TODO: What should this depend on? What version of Rake DOESN'T have TaskLib? Should the development version of Rake be different?
s.add_dependency "version", "~> 1.0.0"
# s.add_dependency 'polyglot', '~> 0.3.0'
# Pragmatically set variables
s.homepage = "http://github.com/RyanScottLewis/#{s.name}"
s.version = Pathname.glob("VERSION*").first.read rescue "0.0.0"
s.description = s.summary
s.name = Pathname.new(__FILE__).basename(".gemspec").to_s
s.require_paths = ["lib"]
s.files = Dir["{{Rake,Gem}file{.lock,},README*,VERSION,LICENSE,*.gemspec,{lib,bin,examples,spec,test}/**/*}"]
s.test_files = Dir["{examples,spec,test}/**/*"]
end