rb_sys 0.9.65 → 0.9.66

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dc9ecb59d4b2cc130afff772c740063ee2bdbf5bdf15fb866aa6dcbb501d396
4
- data.tar.gz: b9c2c65ef48e0c5400ea857bb75ad9ec85ffac300a4290bc6f20ef00ca5e8163
3
+ metadata.gz: b2a29f7bd7d849f959e43750472221322759410924998fdb561290b3038abeb1
4
+ data.tar.gz: b1c225ebb8953cc031a92178a9059f5fc1992bb2e0fd521871075ec07b3aab1e
5
5
  SHA512:
6
- metadata.gz: 3c4acd2a28480da0b8adb18a48a806354afae12d963b9394f6ce9bd41f89c703a27dbe9a6bc52136f897ad7e64ccba70c9bbfd4231a9b209964d130dc703d8ad
7
- data.tar.gz: 849c5b3fd8209dfe41b6a5efc0dbd06d6760e849b32cd0182915f9e1d5e011885ba64d56ef7c8f8ed286094ba4efaaec2ad5ffa1134690579223ae826e81ba54
6
+ metadata.gz: 5a9508af6fc298b501a205532efba86a68315583003b923cff8e5293aed7513b2374b4830a8fbd7db64f33c2b547c9e52f36312372e4607b88cf239de516b1f5
7
+ data.tar.gz: 44ec31eab7e06c3f8308429b31b3535aeb27ce8eb7c95d40ae454d8cb0b83a43affbe47f2d4feabf2bf90335cb449f80bc618e8dc3dfb9f9f9211af02952f885
checksums.yaml.gz.sig CHANGED
Binary file
data/exe/rb-sys-dock CHANGED
@@ -28,6 +28,16 @@ def logger
28
28
  @logger ||= RbSys::Util::Logger.new(io: io)
29
29
  end
30
30
 
31
+ def list_platforms
32
+ RbSys::ToolchainInfo.supported.each do |p|
33
+ old = logger.io
34
+ logger.io = $stdout
35
+ puts "- #{p.platform}"
36
+ ensure
37
+ logger.io = old
38
+ end
39
+ end
40
+
31
41
  OptionParser.new do |opts|
32
42
  opts.banner = <<~MSG
33
43
  Usage: rb-sys-dock [OPTIONS] [COMMAND]
@@ -83,7 +93,7 @@ OptionParser.new do |opts|
83
93
  end
84
94
 
85
95
  opts.on("-r", "--ruby-versions LIST", "List all supported Ruby versions") do |arg|
86
- vers = arg.split(/[^0-9.]/).map do |v|
96
+ vers = arg.split(/[^0-9.]+/).map do |v|
87
97
  parts = v.split(".")
88
98
  parts[2] = "0" if parts[2].nil?
89
99
  parts.join(".")
@@ -129,16 +139,6 @@ OptionParser.new do |opts|
129
139
  end
130
140
  end.parse!
131
141
 
132
- def list_platforms
133
- RbSys::ToolchainInfo.supported.each do |p|
134
- old = logger.io
135
- logger.io = $stdout
136
- puts "- #{p.platform}"
137
- ensure
138
- logger.io = old
139
- end
140
- end
141
-
142
142
  def default_docker_command
143
143
  return @default_docker_command if defined?(@default_docker_command)
144
144
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbSys
4
- VERSION = "0.9.65"
4
+ VERSION = "0.9.66"
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_sys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.65
4
+ version: 0.9.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -30,7 +30,7 @@ cert_chain:
30
30
  Rl+ASkq2/1i07TkBpCf+2hq66+h/hx+/Y/KrUzXfe0jtvil0WESkJT2kqRqHWNhD
31
31
  9GKBxaQlXokNDtWCm1/gl6cD8WRZ0N5S4ZGJT1FLLsA=
32
32
  -----END CERTIFICATE-----
33
- date: 2023-02-13 00:00:00.000000000 Z
33
+ date: 2023-03-09 00:00:00.000000000 Z
34
34
  dependencies: []
35
35
  description:
36
36
  email:
metadata.gz.sig CHANGED
Binary file