lopata 0.1.30 → 0.1.32

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: 81374a685539cc6f8c2b4fe190415fa94ff330ebdcc44615a78209c0a8848080
4
- data.tar.gz: b5b230a64668f227eb6954d4e618d2780c4e6f00255a67a824bb4036acc578e7
3
+ metadata.gz: 2bd65cdcc3cfefa3e3b34ac54b2205b7deebd8efb02d5fd938fcf5eb69c87cc2
4
+ data.tar.gz: 1b1741a5eb03e2a1aa42a73d3d217779667e67c3d2f6c2654bfb0f3782ccc0a8
5
5
  SHA512:
6
- metadata.gz: f1744e95c43d68bc6785406eb80943f3d51afcf5ac7e876771fa036946eb25140cd99f1748edcbaf614fcdc8371344e493a8570927c57865ae02e57d657e56ff
7
- data.tar.gz: eb4799fa86d2a0f66540ee4be8e2f67aa9ad2602bf1a3ba4b5fca39069a654a80b64caf1a36e4b33d4e1c33945d78dd11d37bb2c69a35a1712dcbe382df4d32d
6
+ metadata.gz: fc5b728dbf7ff3567067cafe92e205cc8440e4af7f258fa0f5d9f0a313103c49e31f3b4bfb8da9e6b628ab3fcd113d20c3bf8b0c92b3269aebeaef6fc977a865
7
+ data.tar.gz: 9baa87de542f3af6e69dbd9775e578107110edb54b0e2fa8f7b6144d192ad0bc848bebac3a81a0ae99a8125ab58d54137b84124db36a04e243d4a0fef5dc9e21
@@ -18,7 +18,7 @@ module Lopata
18
18
  require 'yaml'
19
19
  @config = {}
20
20
  config_filename = "./config/environments/#{Lopata.configuration.env}.yml"
21
- @config = YAML::load(File.open(config_filename)) if File.exists?(config_filename)
21
+ @config = YAML::load(File.open(config_filename)) if File.exist?(config_filename)
22
22
  end
23
23
 
24
24
  # Access to environment settings
@@ -33,4 +33,4 @@ module Lopata
33
33
  end
34
34
  end
35
35
  end
36
- end
36
+ end
@@ -58,7 +58,7 @@ module Lopata
58
58
  request = { status: status, steps: steps, launch: { id: @launch_id, finished: finished } }
59
59
  test = test_id(scenario)
60
60
  post("/tests/#{test}/attempts.json", body: request)
61
- rescue SocketError => e
61
+ rescue SocketError, Timeout::Error => e
62
62
  # Ignore network problems. Continue with next scenario when cannot log results.
63
63
  puts e.message
64
64
  puts e.backtrace
data/lib/lopata/runner.rb CHANGED
@@ -107,6 +107,6 @@ module Lopata
107
107
  end
108
108
 
109
109
  unless ARGV.first == 'new'
110
- eval File.binread('./Lopatafile') if File.exists?('./Lopatafile')
110
+ eval File.binread('./Lopatafile') if File.exist?('./Lopatafile')
111
111
  end
112
112
 
@@ -1,6 +1,6 @@
1
1
  module Lopata
2
2
  # @private
3
3
  module Version
4
- STRING = '0.1.30'
4
+ STRING = '0.1.32'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lopata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Volochnev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -138,5 +138,5 @@ requirements: []
138
138
  rubygems_version: 3.2.15
139
139
  signing_key:
140
140
  specification_version: 4
141
- summary: lopata-0.1.30
141
+ summary: lopata-0.1.32
142
142
  test_files: []