Sha256: 0102c399877ef944439c9172b48d6046b4ce34df26ddf61cf4728f9800ccd974

Contents?: true

Size: 1.95 KB

Versions: 16

Compression:

Stored size: 1.95 KB

Contents

require 'rubygems'
require 'bundler'
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
require 'rake'

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 = "threetaps-client"
  gem.homepage = "https://github.com/3taps/3taps-Ruby-Client"
  gem.license = "MIT"
  gem.summary = %Q{A Ruby gem for accessing the 3taps API}
  gem.description = %Q{A Ruby gem for accessing the 3taps API. See more at http://developers.3taps.net}
  gem.email = "developers@3taps.com"
  gem.authors = ["3taps.com"]
  # Include your dependencies below. Runtime dependencies are required when using your gem,
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
  #  gem.add_runtime_dependency 'jabber4r', '> 0.1'
  #  gem.add_development_dependency 'rspec', '> 1.2.3'
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ['--color']
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

# Run the unit tests
desc "Run all unit tests"

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

require 'rcov/rcovtask'
Rcov::RcovTask.new(:rcovtest) do |test|
  test.libs << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 Rakefile
threetaps-client-1.0.13 Rakefile
threetaps-client-1.0.12 Rakefile
threetaps-client-1.0.11 Rakefile
threetaps-client-1.0.10 Rakefile
threetaps-client-1.0.9 Rakefile
threetaps-client-1.0.8 Rakefile
threetaps-client-1.0.7 Rakefile
threetaps-client-1.0.6 Rakefile
threetaps-client-1.0.5 Rakefile
threetaps-client-1.0.4 Rakefile
threetaps-client-1.0.3 Rakefile
threetaps-client-1.0.2 Rakefile
threetaps-client-1.0.1 Rakefile
threetaps-client-1.0.0 Rakefile
threetaps-client-0.5.1 Rakefile