Sha256: 39ec2155e635e684d73ca35dc8e3c37feed209eb9e99fc3c1a623dae388b900c

Contents?: true

Size: 1001 Bytes

Versions: 8

Compression:

Stored size: 1001 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rake'
require 'rake/testtask'
require 'rdoc/task'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

task :default => :test

Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "oci8_simple #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc "Build the gem from the .gemspec file"
task :build do
  system "gem build oci8_simple.gemspec"
end

desc "Release the gem to rubygems.org"
task :release => :build do
  version = File.read(File.expand_path("../VERSION", __FILE__)).strip
  ourgem = "oci8_simple-#{version}.gem"
  system "gem push #{ourgem}"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
oci8_simple-1.0.1 Rakefile
oci8_simple-1.0.0 Rakefile
oci8_simple-0.9.1 Rakefile
oci8_simple-0.9.0 Rakefile
oci8_simple-0.8.5 Rakefile
oci8_simple-0.8.4 Rakefile
oci8_simple-0.8.3 Rakefile
oci8_simple-0.8.2 Rakefile