adap 0.1.10 → 0.1.11
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/README_FOR_DEVELOPER.md +48 -0
- data/lib/adap/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4d066d43955b785f767ef096ba10701eaa529d53887e43252a6e8afbe25e734
|
4
|
+
data.tar.gz: 9877d4024cc4f6a63edd63f793df411189d3a3b24fa5a921b21af77c9e01d76d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add8058e5b15e510ee04c22de47f2843e3a26794bbe8bf306d67d0b0b16d51444ce760722af8b44046dd449421922fbd0eb13b3333c0ea22bd414b8b9f4390ae
|
7
|
+
data.tar.gz: 39eb23a7bd6af61aee6baea593fb5f74465ae6b4fd46c5288450a5b10013feafc47444e03c20204e8374e044637eadf849db23ea0c31c1a28e130854241cfc5d
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# To run workflow
|
2
|
+
|
3
|
+
# GitHub Actions
|
4
|
+
## For unit testing
|
5
|
+
When you push to any branch "master", "develop" or merge a PR to "master", the unit tests will run automatically.
|
6
|
+
Please check the progress in the Actions tab.
|
7
|
+
|
8
|
+
|
9
|
+
## For release (interactively)
|
10
|
+
First, you need to modify a version in `./lib/adap/version.py`.
|
11
|
+
Then, you can run the following command to trigger the release workflow.
|
12
|
+
|
13
|
+
```
|
14
|
+
$ vim lib/adap/version.rb
|
15
|
+
-> Update VERSION
|
16
|
+
```
|
17
|
+
|
18
|
+
Then create a commit and push it and create a PR.
|
19
|
+
After it was merged, you can run the following command to trigger the release workflow.
|
20
|
+
|
21
|
+
```
|
22
|
+
$ gh workflow run
|
23
|
+
? Select a workflow [Use arrows to move, type to filter]
|
24
|
+
> Ruby (release.yml) // <- Select "Ruby (release.yml)"
|
25
|
+
Ruby (ruby.yml)
|
26
|
+
Dependabot Updates (dependabot-updates)
|
27
|
+
|
28
|
+
? otp (required) // <- Input the OTP code
|
29
|
+
```
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
```
|
34
|
+
$ gh run list --workflow=release.yml
|
35
|
+
STATUS TITLE WORKFLOW BRANCH EVENT ID ELAPSED AGE
|
36
|
+
* Ruby Ruby master workflow_dispatch 12673039585 10s less than a minute ago
|
37
|
+
```
|
38
|
+
|
39
|
+
|
40
|
+
## For release (non-interactively)
|
41
|
+
You can also trigger the release workflow non-interactively.
|
42
|
+
|
43
|
+
```
|
44
|
+
gh workflow run release.yml --ref=master --field otp=123456
|
45
|
+
```
|
46
|
+
|
47
|
+
`--field otp=123456` is required to input the OTP code.
|
48
|
+
You have to change `123456` to the actual OTP code.
|
data/lib/adap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tsutomu Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- Gemfile
|
66
66
|
- Gemfile.lock
|
67
67
|
- README.md
|
68
|
+
- README_FOR_DEVELOPER.md
|
68
69
|
- Rakefile
|
69
70
|
- adap.gemspec
|
70
71
|
- bin/console
|