pbmenv 0.1.1 → 0.1.2
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/.circleci/config.yml +0 -1
- data/.github/workflows/release.yml +33 -0
- data/.github/workflows/ruby.yml +32 -0
- data/CHANGELOG.md +5 -1
- data/Dockerfile +1 -1
- data/Gemfile.lock +2 -1
- data/README.md +1 -0
- data/Rakefile +10 -1
- data/lib/pbmenv/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0a9101c515824a7260f8b7fa580f1ed510170115d2181defc5f45883bf5eccc
|
|
4
|
+
data.tar.gz: 6e90fafc2894fc95d6ace3a63864117fbeaf2da18527f0748f7bb41a6240813a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d880d194e32cd5070a8b4eb871a6ac7ef05a9aa4803532b9dcc8c95ad81358b0b18e763a77cd86d6fb93b46c3b12b2e1bca468ea7bb04a0bf7e097c65a93933
|
|
7
|
+
data.tar.gz: a82362de51b9910c13876938cbb4ea31b03ec9709bbae00785b989a13520f243da40d9fa4698d5e4c29ab5a8679af9846e046dc6ede8eefb974be4d2ba59c913
|
data/.circleci/config.yml
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Publish to RubyGems
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
[workflow_dispatch]
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v2
|
|
14
|
+
with:
|
|
15
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
16
|
+
- name: Set up Ruby 2.6
|
|
17
|
+
uses: ruby/setup-ruby@v1
|
|
18
|
+
with:
|
|
19
|
+
ruby-version: 2.6
|
|
20
|
+
bundler-cache: true
|
|
21
|
+
- name: Publish to RubyGems
|
|
22
|
+
run: |
|
|
23
|
+
git config --local user.email "action@github.com"
|
|
24
|
+
git config --local user.name "GitHub Action"
|
|
25
|
+
|
|
26
|
+
mkdir -p $HOME/.gem
|
|
27
|
+
touch $HOME/.gem/credentials
|
|
28
|
+
chmod 0600 $HOME/.gem/credentials
|
|
29
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_TOKEN}\n" > $HOME/.gem/credentials
|
|
30
|
+
bundle exec rake release
|
|
31
|
+
env:
|
|
32
|
+
RUBYGEMS_API_TOKEN: "${{secrets.RUBYGEMS_API_TOKEN}}"
|
|
33
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
+
|
|
8
|
+
name: Ruby
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
[push, workflow_dispatch]
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
ruby-version: ['2.5', '2.7', '3.0']
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v2
|
|
23
|
+
- name: Set up Ruby
|
|
24
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
25
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
26
|
+
# uses: ruby/setup-ruby@v1
|
|
27
|
+
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
|
28
|
+
with:
|
|
29
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
30
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
31
|
+
- name: Run tests
|
|
32
|
+
run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Pbmenv
|
|
2
|
+
[](https://github.com/splaplapla/pbmenv/actions/workflows/ruby.yml)
|
|
2
3
|
|
|
3
4
|
* https://github.com/splaplapla/procon_bypass_man のバージョンマネージャー
|
|
4
5
|
* Raspberry Pi OSでの実行を想定しています
|
data/Rakefile
CHANGED
data/lib/pbmenv/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pbmenv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jiikko
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A package manager of PBM
|
|
14
14
|
email:
|
|
@@ -19,6 +19,8 @@ extensions: []
|
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- ".circleci/config.yml"
|
|
22
|
+
- ".github/workflows/release.yml"
|
|
23
|
+
- ".github/workflows/ruby.yml"
|
|
22
24
|
- ".gitignore"
|
|
23
25
|
- ".rspec"
|
|
24
26
|
- CHANGELOG.md
|
|
@@ -44,7 +46,7 @@ licenses:
|
|
|
44
46
|
- MIT
|
|
45
47
|
metadata:
|
|
46
48
|
homepage_uri: https://github.com/splaplapla/pbmenv
|
|
47
|
-
post_install_message:
|
|
49
|
+
post_install_message:
|
|
48
50
|
rdoc_options: []
|
|
49
51
|
require_paths:
|
|
50
52
|
- lib
|
|
@@ -59,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
59
61
|
- !ruby/object:Gem::Version
|
|
60
62
|
version: '0'
|
|
61
63
|
requirements: []
|
|
62
|
-
rubygems_version: 3.
|
|
63
|
-
signing_key:
|
|
64
|
+
rubygems_version: 3.0.3.1
|
|
65
|
+
signing_key:
|
|
64
66
|
specification_version: 4
|
|
65
67
|
summary: A package manager of PBM
|
|
66
68
|
test_files: []
|