forked from sshaw/jaxb2ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jaxb2ruby.gemspec
33 lines (28 loc) · 1.21 KB
/
jaxb2ruby.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
$:.unshift File.expand_path("../lib/", __FILE__)
require "date"
require "jaxb2ruby/version"
Gem::Specification.new do |s|
s.name = "jaxb2ruby"
s.version = JAXB2Ruby::VERSION
s.date = Date.today
s.platform = "java"
s.required_ruby_version = "< 2.0"
s.summary = "Generate pure Ruby classes from an XML schema using JAXB and JRuby"
s.description =<<-DESC
jaxb2ruby generates Java XML mappings via xjc, reads the resulting annotations, and passes the
extracted info to an ERB template. This allows one to automatically map an XML schema to pure
Ruby classes (i.e. classes that don't require JRuby) using the mapping framework of their choice.
Several templates are included: ROXML, HappyMapper and generic Ruby class (PORO).
DESC
s.authors = ["Skye Shaw"]
s.email = "[email protected]"
s.executables << "jaxb2ruby"
s.test_files = Dir["spec/**/*.rb"]
s.rdoc_options = %w[-m README.rd]
s.files = Dir["lib/**/*.{rb,erb,xjb}"] + s.test_files
s.homepage = "http://github.com/sshaw/jaxb2ruby"
s.license = "MIT"
s.add_dependency "activesupport", ">= 3.2"
s.add_dependency "cocaine", "~> 0.5.4"
s.add_development_dependency "rake", "~> 10.0"
end