Sha256: 78c0084e66951909bc5f1cda1cd56c469299f712f7259deafbdb170f1b6bf37c

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 KB

Contents

# -*- ruby -*-
#--
# Copyright (C) 2008-2009 David Kellum
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License.  You
# may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.  See the License for the specific language governing
# permissions and limitations under the License.
#++

$LOAD_PATH << './lib'
require 'rjack-jetty-jsp/base'

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

include RJack

t = TarPit.new( 'rjack-jetty-jsp',
                Jetty::Jsp::VERSION,
                :jars_from_assembly, :java_platform )

t.specify do |h|
  h.developer( "David Kellum", "dek-oss@gravitext.com" )
  h.extra_deps << [ 'rjack-jetty', "~> #{Jetty::Jsp::JETTY_VERSION}.0" ]
  h.rubyforge_name  = 'rjack'
  h.remote_rdoc_dir = 'jetty-jsp'
end

t.assembly_version = 1.0

task :check_pom_deps do
  t.test_line_match( 'pom.xml',
                     %r[<version>#{ Jetty::Jsp::JETTY_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

2 entries across 2 versions & 1 rubygems

Version Path
rjack-jetty-jsp-6.1.23.2.1.0-java Rakefile
rjack-jetty-jsp-6.1.22.2.1.1-java Rakefile