Sha256: 9ba9390922038b29828cf3357cda074013e5f1f0b158514613f3903330145746

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

# -*-ruby-*-
require 'rubygems'
require 'rake'
require 'right_develop'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
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

require '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

CLEAN.include('pkg')

RightDevelop::CI::RakeTask.new

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
global_session-2.0.3 Rakefile