vgs_api_client 0.0.1.alpha202204211351 → 0.0.1.alpha202204211352
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vgs_api_client/api_client.rb +1 -1
- data/lib/vgs_api_client/version.rb +1 -1
- data/scripts/assemble/run.sh +1 -1
- data/scripts/test/run.sh +1 -1
- data/scripts/test-e2e/Dockerfile +2 -0
- data/scripts/test-e2e/run.sh +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61a7daed6f42c1bb5700264df93d0282fc3ec726dc616633f264660bc4d3162c
|
4
|
+
data.tar.gz: b4c99f82457673878d7da57ad7c419098e1260a595ef06917dacada117b1eb7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1308bad4a12ed44acfc24339f5b949261b8038705cf430349ae740f81df55abb403da43e0a250d8252472d62e19d70d2484e7104e9bff131813f18f95aebe125
|
7
|
+
data.tar.gz: e9e79f67722c829550b8eb2c24e594ef70daa5e3abce8e4ebda2d6d43cf1ec33de8c7ecea50f2f7023673323f7a1cedd8e59f6ccc136fc74b4cf3aa827e4e83b
|
@@ -31,7 +31,7 @@ module VgsApiClient
|
|
31
31
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
32
32
|
def initialize(config = Configuration.default)
|
33
33
|
@config = config
|
34
|
-
@user_agent = "vgs-api-client/0.0.1.
|
34
|
+
@user_agent = "vgs-api-client/0.0.1.alpha202204211352/ruby"
|
35
35
|
@default_headers = {
|
36
36
|
'Content-Type' => 'application/json',
|
37
37
|
'User-Agent' => @user_agent
|
data/scripts/assemble/run.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
LIB_VERSION=${LIB_VERSION:-0.0.1.alpha$(date "+%Y%m%d%H%M")}
|
4
4
|
|
5
5
|
# fix version
|
6
|
-
grep -rl 0.0.1.
|
6
|
+
grep -rl 0.0.1.alpha202204211352 . | xargs sed -i "s/0.0.1.alpha202204211352/${LIB_VERSION}/g"
|
7
7
|
|
8
8
|
# build
|
9
9
|
gem build vgs_api_client.gemspec
|
data/scripts/test/run.sh
CHANGED
@@ -5,7 +5,7 @@ set -e
|
|
5
5
|
echo "Installing lib from local sources"
|
6
6
|
# fix version
|
7
7
|
VERSION=0.0.1.alpha$(date "+%Y%m%d%H%M")
|
8
|
-
grep -rl 0.0.1.
|
8
|
+
grep -rl 0.0.1.alpha202204211352 . | xargs sed -i "s/0.0.1.alpha202204211352/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|
data/scripts/test-e2e/Dockerfile
CHANGED
@@ -12,6 +12,8 @@ RUN mkdir -p /vgs-api-client/ && \
|
|
12
12
|
|
13
13
|
ADD ./scripts/test-e2e /vgs-api-client/scripts
|
14
14
|
ADD ./spec /vgs-api-client/spec
|
15
|
+
|
16
|
+
# Temporarily copying gem files to tmp/ dir
|
15
17
|
ADD ./vgs_api_client.gemspec /vgs-api-client/tmp/vgs_api_client.gemspec
|
16
18
|
ADD ./Gemfile /vgs-api-client/tmp/Gemfile
|
17
19
|
|
data/scripts/test-e2e/run.sh
CHANGED
@@ -24,7 +24,7 @@ done
|
|
24
24
|
set -e
|
25
25
|
|
26
26
|
echo "Running tests"
|
27
|
-
|
28
|
-
|
27
|
+
mv /vgs-api-client/tmp/Gemfile /vgs-api-client/
|
28
|
+
mv /vgs-api-client/tmp/vgs_api_client.gemspec /vgs-api-client/
|
29
29
|
bundle install --without production --binstubs
|
30
30
|
bundle exec rspec ./spec/*.rb
|