aggkit 0.4.4.9269 → 0.4.4.9274

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d76188c57b22e43746746cf2951cbbb032a85ff7
4
- data.tar.gz: c2eae741b4bbae79e47176bd7ed9e4487fdbcace
3
+ metadata.gz: b452b22a1b96fb010321222941715695b1151bb2
4
+ data.tar.gz: 56665c17799605329e07c14f593678e1b9d9893b
5
5
  SHA512:
6
- metadata.gz: c2b32a2be893c42ffc3624cbe474384adf6a171c3f461745f8208089d8bc37d1e72c860835aefcb9d67b8b03106d830b49683f60d6b9fd6c0826c88557b56250
7
- data.tar.gz: 399b46ce2649b2a74393058e4d790a0d90405ef840baa333b4219cc0bc5756ce6d69074853e88bf9484657baa5de50870787077eb792a011a6186fef64503ff3
6
+ metadata.gz: 97f4b07ebedcdcc0c2a33f12d603cbf9eddcae18266cea2555330eaf408832a67a297ebfb7f3ac918b6cdaf3bb3b102fccc28d327f758717c94dc73702777ad1
7
+ data.tar.gz: f1a6256a25c3d8a4b7fb9e96584b3e58595cea1b1d62b1997216c74431283e2f926495674b2db722f1412e70c69a8a538e383cf6e4b6484218bcdbba22b1a2a0
data/.gitlab-ci.yml CHANGED
@@ -72,7 +72,7 @@ pronto:
72
72
  - gem install pronto pronto-rubocop pronto-flay
73
73
  - PRONTO_GITLAB_SLUG=${CI_PROJECT_ID} PRONTO_GITLAB_API_PRIVATE_TOKEN=${BOT_TOKEN} pronto run -f gitlab -c origin/master
74
74
 
75
- code_quality:
75
+ .code_quality:
76
76
  stage: tests
77
77
  image: docker:stable
78
78
  variables:
@@ -90,8 +90,10 @@ code_quality:
90
90
  --volume /var/run/docker.sock:/var/run/docker.sock
91
91
  "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
92
92
  artifacts:
93
- reports:
94
- codequality: gl-code-quality-report.json
93
+ #reports:
94
+ # codequality: gl-code-quality-report.json
95
+ paths:
96
+ - gl-code-quality-report.json
95
97
 
96
98
  pushgem:
97
99
  image: rnds/ruby:2.3.0-test
@@ -9,7 +9,7 @@ module Aggkit
9
9
 
10
10
  attr_accessor :iolock
11
11
 
12
- EXIT_SIGNALS = %w[EXIT QUIT].freeze
12
+ EXIT_SIGNALS = %w[EXIT QUIT].freeze
13
13
  TERM_SIGNALS = %w[INT TERM].freeze
14
14
 
15
15
  class Pipe
@@ -23,7 +23,7 @@ module Aggkit
23
23
  end
24
24
 
25
25
  def gets
26
- @read.gets.strip.to_sym
26
+ @read.gets.strip.to_sym
27
27
  end
28
28
 
29
29
  end
@@ -45,7 +45,7 @@ module Aggkit
45
45
  @procs.last
46
46
  end
47
47
 
48
- def log(msg)
48
+ def log msg
49
49
  @iolock.synchronize{ STDOUT.puts("[watcher][#{Time.now.strftime('%H:%M:%S.%L')}]: #{msg}") }
50
50
  end
51
51
 
@@ -62,13 +62,18 @@ module Aggkit
62
62
  end
63
63
 
64
64
  def quit!
65
+
66
+
65
67
  @code = [@code || 0, 1].max if @crashed
66
68
  exit!(@code || 0)
69
+
70
+
67
71
  end
68
72
 
69
73
  def terminate_all
74
+
75
+
70
76
  raise 'Double termination occured!' if @terminating
71
-
72
77
  @terminating = true
73
78
  running = @procs.reject(&:handled?)
74
79
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4.9269
4
+ version: 0.4.4.9274
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan