vgs_api_client 0.0.1.alpha202204271534 → 0.0.1.alpha202204271541

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: 02fd2d7e2974ae7ad6f5310b1c4bdb3d28738d03e453754514f46aa0b9713577
4
- data.tar.gz: 9c92d8dc7db4d9a72e4b061f2c24f56b168b526e9e44f787fd06bbd5ad90ac86
3
+ metadata.gz: 6e2972bfa87c803e957126c1a0397c7f37aca8d213670110cc068449f2014770
4
+ data.tar.gz: def2be8b1fd56b3b5b122faa918a02201cc54b9f32432b1cd943615d8f671eb9
5
5
  SHA512:
6
- metadata.gz: d60b19d4cafd2ba6a9aa5478e9b35d3133d03a289f9841de55841771f0a15055818e143974f57baf8404a046408a37b9a15a942c5280549d586a3a0bde70e066
7
- data.tar.gz: 9171258a8469f7ed1618aba0c0cdf6c31b30e7f59810231e368621b3f6a4bb409816a81d06307902a000b53405ab18a21f6f7eb0e1cdbf06cae16d56981da2a8
6
+ metadata.gz: 8e20d9e11d4a11743a41bb3a2d9577946d3524ae9c3ad6e65ee527f3a364557805adaf9ffecff386c1d9377a083b3740de8a76a96077139ff649e351af9fc429
7
+ data.tar.gz: 9b9aae81624458094eb5e17f8ee43bd74abf53d5021ef8d326e3a43e7fd39f478a4aaa379e7382675bd36f1c9f6f23c26c1795f04de8747947b159bcfdbd5c45
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # vgs-api-client-ruby
1
+ # vgs-api-client-python
2
2
 
3
3
  This repository contains a Ruby API client library for the Very Good Security API.
4
4
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1.alpha202204271534
1
+ 0.0.1.alpha202204271541
data/docker-compose.yaml CHANGED
@@ -1,6 +1,12 @@
1
1
  version: '3.7'
2
2
 
3
3
  services:
4
+ lint:
5
+ build:
6
+ context: .
7
+ dockerfile: scripts/lint/Dockerfile
8
+ volumes:
9
+ - ./:/vgs-api-client/
4
10
  assemble:
5
11
  build:
6
12
  context: .
@@ -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.alpha202204271534/ruby"
34
+ @user_agent = "vgs-api-client/0.0.1.alpha202204271541/ruby"
35
35
  @default_headers = {
36
36
  'Content-Type' => 'application/json',
37
37
  'User-Agent' => @user_agent
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module VgsApiClient
14
- VERSION = '0.0.1.alpha202204271534'
14
+ VERSION = '0.0.1.alpha202204271541'
15
15
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module VGS
2
- VERSION = '0.0.1.alpha202204271534'
2
+ VERSION = '0.0.1.alpha202204271541'
3
3
  end
@@ -32,7 +32,6 @@ module VGS
32
32
  else
33
33
  response.data
34
34
  end
35
-
36
35
  end
37
36
 
38
37
  def reveal(aliases)
@@ -80,5 +79,4 @@ module VGS
80
79
  config.host = host
81
80
  config
82
81
  end
83
-
84
- end
82
+ end
@@ -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.alpha202204271534 . | xargs sed -i "s/0.0.1.alpha202204271534/${LIB_VERSION}/g"
6
+ grep -rl 0.0.1.alpha202204271541 . | xargs sed -i "s/0.0.1.alpha202204271541/${LIB_VERSION}/g"
7
7
 
8
8
  # build
9
9
  gem build vgs_api_client.gemspec
@@ -0,0 +1,9 @@
1
+ FROM ruby:3.1.2-alpine3.15
2
+
3
+ RUN apk update && \
4
+ apk add bash && \
5
+ gem install rubocop
6
+
7
+ WORKDIR /vgs-api-client/
8
+
9
+ ENTRYPOINT ["bash", "./scripts/lint/run.sh"]
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ set -e
4
+
5
+ rubocop .
data/scripts/lint.sh ADDED
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+
3
+ set -e
4
+
5
+ docker-compose build lint && \
6
+ docker-compose run lint
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.alpha202204271534 . | xargs sed -i "s/0.0.1.alpha202204271534/$VERSION/g"
8
+ grep -rl 0.0.1.alpha202204271541 . | xargs sed -i "s/0.0.1.alpha202204271541/$VERSION/g"
9
9
 
10
10
  bundle install
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vgs_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha202204271534
4
+ version: 0.0.1.alpha202204271541
5
5
  platform: ruby
6
6
  authors:
7
7
  - Very Good Security
@@ -88,6 +88,9 @@ files:
88
88
  - lib/vgs_api_client.rb
89
89
  - scripts/assemble/Dockerfile
90
90
  - scripts/assemble/run.sh
91
+ - scripts/lint.sh
92
+ - scripts/lint/Dockerfile
93
+ - scripts/lint/run.sh
91
94
  - scripts/publish.sh
92
95
  - scripts/publish/Dockerfile
93
96
  - scripts/publish/run.sh