pkgforge 0.27.0 → 0.28.0
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 +4 -4
- data/.github/workflows/build.yml +46 -0
- data/LICENSE +1 -1
- data/README.md +1 -3
- data/lib/pkgforge/components/upload.rb +1 -1
- data/lib/pkgforge/version.rb +1 -1
- data/pkgforge.gemspec +0 -1
- data/spec/spec_helper.rb +0 -9
- metadata +7 -11
- data/.circle-ruby +0 -4
- data/.prospectus +0 -11
- data/.travis.yml +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abb836ade461f7c09cd0f2e23a2219291ee0a93cc431b903ff32e44cdddf4f87
|
|
4
|
+
data.tar.gz: 3ec234443d2a0a42df6061bb5bb466936ad896dc0da11a83b53a45338af32514
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a680525d1ffb74fb7f56743225383bf41b37b6e6c0226bedc4bc7a8540fa3a4139aa04b8ac7b9beddbe34fa7c6c95b781aa31ee2738ee6f772e57aef1e346b66
|
|
7
|
+
data.tar.gz: 4ef6d12818959faa64b7650a79fea350a8d8541038ebe7a3d94f6b5ee4d54ef476b2918ef1bc400d6d16ee85432ac871dcb1b33c6d38c15df19b274ea58d8fbc
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
push:
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
name: Build
|
|
8
|
+
runs-on: ubuntu-22.04
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
steps:
|
|
12
|
+
- name: Checkout
|
|
13
|
+
uses: actions/checkout@v3
|
|
14
|
+
with:
|
|
15
|
+
submodules: recursive
|
|
16
|
+
- uses: ruby/setup-ruby@v1
|
|
17
|
+
with:
|
|
18
|
+
ruby-version: '3.1'
|
|
19
|
+
bundler-cache: true
|
|
20
|
+
- name: Build
|
|
21
|
+
run: bundle exec rake
|
|
22
|
+
- name: Release
|
|
23
|
+
if: github.ref_type == 'tag'
|
|
24
|
+
run: bundle exec rake release
|
|
25
|
+
env:
|
|
26
|
+
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
|
27
|
+
- name: Post to a Slack channel
|
|
28
|
+
if: ${{ failure() }}
|
|
29
|
+
uses: slackapi/slack-github-action@v1.18.0
|
|
30
|
+
env:
|
|
31
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
32
|
+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
|
33
|
+
with:
|
|
34
|
+
payload: |
|
|
35
|
+
{
|
|
36
|
+
"text": "*${{ github.repository }}*\nBuild failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
|
37
|
+
"blocks": [
|
|
38
|
+
{
|
|
39
|
+
"type": "section",
|
|
40
|
+
"text": {
|
|
41
|
+
"type": "mrkdwn",
|
|
42
|
+
"text": "*${{ github.repository }}*\nBuild failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -2,9 +2,7 @@ pkgforge
|
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
4
|
[](https://rubygems.org/gems/pkgforge)
|
|
5
|
-
[](https://codecov.io/github/akerl/pkgforge)
|
|
7
|
-
[](https://www.codacy.com/app/akerl/pkgforge)
|
|
5
|
+
[](https://github.com/akerl/pkgforge/actions)
|
|
8
6
|
[](https://tldrlegal.com/license/mit-license)
|
|
9
7
|
|
|
10
8
|
DSL engine for building Arch packages
|
|
@@ -39,7 +39,7 @@ module PkgForge
|
|
|
39
39
|
def upload_artifacts!
|
|
40
40
|
return unless state[:artifacts]
|
|
41
41
|
state[:artifacts].each do |artifact|
|
|
42
|
-
args = ['targit', '--authfile', '.creds_github', '--create']
|
|
42
|
+
args = ['targit', '--authfile', '.creds_github', '--create', '--force']
|
|
43
43
|
args += ['--name', artifact[:name]]
|
|
44
44
|
args += ['--endpoint', endpoint] if endpoint
|
|
45
45
|
args += ["#{org}/#{name}", version, artifact[:source]]
|
data/lib/pkgforge/version.rb
CHANGED
data/pkgforge.gemspec
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pkgforge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Les Aker
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: contracts
|
|
@@ -73,12 +73,10 @@ executables:
|
|
|
73
73
|
extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
|
-
- ".
|
|
76
|
+
- ".github/workflows/build.yml"
|
|
77
77
|
- ".gitignore"
|
|
78
|
-
- ".prospectus"
|
|
79
78
|
- ".rspec"
|
|
80
79
|
- ".rubocop.yml"
|
|
81
|
-
- ".travis.yml"
|
|
82
80
|
- Gemfile
|
|
83
81
|
- LICENSE
|
|
84
82
|
- README.md
|
|
@@ -109,7 +107,7 @@ licenses:
|
|
|
109
107
|
- MIT
|
|
110
108
|
metadata:
|
|
111
109
|
rubygems_mfa_required: 'true'
|
|
112
|
-
post_install_message:
|
|
110
|
+
post_install_message:
|
|
113
111
|
rdoc_options: []
|
|
114
112
|
require_paths:
|
|
115
113
|
- lib
|
|
@@ -125,9 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
123
|
version: '0'
|
|
126
124
|
requirements: []
|
|
127
125
|
rubygems_version: 3.3.7
|
|
128
|
-
signing_key:
|
|
126
|
+
signing_key:
|
|
129
127
|
specification_version: 4
|
|
130
128
|
summary: DSL engine for building Arch packages
|
|
131
|
-
test_files:
|
|
132
|
-
- spec/pkgforge_spec.rb
|
|
133
|
-
- spec/spec_helper.rb
|
|
129
|
+
test_files: []
|
data/.circle-ruby
DELETED
data/.prospectus
DELETED
data/.travis.yml
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
dist: xenial
|
|
2
|
-
install:
|
|
3
|
-
- for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
|
|
4
|
-
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
|
|
5
|
-
script:
|
|
6
|
-
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
|
|
7
|
-
notifications:
|
|
8
|
-
email: false
|
|
9
|
-
slack:
|
|
10
|
-
secure: hiSpJYwTPJUSw9aS2AG28isKW8Sel209yOVRRwr5U0LV5XLsiMCIHjc8sUPliTIcHNEZgBkoBdVe9cEMpcIwV5oeHWJi/tPt0dMISJ5P8K1mG0i2ULk5Up7vOUDN0WctL8CzhiGCcMr/H1lk3VbHKsxgcozIitnocCIwZuswJqNwu2XpkRw5xxVIMAK9tIZGfH+XMwFZcLghQsAF55fHyKYUVVI5n7PMLVbiDY8u9cVlZKL4qa3dBuus903f/zPGSJXbLcPqnVbuyOlIewxSNaPDX7YjIAdgkNk4IE+gCO82FnNpkWqVdtGT8Nx0PLOkt5FICl7aBFjIanFV1NnMo7qVXj0XNRdIoMBqx5T3WKp9k1EaYnaZwDax1zEDamyUSikwc0BPjnW1gZX5Hv6bQAVMWoXIZz9xJVd1Opv2sH1v534e+eCdcqHBv5sIFbYofeN3KvBEfdFBE4YHorT0u/rtBOBoNBVwrstjvNs3W9CbGqgubH2JUtCky2W+4mXwpmndXTYG8DZkMZ7YCqlQYgJLyPuLdxUjSz6IdMVaz/g8c5/d71jlJuiBl+VX6vFMmtec0/e9ivwH5RhkcsYrGw6dkKh3qymmdoHgc65K5dOLluNvZf/AQyInVXZAivKb2ppIW1t9pjaWN2wX6hEP7Vb8516OwJYzuGHUJFrBpUY=
|