rankable_graph 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -19,9 +19,8 @@ rdoc
19
19
  pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
- ext/*.bundle
23
- ext/*.o
24
- lib/*.bundle
25
- lib/*.o
26
- **/*/*.gem
27
- **/*/*.log
22
+ ext/**/*.bundle
23
+ ext/**/*.o
24
+ lib
25
+ pkg
26
+ tmp
data/Rakefile CHANGED
@@ -1,46 +1,29 @@
1
- require 'rubygems'
2
- require 'rake'
1
+ spec = Gem::Specification.new do |s|
2
+ s.extensions = FileList["ext/**/extconf.rb"]
3
+ s.name = "rankable_graph"
4
+ s.summary = %Q{A Ruby Pagerank implementation}
5
+ s.description = %Q{A Ruby Pagerank implementation}
6
+ s.email = "dev@cuboxsa.com"
7
+ s.homepage = "http://github.com/cubox/rankable_graph"
8
+ s.authors = ["Daniel Cadenas"]
9
+ s.add_development_dependency "rspec", ">= 1.2.9"
10
+ s.requirements << 'glib2, v2.22.2 or greater'
11
+ s.version = File.read("VERSION")
12
+ s.files = `git ls-files`.split
13
+ end
3
14
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "rankable_graph"
8
- gem.summary = %Q{A Ruby Pagerank implementation}
9
- gem.description = %Q{A Ruby Pagerank implementation}
10
- gem.email = "dev@cuboxsa.com"
11
- gem.homepage = "http://github.com/cubox/rankable_graph"
12
- gem.authors = ["Daniel Cadenas"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9"
14
- gem.extensions = ["ext/extconf.rb"]
15
- gem.requirements << 'glib2, v2.22.2 or greater'
16
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
- end
18
- rescue LoadError
19
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
15
+ require 'rake/extensiontask'
16
+ Rake::GemPackageTask.new(spec) do |pkg|
20
17
  end
21
18
 
19
+ Rake::ExtensionTask.new('rankable_graph', spec)
20
+
22
21
  require 'spec/rake/spectask'
23
22
  Spec::Rake::SpecTask.new(:spec) do |spec|
24
23
  spec.libs << 'lib' << 'spec'
25
24
  spec.spec_files = FileList['spec/**/*_spec.rb']
26
25
  end
27
26
 
28
- Spec::Rake::SpecTask.new(:rcov) do |spec|
29
- spec.libs << 'lib' << 'spec'
30
- spec.pattern = 'spec/**/*_spec.rb'
31
- spec.rcov = true
32
- end
33
-
34
- task :spec => :check_dependencies
27
+ task :spec => :compile
35
28
 
36
29
  task :default => :spec
37
-
38
- require 'rake/rdoctask'
39
- Rake::RDocTask.new do |rdoc|
40
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
41
-
42
- rdoc.rdoc_dir = 'rdoc'
43
- rdoc.title = "rankable_graph #{version}"
44
- rdoc.rdoc_files.include('README*')
45
- rdoc.rdoc_files.include('lib/**/*.rb')
46
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
2
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'ext'))
4
3
  require 'rankable_graph'
5
4
  require 'spec'
6
5
  require 'spec/autorun'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rankable_graph
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Cadenas
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-19 00:00:00 -03:00
18
+ date: 2010-10-14 00:00:00 -02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -39,21 +39,18 @@ email: dev@cuboxsa.com
39
39
  executables: []
40
40
 
41
41
  extensions:
42
- - ext/extconf.rb
43
- extra_rdoc_files:
44
- - LICENSE
45
- - README.rdoc
42
+ - ext/rankable_graph/extconf.rb
43
+ extra_rdoc_files: []
44
+
46
45
  files:
47
- - .document
48
46
  - .gitignore
49
47
  - LICENSE
50
48
  - README.rdoc
51
49
  - Rakefile
52
50
  - VERSION
53
51
  - benchmark.rb
54
- - ext/extconf.rb
55
- - ext/rankable_graph.c
56
- - rankable_graph.gemspec
52
+ - ext/rankable_graph/extconf.rb
53
+ - ext/rankable_graph/rankable_graph.c
57
54
  - spec/rankable_graph_spec.rb
58
55
  - spec/spec.opts
59
56
  - spec/spec_helper.rb
@@ -62,8 +59,8 @@ homepage: http://github.com/cubox/rankable_graph
62
59
  licenses: []
63
60
 
64
61
  post_install_message:
65
- rdoc_options:
66
- - --charset=UTF-8
62
+ rdoc_options: []
63
+
67
64
  require_paths:
68
65
  - lib
69
66
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -91,6 +88,5 @@ rubygems_version: 1.3.7
91
88
  signing_key:
92
89
  specification_version: 3
93
90
  summary: A Ruby Pagerank implementation
94
- test_files:
95
- - spec/rankable_graph_spec.rb
96
- - spec/spec_helper.rb
91
+ test_files: []
92
+
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
@@ -1,59 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{rankable_graph}
8
- s.version = "0.2.1"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Daniel Cadenas"]
12
- s.date = %q{2010-09-19}
13
- s.description = %q{A Ruby Pagerank implementation}
14
- s.email = %q{dev@cuboxsa.com}
15
- s.extensions = ["ext/extconf.rb"]
16
- s.extra_rdoc_files = [
17
- "LICENSE",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- ".gitignore",
23
- "LICENSE",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "benchmark.rb",
28
- "ext/extconf.rb",
29
- "ext/rankable_graph.c",
30
- "rankable_graph.gemspec",
31
- "spec/rankable_graph_spec.rb",
32
- "spec/spec.opts",
33
- "spec/spec_helper.rb"
34
- ]
35
- s.homepage = %q{http://github.com/cubox/rankable_graph}
36
- s.rdoc_options = ["--charset=UTF-8"]
37
- s.require_paths = ["lib"]
38
- s.requirements = ["glib2, v2.22.2 or greater"]
39
- s.rubygems_version = %q{1.3.7}
40
- s.summary = %q{A Ruby Pagerank implementation}
41
- s.test_files = [
42
- "spec/rankable_graph_spec.rb",
43
- "spec/spec_helper.rb"
44
- ]
45
-
46
- if s.respond_to? :specification_version then
47
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
48
- s.specification_version = 3
49
-
50
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
52
- else
53
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
- end
55
- else
56
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
57
- end
58
- end
59
-
File without changes