-
Notifications
You must be signed in to change notification settings - Fork 5
/
rubynew.gemspec
45 lines (41 loc) · 1.83 KB
/
rubynew.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
44
45
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rubynew/version'
Gem::Specification.new do |spec|
spec.name = "rubynew"
spec.version = Rubynew::VERSION
spec.authors = ["Brian Hogan"]
spec.email = ["[email protected]"]
spec.summary = %q{Generate new Ruby projects with tests.}
spec.description = %q{Ruby project generator. Creates bin/, lib/ and test/ folders with a module and a Rakefile so you can quickly develop an app with tests.}
spec.homepage = "http://github.com/napcs/rubynew"
spec.license = "MIT"
spec.files = [
"bin/rubynew",
"lib/rubynew.rb",
"lib/rubynew/version.rb",
"lib/rubynew/project.rb",
"template/Rakefile",
"template/bin/app",
"template/lib/app/version.rb",
"template/lib/app.rb",
"template/test/app_test.rb",
"template/test/test_helper.rb",
"template/Gemfile",
"template/README.md",
"template/LICENSE",
"test/rubynew_test.rb",
"Rakefile",
"Gemfile",
"README.md",
"rubynew.gemspec",
"LICENSE.txt"
]
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
end