agraph 0.1.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +137 -0
- data/Rakefile +48 -0
- data/lib/allegro_graph.rb +5 -0
- data/lib/allegro_graph/catalog.rb +39 -0
- data/lib/allegro_graph/federation.rb +72 -0
- data/lib/allegro_graph/proxy/geo.rb +117 -0
- data/lib/allegro_graph/proxy/mapping.rb +34 -0
- data/lib/allegro_graph/proxy/query.rb +37 -0
- data/lib/allegro_graph/proxy/statements.rb +59 -0
- data/lib/allegro_graph/repository.rb +89 -0
- data/lib/allegro_graph/server.rb +68 -0
- data/lib/allegro_graph/session.rb +64 -0
- data/lib/allegro_graph/transport.rb +169 -0
- data/lib/code_smells.reek +3 -0
- data/spec/fake_transport.yml +287 -0
- data/spec/fake_transport_helper.rb +38 -0
- data/spec/integration/basic_spec.rb +364 -0
- data/spec/lib/allegro_graph/catalog_spec.rb +85 -0
- data/spec/lib/allegro_graph/federation_spec.rb +113 -0
- data/spec/lib/allegro_graph/proxy/geo_spec.rb +89 -0
- data/spec/lib/allegro_graph/proxy/mapping_spec.rb +39 -0
- data/spec/lib/allegro_graph/proxy/query_spec.rb +62 -0
- data/spec/lib/allegro_graph/proxy/statements_spec.rb +58 -0
- data/spec/lib/allegro_graph/repository_spec.rb +224 -0
- data/spec/lib/allegro_graph/server_spec.rb +75 -0
- data/spec/lib/allegro_graph/session_spec.rb +76 -0
- data/spec/lib/allegro_graph/transport_spec.rb +116 -0
- data/spec/spec_helper.rb +26 -0
- metadata +92 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
gem 'rspec', '1.3.0'
|
3
|
+
require 'spec'
|
4
|
+
|
5
|
+
require File.join(File.dirname(__FILE__), "fake_transport_helper")
|
6
|
+
|
7
|
+
FakeTransport.enable!
|
8
|
+
Spec::Runner.configure do |configuration|
|
9
|
+
configuration.before :each do
|
10
|
+
FakeTransport.fake!
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def use_real_transport!
|
15
|
+
class_eval do
|
16
|
+
|
17
|
+
before :all do
|
18
|
+
FakeTransport.disable!
|
19
|
+
end
|
20
|
+
|
21
|
+
after :all do
|
22
|
+
FakeTransport.enable!
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: agraph
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- beta1
|
10
|
+
version: 0.1.0.beta1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Philipp Bruell
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-03-29 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: The gem provides a client for the AllegroGraph 4.x RDF graph database. Features like searching geo-spatial data, type mapping and transactions are supported.
|
23
|
+
email: b.phifty@gmail.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files:
|
29
|
+
- README.rdoc
|
30
|
+
files:
|
31
|
+
- README.rdoc
|
32
|
+
- Rakefile
|
33
|
+
- lib/allegro_graph/federation.rb
|
34
|
+
- lib/allegro_graph/catalog.rb
|
35
|
+
- lib/allegro_graph/proxy/geo.rb
|
36
|
+
- lib/allegro_graph/proxy/mapping.rb
|
37
|
+
- lib/allegro_graph/proxy/query.rb
|
38
|
+
- lib/allegro_graph/proxy/statements.rb
|
39
|
+
- lib/allegro_graph/session.rb
|
40
|
+
- lib/allegro_graph/server.rb
|
41
|
+
- lib/allegro_graph/repository.rb
|
42
|
+
- lib/allegro_graph/transport.rb
|
43
|
+
- lib/allegro_graph.rb
|
44
|
+
- lib/code_smells.reek
|
45
|
+
- spec/spec_helper.rb
|
46
|
+
- spec/lib/allegro_graph/server_spec.rb
|
47
|
+
- spec/lib/allegro_graph/transport_spec.rb
|
48
|
+
- spec/lib/allegro_graph/proxy/query_spec.rb
|
49
|
+
- spec/lib/allegro_graph/proxy/statements_spec.rb
|
50
|
+
- spec/lib/allegro_graph/proxy/mapping_spec.rb
|
51
|
+
- spec/lib/allegro_graph/proxy/geo_spec.rb
|
52
|
+
- spec/lib/allegro_graph/catalog_spec.rb
|
53
|
+
- spec/lib/allegro_graph/session_spec.rb
|
54
|
+
- spec/lib/allegro_graph/repository_spec.rb
|
55
|
+
- spec/lib/allegro_graph/federation_spec.rb
|
56
|
+
- spec/fake_transport_helper.rb
|
57
|
+
- spec/integration/basic_spec.rb
|
58
|
+
- spec/fake_transport.yml
|
59
|
+
has_rdoc: true
|
60
|
+
homepage: http://github.com/phifty/agraph
|
61
|
+
licenses: []
|
62
|
+
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 3
|
82
|
+
- 1
|
83
|
+
version: 1.3.1
|
84
|
+
requirements: []
|
85
|
+
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 1.3.6
|
88
|
+
signing_key:
|
89
|
+
specification_version: 3
|
90
|
+
summary: Client for the AllegroGraph 4.x graph database.
|
91
|
+
test_files: []
|
92
|
+
|