ectoplasm 1.1.0 → 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: c1eb29f58f2221ef27a4f8f927700751434a9dcaf611b363d9d8e37475ab6dd8
4
- data.tar.gz: 1d7a409eb8144a8f0d4aaeb4f5c021558187a2ae6dc919fbf68c17a0a25ed6e2
3
+ metadata.gz: 0e34dd2daa03c2d9cf988a3a9c14458887c9a01bc5a4649b125f422847ba9260
4
+ data.tar.gz: 4d43a29da827c165b1ab6f86ed0f86c6fe5e854d16556f6035a15795bbf4acb9
5
5
  SHA512:
6
- metadata.gz: 9ebc3a14e186fccdba32800f8070d87cf161199101fa4cc003c7a585c906c7a358e6788dc695e73beeabf2b1779d28dcccf30c548b24432251027b4ff1e62bad
7
- data.tar.gz: b7f0953c64c18024fe555cf2d68a4444c432ae567e291a8ab988b403e9c61b1f61b5ad09904fec57734114ccb167559da588d5524a4e7f21249ce1412baabd85
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}}"