agraph 0.1.1 → 0.1.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.
Files changed (4) hide show
  1. data/README.rdoc +6 -7
  2. data/Rakefile +9 -9
  3. data/spec/spec_helper.rb +3 -3
  4. metadata +33 -31
@@ -1,4 +1,3 @@
1
-
2
1
  = Ruby client for the AllegroGraph RDF graph database
3
2
 
4
3
  The agraph gem provides a client for the RESTful interface of AllegroGraph RDF graph database version 4.x. This
@@ -92,12 +91,12 @@ To find statements by thier assigned coordinates, the following methods are prov
92
91
 
93
92
  The previously create statement will be returned by
94
93
 
95
- repository.geometric.find_inside_box :type => cartesian_type,
96
- :predicate => "<a_predicate>",
97
- :x_min => 10,
98
- :y_min => 10,
99
- :x_max => 30,
100
- :y_max => 30
94
+ repository.statements.find_inside_box :type => cartesian_type,
95
+ :predicate => "<a_predicate>",
96
+ :x_min => 10,
97
+ :y_min => 10,
98
+ :x_max => 30,
99
+ :y_max => 30
101
100
 
102
101
  == Transactions
103
102
 
data/Rakefile CHANGED
@@ -1,16 +1,16 @@
1
1
  require 'rubygems'
2
- gem 'rspec'
3
- require 'spec'
2
+ gem 'rspec', '>= 2'
3
+ require 'rspec'
4
4
  require "rake/rdoctask"
5
5
  require 'rake/gempackagetask'
6
- require 'spec/rake/spectask'
6
+ require 'rspec/core/rake_task'
7
7
 
8
8
  task :default => :spec
9
9
 
10
10
  specification = Gem::Specification.new do |specification|
11
11
  specification.name = "agraph"
12
- specification.version = "0.1.1"
13
- specification.date = "2010-07-05"
12
+ specification.version = "0.1.2"
13
+ specification.date = "2010-11-17"
14
14
  specification.email = "b.phifty@gmail.com"
15
15
  specification.homepage = "http://github.com/phifty/agraph"
16
16
  specification.summary = "Client for the AllegroGraph 4.x graph database."
@@ -35,15 +35,15 @@ Rake::RDocTask.new do |rdoc|
35
35
  end
36
36
 
37
37
  desc "Run all specs in spec directory"
38
- Spec::Rake::SpecTask.new do |task|
39
- task.spec_files = FileList["spec/lib/**/*_spec.rb"]
38
+ RSpec::Core::RakeTask.new do |task|
39
+ task.pattern = "spec/lib/**/*_spec.rb"
40
40
  end
41
41
 
42
42
  namespace :spec do
43
43
 
44
44
  desc "Run all integration specs in spec/integration directory"
45
- Spec::Rake::SpecTask.new(:integration) do |task|
46
- task.spec_files = FileList["spec/integration/**/*_spec.rb"]
45
+ RSpec::Core::RakeTask.new(:integration) do |task|
46
+ task.pattern = "spec/integration/**/*_spec.rb"
47
47
  end
48
48
 
49
49
  end
@@ -1,12 +1,12 @@
1
1
  require 'rubygems'
2
- gem 'rspec', '1.3.0'
3
- require 'spec'
2
+ gem 'rspec', '>= 2'
3
+ require 'rspec'
4
4
 
5
5
  require File.join(File.dirname(__FILE__), "..", "lib", "allegro_graph")
6
6
  require File.join(File.dirname(__FILE__), "fake_transport_helper")
7
7
 
8
8
  FakeTransport.enable!
9
- Spec::Runner.configure do |configuration|
9
+ RSpec.configure do |configuration|
10
10
  configuration.before :each do
11
11
  FakeTransport.fake!
12
12
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Philipp Bruell
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-05 00:00:00 +02:00
17
+ date: 2010-11-17 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -29,44 +29,44 @@ extra_rdoc_files:
29
29
  files:
30
30
  - README.rdoc
31
31
  - Rakefile
32
- - lib/allegro_graph/utility.rb
32
+ - lib/allegro_graph.rb
33
+ - lib/agraph.rb
34
+ - lib/code_smells.reek
35
+ - lib/allegro_graph/server.rb
33
36
  - lib/allegro_graph/catalog.rb
