code_brkr_game_training 0.9.1 → 0.9.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b837f5597a2519c21d96c308356ca46b0355b44cd663ad7b37bb170663353d8
|
4
|
+
data.tar.gz: 246fa97e39ea81dd95359fe7e3924cf7326aab07f7e8c10e7caace93bd7c325e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed45190ae59db6543caf8b05189866fb5755920289dc04653715922fec64a2c7482e5e91382d84a0c478db63adf270bffee3229a2a81d0c52b4f253912f279fa
|
7
|
+
data.tar.gz: e628ce71dc943192feb7dfa8d26bd9a343d0660cfde56f11ccd233d828d2218cfb93160f2587ae868aa4a2ab9506f6569cc9db723f41fab35ff31d5c9eb389a8
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module CodeBrkrGameTraining
|
|
12
12
|
difficulty_init = difficulty.init_values
|
13
13
|
difficulty_actual = difficulty.actual_values
|
14
14
|
game_session = {
|
15
|
-
name: user.name, difficulty: difficulty_init[:name],
|
15
|
+
name: user.name, time: DateTime.now, difficulty: difficulty_init[:name],
|
16
16
|
attempts_total: difficulty_init[:attempts], hints_total: difficulty_init[:hints]
|
17
17
|
}
|
18
18
|
game_session[:attempts_used] = game_session[:attempts_total] - difficulty_actual[:attempts]
|