Sha256: 7c712fcc7c2bee302b74fd454c20f88cd6d51974ea88589108771e81c59537b9

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

#! /usr/bin/env jruby
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'jrjackson/build_info'

Gem::Specification.new do |s|
  s.name        = 'jrjackson'
  s.version     = JrJackson::BuildInfo.version
  s.date        = JrJackson::BuildInfo.release_date
  # need java platform for jar-dependencies to work
  s.platform    = 'java'
  s.authors     = ['Guy Boertje']
  s.email       = ['guyboertje@gmail.com']
  s.homepage    = "http://github.com/guyboertje/jrjackson"
  s.summary     = %q{A JRuby wrapper for the java jackson json processor jar}
  s.description = %q{A mostly native JRuby wrapper for the java jackson json processor jar}
  s.license     = 'Apache License 2.0'

  s.add_development_dependency 'bundler', '~> 1.10'
  s.add_development_dependency 'jar-dependencies', '< 2.0', '>= 0.3.2'

  jackson_version = JrJackson::BuildInfo.jackson_version
  s.requirements << "jar com.fasterxml.jackson.core:jackson-core, #{jackson_version}"
  s.requirements << "jar com.fasterxml.jackson.core:jackson-annotations, #{jackson_version}"
  s.requirements << "jar com.fasterxml.jackson.core:jackson-databind, #{jackson_version}"
  s.requirements << "jar com.fasterxml.jackson.module:jackson-module-afterburner, #{jackson_version}"

  s.files = JrJackson::BuildInfo.files

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jrjackson-0.4.4-java jrjackson.gemspec
jrjackson-0.4.3-java jrjackson.gemspec