sloubi 1.4.0 → 1.4.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 +2 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f57d79b942ea0a57d2ff824436498931dbfdb303
4
- data.tar.gz: 41b29a40ed945bfda6faabf065d265a23be6d559
3
+ metadata.gz: 172ff7865b478d7388c7def2ed91372df935b8e8
4
+ data.tar.gz: dafba1aab5269f12010cd90613d51e9147ed01ef
5
5
  SHA512:
6
- metadata.gz: 35acd0db3be6f048ac829560b5ea797becc009b21306ebe30d620d9374111b07b2283bac4124057f044f326f9846d948fdd38452a9d95be70adb5d097e5dc666
7
- data.tar.gz: f8b5984a8ed8d678a99ca16df734a5d679a98511da841cc0ce8148ed6a031a1cc64461c5306909c6591b713784fe4162880b652f3d6ba1dc4509ab9d5c2311ab
6
+ metadata.gz: 4893d860bd68d13e9d133f35e1d216646d3104626ed751de9fdd18995c6dfd0b3ee521ea0b26e16dc96c82dd7cf8d2ea38ec87a90e10293bfd865d926290d45c
7
+ data.tar.gz: c0ea063e586817b78d336e9b100ff6411c47db8170ddfcfdd5d76820635c7edb47c4b0aedaacd24e0836b3689bb7ce03cd4c07828f16b4f447233eeaeca78d82
data/lib/sloubi.rb CHANGED
@@ -12,7 +12,7 @@ module Sloubi
12
12
  end
13
13
  else
14
14
  (ninit..n).each do |i|
15
- sing i
15
+ return i if sing(i) == false
16
16
  end
17
17
  end
18
18
  end
@@ -22,6 +22,7 @@ module Sloubi
22
22
  if v == true
23
23
  if i <= 99999999999999
24
24
  `espeak "Sloubi #{i}" -a 200 -vfr`
25
+ return true
25
26
  else
26
27
  `espeak "Je sais pas compter jusque là, moi !" -a 200 -vfr`
27
28
  return false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sloubi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - poulet_a
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-28 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: require 'sloubi' ; Sloubi::Sloubi.count(424242, 4242, false)
14
14
  email:
@@ -42,6 +42,6 @@ rubyforge_project:
42
42
  rubygems_version: 2.2.2
43
43
  signing_key:
44
44
  specification_version: 4
45
- summary: Add the random option when ninit == 0
45
+ summary: Fix
46
46
  test_files: []
47
47
  has_rdoc: