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.
- checksums.yaml +4 -4
- data/lib/blinka_client.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1855b93d48ff636db20aac7c2bae03bf9c79f9f43db7fb0974de6bca511ed1
|
4
|
+
data.tar.gz: 4e99728a7153c4d01297bbc2573204a7d7c054577b18f2f398fdd379f8344579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
:
|
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
|
-
@
|
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
|
-
|
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
|
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-
|
11
|
+
date: 2021-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|