probatio 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44efe96384518157bb668fc7ef2969240f04250ebeb861aa27f5a59e6bf9d368
4
- data.tar.gz: abc011024ad1ae3518cf4882d450f8b38b86f40465ad7b8cec00d35fd23a8a76
3
+ metadata.gz: cd1f950d5d015ce5c74dea984568661b91aace4fafd7eb7904d6e4ce5a0d378d
4
+ data.tar.gz: 0a4b0bfc642e0a4b3e5f1a05b774e75bf9e1abc39c23d44dad0a7198c036ff26
5
5
  SHA512:
6
- metadata.gz: 48349c94e1b191132d9285570e4f6f92642c9ce2014e3fc95a13f83d4281a734f48e95a52029b9de2d37eed8119db1f42c13f8b15a1ec3b58347fbd4c6da875d
7
- data.tar.gz: b1a04070f74486d7201bdea7836b1bd66eae9c981c1bbd0bbcf4da9fc572015c0ef176783943fea9e397bfe3551ee93d1aeb13ec00e8d02f9a63c563544d56cb
6
+ metadata.gz: 46a775f846dbc48ee13b0626d3dd469e402eee354433e5d7d95ccd1481d6518418e1475afeac0e7cf6c2ebca1df1278c5c1a6f014c2be58e4543f9ac14d3c1ac
7
+ data.tar.gz: 33e87186c8baa159a43d1491e3fe580069dd0288337b85a3351380f74a4c2c5a2fc80660efa34b3b48691d4866deb44afcbc7d733d622dd4d7fe6fd4c27b94d8
data/CHANGELOG.md CHANGED
@@ -2,30 +2,35 @@
2
2
  # CHANGELOG.md
3
3
 
4
4
 
5
- ## proba 1.2.0 released 2025-05-19
5
+ ## probatio 1.2.1 released 2025-05-20
6
+
7
+ * Tighten Probatio.beep and friends
8
+
9
+
10
+ ## probatio 1.2.0 released 2025-05-19
6
11
 
7
12
  * Introduce Probatio::Context#beep
8
13
  * Introduce --beeps {n || 1}
9
14
  * Allow for list.rb as 'list'
10
15
 
11
16
 
12
- ## proba 1.1.1 released 2025-05-08
17
+ ## probatio 1.1.1 released 2025-05-08
13
18
 
14
19
  * Fix .probatio-output.rb string/number alignment
15
20
  * Fix assert_error and assert_no_error
16
21
 
17
22
 
18
- ## proba 1.1.0 released 2025-04-16
23
+ ## probatio 1.1.0 released 2025-04-16
19
24
 
20
25
  * Introduce `assert_no_error { do_this_or_that() }`
21
26
 
22
27
 
23
- ## proba 1.0.0 released 2025-02-08
28
+ ## probatio 1.0.0 released 2025-02-08
24
29
 
25
30
  * Initial release
26
31
 
27
32
 
28
- ## proba 0.9.0 released 2024-12-19
33
+ ## probatio 0.9.0 released 2024-12-19
29
34
 
30
35
  * Initial bogus release ;-)
31
36
 
@@ -246,7 +246,7 @@ module Probatio
246
246
 
247
247
  def self.beep(count=1)
248
248
 
249
- count.times { Probatio._beep; sleep 0.5 }
249
+ (count || 0).times { Probatio._beep; sleep 0.5 }
250
250
  end
251
251
  end
252
252
 
@@ -254,7 +254,7 @@ class Probatio::Beeper
254
254
 
255
255
  def on_exit(ev)
256
256
 
257
- Probatio.beep(ev.opts[:beeps])
257
+ Probatio.beep(ev.opts[:beeps] || 0)
258
258
  end
259
259
  end
260
260
 
data/lib/probatio.rb CHANGED
@@ -15,7 +15,7 @@ require 'probatio/more'
15
15
 
16
16
  module Probatio
17
17
 
18
- VERSION = '1.2.0'
18
+ VERSION = '1.2.1'
19
19
 
20
20
  class << self
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: probatio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-19 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorato