anmol_cortex_client_ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +24 -0
- data/.github/workflows/test.yml +25 -0
- data/Gemfile.lock +1 -1
- data/lib/cortex_client/version.rb +1 -1
- data/push-gem.sh +0 -3
- metadata +3 -2
- data/.github/workflows/build-push.yml +0 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78890825aa8be20e7d3209e8bc7bdf1fb4b40e94ca0f484ddd985688117c0807
|
4
|
+
data.tar.gz: 537f41a5d8ea147b54c260dd6c4c93634113a3dd1d099befa244d9be370e9937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 696365825ae8acda48f048a4ef84081ad8d5edae00ade53ae06d342eb3452b506272e067e6ed3826264a1879caf1fad00efb68f220f664f32e67c99679cf7e14
|
7
|
+
data.tar.gz: 8b9f2cfaf4ac3f3eae5fcd82d08c87c324246e61b0493ce7f82270033c98ac605b9786db3fd9fe1d844613fd05a0c73d0823f240a8cfd26bca7a69fd9a4bff7e
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
name: Release cortex client
|
3
|
+
on:
|
4
|
+
workflow_run:
|
5
|
+
workflows:
|
6
|
+
- Test Cortex Client
|
7
|
+
types:
|
8
|
+
- completed
|
9
|
+
push:
|
10
|
+
tags:
|
11
|
+
- '*'
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
release:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- name: Release Gem
|
19
|
+
uses: cadwallion/publish-rubygems-action@master
|
20
|
+
env:
|
21
|
+
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
|
22
|
+
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
23
|
+
RELEASE_COMMAND: sh push-gem.sh
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
|
2
|
+
name: Test Cortex Client
|
3
|
+
on: [push]
|
4
|
+
jobs:
|
5
|
+
test:
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Setup Ruby
|
11
|
+
uses: ruby/setup-ruby@v1.64.1
|
12
|
+
with:
|
13
|
+
ruby-version: 2.5.0
|
14
|
+
|
15
|
+
- name: Install Dependencies
|
16
|
+
run: gem install bundler -v 2.0.2
|
17
|
+
|
18
|
+
- name: Install Gems
|
19
|
+
run: bundle install
|
20
|
+
|
21
|
+
- name: Run Tests
|
22
|
+
run: rspec
|
23
|
+
|
24
|
+
- name: Lint check
|
25
|
+
run: rubocop
|
data/Gemfile.lock
CHANGED
data/push-gem.sh
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anmol_cortex_client_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kernel Plus
|
@@ -129,7 +129,8 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
131
|
files:
|
132
|
-
- ".github/workflows/
|
132
|
+
- ".github/workflows/release.yml"
|
133
|
+
- ".github/workflows/test.yml"
|
133
134
|
- ".gitignore"
|
134
135
|
- ".rspec"
|
135
136
|
- ".rubocop.yml"
|
@@ -1,54 +0,0 @@
|
|
1
|
-
|
2
|
-
name: push-cortex-client
|
3
|
-
on: [push]
|
4
|
-
jobs:
|
5
|
-
test:
|
6
|
-
runs-on: ubuntu-latest
|
7
|
-
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@v2
|
10
|
-
# - name: Setup Ruby
|
11
|
-
# uses: ruby/setup-ruby@v1.64.1
|
12
|
-
# with:
|
13
|
-
# ruby-version: 2.5.0
|
14
|
-
#
|
15
|
-
# - name: Install Dependencies
|
16
|
-
# run: gem install bundler -v 2.0.2
|
17
|
-
#
|
18
|
-
# - name: Install Gems
|
19
|
-
# run: bundle install
|
20
|
-
#
|
21
|
-
# - name: Run Tests
|
22
|
-
# run: rspec
|
23
|
-
#
|
24
|
-
# - name: Lint check
|
25
|
-
# run: rubocop
|
26
|
-
|
27
|
-
- name: Release Gem
|
28
|
-
#if: contains(github.ref, 'refs/tags/v')
|
29
|
-
uses: cadwallion/publish-rubygems-action@master
|
30
|
-
env:
|
31
|
-
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
|
32
|
-
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
33
|
-
RELEASE_COMMAND: sh push-gem.sh
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
# release:
|
40
|
-
# runs-on: ubuntu-latest
|
41
|
-
# needs: test
|
42
|
-
#
|
43
|
-
# steps:
|
44
|
-
# - uses: actions/checkout@v2
|
45
|
-
# - name: Release Gem
|
46
|
-
# #if: contains(github.ref, 'refs/tags/v')
|
47
|
-
# uses: cadwallion/publish-rubygems-action@master
|
48
|
-
# env:
|
49
|
-
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
50
|
-
# RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
51
|
-
# RELEASE_COMMAND: rake release
|
52
|
-
|
53
|
-
|
54
|
-
|