ashikawa-core 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +18 -0
- data/Gemfile +1 -3
- data/README.md +7 -3
- data/Rakefile +1 -0
- data/ashikawa-core.gemspec +9 -11
- data/config/reek.yml +5 -5
- data/lib/ashikawa-core/collection.rb +4 -0
- data/lib/ashikawa-core/configuration.rb +13 -1
- data/lib/ashikawa-core/connection.rb +34 -52
- data/lib/ashikawa-core/database.rb +9 -5
- data/lib/ashikawa-core/document.rb +6 -6
- data/lib/ashikawa-core/faraday_factory.rb +89 -0
- data/lib/ashikawa-core/minimal_logger.rb +64 -0
- data/lib/ashikawa-core/version.rb +1 -1
- data/log/.gitkeep +0 -0
- data/spec/acceptance/basic_spec.rb +2 -2
- data/spec/acceptance/index_spec.rb +5 -0
- data/spec/acceptance/spec_helper.rb +37 -22
- data/spec/unit/collection_spec.rb +34 -33
- data/spec/unit/configuration_spec.rb +8 -8
- data/spec/unit/connection_spec.rb +28 -48
- data/spec/unit/cursor_spec.rb +5 -4
- data/spec/unit/database_spec.rb +8 -16
- data/spec/unit/document_spec.rb +11 -10
- data/spec/unit/edge_spec.rb +12 -11
- data/spec/unit/exception_spec.rb +2 -2
- data/spec/unit/faraday_factory_spec.rb +51 -0
- data/spec/unit/figure_spec.rb +11 -11
- data/spec/unit/index_spec.rb +7 -6
- data/spec/unit/key_options_spec.rb +12 -15
- data/spec/unit/minimal_logger_spec.rb +55 -0
- data/spec/unit/query_spec.rb +53 -53
- data/spec/unit/spec_helper.rb +1 -0
- data/spec/unit/transaction_spec.rb +12 -14
- metadata +44 -53
- data/spec/fixtures/collections/60768679-figures.json +0 -35
@@ -1,35 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": "60768679",
|
3
|
-
"name": "example_1",
|
4
|
-
"waitForSync": true,
|
5
|
-
"journalSize": 134217728,
|
6
|
-
"isVolatile": false,
|
7
|
-
"isSystem": false,
|
8
|
-
"count": 0,
|
9
|
-
"figures": {
|
10
|
-
"alive": {
|
11
|
-
"count": 0,
|
12
|
-
"size": 0
|
13
|
-
},
|
14
|
-
"dead": {
|
15
|
-
"count": 149,
|
16
|
-
"size": 2384,
|
17
|
-
"deletion": 0
|
18
|
-
},
|
19
|
-
"datafiles": {
|
20
|
-
"count": 1,
|
21
|
-
"fileSize": 0
|
22
|
-
},
|
23
|
-
"journals": {
|
24
|
-
"count": 1,
|
25
|
-
"fileSize": 33554432
|
26
|
-
},
|
27
|
-
"shapes": {
|
28
|
-
"count": 6
|
29
|
-
}
|
30
|
-
},
|
31
|
-
"status": 3,
|
32
|
-
"type": 2,
|
33
|
-
"error": false,
|
34
|
-
"code": 200
|
35
|
-
}
|