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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7798cbacb6c05d2714a4ea66114cbeea050d7586a249340ac6662858dde1ab0a
4
- data.tar.gz: b321cf8950a3b45bff3e85d5066b7c9a43c6ebd660d32f0fa4ece6648aa02004
3
+ metadata.gz: '098f1f1ca9aaf6a1016a3a2ab70f375019cfdb67181da79b904cfccdc391ab13'
4
+ data.tar.gz: 0a7342b45708e3e77f8a9ae62a37358933532a2d65bb640160cc2729010b92eb
5
5
  SHA512:
6
- metadata.gz: 55c89f55e8c64d9eccfb97cfd2b559c0f5db11cd9d56ba8422fa2fc6087cc2c6c24e22d600265745a92dbd0843a99c6e7d501daeed7af7c4358e0dfb306dc3df
7
- data.tar.gz: f6d22e3f705f2d3c693bd75229a4649481ba554e0f69c475c1acf87376adc8532ea3d00664405d6e7fbe313064efeda748e32ea29424bc54834f04bc27287414
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@v1
10
- - name: Release Gem
11
- uses: cadwallion/publish-rubygems-action@master
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
- RELEASE_COMMAND: rake release
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- get_xkcd (0.2.0)
4
+ get_xkcd (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GetXkcd
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.3"
5
5
  end
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.0
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-17 00:00:00.000000000 Z
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.