whichruby 0.1.1 → 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/whichruby +6 -4
  3. data/exe/wrb +6 -4
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 870837e4896202fabe6c7c572b93dfc43f49d5ce7c70f7dcee11a8a993ac3436
4
- data.tar.gz: 0fbb125fbc130420ae7beb249f6ce7d8aca5d6853f00a1df7e73335f62ba036f
3
+ metadata.gz: 0fb386521bb7f8a2d557bd21a0100d999b3d1df890a55bbfe11d771564280272
4
+ data.tar.gz: 1ffff14fa84e3bb5048e3c8a42e0d4a50cd5116cd410b8df6f9ac6a11c500b27
5
5
  SHA512:
6
- metadata.gz: bd75d419dee78182d796260b241b1c13e696912369d31bbfce8ac9e7c54fe75afa3b29d0ac85b2827137709c31ffa843007f1b4bcc50d8988094725ec62741a8
7
- data.tar.gz: 9d70f0dd3e9ad069b114f6d0e905471a9aca0c4d7f81a98002aaabe25ca031608fc3a591ba7142aa0b2a8fc4d9cc677391cdeb9e9e5217a900020f11d975864a
6
+ metadata.gz: 06b38f009803b0359dc5282118b387191ddbd5151ae1b1392638502aab6043f7b73ae78f34ab0b8dc8b70ccfd8b6bd7551820abb5672c17786a2ad70266b7cc3
7
+ data.tar.gz: 15c2872b887e3e6be05e5ccb755597f430fa6eced19edd77d7268c1c84c166ca2eda0930433ec64da806d9b21db968c36025711b242c6c4c0275cec0b65deb3d
data/exe/whichruby CHANGED
@@ -1,15 +1,17 @@
1
1
  #!/usr/bin/env ruby
2
2
  # ---------------------------------------------------------------
3
3
  # File : whichruby.rb
4
- # Authors : ccmywish <ccmywish@qq.com>
4
+ # Authors : Aoran Zeng <ccmywish@qq.com>
5
5
  # Created on : <2022-05-06>
6
- # Last modified : <2022-05-07>
6
+ # Last modified : <2023-05-19>
7
7
  #
8
8
  # whichruby:
9
9
  #
10
10
  # Test which ruby is called using this gem and where am I.
11
- #
12
11
  # ---------------------------------------------------------------
13
12
 
14
- puts "[ in #$0 ]
13
+ puts "[ Invoked at: #$0 ]
15
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 CHANGED
@@ -1,15 +1,17 @@
1
1
  #!/usr/bin/env ruby
2
2
  # ---------------------------------------------------------------
3
3
  # File : wrb.rb
4
- # Authors : ccmywish <ccmywish@qq.com>
4
+ # Authors : Aoran Zeng <ccmywish@qq.com>
5
5
  # Created on : <2022-05-07>
6
- # Last modified : <2022-05-07>
6
+ # Last modified : <2023-05-19>
7
7
  #
8
8
  # wrb:
9
9
  #
10
10
  # Another name for `whichruby`
11
- #
12
11
  # ---------------------------------------------------------------
13
12
 
14
- puts "[ in #$0 ]
13
+ puts "[ Invoked at: #$0 ]
15
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,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whichruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
- - ccmywish
7
+ - Aoran Zeng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-07 00:00:00.000000000 Z
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
18
17
  - wrb
@@ -22,7 +21,8 @@ files:
22
21
  - exe/whichruby
23
22
  - exe/wrb
24
23
  homepage: https://github.com/ccmywish/whichruby
25
- licenses: []
24
+ licenses:
25
+ - MIT
26
26
  metadata:
27
27
  homepage_uri: https://github.com/ccmywish/whichruby
28
28
  source_code_uri: https://github.com/ccmywish/whichruby
@@ -42,8 +42,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
44
  requirements: []
45
- rubygems_version: 3.2.33
45
+ rubygems_version: 3.4.8
46
46
  signing_key:
47
47
  specification_version: 4
48
- summary: Test which ruby is called using this gem.
48
+ summary: Test which ruby is called
49
49
  test_files: []