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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8072fc60b05b8c37147c03226ab75120259e0a5471bc353d8a31881f6e19c7ed
4
- data.tar.gz: eacf39d70c6d749c27cbc411147e3b796b872f17ea29f3cdf0b7dd58ddaf06b3
3
+ metadata.gz: 78890825aa8be20e7d3209e8bc7bdf1fb4b40e94ca0f484ddd985688117c0807
4
+ data.tar.gz: 537f41a5d8ea147b54c260dd6c4c93634113a3dd1d099befa244d9be370e9937
5
5
  SHA512:
6
- metadata.gz: df8a6d77c6a67a540ab5892c2d1c4935afaac16c92c46df79e5cd7cc2da68230b3f5659fe3028f2f4ab06b3b90b5cb8913cb47ec761bd67b026ac09a59ed40e4
7
- data.tar.gz: c6b8cd4947a2b2e6182ec5f33f1ab9934697e84bef5e0b24839bd91822386071ea8899d4145fd2ae1401c56ff6d7ab8a96ac48d2950332a0e5050546f823190f
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- anmol_cortex_client_ruby (0.1.0)
4
+ anmol_cortex_client_ruby (0.1.1)
5
5
  google-protobuf (= 3.11.4)
6
6
  http (~> 4.1)
7
7
  snappy_ext (= 0.1.2)
@@ -1,3 +1,3 @@
1
1
  module CortexClient
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
data/push-gem.sh CHANGED
@@ -3,8 +3,5 @@
3
3
  gem install bundler -v 2.0.2
4
4
  bundle install
5
5
  bundle exec rake install
6
- pwd
7
- ls
8
- ls ./pkg/
9
6
  GEM_NAME=$(ls ./pkg/*.gem)
10
7
  gem push ${GEM_NAME}
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.0
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/build-push.yml"
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
-