ashikawa-core 0.8.0 → 0.9.0
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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -3
- data/CHANGELOG.md +49 -0
- data/Gemfile +3 -2
- data/Gemfile.devtools +14 -22
- data/Guardfile +3 -2
- data/README.md +37 -6
- data/Rakefile +2 -1
- data/ashikawa-core.gemspec +2 -2
- data/cache/Mac_applications +1 -0
- data/config/devtools.yml +5 -0
- data/config/flay.yml +1 -1
- data/config/flog.yml +1 -2
- data/config/reek.yml +1 -1
- data/config/rubocop.yml +23 -25
- data/lib/ashikawa-core.rb +6 -5
- data/lib/ashikawa-core/collection.rb +142 -165
- data/lib/ashikawa-core/configuration.rb +41 -2
- data/lib/ashikawa-core/connection.rb +17 -16
- data/lib/ashikawa-core/cursor.rb +18 -12
- data/lib/ashikawa-core/database.rb +69 -59
- data/lib/ashikawa-core/document.rb +22 -20
- data/lib/ashikawa-core/edge.rb +8 -6
- data/lib/ashikawa-core/exceptions/client_error.rb +1 -0
- data/lib/ashikawa-core/exceptions/client_error/authentication_failed.rb +25 -0
- data/lib/ashikawa-core/exceptions/client_error/bad_syntax.rb +3 -2
- data/lib/ashikawa-core/exceptions/client_error/resource_not_found.rb +3 -2
- data/lib/ashikawa-core/exceptions/client_error/resource_not_found/collection_not_found.rb +3 -2
- data/lib/ashikawa-core/exceptions/client_error/resource_not_found/document_not_found.rb +3 -2
- data/lib/ashikawa-core/exceptions/client_error/resource_not_found/index_not_found.rb +3 -2
- data/lib/ashikawa-core/exceptions/no_collection_provided.rb +1 -0
- data/lib/ashikawa-core/exceptions/server_error.rb +1 -0
- data/lib/ashikawa-core/exceptions/server_error/json_error.rb +3 -2
- data/lib/ashikawa-core/figure.rb +18 -17
- data/lib/ashikawa-core/index.rb +15 -5
- data/lib/ashikawa-core/key_options.rb +5 -4
- data/lib/ashikawa-core/query.rb +38 -27
- data/lib/ashikawa-core/request_preprocessor.rb +4 -3
- data/lib/ashikawa-core/response_preprocessor.rb +64 -24
- data/lib/ashikawa-core/status.rb +1 -0
- data/lib/ashikawa-core/transaction.rb +12 -11
- data/lib/ashikawa-core/version.rb +2 -1
- data/spec/acceptance/basic_spec.rb +117 -116
- data/spec/acceptance/index_spec.rb +18 -15
- data/spec/acceptance/query_spec.rb +61 -64
- data/spec/acceptance/spec_helper.rb +26 -3
- data/spec/acceptance/transactions_spec.rb +12 -16
- data/spec/setup/arangodb.sh +2 -2
- data/spec/unit/collection_spec.rb +224 -242
- data/spec/unit/configuration_spec.rb +64 -0
- data/spec/unit/connection_spec.rb +121 -111
- data/spec/unit/cursor_spec.rb +78 -65
- data/spec/unit/database_spec.rb +112 -163
- data/spec/unit/document_spec.rb +74 -70
- data/spec/unit/edge_spec.rb +45 -33
- data/spec/unit/exception_spec.rb +28 -38
- data/spec/unit/figure_spec.rb +44 -47
- data/spec/unit/index_spec.rb +27 -24
- data/spec/unit/key_options_spec.rb +19 -17
- data/spec/unit/query_spec.rb +186 -135
- data/spec/unit/spec_helper.rb +14 -3
- data/spec/unit/status_spec.rb +37 -37
- data/spec/unit/transaction_spec.rb +71 -74
- data/tasks/adjustments.rake +10 -34
- metadata +11 -13
- data/spec/acceptance/arango_helper.rb +0 -27
- data/spec/acceptance_auth/arango_helper.rb +0 -30
- data/spec/acceptance_auth/auth_spec.rb +0 -40
- data/spec/acceptance_auth/spec_helper.rb +0 -6
data/spec/unit/spec_helper.rb
CHANGED
@@ -1,5 +1,16 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
|
3
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
4
|
+
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.expect_with :rspec do |c|
|
7
|
+
c.syntax = :expect
|
8
|
+
end
|
9
|
+
|
10
|
+
config.mock_with :rspec do |c|
|
11
|
+
c.syntax = :expect
|
12
|
+
end
|
13
|
+
end
|
3
14
|
|
4
15
|
# Do not run SimpleCov in Guard
|
5
16
|
unless defined?(Guard)
|
@@ -20,9 +31,9 @@ unless defined?(Guard)
|
|
20
31
|
end
|
21
32
|
|
22
33
|
# Helper to simulate Server Responses. Parses the fixtures in the spec folder
|
23
|
-
require
|
34
|
+
require 'json'
|
24
35
|
def server_response(path)
|
25
36
|
JSON.parse(File.readlines("spec/fixtures/#{path}.json").join)
|
26
37
|
end
|
27
38
|
|
28
|
-
ARANGO_HOST =
|
39
|
+
ARANGO_HOST = 'http://localhost:8529'
|
data/spec/unit/status_spec.rb
CHANGED
@@ -1,51 +1,51 @@
|
|
1
|
-
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'ashikawa-core/status'
|
2
3
|
|
3
4
|
describe Ashikawa::Core::Status do
|
4
5
|
subject { Ashikawa::Core::Status }
|
5
|
-
let(:status_codes) { (1..6).to_a }
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
(
|
12
|
-
|
13
|
-
|
14
|
-
end
|
7
|
+
describe 'a new born collection' do
|
8
|
+
subject { Ashikawa::Core::Status.new(1) }
|
9
|
+
its(:new_born?) { should be_true }
|
10
|
+
its(:unloaded?) { should be_false }
|
11
|
+
its(:loaded?) { should be_false }
|
12
|
+
its(:being_unloaded?) { should be_false }
|
13
|
+
its(:corrupted?) { should be_false }
|
15
14
|
end
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
(
|
22
|
-
|
23
|
-
|
24
|
-
end
|
16
|
+
describe 'an unloaded collection' do
|
17
|
+
subject { Ashikawa::Core::Status.new(2) }
|
18
|
+
its(:new_born?) { should be_false }
|
19
|
+
its(:unloaded?) { should be_true }
|
20
|
+
its(:loaded?) { should be_false }
|
21
|
+
its(:being_unloaded?) { should be_false }
|
22
|
+
its(:corrupted?) { should be_false }
|
25
23
|
end
|
26
24
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
(
|
32
|
-
|
33
|
-
|
34
|
-
end
|
25
|
+
describe 'a loaded collection' do
|
26
|
+
subject { Ashikawa::Core::Status.new(3) }
|
27
|
+
its(:new_born?) { should be_false }
|
28
|
+
its(:unloaded?) { should be_false }
|
29
|
+
its(:loaded?) { should be_true }
|
30
|
+
its(:being_unloaded?) { should be_false }
|
31
|
+
its(:corrupted?) { should be_false }
|
35
32
|
end
|
36
33
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
(
|
42
|
-
|
43
|
-
|
44
|
-
end
|
34
|
+
describe 'a collection being unloaded' do
|
35
|
+
subject { Ashikawa::Core::Status.new(4) }
|
36
|
+
its(:new_born?) { should be_false }
|
37
|
+
its(:unloaded?) { should be_false }
|
38
|
+
its(:loaded?) { should be_false }
|
39
|
+
its(:being_unloaded?) { should be_true }
|
40
|
+
its(:corrupted?) { should be_false }
|
45
41
|
end
|
46
42
|
|
47
|
-
|
48
|
-
|
49
|
-
|
43
|
+
describe 'a corrupted collection' do
|
44
|
+
subject { Ashikawa::Core::Status.new(6) }
|
45
|
+
its(:new_born?) { should be_false }
|
46
|
+
its(:unloaded?) { should be_false }
|
47
|
+
its(:loaded?) { should be_false }
|
48
|
+
its(:being_unloaded?) { should be_false }
|
49
|
+
its(:corrupted?) { should be_true }
|
50
50
|
end
|
51
51
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
require 'unit/spec_helper'
|
2
3
|
require 'ashikawa-core/transaction'
|
3
4
|
|
@@ -5,147 +6,143 @@ describe Ashikawa::Core::Transaction do
|
|
5
6
|
let(:db) { double }
|
6
7
|
let(:action) { double }
|
7
8
|
|
8
|
-
describe
|
9
|
+
describe 'creating a transaction' do
|
9
10
|
subject { Ashikawa::Core::Transaction }
|
10
11
|
|
11
|
-
it
|
12
|
-
transaction = subject.new(db, action, :
|
13
|
-
|
14
|
-
])
|
15
|
-
|
16
|
-
transaction.write_collections.should == ["collection_1"]
|
12
|
+
it 'should be initialized with only write collections' do
|
13
|
+
transaction = subject.new(db, action, write: ['collection_1'])
|
14
|
+
expect(transaction.write_collections).to eq(['collection_1'])
|
17
15
|
end
|
18
16
|
|
19
|
-
it
|
20
|
-
transaction = subject.new(db, action, :
|
21
|
-
|
22
|
-
])
|
23
|
-
|
24
|
-
transaction.read_collections.should == ["collection_1"]
|
17
|
+
it 'should be initialized with only read collections' do
|
18
|
+
transaction = subject.new(db, action, read: ['collection_1'])
|
19
|
+
expect(transaction.read_collections).to eq(['collection_1'])
|
25
20
|
end
|
26
21
|
end
|
27
22
|
|
28
|
-
describe
|
23
|
+
describe 'using a transaction' do
|
29
24
|
let(:read_and_write_collections) do
|
30
|
-
{
|
25
|
+
{
|
26
|
+
read: ['collection_1'],
|
27
|
+
write: ['collection_2']
|
28
|
+
}
|
31
29
|
end
|
32
30
|
|
33
31
|
let(:only_read_collection) do
|
34
|
-
{
|
32
|
+
{
|
33
|
+
read: ['collection_1']
|
34
|
+
}
|
35
35
|
end
|
36
36
|
|
37
37
|
let(:only_write_collection) do
|
38
|
-
{
|
38
|
+
{
|
39
|
+
write: ['collection_1']
|
40
|
+
}
|
39
41
|
end
|
40
42
|
|
41
43
|
subject { Ashikawa::Core::Transaction.new(db, action, read_and_write_collections) }
|
42
44
|
|
43
|
-
it
|
44
|
-
subject.wait_for_sync.
|
45
|
+
it 'should be possible to activate waiting for sync' do
|
46
|
+
expect(subject.wait_for_sync).to be_false
|
45
47
|
subject.wait_for_sync = true
|
46
|
-
subject.wait_for_sync.
|
48
|
+
expect(subject.wait_for_sync).to be_true
|
47
49
|
end
|
48
50
|
|
49
|
-
it
|
50
|
-
subject.lock_timeout.
|
51
|
+
it 'should be possible to set the lock timeout' do
|
52
|
+
expect(subject.lock_timeout).to be_nil
|
51
53
|
subject.lock_timeout = 30
|
52
|
-
subject.lock_timeout.
|
54
|
+
expect(subject.lock_timeout).to be 30
|
53
55
|
end
|
54
56
|
|
55
|
-
describe
|
57
|
+
describe 'execute' do
|
56
58
|
let(:response) { double }
|
57
59
|
let(:result) { double }
|
58
60
|
let(:wait_for_sync) { double }
|
59
61
|
let(:lock_timeout) { double }
|
60
62
|
let(:action_params) { double }
|
61
63
|
|
62
|
-
before
|
63
|
-
response.
|
64
|
-
db.
|
65
|
-
|
64
|
+
before do
|
65
|
+
allow(response).to receive(:[])
|
66
|
+
allow(db).to receive(:send_request)
|
67
|
+
.and_return { response }
|
68
|
+
end
|
66
69
|
|
67
|
-
it
|
68
|
-
response.
|
69
|
-
|
70
|
-
|
70
|
+
it 'should return the result from the database' do
|
71
|
+
expect(response).to receive(:[])
|
72
|
+
.with('result')
|
73
|
+
.and_return(result)
|
74
|
+
expect(db).to receive(:send_request)
|
75
|
+
.and_return { response }
|
76
|
+
expect(subject.execute).to eq(result)
|
71
77
|
end
|
72
78
|
|
73
|
-
it
|
74
|
-
db.
|
79
|
+
it 'should post to `transaction` endpoint' do
|
80
|
+
expect(db).to receive(:send_request)
|
81
|
+
.with('transaction', post: an_instance_of(Hash))
|
75
82
|
subject.execute
|
76
83
|
end
|
77
84
|
|
78
|
-
it
|
85
|
+
it 'should only send the read collection if no write collection was provided' do
|
79
86
|
transaction = Ashikawa::Core::Transaction.new(db, action, only_read_collection)
|
80
|
-
db.
|
81
|
-
:
|
82
|
-
})
|
87
|
+
expect(db).to receive(:send_request)
|
88
|
+
.with(anything, { post: hash_including(collections: only_read_collection) })
|
83
89
|
transaction.execute
|
84
90
|
end
|
85
91
|
|
86
|
-
it
|
87
|
-
db.
|
88
|
-
:
|
89
|
-
})
|
92
|
+
it 'should send the information about the read and write collections' do
|
93
|
+
expect(db).to receive(:send_request)
|
94
|
+
.with(anything, { post: hash_including(collections: read_and_write_collections) })
|
90
95
|
subject.execute
|
91
96
|
end
|
92
97
|
|
93
|
-
it
|
98
|
+
it 'should only send the write collection if no read collection was provided' do
|
94
99
|
transaction = Ashikawa::Core::Transaction.new(db, action, only_write_collection)
|
95
|
-
db.
|
96
|
-
:
|
97
|
-
})
|
100
|
+
expect(db).to receive(:send_request)
|
101
|
+
.with(anything, { post: hash_including(collections: only_write_collection) })
|
98
102
|
transaction.execute
|
99
103
|
end
|
100
104
|
|
101
|
-
it
|
102
|
-
db.
|
103
|
-
:
|
104
|
-
})
|
105
|
+
it 'should send the information about the action' do
|
106
|
+
expect(db).to receive(:send_request)
|
107
|
+
.with(anything, { post: hash_including(action: action) })
|
105
108
|
subject.execute
|
106
109
|
end
|
107
110
|
|
108
|
-
it
|
109
|
-
db.
|
110
|
-
:
|
111
|
-
})
|
111
|
+
it 'should send with wait for sync set to false by default' do
|
112
|
+
expect(db).to receive(:send_request)
|
113
|
+
.with(anything, { post: hash_including(waitForSync: false) })
|
112
114
|
subject.execute
|
113
115
|
end
|
114
116
|
|
115
|
-
it
|
116
|
-
db.
|
117
|
-
:
|
118
|
-
})
|
117
|
+
it 'should send with wait for sync set to the value provided by the user' do
|
118
|
+
expect(db).to receive(:send_request)
|
119
|
+
.with(anything, { post: hash_including(waitForSync: wait_for_sync) })
|
119
120
|
subject.wait_for_sync = wait_for_sync
|
120
121
|
subject.execute
|
121
122
|
end
|
122
123
|
|
123
|
-
it
|
124
|
-
db.
|
125
|
-
:
|
126
|
-
})
|
124
|
+
it 'should not send lock timeout by default' do
|
125
|
+
expect(db).to receive(:send_request)
|
126
|
+
.with(anything, { post: hash_not_including(lockTimeout: anything) })
|
127
127
|
subject.execute
|
128
128
|
end
|
129
129
|
|
130
|
-
it
|
131
|
-
db.
|
132
|
-
:
|
133
|
-
})
|
130
|
+
it 'should send the configured lock timeout' do
|
131
|
+
expect(db).to receive(:send_request)
|
132
|
+
.with(anything, { post: hash_including(lockTimeout: lock_timeout) })
|
134
133
|
subject.lock_timeout = lock_timeout
|
135
134
|
subject.execute
|
136
135
|
end
|
137
136
|
|
138
|
-
it
|
139
|
-
db.
|
140
|
-
:
|
141
|
-
})
|
137
|
+
it 'should send the arguments object if it was provided' do
|
138
|
+
expect(db).to receive(:send_request)
|
139
|
+
.with(anything, { post: hash_including(params: action_params) })
|
142
140
|
subject.execute(action_params)
|
143
141
|
end
|
144
142
|
|
145
|
-
it
|
146
|
-
db.
|
147
|
-
:
|
148
|
-
})
|
143
|
+
it 'should not send params by default' do
|
144
|
+
expect(db).to receive(:send_request)
|
145
|
+
.with(anything, { post: hash_not_including(params: anything) })
|
149
146
|
subject.execute
|
150
147
|
end
|
151
148
|
end
|
data/tasks/adjustments.rake
CHANGED
@@ -1,55 +1,31 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
## Specs
|
2
3
|
# Difference to Devtools:
|
3
4
|
# * Acceptance, no integration tests
|
4
|
-
# * Special Case: ArangoDB needed for Acceptance Tests
|
5
5
|
|
6
|
-
Rake::Task[
|
7
|
-
Rake::Task[
|
6
|
+
Rake::Task['spec'].clear
|
7
|
+
Rake::Task['spec:integration'].clear
|
8
8
|
|
9
9
|
desc 'Run all specs'
|
10
|
-
task :
|
10
|
+
task spec: %w[ spec:unit spec:acceptance ]
|
11
11
|
|
12
12
|
namespace :spec do
|
13
|
-
desc
|
13
|
+
desc 'Run the acceptance tests. Requires ArangoDB to be running.'
|
14
14
|
RSpec::Core::RakeTask.new(:acceptance) do |spec|
|
15
|
-
spec.pattern =
|
16
|
-
end
|
17
|
-
|
18
|
-
desc "Run the acceptance tests. Requires ArangoDB."
|
19
|
-
RSpec::Core::RakeTask.new(:start_arango_and_run_acceptance) do |spec|
|
20
|
-
spec.rspec_opts = "--require acceptance/arango_helper.rb"
|
21
|
-
spec.pattern = "spec/acceptance/*_spec.rb"
|
22
|
-
end
|
23
|
-
|
24
|
-
desc "Run the authentication acceptance tests. Requires ArangoDB."
|
25
|
-
RSpec::Core::RakeTask.new(:start_arango_and_run_acceptance_auth) do |spec|
|
26
|
-
spec.rspec_opts = "--require acceptance_auth/arango_helper.rb"
|
27
|
-
spec.pattern = "spec/acceptance_auth/*_spec.rb"
|
15
|
+
spec.pattern = 'spec/acceptance/*_spec.rb'
|
28
16
|
end
|
29
17
|
end
|
30
18
|
|
31
19
|
## Metrics
|
32
20
|
# Differences to Devtools:
|
33
21
|
# * Do not run mutant yet
|
34
|
-
# * metrics task only runs metrics (and not specs)
|
35
22
|
|
36
|
-
Rake::Task[
|
37
|
-
Rake::Task["ci:metrics"].clear
|
38
|
-
|
39
|
-
namespace :ci do
|
40
|
-
desc 'Run all metrics except mutant and reek'
|
41
|
-
task :metrics => %w[
|
42
|
-
metrics:coverage
|
43
|
-
metrics:yardstick:verify
|
44
|
-
metrics:rubocop
|
45
|
-
metrics:flog
|
46
|
-
metrics:flay
|
47
|
-
metrics:reek
|
48
|
-
]
|
49
|
-
end
|
23
|
+
Rake::Task['ci'].clear
|
50
24
|
|
51
25
|
desc 'Run all metrics and specs'
|
52
|
-
task :
|
26
|
+
task ci: %w[
|
53
27
|
spec
|
54
28
|
ci:metrics
|
55
29
|
]
|
30
|
+
|
31
|
+
task default: :ci
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ashikawa-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moonglum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 0.0.5
|
69
69
|
description: Ashikawa Core is a wrapper around the ArangoDB REST API. It provides
|
70
|
-
low level access and
|
70
|
+
low level access and is intended to be used in ArangoDB ODMs and other tools.
|
71
71
|
email:
|
72
72
|
- me@moonglum.net
|
73
73
|
executables: []
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- .rspec
|
80
80
|
- .ruby-version
|
81
81
|
- .travis.yml
|
82
|
+
- CHANGELOG.md
|
82
83
|
- CONTRIBUTING.md
|
83
84
|
- Gemfile
|
84
85
|
- Gemfile.devtools
|
@@ -87,6 +88,8 @@ files:
|
|
87
88
|
- README.md
|
88
89
|
- Rakefile
|
89
90
|
- ashikawa-core.gemspec
|
91
|
+
- cache/Mac_applications
|
92
|
+
- config/devtools.yml
|
90
93
|
- config/flay.yml
|
91
94
|
- config/flog.yml
|
92
95
|
- config/mutant.yml
|
@@ -102,6 +105,7 @@ files:
|
|
102
105
|
- lib/ashikawa-core/document.rb
|
103
106
|
- lib/ashikawa-core/edge.rb
|
104
107
|
- lib/ashikawa-core/exceptions/client_error.rb
|
108
|
+
- lib/ashikawa-core/exceptions/client_error/authentication_failed.rb
|
105
109
|
- lib/ashikawa-core/exceptions/client_error/bad_syntax.rb
|
106
110
|
- lib/ashikawa-core/exceptions/client_error/resource_not_found.rb
|
107
111
|
- lib/ashikawa-core/exceptions/client_error/resource_not_found/collection_not_found.rb
|
@@ -119,15 +123,11 @@ files:
|
|
119
123
|
- lib/ashikawa-core/status.rb
|
120
124
|
- lib/ashikawa-core/transaction.rb
|
121
125
|
- lib/ashikawa-core/version.rb
|
122
|
-
- spec/acceptance/arango_helper.rb
|
123
126
|
- spec/acceptance/basic_spec.rb
|
124
127
|
- spec/acceptance/index_spec.rb
|
125
128
|
- spec/acceptance/query_spec.rb
|
126
129
|
- spec/acceptance/spec_helper.rb
|
127
130
|
- spec/acceptance/transactions_spec.rb
|
128
|
-
- spec/acceptance_auth/arango_helper.rb
|
129
|
-
- spec/acceptance_auth/auth_spec.rb
|
130
|
-
- spec/acceptance_auth/spec_helper.rb
|
131
131
|
- spec/fixtures/collections/60768679-count.json
|
132
132
|
- spec/fixtures/collections/60768679-figures.json
|
133
133
|
- spec/fixtures/collections/60768679-properties-volatile.json
|
@@ -155,6 +155,7 @@ files:
|
|
155
155
|
- spec/fixtures/simple-queries/within.json
|
156
156
|
- spec/setup/arangodb.sh
|
157
157
|
- spec/unit/collection_spec.rb
|
158
|
+
- spec/unit/configuration_spec.rb
|
158
159
|
- spec/unit/connection_spec.rb
|
159
160
|
- spec/unit/cursor_spec.rb
|
160
161
|
- spec/unit/database_spec.rb
|
@@ -188,22 +189,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
189
|
- !ruby/object:Gem::Version
|
189
190
|
version: '0'
|
190
191
|
requirements:
|
191
|
-
- ArangoDB, v1.
|
192
|
+
- ArangoDB, v1.4
|
192
193
|
rubyforge_project: ashikawa-core
|
193
|
-
rubygems_version: 2.
|
194
|
+
rubygems_version: 2.1.1
|
194
195
|
signing_key:
|
195
196
|
specification_version: 4
|
196
197
|
summary: Ashikawa Core is a wrapper around the ArangoDB REST API
|
197
198
|
test_files:
|
198
|
-
- spec/acceptance/arango_helper.rb
|
199
199
|
- spec/acceptance/basic_spec.rb
|
200
200
|
- spec/acceptance/index_spec.rb
|
201
201
|
- spec/acceptance/query_spec.rb
|
202
202
|
- spec/acceptance/spec_helper.rb
|
203
203
|
- spec/acceptance/transactions_spec.rb
|
204
|
-
- spec/acceptance_auth/arango_helper.rb
|
205
|
-
- spec/acceptance_auth/auth_spec.rb
|
206
|
-
- spec/acceptance_auth/spec_helper.rb
|
207
204
|
- spec/fixtures/collections/60768679-count.json
|
208
205
|
- spec/fixtures/collections/60768679-figures.json
|
209
206
|
- spec/fixtures/collections/60768679-properties-volatile.json
|
@@ -231,6 +228,7 @@ test_files:
|
|
231
228
|
- spec/fixtures/simple-queries/within.json
|
232
229
|
- spec/setup/arangodb.sh
|
233
230
|
- spec/unit/collection_spec.rb
|
231
|
+
- spec/unit/configuration_spec.rb
|
234
232
|
- spec/unit/connection_spec.rb
|
235
233
|
- spec/unit/cursor_spec.rb
|
236
234
|
- spec/unit/database_spec.rb
|