codebreaker_karolina 0.1.1 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/codebreaker_karolina-0.1.0.gem +0 -0
- data/codebreaker_karolina-0.1.1.gem +0 -0
- data/codebreaker_karolina-0.1.2.gem +0 -0
- data/lib/codebreaker_karolina/version.rb +1 -1
- data/lib/modules/game.rb +1 -1
- data/lib/modules/user.rb +4 -6
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1276ade3c40cf26100044dfbf9666471ea8572c0392bd77876c1d0c05f495097
|
4
|
+
data.tar.gz: 4d5962dc8c4751e4d09998f06cb2ea6fbbeef06273c7941d065b37820d4c83b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2863324da0f6b4603426e8070b7aaeb0b842a642285e206928ef6f3f4677c6d6a1fa484eadc6b34c97a275abe301bd062d5b57c66e77c7de6058506a1656174d
|
7
|
+
data.tar.gz: 9d15b36e87d3f36f27965a6b81b3c821b41f75f373b2815cd9c2d5d4e82edc9d8930420128cbca4d984b5e9abaac4172d994bd5e9d6bb9865ee8b4b6fe6fa0fe
|
data/Gemfile.lock
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/modules/game.rb
CHANGED
data/lib/modules/user.rb
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
class User
|
2
2
|
attr_accessor :used_attempts, :used_hints
|
3
|
+
attr_reader :name
|
3
4
|
|
4
|
-
def initialize
|
5
|
-
@used_attempts = 0
|
6
|
-
@used_hints = 0
|
7
|
-
end
|
8
|
-
|
9
|
-
def name(name)
|
5
|
+
def initialize(name)
|
10
6
|
return unless valid?(name)
|
11
7
|
|
12
8
|
@name = name
|
9
|
+
@used_attempts = 0
|
10
|
+
@used_hints = 0
|
13
11
|
end
|
14
12
|
|
15
13
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codebreaker_karolina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- drkarolina
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fasterer
|
@@ -124,6 +124,9 @@ files:
|
|
124
124
|
- Rakefile
|
125
125
|
- bin/console
|
126
126
|
- bin/setup
|
127
|
+
- codebreaker_karolina-0.1.0.gem
|
128
|
+
- codebreaker_karolina-0.1.1.gem
|
129
|
+
- codebreaker_karolina-0.1.2.gem
|
127
130
|
- lib/codebreaker_karolina.rb
|
128
131
|
- lib/codebreaker_karolina/version.rb
|
129
132
|
- lib/constants.rb
|