-
Notifications
You must be signed in to change notification settings - Fork 204
/
warbler.gemspec
38 lines (33 loc) · 1.67 KB
/
warbler.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'warbler/version'
Gem::Specification.new do |gem|
gem.name = "warbler"
gem.version = Warbler::VERSION
gem.platform = Gem::Platform::RUBY
gem.homepage = "https://github.com/jruby/warbler"
gem.license = 'MIT'
gem.authors = ["Nick Sieger"]
gem.email = "[email protected]"
gem.summary = "Warbler chirpily constructs .war files of your Rails applications."
gem.description = %q{Warbler is a gem to make a Java jar or war file out of any Ruby,
Rails, or Rack application. Warbler provides a minimal, flexible, Ruby-like way to
bundle up all of your application files for deployment to a Java environment.}
gem.files = `git ls-files`.split("\n").
reject { |file| file =~ /^\./ }. # .gitignore, .github
reject { |file| file =~ /^spec|test\// }. # spec/**/*.spec
reject { |file| file =~ /^integration\// }. # (un-used) *.rake files
reject { |file| file =~ /^rakelib\// } # (un-used) *.rake files
gem.test_files = [] # tests and specs add 700k to the gem, so don't include them
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.require_paths = ["lib"]
gem.rdoc_options = ["--main", "README.rdoc", "-H", "-f", "darkfish"]
gem.required_ruby_version = ">= 2.5"
gem.add_runtime_dependency 'rake', ['>= 13.0.3']
gem.add_runtime_dependency 'rexml', '~> 3.0'
gem.add_runtime_dependency 'jruby-jars', ['>= 9.0.0']
gem.add_runtime_dependency 'jruby-rack', ['>= 1.1.1', '< 1.3']
gem.add_runtime_dependency 'rubyzip', '>= 1.0.0'
gem.add_development_dependency 'jbundler', '~> 0.9'
gem.add_development_dependency 'rspec', '~> 3.0'
end