sloubi 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sloubi.rb +9 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99b5e7ebe6dd34fee21b8d8083ff02c9d9908880
4
- data.tar.gz: c46a6056155eb9901b03a8075a2dedbe09a15e52
3
+ metadata.gz: 3888f8d0209cfdac22f6a2bbd8d289daa970954c
4
+ data.tar.gz: e7bcc8ea3db2aba22827af2e0d7d65719052efd8
5
5
  SHA512:
6
- metadata.gz: 75c1aede96a48f6b47de4aaa0f478a00ec5556d51b913690bfafb655ba33d1f8ba6926bcdc07e69dadbe3cd18880991ca6f0c38f9a6988a4b7a81b820ab144c2
7
- data.tar.gz: 627b1f3d0e8dea089392ef2d4db7b7bd57ae8204c072c76685256f04d86088cf2d01fa6b664394fa5265af4032ee9fd9513eea93a6af08859fe849ed33325d91
6
+ metadata.gz: b71146848edb7638e4aac5a0c825844e21b4b4a254e58d8a686874bedb26beafaebfba2de2fd47a7df148f48b38b4da26b19f79f383e9f93155dd9ba493625d1
7
+ data.tar.gz: 8fb6cb06d6968a2e434a9d3bb95cb35ea3f53a592c42535edbbdeb053662095174359109bf97f346879a7f3c781699a65844584fcaba9202e0068f3d939219cf
data/lib/sloubi.rb CHANGED
@@ -7,8 +7,16 @@ module Sloubi
7
7
  return 0 if ninit > n
8
8
  (ninit..n).each do |i|
9
9
  puts "Sloubi #{i}"
10
- `espeak "Sloubi #{i}" -a 200 -vfr` if v == true
10
+ if v == true
11
+ if i <= 99999999999999
12
+ `espeak "Sloubi #{i}" -a 200 -vfr`
13
+ else
14
+ `espeak "Je sais pas compter jusque là, moi !" -a 200 -vfr`
15
+ return i
16
+ end
17
+ end
11
18
  end
19
+ return i
12
20
  end
13
21
  end
14
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sloubi
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
  - poulet_a