Sha256: 71a84c40dcc4fdc1ed34a48d686c052efb6568855a10d754453baf1f2b840261

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

# -*-ruby-*-
require 'rubygems'
require 'rake'
require 'right_develop'
require 'right_support'
require 'spec/rake/spectask'
require 'rubygems/package_task'
require 'rake/clean'
require 'cucumber/rake/task'

task :default => [:spec, :cucumber]

desc "Run unit tests"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = Dir['**/*_spec.rb']
  t.spec_opts = lambda do
    IO.readlines(File.join(File.dirname(__FILE__), 'spec', 'spec.opts')).map {|l| l.chomp.split " "}.flatten
  end
end

desc "Run functional tests"
Cucumber::Rake::Task.new do |t|
  t.cucumber_opts = %w{--tags ~@slow --color --format pretty}
end

if require_succeeds? 'jeweler'
  Jeweler::Tasks.new do |gem|
    # gem is a Gem::Specification; see http://docs.rubygems.org/read/chapter/20 for more options
    gem.name = "global_session"
    gem.homepage = "https://github.com/rightscale/global_session"
    gem.license = "MIT"
    gem.summary = %Q{Secure single-domain session sharing plugin for Rack and Rails.}
    gem.description = %Q{This Rack middleware allows several web apps in an authentication domain to share session state, facilitating single sign-on in a distributed web app. It only provides session sharing and does not concern itself with authentication or replication of the user database.}
    gem.email = "support@rightscale.com"
    gem.authors = ['Tony Spataro']
    gem.files.exclude 'Gemfile*'
    gem.files.exclude 'features/**/*'
    gem.files.exclude 'fixtures/**/*'
    gem.files.exclude 'features/**/*'
    gem.files.exclude 'spec/**/*'
  end
  Jeweler::RubygemsDotOrgTasks.new
end

CLEAN.include('pkg')

RightDevelop::CI::RakeTask.new

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
global_session-3.2.1 Rakefile
global_session-3.2.0 Rakefile
global_session-3.1.1 Rakefile
global_session-3.1.0 Rakefile