phobos_db_checkpoint 2.3.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/phobos_db_checkpoint/events_api.rb +9 -0
- data/lib/phobos_db_checkpoint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf1acf64ea813f8cb9792590b097bb06b51d1d03
|
4
|
+
data.tar.gz: 6cb678a0dadce2934649f783c6c94088df37c050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb6e9f11c3132971004a9cd91745d8ef98db6bfb7faa8c44a9ebf383b5fd23389ec9eb3c3b773370be82be499a065fc50fff8402f74ccb2c6db3825539689c3
|
7
|
+
data.tar.gz: f94917fc2b4dcd8c27b7cdc0b4fdfe961792fb569f8a16db02dc691fb5b37f25709b1026f79a81773a96ac0ad0de19187ccc560e1e37f7f1e4e024be2f134fd5
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## 2.4.0 (2017-03-13)
|
8
|
+
|
9
|
+
- [enhancement] Add endpoint for retrieving the number of failures
|
10
|
+
|
7
11
|
## 2.3.1 (2017-03-11)
|
8
12
|
|
9
13
|
- [bugfix] Add index required for current implementation of Phobos Checkpoint UI
|
@@ -100,6 +100,15 @@ module PhobosDBCheckpoint
|
|
100
100
|
.to_json
|
101
101
|
end
|
102
102
|
|
103
|
+
get "/#{VERSION}/failures/count" do
|
104
|
+
content_type :json
|
105
|
+
count = PhobosDBCheckpoint::Failure
|
106
|
+
.all
|
107
|
+
.count
|
108
|
+
|
109
|
+
{ count: count }.to_json
|
110
|
+
end
|
111
|
+
|
103
112
|
get "/#{VERSION}/failures/:id" do
|
104
113
|
content_type :json
|
105
114
|
PhobosDBCheckpoint::Failure
|