Skip to content

Commit

Permalink
v2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj committed Jan 31, 2022
1 parent 51fb0b4 commit b265aac
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', '2.7']
ruby-version: ['3.1', '3.0', '2.7']
env:
BUNDLE_WITHOUT: docs development # https://bundler.io/v1.5/groups.html
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
.bundle/
/node_modules
.git
package-lock.json
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ruby 3.0.1
nodejs 14.17.4
ruby 3.1.0
nodejs 16.13.2
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Official verified image
FROM ruby:3.0.3-alpine3.15
FROM ruby:3.1.0-alpine3.15

# Remote git repository <-> Remote container registry
LABEL org.opencontainers.image.source https://github.com/noraj/ctf-party
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ctf-party (2.0.0)
ctf-party (2.1.0)
docopt (~> 0.6)

GEM
Expand Down Expand Up @@ -52,4 +52,4 @@ DEPENDENCIES
yard (>= 0.9.27, < 0.10)

BUNDLED WITH
2.2.15
2.3.6
2 changes: 1 addition & 1 deletion ctf_party.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

s.required_ruby_version = ['>= 2.7.0', '< 3.1']
s.required_ruby_version = ['>= 2.7.0', '< 3.2']

s.add_runtime_dependency('docopt', '~> 0.6')
end
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
version: '3'
services:
ctf-party:
image: noraj/ctf-party:2.0.0
image: noraj/ctf-party:2.1.0
user: noraj
container_name: ctf-party
read_only: false
build:
context: .
dockerfile: Dockerfile
args:
CTF_PARTY_VERSION: 2.0.0
CTF_PARTY_VERSION: 2.1.0
8 changes: 8 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.1.0]

- Chore:
- Add support for Ruby 3.1
- Update ruby version in Dockerfile
- Documentation:
- Add `pass` unlock step to build docker (DockerHub) for the publishing page

## [2.0.0]

- New options:
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $ git clone https://github.com/noraj/ctf-party.git
$ cd ctf-party
$ docker-compose build
# alternatively without docker compose
$ docker build -f Dockerfile -t ctf-party --build-arg ctf-party_VERSION=2.0.0 .
$ docker build -f Dockerfile -t ctf-party --build-arg ctf-party_VERSION=2.1.0 .
```

Usage examples:
Expand All @@ -77,7 +77,7 @@ host: `docker.io`
$ docker pull noraj/ctf-party
# specific tag
$ docker pull noraj/ctf-party:2.0.0
$ docker pull noraj/ctf-party:2.1.0
```

Repository: [noraj/ctf-party](https://hub.docker.com/r/noraj/ctf-party).
Expand All @@ -93,7 +93,7 @@ host: `ghcr.io`
$ docker pull ghcr.io/noraj/ctf-party
# specific tag
$ docker pull ghcr.io/noraj/ctf-party:2.0.0
$ docker pull ghcr.io/noraj/ctf-party:2.1.0
```

Repository: [noraj/ctf-party](https://github.com/noraj/ctf-party/pkgs/container/ctf-party)
Expand All @@ -109,7 +109,7 @@ host: `registry-intl.eu-central-1.aliyuncs.com`
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party
# specific tag
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party:2.0.0
$ docker pull registry-intl.eu-central-1.aliyuncs.com/noraj/ctf-party:2.1.0
```

Repository: [the overview page is not public](https://cr.console.aliyun.com/repository/eu-central-1/noraj/ctf-party/details)
Expand Down
3 changes: 3 additions & 0 deletions docs/pages/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ $ gem push ctf-party-x.x.x.gem

```
$ docker build -f Dockerfile -t noraj/ctf-party:x.x.x --build-arg CTF_PARTY_VERSION=x.x.x .
$ docker login docker.io
$ pass show docker-credential-helpers/aHR0cHM6Ly9pbmRleC5kb2NrZXIuaW8vdjEv/USERNAME
$ docker push docker.io/noraj/ctf-party:x.x.x
$ docker push docker.io/noraj/ctf-party
```
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/String.html
Original file line number Diff line number Diff line change
Expand Up @@ -8670,9 +8670,9 @@ <h3 class="signature " id="urxor!-instance_method">
</div>

<div id="footer">
Generated on Sun Jan 16 15:59:27 2022 by
Generated on Mon Jan 31 15:18:40 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/yard/Version.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>
<dt id="VERSION-constant" class="">VERSION =

</dt>
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.0.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>

</dl>

Expand All @@ -111,9 +111,9 @@ <h2>
</div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ <h2>Namespace Listing A-Z</h2>
</div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/file.LICENSE.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
<div id="content"><div id='filecontents'>The MIT License (MIT)<br/><br/>Copyright (c) 2020-2020 Alexandre ZANNI<br/>Copyright (c) 2019-2020 Alexandre ZANNI at Orange Cyberdefense<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the &quot;Software&quot;), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in<br/>all copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br/>THE SOFTWARE.</div></div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/file.README.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ <h2>Author</h2>
</div></div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ <h2>Author</h2>
</div></div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/yard/top-level-namespace.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ <h2>Defined Under Namespace</h2>
</div>

<div id="footer">
Generated on Sun Jan 16 15:59:26 2022 by
Generated on Mon Jan 31 15:18:39 2022 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.27 (ruby-3.0.1).
0.9.27 (ruby-3.1.0).
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/ctf_party/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Version
VERSION = '2.0.0'
VERSION = '2.1.0'
end

0 comments on commit b265aac

Please sign in to comment.