Sha256: d692734a7d8dc71c6133470938d27e7a7a3812a5a41279215dc441583ac5326f

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

# -*- ruby -*-

$LOAD_PATH << './lib'
require 'rjack-jackson/base'

require 'rubygems'
gem     'rjack-tarpit', '~> 1.3.0'
require 'rjack-tarpit'

include RJack

t = TarPit.new( 'rjack-jackson', Jackson::VERSION, :java_platform )

t.specify do |h|
  h.developer( "David Kellum", "dek-oss@gravitext.com" )
  h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/jackson"
end

modules = %w[ core-asl mapper-asl jaxrs xc ]

t.jars = modules.map { |m| "jackson-#{m}-#{ Jackson::JACKSON_VERSION }.jar" }

t.assembly_version = 1.0

file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]

task :check_pom_deps do
  t.test_line_match( 'pom.xml',
                     %r[<version>#{ Jackson::JACKSON_VERSION }</version>] )
end

task :check_history_version do
  t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
end
task :check_history_date do
  t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
end

task :gem  => [ :check_pom_deps, :check_history_version                      ]
task :tag  => [ :check_pom_deps, :check_history_version, :check_history_date ]
task :push => [                                          :check_history_date ]

t.define_tasks

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rjack-jackson-1.8.5.0-java Rakefile
rjack-jackson-1.8.4.0-java Rakefile
rjack-jackson-1.8.2.0-java Rakefile
rjack-jackson-1.8.1.0-java Rakefile
rjack-jackson-1.8.0.0-java Rakefile