graphshaper 0.0.1 → 0.0.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/README.md +3 -1
- data/graphshaper.gemspec +3 -3
- data/lib/graphshaper/version.rb +1 -1
- metadata +7 -8
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Graphshaper
|
2
2
|
|
3
|
-
Graphshaper can generate realistic, scale-free graphs of any size.
|
3
|
+
Graphshaper can generate realistic, scale-free graphs of any size.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -22,6 +22,8 @@ The commandline tool expects one argument: The number of nodes you want your gen
|
|
22
22
|
|
23
23
|
graphshaper 50
|
24
24
|
|
25
|
+
You can also use the `Graphshaper::UndirectedGraph` class in your Rubycode. To find examples on how to do that please refer to the specs.
|
26
|
+
|
25
27
|
## Contributing
|
26
28
|
|
27
29
|
1. Fork it
|
data/graphshaper.gemspec
CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/graphshaper/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Lucas Dohmen"]
|
6
6
|
gem.email = ["me@moonglum.net"]
|
7
|
-
gem.description = %q{
|
8
|
-
gem.summary = %q{Graphshaper can generate realistic, scale-free graphs of any size.
|
7
|
+
gem.description = %q{Generate realistic graphs}
|
8
|
+
gem.summary = %q{Graphshaper can generate realistic, scale-free graphs of any size.}
|
9
9
|
gem.homepage = "http://github.com/moonglum/graphshaper"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Graphshaper::VERSION
|
17
17
|
|
18
|
-
gem.add_development_dependency 'rspec'
|
18
|
+
gem.add_development_dependency 'rspec', "~> 2.9.0"
|
19
19
|
end
|
data/lib/graphshaper/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphshaper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,16 +13,16 @@ date: 2012-04-03 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70183947411400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.9.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
description:
|
24
|
+
version_requirements: *70183947411400
|
25
|
+
description: Generate realistic graphs
|
26
26
|
email:
|
27
27
|
- me@moonglum.net
|
28
28
|
executables:
|
@@ -65,8 +65,7 @@ rubyforge_project:
|
|
65
65
|
rubygems_version: 1.8.6
|
66
66
|
signing_key:
|
67
67
|
specification_version: 3
|
68
|
-
summary: Graphshaper can generate realistic, scale-free graphs of any size.
|
69
|
-
graph can then be saved into different kinds of databases.
|
68
|
+
summary: Graphshaper can generate realistic, scale-free graphs of any size.
|
70
69
|
test_files:
|
71
70
|
- spec/spec_helper.rb
|
72
71
|
- spec/undirected_graph_spec.rb
|