alex_codebreaker 0.2.1 → 0.2.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: 45c5af39ea850dcbd22066892cd1e053979d47d08f59b2c74ea8d5b1f68e34ca
|
4
|
+
data.tar.gz: e47dd8355031d15aa7da23da06767cf3b650e7e98dcc5c50c8818f5c615167cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a562623f8932d20f9c6f6aa9726fca094d05fd44c90970b8fc3be203bb8dd400003c6bdb88aae9a6e8c19fb26452a14e985f5a540797d11a353b80cfd84223
|
7
|
+
data.tar.gz: 99edfc134f0ca09d4795be1114d2ec6eeface1ae9bfa69175914aa44171db7a500898f23983493509eee587eed8078d6cc00f514e93ba4f6632e801b56f1cc75
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module AlexCodebreaker
|
2
2
|
class Configuration
|
3
|
-
DEFAULT_WINNERS_FOLDER_PATH = 'games/winners
|
4
|
-
DEFAULT_GAMES_FOLDER_PATH = 'games
|
3
|
+
DEFAULT_WINNERS_FOLDER_PATH = 'games/winners'.freeze
|
4
|
+
DEFAULT_GAMES_FOLDER_PATH = 'games'.freeze
|
5
5
|
|
6
6
|
attr_accessor :winners_folder_path, :games_folder_path
|
7
7
|
|
@@ -43,7 +43,7 @@ module AlexCodebreaker
|
|
43
43
|
def save_winner_statistic
|
44
44
|
@time = Time.new
|
45
45
|
check_folder_existence
|
46
|
-
path = "#{AlexCodebreaker.configuration.winners_folder_path}
|
46
|
+
path = "#{AlexCodebreaker.configuration.winners_folder_path}/#{WINNERS_FILE_NAME}"
|
47
47
|
File.open(path, 'a') { |file| file.write(to_yaml) }
|
48
48
|
end
|
49
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alex_codebreaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleksandr Loza
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|