circlemator 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +5 -0
- data/lib/circlemator/build_canceler.rb +1 -1
- data/lib/circlemator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91488672f50dad8679e62221e54e4af16c38b67c
|
4
|
+
data.tar.gz: e61f3ace2715868aed716604d7c52db9fb55e306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19fa0f60dc88463ea48f7ed3117202e1c5bc3ffd08c9ef5be2f55464d6dfd992c309bdf9194eaa2f0aee0441a6894363505503a0f2036b1079d1ea6148b7f0e8
|
7
|
+
data.tar.gz: 87f5c1b12eb0751ab7c8a9a1261c4881973ab9a9f430a1e9eb878614b7aaff3900458180ef025f477242f6d01de7fe5fe5659ec948df63aed0d69f6aacd1cbe3
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -17,7 +17,7 @@ module Circlemator
|
|
17
17
|
check_response resp
|
18
18
|
|
19
19
|
builds = JSON.parse(resp.body)
|
20
|
-
.select { |b| %w(running scheduled queued not_running).include?
|
20
|
+
.select { |b| %w(running scheduled queued not_running).include?(b.fetch('status')) && b['branch'] }
|
21
21
|
.group_by { |b| b.fetch('branch') }
|
22
22
|
.flat_map { |_, group| group.sort_by { |b| b.fetch('build_num') }[0...-1] }
|
23
23
|
.map { |b| b.fetch('build_num') }
|
data/lib/circlemator/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circlemator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emanuel Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|