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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d2b59444155c65c496cc82cdfd0d207d559864e
4
- data.tar.gz: e773605edaed41e4488d17eed9432acdd6c4fdda
3
+ metadata.gz: cf1acf64ea813f8cb9792590b097bb06b51d1d03
4
+ data.tar.gz: 6cb678a0dadce2934649f783c6c94088df37c050
5
5
  SHA512:
6
- metadata.gz: fa9c6907b296e0e7e9dbc56652113b1ed516247ea8f2929fac21e21e5e9d0b714954d9fccf6c2436aaa42dd68cf0a3238832853b6ca8d504f9fc836f4d2e58d5
7
- data.tar.gz: e980acdff99268c48fe2b4c51281b9ada6b3d4847add1131645a5966571bcfe4134eb1b8b9c5c16d2908462699a30ebc7867d7a9affe26700fec94b117abb7e6
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
@@ -1,3 +1,3 @@
1
1
  module PhobosDBCheckpoint
2
- VERSION = '2.3.1'
2
+ VERSION = '2.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phobos_db_checkpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Túlio Ornelas