aggkit 0.4.4.12293 → 0.4.4.12298

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: 330e0e63f8b3fb0f59ff1b3906cc34dbb7277d5c
4
- data.tar.gz: a7f1657a0353c8ede9b8e53a85e785980b76645d
3
+ metadata.gz: 812e5bf19e6072a859d8d33ff09669e4ba33140d
4
+ data.tar.gz: e707f796b40f0d81539d410254d0eae7d99d14ef
5
5
  SHA512:
6
- metadata.gz: 3117d8862c4e4cf7928a396dccd4773fd0cea712f60c6a3c0284d4cc06d1bc7ec31ad20689a433ffb556dff531c7d426d5e43dcf5f99b6cb1d54f0d796202e81
7
- data.tar.gz: 4700b1dd3be7e1eee5356acbb744910b3839598bc8df57383bc17e506923950788021ecf333995b6cae48ab6ea164cd01aa8311918309148ba6dad776dc06d2c
6
+ metadata.gz: caf99ec4079fe2a0f3673285d1e7077a722532bbf2d9e1cb82aac5c7ecad88a7cafbedd080d53ec8a1e191efbe713dc5bf94e3c15d4537b8f8ff46df045453aa
7
+ data.tar.gz: 65f6b864937fadb156cbac7585961b522049a861607ec44a7ca3f69b03b758fc453f595280a4c58f32e963f5a83cc00e9bf68a030ebe183abe5c03748a9dd15c
data/docker/Dockerfile CHANGED
@@ -27,6 +27,7 @@ RUN set -ex \
27
27
  ruby-libs \
28
28
  shadow \
29
29
  tzdata \
30
+ gettext \
30
31
  wget
31
32
 
32
33
  RUN set -ex \
@@ -74,7 +75,7 @@ RUN mkdir -p /usr/local/etc \
74
75
  && echo 'gem: --no-ri --no-rdoc' > ~/.gemrc
75
76
 
76
77
  RUN set -ex \
77
- && curl -sSLo /tmp/consul.zip https://releases.hashicorp.com/consul/1.2.1/consul_1.2.1_linux_amd64.zip \
78
+ && curl -sSLo /tmp/consul.zip https://releases.hashicorp.com/consul/1.2.2/consul_1.2.2_linux_amd64.zip \
78
79
  && unzip -d /bin /tmp/consul.zip \
79
80
  && rm -rf /tmp/consul.zip \
80
81
  && addgroup consul \
@@ -83,7 +84,7 @@ RUN set -ex \
83
84
  && chown -R consul:consul /tmp/consul
84
85
 
85
86
  RUN set -ex \
86
- && curl -so envconsul.tgz https://releases.hashicorp.com/envconsul/0.7.3/envconsul_0.7.3_linux_amd64.tgz \
87
+ && curl -so envconsul.tgz https://releases.hashicorp.com/envconsul/0.8.0/envconsul_0.8.0_linux_amd64.tgz \
87
88
  && tar -xvzf envconsul.tgz \
88
89
  && rm -rf envconsul.tgz \
89
90
  && mv envconsul /bin/envconsul \
data/docker/run_tests.sh CHANGED
@@ -16,6 +16,12 @@ docker-compose up -d --force-recreate --build || exit 1
16
16
  echo "\n ** Testing with Ruby $RUBY_VERSION **\n"
17
17
  docker-compose exec -T tests /bin/bash -c -l "rvm use $RUBY_VERSION; exec bundle exec rspec $@"
18
18
 
19
+ code=$?
20
+ if [ $code -ne 0 ]; then
21
+ docker-compose logs
22
+ exit $code
23
+ fi
24
+
19
25
  docker cp "$(docker-compose ps -q tests)":/home/app/rspec.xml ./rspec-${RUBY_VERSION}.xml || true
20
26
 
21
27
  code=$?
data/lib/aggkit/exec.rb CHANGED
@@ -22,7 +22,7 @@ module Aggkit
22
22
  def capture!(cmd, error = nil)
23
23
  output = capture(cmd)
24
24
  error = error ? "#{error}: Execution failed" : 'Execution failed'
25
- die(error) unless $?&.success?
25
+ die(error) unless ($?.success? rescue nil)
26
26
 
27
27
  output
28
28
  rescue Exception => e
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+ #skip coverage
2
2
 
3
3
  require 'optparse'
4
4
  require 'English'
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.12293
4
+ version: 0.4.4.12298
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan