get_xkcd 0.2.1 → 0.2.4
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/release.yml +14 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +7 -1
- data/lib/get_xkcd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c305081022ec7708506f4b18ba87a497bce817afedd99eb4ee0217e5afab0b8
|
4
|
+
data.tar.gz: 728fa633824538b80d310040f9e8e44f2efb00e60c046c60926a60510ec6be50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d535ffd3146389bb268df55e8f1a9326388d99970753e36700374e900d69cb4e96c9a68e534d9ad46941fee0c7dd51b0266861a873aaeb29a9b035dac8dcf890
|
7
|
+
data.tar.gz: a7c3e3d4176d2080bbd0f63283bf9b83b9cd3d4ab2500850d2ecf938fff8c1b58e294e00b41ff1eba37b76e472886bc51a16ae179d8bff8f5d7c0b30200825e1
|
@@ -6,10 +6,20 @@ jobs:
|
|
6
6
|
build:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
steps:
|
9
|
-
- uses: actions/checkout@
|
10
|
-
- name:
|
11
|
-
uses:
|
9
|
+
- uses: actions/checkout@v3
|
10
|
+
- name: Set up Ruby 2.6
|
11
|
+
uses: ruby/setup-ruby@v1
|
12
|
+
with:
|
13
|
+
ruby-version: 3.0
|
14
|
+
- run: bundle install
|
15
|
+
- name: Set Credentials
|
16
|
+
run: |
|
17
|
+
mkdir -p $HOME/.gem
|
18
|
+
touch $HOME/.gem/credentials
|
19
|
+
chmod 0600 $HOME/.gem/credentials
|
20
|
+
printf -- "---\n:github: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
|
12
21
|
env:
|
13
22
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
14
23
|
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
15
|
-
|
24
|
+
- name: Release Gem
|
25
|
+
run: rake publish_gem
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# 0.2.4
|
2
|
+
|
3
|
+
* Another workflow fix
|
4
|
+
|
5
|
+
# 0.2.3
|
6
|
+
|
7
|
+
* More workflow fixes
|
8
|
+
|
9
|
+
# 0.2.2
|
10
|
+
|
11
|
+
* Changes the Gem publishing workflow:
|
12
|
+
* Creates some new Rake tasks
|
13
|
+
* Updates the GitHub workflow for release.yml
|
14
|
+
|
1
15
|
# 0.2.1
|
2
16
|
|
3
17
|
* Updates Bundler version to fix issue with automatic deployment
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -15,8 +15,14 @@ task :build_gem do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
desc "Publish gem"
|
18
|
-
task :
|
18
|
+
task publish_gem: [:build_gem] do
|
19
19
|
`gem push pkg/*.gem`
|
20
|
+
Rake::Task[:empty_pkg].invoke
|
21
|
+
end
|
22
|
+
|
23
|
+
desc "Empty pkg directory"
|
24
|
+
task :empty_pkg do
|
25
|
+
`rm -rf pkg/*`
|
20
26
|
end
|
21
27
|
|
22
28
|
task default: %i[spec rubocop]
|
data/lib/get_xkcd/version.rb
CHANGED