whichruby 0.1.0 → 0.2.0
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/exe/whichruby +8 -5
- data/exe/wrb +17 -0
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fb386521bb7f8a2d557bd21a0100d999b3d1df890a55bbfe11d771564280272
|
4
|
+
data.tar.gz: 1ffff14fa84e3bb5048e3c8a42e0d4a50cd5116cd410b8df6f9ac6a11c500b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b38f009803b0359dc5282118b387191ddbd5151ae1b1392638502aab6043f7b73ae78f34ab0b8dc8b70ccfd8b6bd7551820abb5672c17786a2ad70266b7cc3
|
7
|
+
data.tar.gz: 15c2872b887e3e6be05e5ccb755597f430fa6eced19edd77d7268c1c84c166ca2eda0930433ec64da806d9b21db968c36025711b242c6c4c0275cec0b65deb3d
|
data/exe/whichruby
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# ---------------------------------------------------------------
|
3
3
|
# File : whichruby.rb
|
4
|
-
# Authors :
|
4
|
+
# Authors : Aoran Zeng <ccmywish@qq.com>
|
5
5
|
# Created on : <2022-05-06>
|
6
|
-
# Last modified : <
|
6
|
+
# Last modified : <2023-05-19>
|
7
7
|
#
|
8
8
|
# whichruby:
|
9
9
|
#
|
10
|
-
# Test which ruby is called using this gem.
|
11
|
-
#
|
10
|
+
# Test which ruby is called using this gem and where am I.
|
12
11
|
# ---------------------------------------------------------------
|
13
12
|
|
14
|
-
puts
|
13
|
+
puts "[ Invoked at: #$0 ]
|
14
|
+
#{RUBY_DESCRIPTION}"
|
15
|
+
|
16
|
+
# Make it last, because we wanna feed ruby.exe path to some program
|
17
|
+
puts RbConfig.ruby
|
data/exe/wrb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# ---------------------------------------------------------------
|
3
|
+
# File : wrb.rb
|
4
|
+
# Authors : Aoran Zeng <ccmywish@qq.com>
|
5
|
+
# Created on : <2022-05-07>
|
6
|
+
# Last modified : <2023-05-19>
|
7
|
+
#
|
8
|
+
# wrb:
|
9
|
+
#
|
10
|
+
# Another name for `whichruby`
|
11
|
+
# ---------------------------------------------------------------
|
12
|
+
|
13
|
+
puts "[ Invoked at: #$0 ]
|
14
|
+
#{RUBY_DESCRIPTION}"
|
15
|
+
|
16
|
+
# Make it last, because we wanna feed ruby.exe path to some program
|
17
|
+
puts RbConfig.ruby
|
metadata
CHANGED
@@ -1,26 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whichruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Aoran Zeng
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Test which ruby is called using this gem
|
14
|
-
email:
|
15
|
-
- ccmywish@qq.com
|
13
|
+
description: Test which ruby is called using this gem
|
14
|
+
email: ccmywish@qq.com
|
16
15
|
executables:
|
17
16
|
- whichruby
|
17
|
+
- wrb
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- exe/whichruby
|
22
|
+
- exe/wrb
|
22
23
|
homepage: https://github.com/ccmywish/whichruby
|
23
|
-
licenses:
|
24
|
+
licenses:
|
25
|
+
- MIT
|
24
26
|
metadata:
|
25
27
|
homepage_uri: https://github.com/ccmywish/whichruby
|
26
28
|
source_code_uri: https://github.com/ccmywish/whichruby
|
@@ -40,8 +42,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
40
42
|
- !ruby/object:Gem::Version
|
41
43
|
version: '0'
|
42
44
|
requirements: []
|
43
|
-
rubygems_version: 3.
|
45
|
+
rubygems_version: 3.4.8
|
44
46
|
signing_key:
|
45
47
|
specification_version: 4
|
46
|
-
summary: Test which ruby is called
|
48
|
+
summary: Test which ruby is called
|
47
49
|
test_files: []
|