37
+ - lib/allegro_graph/resource.rb
38
+ - lib/allegro_graph/utility.rb
39
+ - lib/allegro_graph/extended_transport.rb
40
+ - lib/allegro_graph/utility/parameter_mapper.rb
41
+ - lib/allegro_graph/transport.rb
42
+ - lib/allegro_graph/session.rb
34
43
  - lib/allegro_graph/proxy.rb
35
- - lib/allegro_graph/proxy/geometric.rb
36
- - lib/allegro_graph/proxy/mapping.rb
37
44
  - lib/allegro_graph/proxy/query.rb
45
+ - lib/allegro_graph/proxy/mapping.rb
38
46
  - lib/allegro_graph/proxy/statements.rb
39
- - lib/allegro_graph/session.rb
40
- - lib/allegro_graph/server.rb
41
- - lib/allegro_graph/extended_transport.rb
47
+ - lib/allegro_graph/proxy/geometric.rb
42
48
  - lib/allegro_graph/repository.rb
43
- - lib/allegro_graph/transport.rb
44
- - lib/allegro_graph/utility/parameter_mapper.rb
45
- - lib/allegro_graph/resource.rb
46
- - lib/allegro_graph.rb
47
- - lib/agraph.rb
48
- - lib/code_smells.reek
49
- - spec/spec_helper.rb
50
- - spec/lib/allegro_graph/server_spec.rb
49
+ - spec/integration/mapping_spec.rb
50
+ - spec/integration/query_spec.rb
51
+ - spec/integration/repository_spec.rb
52
+ - spec/integration/transactions_spec.rb
53
+ - spec/integration/geo_spatial_spec.rb
54
+ - spec/integration/statements_spec.rb
55
+ - spec/integration/server_spec.rb
56
+ - spec/lib/allegro_graph/catalog_spec.rb
51
57
  - spec/lib/allegro_graph/resource_spec.rb
58
+ - spec/lib/allegro_graph/session_spec.rb
52
59
  - spec/lib/allegro_graph/transport_spec.rb
60
+ - spec/lib/allegro_graph/utility/parameter_mapper_spec.rb
61
+ - spec/lib/allegro_graph/repository_spec.rb
62
+ - spec/lib/allegro_graph/extended_transport_spec.rb
63
+ - spec/lib/allegro_graph/proxy/mapping_spec.rb
53
64
  - spec/lib/allegro_graph/proxy/query_spec.rb
54
65
  - spec/lib/allegro_graph/proxy/geometric_spec.rb
55
66
  - spec/lib/allegro_graph/proxy/statements_spec.rb
56
- - spec/lib/allegro_graph/proxy/mapping_spec.rb
57
- - spec/lib/allegro_graph/catalog_spec.rb
58
- - spec/lib/allegro_graph/session_spec.rb
59
- - spec/lib/allegro_graph/extended_transport_spec.rb
60
- - spec/lib/allegro_graph/repository_spec.rb
61
- - spec/lib/allegro_graph/utility/parameter_mapper_spec.rb
67
+ - spec/lib/allegro_graph/server_spec.rb
62
68
  - spec/fake_transport_helper.rb
63
- - spec/integration/query_spec.rb
64
- - spec/integration/server_spec.rb
65
- - spec/integration/statements_spec.rb
66
- - spec/integration/mapping_spec.rb
67
- - spec/integration/geo_spatial_spec.rb
68
- - spec/integration/transactions_spec.rb
69
- - spec/integration/repository_spec.rb
69
+ - spec/spec_helper.rb
70
70
  - spec/fake_transport.yml
71
71
  has_rdoc: true
72
72
  homepage: http://github.com/phifty/agraph
@@ -78,6 +78,7 @@ rdoc_options: []
78
78
  require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
+ none: false
81
82
  requirements:
82
83
  - - ">="
83
84
  - !ruby/object:Gem::Version
@@ -85,6 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
86
  - 0
86
87
  version: "0"
87
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
+ none: false
88
90
  requirements:
89
91
  - - ">="
90
92
  - !ruby/object:Gem::Version
@@ -94,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
96
  requirements: []
95
97
 
96
98
  rubyforge_project: agraph
97
- rubygems_version: 1.3.6
99
+ rubygems_version: 1.3.7
98
100
  signing_key:
99
101
  specification_version: 3
100
102
  summary: Client for the AllegroGraph 4.x graph database.