blinka-reporter 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/blinka_client.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18e501d2a1f15c803273df5599a25e45b60ceef2161d3add9ea87f3f196f0d7e
4
- data.tar.gz: 87aacdaa903f3a0cdc549dd9c2e254d045e7929de14fbcfb9e48e4a7ce7ecd77
3
+ metadata.gz: 1b1855b93d48ff636db20aac7c2bae03bf9c79f9f43db7fb0974de6bca511ed1
4
+ data.tar.gz: 4e99728a7153c4d01297bbc2573204a7d7c054577b18f2f398fdd379f8344579
5
5
  SHA512:
6
- metadata.gz: f022dadecb2cd99c836194d647763de75954522b65b6db9766c4df8c18d4bb78d676d1bd603967ff48926f834aa32504445cd29d04317090145a9bb7abf96f5d
7
- data.tar.gz: e6a63bfb5c63966c10b38c598d160d376f5314e86ebf5d601be9370391082f5a89b732c14db114de7411aba9fe668ee882271f5622a2ca3cf444d330355fbec4
6
+ metadata.gz: dabfc51219a7fb871c680791932df3fa7d1e9e7721f9be0a6f293e4acd445867cc7cb8ad60834c6cfd5d052aabdbb9ef6b66798829db86db02db25d6ae1a7af2
7
+ data.tar.gz: 75f373ab3aad49c8873fec958091661962f9073ae67ecad8c975309c5e464c60106a6cc060abed1ebd246d80527510cbedadcadc7e10b6907208913e9a4a9188
data/lib/blinka_client.rb CHANGED
@@ -4,7 +4,7 @@ require 'httparty'
4
4
  class BlinkaClient
5
5
  class BlinkaConfig
6
6
  attr_reader(
7
- :branch,
7
+ :tag,
8
8
  :commit,
9
9
  :host,
10
10
  :repository,
@@ -17,7 +17,7 @@ class BlinkaClient
17
17
  @team_id = ENV.fetch('BLINKA_TEAM_ID')
18
18
  @team_secret = ENV.fetch('BLINKA_TEAM_SECRET')
19
19
  @repository = ENV.fetch('BLINKA_REPOSITORY')
20
- @branch = ENV.fetch('BLINKA_BRANCH')
20
+ @tag = ENV.fetch('BLINKA_TAG', '')
21
21
  @commit = ENV.fetch('BLINKA_COMMIT', `git rev-parse HEAD`.chomp)
22
22
  end
23
23
  end
@@ -50,7 +50,7 @@ class BlinkaClient
50
50
  body = {
51
51
  report: {
52
52
  repository: @config.repository,
53
- branch: @config.branch,
53
+ tag: @config.tag,
54
54
  commit: @config.commit,
55
55
  metadata: {
56
56
  total_time: data.dig('total_time'),
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blinka-reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Wessman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty