Sha256: 81e352d459e647a5863c3dd022b6f42bd3337ab30a53ea6904070c2a43bca1dc

Contents?: true

Size: 665 Bytes

Versions: 31

Compression:

Stored size: 665 Bytes

Contents

# NOTE: shared Rakefile used for jdbc-xxx gems

require 'bundler/gem_helper'

name = Dir["*.gemspec"].first.sub('.gemspec', '')
gem_helper = Bundler::GemHelper.new(Dir.pwd, name)
def gem_helper.version_tag
  "#{name}-#{version}" # override "v#{version}"
end

version = gem_helper.send(:version)
version_tag = gem_helper.version_tag
desc "Build #{name}-#{version}.gem into the pkg directory"
task('build') { gem_helper.build_gem }

desc "Build and install #{name}-#{version}.gem into system gems"
task('install') { gem_helper.install_gem }

desc "Create tag #{version_tag} build and push #{name}-#{version}.gem to Rubygems"
task('release') { gem_helper.release_gem }

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
activerecord-jdbc-adapter-1.3.9 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.8 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.7 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.6 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.5 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.4 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.3 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.2 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.1 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.0 Rakefile.jdbc
activerecord-jdbc-adapter-1.3.0.rc1 Rakefile.jdbc