Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 47 lines (40 sloc) 1.243 kb
99f1858 @pwnall Initial commit to pwnalytics_client.
authored
1 require 'rubygems'
2 require 'bundler'
3 begin
4 Bundler.setup(:default, :development)
5 rescue Bundler::BundlerError => e
6 $stderr.puts e.message
d491de2 @pwnall Initial version.
authored
7 $stderr.puts 'Run `bundle install` to install missing gems'
99f1858 @pwnall Initial commit to pwnalytics_client.
authored
8 exit e.status_code
9 end
10 require 'rake'
11
12 require 'jeweler'
13 Jeweler::Tasks.new do |gem|
d491de2 @pwnall Initial version.
authored
14 gem.name = 'pwnalytics_client'
15 gem.homepage = 'http://github.com/pwnall/pwnalytics_client'
16 gem.license = 'MIT'
17 gem.summary = %Q{Client library for pulling data from a Pwnalytics server}
18 gem.description = %Q{Client library for pulling data from a Pwnalytics server}
d77f32b @pwnall Version bump to 0.0.0
authored
19 gem.email = 'victor@costan.us'
d491de2 @pwnall Initial version.
authored
20 gem.authors = ['Victor Costan']
3a171a0 @pwnall Bumped developer deps and updated Rakefile to new Jeweler syntax.
authored
21 # Dependencies in Gemfile.
99f1858 @pwnall Initial commit to pwnalytics_client.
authored
22 end
23 Jeweler::RubygemsDotOrgTasks.new
24
25 require 'rspec/core'
26 require 'rspec/core/rake_task'
27 RSpec::Core::RakeTask.new(:spec) do |spec|
28 spec.pattern = FileList['spec/**/*_spec.rb']
29 end
30
31 RSpec::Core::RakeTask.new(:rcov) do |spec|
32 spec.pattern = 'spec/**/*_spec.rb'
33 spec.rcov = true
34 end
35
36 task :default => :spec
37
3a171a0 @pwnall Bumped developer deps and updated Rakefile to new Jeweler syntax.
authored
38 require 'rdoc/task'
99f1858 @pwnall Initial commit to pwnalytics_client.
authored
39 Rake::RDocTask.new do |rdoc|
d491de2 @pwnall Initial version.
authored
40 version = File.exist?('VERSION') ? File.read('VERSION') : ''
99f1858 @pwnall Initial commit to pwnalytics_client.
authored
41
42 rdoc.rdoc_dir = 'rdoc'
43 rdoc.title = "pwnalytics_client #{version}"
44 rdoc.rdoc_files.include('README*')
45 rdoc.rdoc_files.include('lib/**/*.rb')
46 end
Something went wrong with that request. Please try again.