Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (26 sloc) 0.853 kb
546bd3f @dcadenas Remove deprecated task
dcadenas authored
1 version = File.read("VERSION")
b248752 @dcadenas Use rake-compiler and remove jeweler
dcadenas authored
2 spec = Gem::Specification.new do |s|
3 s.extensions = FileList["ext/**/extconf.rb"]
4 s.name = "rankable_graph"
5 s.summary = %Q{A Ruby Pagerank implementation}
6 s.description = %Q{A Ruby Pagerank implementation}
7 s.email = "dev@cuboxsa.com"
8 s.homepage = "http://github.com/cubox/rankable_graph"
9 s.authors = ["Daniel Cadenas"]
10 s.add_development_dependency "rspec", ">= 1.2.9"
11 s.requirements << 'glib2, v2.22.2 or greater'
546bd3f @dcadenas Remove deprecated task
dcadenas authored
12 s.version = version
540002b @dcadenas Fix bug and bump to 0.2.3
dcadenas authored
13 s.files = `git ls-files`.split("\n")
b248752 @dcadenas Use rake-compiler and remove jeweler
dcadenas authored
14 end
e3e0f0e @dcadenas Version bump to 0.1.0
dcadenas authored
15
540002b @dcadenas Fix bug and bump to 0.2.3
dcadenas authored
16 require 'rubygems/package_task'
17 Gem::PackageTask.new(spec) do |pkg|
18 pkg.need_zip = false
19 pkg.need_tar = false
e3e0f0e @dcadenas Version bump to 0.1.0
dcadenas authored
20 end
21
540002b @dcadenas Fix bug and bump to 0.2.3
dcadenas authored
22 require 'rake/extensiontask'
b248752 @dcadenas Use rake-compiler and remove jeweler
dcadenas authored
23 Rake::ExtensionTask.new('rankable_graph', spec)
24
a9c739d @dcadenas Fix tests for latest rspec version
dcadenas authored
25 require 'rspec/core/rake_task'
26 RSpec::Core::RakeTask.new(:spec) do |spec|
e3e0f0e @dcadenas Version bump to 0.1.0
dcadenas authored
27 end
28
b248752 @dcadenas Use rake-compiler and remove jeweler
dcadenas authored
29 task :spec => :compile
e3e0f0e @dcadenas Version bump to 0.1.0
dcadenas authored
30
31 task :default => :spec
540002b @dcadenas Fix bug and bump to 0.2.3
dcadenas authored
32
Something went wrong with that request. Please try again.