ectoplasm 1.2.1 → 1.2.2

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: 401918d4609c720c05d288ba59e5dbffb6cc5a0fe8e347051fcf8864f9b824c4
4
- data.tar.gz: f3602ae5818cdc69fbe52e6b33b25561434fedd26f59e4cdd8c1459b06c98bf8
3
+ metadata.gz: 0e34dd2daa03c2d9cf988a3a9c14458887c9a01bc5a4649b125f422847ba9260
4
+ data.tar.gz: 4d43a29da827c165b1ab6f86ed0f86c6fe5e854d16556f6035a15795bbf4acb9
5
5
  SHA512:
6
- metadata.gz: 5acb63abc6603ace5e8c6a5f8a5bbfbe6f335009fd921cc02bf38ffb2774da332dee89da3544d33789fdf7bfbd0051ce56f743eaed3e877d79804fc24ae0ea36
7
- data.tar.gz: 3cc82aa03102f8c96fe169490300b6377753164e5275d5d385a0fff97b1fdbcc6bc4adff3e542e89e5e4686d03994ff9b176ad1bc0d8d5d45f7fa64322f2cf3a
6
+ metadata.gz: 9250ceb961351edbed84b4bd33af8178424a374c643c623d7a7d4fe85fd13996b595e654d2701a0a5126693f7b6f02e5332f54d31a4fd9b03aaadb0419445e70
7
+ data.tar.gz: 473442160cd41b6acc2736f8c12a766668092c5c1b124f30af840a8b0ecd6d3438d6cdeb6578464a657c7a02ea1cfca667a6bea03b5e82fc07ec089cbdac5433
@@ -0,0 +1,27 @@
1
+ name: Build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - develop
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ name: Test and Build
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: '3.1'
21
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
22
+ - name: Style check
23
+ run: bundle exec rubocop
24
+ - name: Run tests
25
+ run: bundle exec rspec spec
26
+ - name: Build gem
27
+ run: bundle exec rake build
@@ -0,0 +1,44 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
+
8
+ jobs:
9
+ build:
10
+ name: Build and Publish
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ packages: write
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby
19
+ uses: actions/setup-ruby@v1
20
+ with:
21
+ ruby-version: '3.1'
22
+
23
+ - name: Publish to GPR
24
+ run: |
25
+ mkdir -p $HOME/.gem
26
+ touch $HOME/.gem/credentials
27
+ chmod 0600 $HOME/.gem/credentials
28
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
29
+ gem build *.gemspec
30
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
31
+ env:
32
+ GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
33
+ OWNER: ${{ github.repository_owner }}
34
+
35
+ - name: Publish to RubyGems
36
+ run: |
37
+ mkdir -p $HOME/.gem
38
+ touch $HOME/.gem/credentials
39
+ chmod 0600 $HOME/.gem/credentials
40
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
41
+ gem build *.gemspec
42
+ gem push *.gem
43
+ env:
44
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"