skipper-cli 1.0.0 → 1.0.1

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: 45563942fe5faac2b0bdf8047020c948647ebac3f38be1635eb3241b2f1910b7
4
- data.tar.gz: b4c790a5b222353c149513bea6ce6cdff3c13b48c5ebc6f39f5fbede61f54a7c
3
+ metadata.gz: 2118a72a93acb590c7190c4e3fdb7cfe58c65506151f6e701eea6926c88c7867
4
+ data.tar.gz: 8457f9d75dec7886d84a629c2e2548c91590c73f70faab0666abbb7b253be1b0
5
5
  SHA512:
6
- metadata.gz: 46b94869261b8011bb74261808f1f76c97807d0f9d9813e248d0f4230d43d9333d7f50b9da1c72acd032378166eddcf4805d0c35e81c2d2e269b108ad9083f63
7
- data.tar.gz: 25b50745c839c8bf1862714cda8d99c14412803e4392e6a0b935c918a7299d5bd2c732f3c9db5b4a9c8a61a51f605e8915c75f90de2e88cc4ae06cc16b2cc43c
6
+ metadata.gz: fb658d02eb017e0f53ddb3e2c6770c108d91f77a052657b552747d5092e7db5a6b02d2b81b943904aecb01b312feeff43b3b0f14e6b0808e70ec2cd4538fabec
7
+ data.tar.gz: 62eab7f1242e52db8d3e1a11f95cdd8634e610f5b5983a1ccc311f94782d38721ee3a007a148af8e1981d6570db481970b55c847cffc07dc5d280ef702195906
@@ -0,0 +1,18 @@
1
+ version: 2.1
2
+ jobs:
3
+ deploy:
4
+ docker:
5
+ - image: cimg/ruby:3.3
6
+ steps:
7
+ - checkout
8
+ - run:
9
+ name: deploy
10
+ command: '/bin/bash deploy.sh'
11
+ workflows:
12
+ build:
13
+ jobs:
14
+ - deploy:
15
+ filters:
16
+ branches:
17
+ only:
18
+ - main
data/config.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "uri": "http://api.skipper.studio",
2
+ "uri": "https://api.skipper.studio",
3
3
  "token": "7c209e25-1701-45d0-bf51-68271f5322d7"
4
4
  }
data/deploy.sh ADDED
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+ echo "DEPLOYING CLIPPY"
4
+
5
+ TAG=$1
6
+
7
+ gem build skipper_client.gemspec
8
+ mkdir -p ~/.gem
9
+ echo -e "---\r\n:rubygems_api_key: $RUBY_GEM_API_KEY" > ~/.gem/credentials
10
+ chmod 0600 ~/.gem/credentials
11
+ gem push skipper-cli-*.gem
@@ -72,7 +72,6 @@ class Consumer
72
72
  raise 'Error checkout_req is not a JsonRequest' unless checkout_req.is_a? Models::JsonRequest
73
73
 
74
74
  checkout_uri = URI "#{uri}/api/v1/checkout"
75
- p checkout_req.as_json
76
75
 
77
76
  res = merge_headers(x_api_key, content_type).post(checkout_uri, json: checkout_req.as_json)
78
77
  Models::SkipperResponse.from_response res, Models::Checkout, :unit
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SkipperClient
4
- VERSION = '1.0.0'
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skipper-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wmb1207
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-10 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: a command line client to interact with skipper
14
14
  email:
@@ -18,10 +18,12 @@ executables:
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
+ - ".circleci/config.yml"
21
22
  - README.md
22
23
  - Rakefile
23
24
  - bin/clippy
24
25
  - config.json
26
+ - deploy.sh
25
27
  - lib/skipper_client.rb
26
28
  - lib/skipper_client/configs.rb
27
29
  - lib/skipper_client/consumer.rb
@@ -36,7 +38,7 @@ metadata:
36
38
  homepage_uri: https://skipper.studio
37
39
  source_code_uri: https://gitlab.com/skipperstudio/clippy
38
40
  changelog_uri: https://gitlab.com/skipperstudio/clippy/changelog.md
39
- post_install_message:
41
+ post_install_message:
40
42
  rdoc_options: []
41
43
  require_paths:
42
44
  - lib
@@ -51,8 +53,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
53
  - !ruby/object:Gem::Version
52
54
  version: '0'
53
55
  requirements: []
54
- rubygems_version: 3.3.21
55
- signing_key:
56
+ rubygems_version: 3.5.12
57
+ signing_key:
56
58
  specification_version: 4
57
59
  summary: A command line client to interact with skipper
58
60
  test_files: []