get_xkcd 0.2.0 → 0.2.3
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 +11 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +16 -0
- data/lib/get_xkcd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '098f1f1ca9aaf6a1016a3a2ab70f375019cfdb67181da79b904cfccdc391ab13'
|
4
|
+
data.tar.gz: 0a7342b45708e3e77f8a9ae62a37358933532a2d65bb640160cc2729010b92eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 161471b61fa3b151056297a164711bb510c71776c0003e8e37d50c08ba1aff55800631d91c3e6ca429a224172fbf05af2ef89aec67433cd6ea3006a2b9772f86
|
7
|
+
data.tar.gz: 154f12fef807719eeef321ba1b6e9b4cf6050dbec0a45f9236547fedb4b5e4e6a77ca9b12d16408b4eb152fb84a680577e829bb88e123f7cf0d6880b73cfa07c
|
@@ -6,10 +6,17 @@ jobs:
|
|
6
6
|
build:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
steps:
|
9
|
-
- uses: actions/checkout@
|
10
|
-
- name:
|
11
|
-
|
9
|
+
- uses: actions/checkout@v3
|
10
|
+
- name: Bundle Install
|
11
|
+
run: bundle install
|
12
|
+
- name: Set Credentials
|
13
|
+
run: |
|
14
|
+
mkdir -p $HOME/.gem
|
15
|
+
touch $HOME/.gem/credentials
|
16
|
+
chmod 0600 $HOME/.gem/credentials
|
17
|
+
printf -- "---\n:github: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
|
12
18
|
env:
|
13
19
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
14
20
|
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
15
|
-
|
21
|
+
- name: Release Gem
|
22
|
+
run: rake publish_gem
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# 0.2.3
|
2
|
+
|
3
|
+
* More workflow fixes
|
4
|
+
|
5
|
+
# 0.2.2
|
6
|
+
|
7
|
+
* Changes the Gem publishing workflow:
|
8
|
+
* Creates some new Rake tasks
|
9
|
+
* Updates the GitHub workflow for release.yml
|
10
|
+
|
11
|
+
# 0.2.1
|
12
|
+
|
13
|
+
* Updates Bundler version to fix issue with automatic deployment
|
14
|
+
|
1
15
|
# 0.2.0
|
2
16
|
|
3
17
|
* Adds functionality to get a specific issue
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -9,4 +9,20 @@ require "rubocop/rake_task"
|
|
9
9
|
|
10
10
|
RuboCop::RakeTask.new
|
11
11
|
|
12
|
+
desc "Build gem"
|
13
|
+
task :build_gem do
|
14
|
+
`rake build`
|
15
|
+
end
|
16
|
+
|
17
|
+
desc "Publish gem"
|
18
|
+
task publish_gem: [:build_gem] do
|
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/*`
|
26
|
+
end
|
27
|
+
|
12
28
|
task default: %i[spec rubocop]
|
data/lib/get_xkcd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: get_xkcd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- superchilled
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This library provides methods to get the JSON data for either the most
|
14
14
|
recent XKCD comic or a random one, and then return the JSON data as a Ruby Hash.
|