andrii_codebreaker 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +0 -4
- data/andrii_codebreaker.gemspec +0 -1
- data/lib/andrii_codebreaker/difficulty.rb +1 -1
- data/lib/andrii_codebreaker/game.rb +0 -7
- data/lib/andrii_codebreaker/version.rb +1 -1
- data/lib/andrii_codebreaker.rb +0 -2
- metadata +1 -17
- data/config/i18n.rb +0 -3
- data/config/locales/en.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bbc75e2ca53efd3c8c664765094884f8b2f1238c3b010b66f1652d41fbe3875
|
4
|
+
data.tar.gz: c929acbe775de6c16915289aab8ebcba90cc64c6e1f57bd671526552adeb6688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a034dc7c27ac804ca5ccfa9810134a34d71d9ca10af0da69123ea91e5d5e0bf88842ce272fc4c7d0946cd8b89738bcb87c7c61168119c9c042c46ddf9603c592
|
7
|
+
data.tar.gz: 48344173cf96f64068804b5e5e5074cbf3338a43731b36c509d5fade4db96f4dee327ac2e7565ea5a41042dba5d3174c996478c80424b765fcb313817110dd87
|
data/Gemfile.lock
CHANGED
@@ -8,15 +8,12 @@ GEM
|
|
8
8
|
specs:
|
9
9
|
ast (2.4.2)
|
10
10
|
colorize (0.8.1)
|
11
|
-
concurrent-ruby (1.1.9)
|
12
11
|
diff-lcs (1.4.4)
|
13
12
|
docile (1.4.0)
|
14
13
|
fasterer (0.9.0)
|
15
14
|
colorize (~> 0.7)
|
16
15
|
ruby_parser (>= 3.14.1)
|
17
16
|
ffaker (2.20.0)
|
18
|
-
i18n (1.8.11)
|
19
|
-
concurrent-ruby (~> 1.0)
|
20
17
|
parallel (1.21.0)
|
21
18
|
parser (3.0.2.0)
|
22
19
|
ast (~> 2.4.1)
|
@@ -69,7 +66,6 @@ DEPENDENCIES
|
|
69
66
|
andrii_codebreaker!
|
70
67
|
fasterer
|
71
68
|
ffaker
|
72
|
-
i18n
|
73
69
|
rake
|
74
70
|
rspec
|
75
71
|
rubocop
|
data/andrii_codebreaker.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_development_dependency 'fasterer'
|
23
23
|
spec.add_development_dependency 'ffaker'
|
24
|
-
spec.add_development_dependency 'i18n'
|
25
24
|
spec.add_development_dependency 'rake'
|
26
25
|
spec.add_development_dependency 'rspec'
|
27
26
|
spec.add_development_dependency 'rubocop'
|
@@ -8,13 +8,6 @@ module AndriiCodebreaker
|
|
8
8
|
attr_reader :player_name, :difficulties, :secret_code
|
9
9
|
attr_accessor :used_hints, :used_attempts, :available_hints
|
10
10
|
|
11
|
-
CONST_COMMAND = {
|
12
|
-
start: I18n.t('game.start'),
|
13
|
-
rules: I18n.t('game.rules'),
|
14
|
-
stats: I18n.t('game.stats'),
|
15
|
-
exit: I18n.t('game.exit')
|
16
|
-
}.freeze
|
17
|
-
|
18
11
|
def initialize(player_name, difficulty)
|
19
12
|
@player_name = User.new(player_name)
|
20
13
|
@difficulties = Difficulty.new(difficulty)
|
data/lib/andrii_codebreaker.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: andrii_codebreaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: i18n
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rake
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,8 +130,6 @@ files:
|
|
144
130
|
- andrii_codebreaker.gemspec
|
145
131
|
- bin/console
|
146
132
|
- bin/setup
|
147
|
-
- config/i18n.rb
|
148
|
-
- config/locales/en.yml
|
149
133
|
- lib/andrii_codebreaker.rb
|
150
134
|
- lib/andrii_codebreaker/constants.rb
|
151
135
|
- lib/andrii_codebreaker/difficulty.rb
|
data/config/i18n.rb
DELETED