codebreaker_ruban 0.3.2 → 0.3.4

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: d6b9b779b3d53f0004517dbd90cf477fcfc95ad0bbe6f8b6b4aa63b8cceb66c6
4
- data.tar.gz: f2ed2a024148969dfc35aae1112b1d898007a59cec3033bf6681b0adfdea4f06
3
+ metadata.gz: 13b1991fcb6a9957ab1057434dca5ede64ac48c70551c3ce5b88b827c622f942
4
+ data.tar.gz: 7a33e83beffb2f02168ef596d2a545a96e9f58cc92971de5ecbe14eaf1c1e5a1
5
5
  SHA512:
6
- metadata.gz: 4ecc981e52d831347eb76cdee0b8a2b07f93b96ffac939caa62fb9e144554b97d999912d1b84847f47cad39d8fb0d10338847460ce65c73a9a69951a043b9fde
7
- data.tar.gz: fd3ba4a8e14bea215107d595044ca5f965ce7613326bd698b11642b0a488f9d2938e68dcb184548bc2fc9c08c6975b1141eb1077d2a6516601745754dc49548e
6
+ metadata.gz: 46fb2beb3edbf2cf0a7eacfd25e70811701dcef2b3506635ea7edd35f6a2c3379348b5cce707b3c5c863b24b2f0be5ace398c95e08dfb83fd9b299c00d0a7cd2
7
+ data.tar.gz: 5e1e246e88f91e25c5359b707f9ee21f876c708978dd7865ea5fcb41c551a498fec960f507a57838421ae735b6137a30d3102dbd951d0c5e8c15251f6b260ef1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker_ruban (0.1.0)
4
+ codebreaker_ruban (0.3.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -79,4 +79,4 @@ DEPENDENCIES
79
79
  simplecov
80
80
 
81
81
  BUNDLED WITH
82
- 1.17.1
82
+ 1.17.3
@@ -8,9 +8,11 @@ module CodebreakerRuban
8
8
 
9
9
  LENGTH_GUESS = 4
10
10
  RANGE_SECRET_CODE = (1..6).freeze
11
- EASY = { hints_total: 2, attempts_total: 15, difficulty: 'easy' }.freeze
12
- MEDIUM = { hints_total: 1, attempts_total: 10, difficulty: 'medium' }.freeze
13
- HELL = { hints_total: 1, attempts_total: 5, difficulty: 'hell' }.freeze
11
+ DIFFICULTY = {
12
+ easy: { hints_total: 2, attempts_total: 15, difficulty: 'easy' },
13
+ medium: { hints_total: 1, attempts_total: 10, difficulty: 'medium' },
14
+ hell: { hints_total: 1, attempts_total: 5, difficulty: 'hell' }
15
+ }
14
16
 
15
17
  def initialize(difficulty, user)
16
18
  @user = user
@@ -1,3 +1,3 @@
1
1
  module CodebreakerRuban
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_ruban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - IRuban
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-11 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler