nonnative 1.56.1 → 1.57.0

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
  SHA256:
3
- metadata.gz: f0ccbc1f41fd949c78b38a6a9ed526b97e7371277965fbd52346ba43e791fdfd
4
- data.tar.gz: 6c7616a45809369043ba9544930f5b647c60b996aa93d9019b4bc84df2df3f43
3
+ metadata.gz: 3d9620b9a9416b10419818af1325090b652954957e61cb2af8145350c67cbda8
4
+ data.tar.gz: 53f816756bc6d2012765a673b38940767adca626f05db397009b8e7fdb12a68e
5
5
  SHA512:
6
- metadata.gz: f3748c1b868a07cc5addb89a4414c8f799b3732db95f1f8f2d037b1dcc29cfc09bcfb7c560af942b7c22b0115e2179e279f3b464724036ceb94207065a49191f
7
- data.tar.gz: ab160219775350d03bf9b8c50ded6e72eb74dc1f2ccbcd95789c13f4a254ee4a2f862412d52de6fa04d8aad1a471d9739025fe28acd7f50d616c156ac84195ce
6
+ metadata.gz: 01e32801f3bb31a582448a7631be074e52dd6b862aecd55c0c8d9b290760cfadb5c9d661b4d28ee0333d783813c574b7f57298dd840b671c728664a5203ec4f0
7
+ data.tar.gz: eb5fc0b72af274bcb5c8d60805cdb7fe110f7001ff52a9eff8ac992572f551cb71e90163ff25c2e3913abc97f9003895b125705a4f5ab2484ee2be49f96bb1cc
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ AllCops:
4
4
  NewCops: enable
5
5
 
6
6
  Layout/LineLength:
7
- Max: 160
7
+ Max: 165
8
8
 
9
9
  Metrics/MethodLength:
10
10
  Max: 20
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.57.0](https://github.com/alexfalkowski/nonnative/compare/v1.56.1...v1.57.0) (2022-03-28)
6
+
7
+
8
+ ### Features
9
+
10
+ * **go:** make sure we generate a unique file ([#111](https://github.com/alexfalkowski/nonnative/issues/111)) ([d260baf](https://github.com/alexfalkowski/nonnative/commit/d260baf8801e73660052d095935de67bbdca207c))
11
+
5
12
  ### [1.56.1](https://github.com/alexfalkowski/nonnative/compare/v1.56.0...v1.56.1) (2022-03-28)
6
13
 
7
14
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (1.56.1)
4
+ nonnative (1.57.0)
5
5
  concurrent-ruby (~> 1.0, >= 1.0.5)
6
6
  cucumber (>= 7, < 8)
7
7
  get_process_mem (~> 0.2.1)
@@ -17,10 +17,11 @@ module Nonnative
17
17
  attr_reader :exec, :output
18
18
 
19
19
  def flags(cmd, params)
20
+ suffix = SecureRandom.alphanumeric(4)
20
21
  m = File.basename(exec, File.extname(exec))
21
22
  p = params.gsub(/\W/, '')
22
23
  name = [m, cmd, p].reject(&:empty?).join('-')
23
- path = "#{output}/#{name}"
24
+ path = "#{output}/#{name}-#{suffix}"
24
25
 
25
26
  [
26
27
  "-test.cpuprofile=#{path}-cpu.prof",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nonnative
4
- VERSION = '1.56.1'
4
+ VERSION = '1.57.0'
5
5
  end
data/lib/nonnative.rb CHANGED
@@ -4,6 +4,7 @@ require 'socket'
4
4
  require 'timeout'
5
5
  require 'yaml'
6
6
  require 'open3'
7
+ require 'securerandom'
7
8
 
8
9
  require 'grpc'
9
10
  require 'sinatra'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nonnative
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.56.1
4
+ version: 1.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Falkowski