Sha256: 0e7a3d63da8d0b496bde29e35e17b40285103709f7674f02f65ba6ba21b86e0b

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

lib_dir = File.expand_path(File.join(File.dirname(__FILE__), "lib"))
$:.unshift(lib_dir)
$:.uniq!

require 'rubygems'
require 'rake'

begin
  require 'spec/rake/spectask'
rescue LoadError
  STDERR.puts "Please install rspec:"
  STDERR.puts "sudo gem install rspec"
  exit(1)
end

require File.join(File.dirname(__FILE__), 'lib/signet', 'version')

PKG_DISPLAY_NAME   = 'Signet'
PKG_NAME           = PKG_DISPLAY_NAME.downcase
PKG_VERSION        = Signet::VERSION::STRING
PKG_FILE_NAME      = "#{PKG_NAME}-#{PKG_VERSION}"

RELEASE_NAME       = "REL #{PKG_VERSION}"

PKG_AUTHOR         = "Bob Aman"
PKG_AUTHOR_EMAIL   = "bobaman@google.com"
PKG_HOMEPAGE       = "http://code.google.com/p/oauth-signet/"
PKG_SUMMARY        = "Package Summary"
PKG_DESCRIPTION    = <<-TEXT
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
TEXT

PKG_FILES = FileList[
    "lib/**/*", "spec/**/*", "vendor/**/*",
    "tasks/**/*", "website/**/*",
    "[A-Z]*", "Rakefile"
].exclude(/database\.yml/).exclude(/[_\.]git$/)

RCOV_ENABLED = !!(RUBY_PLATFORM != "java" && RUBY_VERSION =~ /^1\.8/)
if RCOV_ENABLED
  task :default => "spec:verify"
else
  task :default => "spec"
end

WINDOWS = (RUBY_PLATFORM =~ /mswin|win32|mingw|bccwin|cygwin/) rescue false
SUDO = WINDOWS ? '' : ('sudo' unless ENV['SUDOLESS'])

Dir['tasks/**/*.rake'].each { |rake| load rake }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
signet-0.3.4 Rakefile
signet-0.3.3 Rakefile