Dogeku 1.0.2 → 1.0.3

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/app/model/Score.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d70a62eb9dd605e9c695ee1fcd89231690b85fa0
4
- data.tar.gz: d6499a6f109d6a9bb1c600a89b2940a9f4613830
3
+ metadata.gz: 4cd21cbae97be379d133fb4df34ea72a6644ef6f
4
+ data.tar.gz: b03e68b382952d1002d69561911c47eb29ab384a
5
5
  SHA512:
6
- metadata.gz: 5b51864d3f3257bb00f563d904959c6b70ae03692ec2c332fa15a528def986a1dd2195e6d3ab6070b71c2bedfd09bbb5f1e65c0bbb1af9316d22aa27086a6177
7
- data.tar.gz: da9a04f74704da5b0e1527faccd280fc03e7c6f09db24e7e1bd77fa27c2ef5a7e3772824aa268445d7888e7ff436d53166429a480d8728a45cf4934780eaf120
6
+ metadata.gz: 682d0572771b07122d6ae845af1816a96870932c7522631890618f53a30ce8c21b9a7b4eba61e37c22806e162b2ffd0c060609e032c315b6d4c64ff6160c663b
7
+ data.tar.gz: 970a7287d1ac7df183af68c05fdb56641e3cf8b2b5d7a72c2b7cd533e22d79f15d2418d340568c24718d102cc549ae57ac23baf74fe520da49c5f3eb9b863212
data/app/model/Score.rb CHANGED
@@ -92,7 +92,7 @@ class Score < Model
92
92
  tempsResoluMoy = 3*60
93
93
 
94
94
  evolutionScore = (tempsResoluMoy - tempsChrono) + ((tempsResoluMoy/10)*(20 - penalite))
95
- scoreCourant = (@difficulte)*evolutionScore
95
+ scoreCourant = (@difficulte + 1)*evolutionScore
96
96
 
97
97
  return scoreCourant
98
98
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dogeku
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - DanAurea