pbmenv 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +3 -3
- data/README.md +3 -1
- data/lib/pbmenv/cli.rb +4 -1
- data/lib/pbmenv/version.rb +1 -1
- data/lib/pbmenv.rb +0 -2
- 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: 963376cad2db3fdeb567e333e980a9fd37769d2fcb63be03a9292a49fc6934e6
|
4
|
+
data.tar.gz: 855f53dd708ff941bf4cae896eb87861a9c2f5aacb9e3bcc42c445633065a8eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4764912ad9754c55a89406b4540dd1ce9f31e1148d0b40bc8ef4db48c16ef559e3be12cb329253eebb4c4b1bd40dba069d8b2dfcb68cfc4c68531cc34e06ddf8
|
7
|
+
data.tar.gz: a729bf9fa4dafab651e7b84e9243cdb509857be8f7fdcc2c9bde2973fefc91503a7b738183d8cc083751643ae71703a20584a031c74c80f066d9a259e2ff1fc9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
## [0.1.
|
1
|
+
## [0.1.6] - 2021-12-01
|
2
|
+
- Improve spec
|
3
|
+
- installコマンドでcurrentの張り替えをしないようにしました。currentの参照を変えるときはuseコマンドを使ってください
|
2
4
|
|
5
|
+
## [0.1.5] - 2021-11-16
|
3
6
|
- `/usr/share/pbm/shared/device_id` を作成するようにしました
|
7
|
+
|
4
8
|
## [0.1.4] - 2021-11-15
|
5
9
|
|
6
10
|
- `/usr/share/pbm/current/device_id` にシムリンクを作成するようにしました
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pbmenv (0.1.
|
4
|
+
pbmenv (0.1.6)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
rspec-mocks (3.10.2)
|
26
26
|
diff-lcs (>= 1.2.0, < 2.0)
|
27
27
|
rspec-support (~> 3.10.0)
|
28
|
-
rspec-support (3.10.
|
28
|
+
rspec-support (3.10.3)
|
29
29
|
|
30
30
|
PLATFORMS
|
31
31
|
aarch64-linux
|
@@ -39,4 +39,4 @@ DEPENDENCIES
|
|
39
39
|
rspec
|
40
40
|
|
41
41
|
BUNDLED WITH
|
42
|
-
2.2.
|
42
|
+
2.2.31
|
data/README.md
CHANGED
@@ -17,6 +17,7 @@ gem 'pbmenv'
|
|
17
17
|
* pbmenv available_versions
|
18
18
|
* pbmenv versions
|
19
19
|
* pbmenv install $version
|
20
|
+
* pbmenv use $version
|
20
21
|
* pbmenv uninstall $version
|
21
22
|
* API
|
22
23
|
* Pbmenv.available_versions
|
@@ -26,6 +27,7 @@ gem 'pbmenv'
|
|
26
27
|
* Pbmenv.install(version)
|
27
28
|
* https://github.com/splaplapla/procon_bypass_man/archive/refs/tags/v#{version}.tar.gz をダウンロードして、
|
28
29
|
* /usr/share/pbm/#{version} に app.rb, pbm.servive, setting.yml を配備する
|
30
|
+
* Pbmenv.use(version)
|
29
31
|
* /usr/share/pbm/#{version} を /usr/share/pbm/current へのシムリンクを作成する
|
30
32
|
* Pbmenv.uninstall(version)
|
31
33
|
* /usr/share/pbm/current が削除対象だったら例外を投げる
|
@@ -40,6 +42,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
40
42
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
41
43
|
|
42
44
|
## Development
|
43
|
-
* docker-compose build --no-cache
|
45
|
+
* docker-compose build --no-cache
|
44
46
|
* docker-compose run app bash
|
45
47
|
* bin/rspec
|
data/lib/pbmenv/cli.rb
CHANGED
@@ -10,6 +10,9 @@ module Pbmenv
|
|
10
10
|
when 'install', 'i'
|
11
11
|
sub_command_arg = argv[1]
|
12
12
|
Pbmenv.install(sub_command_arg)
|
13
|
+
when 'use', 'u'
|
14
|
+
sub_command_arg = argv[1]
|
15
|
+
Pbmenv.use(sub_command_arg)
|
13
16
|
when 'uninstall'
|
14
17
|
sub_command_arg = argv[1]
|
15
18
|
Pbmenv.uninstall(sub_command_arg)
|
@@ -18,7 +21,7 @@ module Pbmenv
|
|
18
21
|
else
|
19
22
|
puts <<~EOH
|
20
23
|
Unknown command:
|
21
|
-
available commands: available_versions, versions, install, uninstall
|
24
|
+
available commands: available_versions, versions, install, use, uninstall
|
22
25
|
EOH
|
23
26
|
end
|
24
27
|
end
|
data/lib/pbmenv/version.rb
CHANGED
data/lib/pbmenv.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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jiikko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A package manager of PBM
|
14
14
|
email:
|