vgs_api_client 0.0.1.alpha202204211336 → 0.0.1.alpha202204211337
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 +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 +4 -6
- 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: 70a550409871f75bfce33b11537c7934f35f55ea6901705253f9c850eb1027cc
|
4
|
+
data.tar.gz: 6a82b81283033f11a4a4e54838bf2c032b0c0bc5e353486421cdf2e492b41f3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d0d088260db5915c4521719ec807962546ddbb5b9c9d5ea740315c320513e03e6c8c568acf2fb4f1470842afe0172a2768e40a3eaf78c8d846cc59edadeafc2
|
7
|
+
data.tar.gz: aab7c59703ab89bb6104a72d8aefc2be27459495293d9e2e9fcc3baef2df7e4d8387298da62da1ea59a8f1ca8d85a75677ecd152fe1d52b56b779c0145b7c537
|
@@ -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.alpha202204211337/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.alpha202204211337 . | xargs sed -i "s/0.0.1.alpha202204211337/${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.alpha202204211337 . | xargs sed -i "s/0.0.1.alpha202204211337/$VERSION/g"
|
9
9
|
|
10
10
|
bundle install
|
11
11
|
|
data/scripts/test-e2e/Dockerfile
CHANGED
@@ -7,15 +7,13 @@ RUN apk update && \
|
|
7
7
|
gem install bundler && \
|
8
8
|
gem install rspec-support
|
9
9
|
|
10
|
-
RUN mkdir -p /vgs-api-client/
|
11
|
-
mkdir -p /vgs-api-client/tmp
|
10
|
+
RUN mkdir -p /vgs-api-client/lib/vgs_api_client/
|
12
11
|
|
13
12
|
ADD ./scripts/test-e2e /vgs-api-client/scripts
|
14
13
|
ADD ./spec /vgs-api-client/spec
|
15
|
-
|
16
|
-
|
17
|
-
ADD ./vgs_api_client.
|
18
|
-
ADD ./Gemfile /vgs-api-client/tmp/Gemfile
|
14
|
+
ADD ./vgs_api_client.gemspec /vgs-api-client/vgs_api_client.gemspec
|
15
|
+
ADD ./Gemfile /vgs-api-client/Gemfile
|
16
|
+
ADD ./lib/vgs_api_client/version.rb /vgs-api-client/lib/vgs_api_client/
|
19
17
|
|
20
18
|
WORKDIR /vgs-api-client/
|
21
19
|
|
data/scripts/test-e2e/run.sh
CHANGED
@@ -23,8 +23,8 @@ while [ $ATTEMPT -lt 10 ]; do
|
|
23
23
|
done
|
24
24
|
set -e
|
25
25
|
|
26
|
+
sleep 1000000
|
27
|
+
|
26
28
|
echo "Running tests"
|
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
|