unofficial_buildkite_client 0.2.0 → 0.3.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
  SHA256:
3
- metadata.gz: e1eab2d031f95c42c45fc7149996f43fc4a5ff6cee28a7779631111b8d630dc1
4
- data.tar.gz: 353b2d2efd6ac97758ab9e9f58a07f43a485290a055062856eb747a31ddbcc1c
3
+ metadata.gz: 8381b6326be1fe2ef4e3898d10fdd9c1cade1aeb94d7c4459075298450884395
4
+ data.tar.gz: d917b2b580b1b3e08d5f9905f4149f3977f428b42c4d8ed9812a8bc4fccb3608
5
5
  SHA512:
6
- metadata.gz: fd1d3d74f746ad947732724cbd2fb412a6c863d59d448d53d7403d5147c29cde7ca1afa491ad259b3c8eb2c111c3764cbdf00a6dd69cb4c927bd35c8c88d04e3
7
- data.tar.gz: c559174659e79cfa1f2350970552029fdbb62a597d833f8c7c755be81eba7407d860a79d9be33d1573ae21e4e5bada7d115148d91c437b307539d3d475294ca3
6
+ metadata.gz: 4a43d3b5375523fecabba9d92129382443c9a2facaf35aa6fe16200b857ef5c1020bb54540ab863f6a344bc129470b8e616bbfd23d575d9838dd0787b890c095
7
+ data.tar.gz: 85c9206b585907354cf5a4f4367d717fd5a6361046317632f6450f8d1fd49cc013f3d7f631078952f6ce1a78d894d3592f5fbe2910ab7d271db79dd35d355e9e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.0
2
+
3
+ - Make created_at_from and state option for fetch_build optional
4
+
1
5
  # 0.2.0
2
6
 
3
7
  - Client#initialize accepts logger option
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unofficial_buildkite_client (0.1.0)
4
+ unofficial_buildkite_client (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,7 +14,7 @@ class UnofficialBuildkiteClient
14
14
  @pipeline_slug = pipeline_slug
15
15
  end
16
16
 
17
- def fetch_builds(org_slug: @org_slug, pipeline_slug: @pipeline_slug, created_at_from:, first:, state:)
17
+ def fetch_builds(org_slug: @org_slug, pipeline_slug: @pipeline_slug, created_at_from: nil, first:, state: nil)
18
18
  variables = {slug: "#{org_slug}/#{pipeline_slug}", createdAtFrom: created_at_from, first: first, state: state}
19
19
 
20
20
  post_graphql(<<~GRAPHQL, variables: variables).dig(:data, :pipeline, :builds, :edges).map {|b| b[:node] }
@@ -1,3 +1,3 @@
1
1
  class UnofficialBuildkiteClient
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unofficial_buildkite_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiaki MATSUSHIMA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler