icodebreaker_gem 0.3.1 → 0.3.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: 7ec00c184eee22be479150d458bd2e837d1389a781e329871b602a7fae6d372a
4
- data.tar.gz: b2e5a88f71f41108dbd41eb57cedc617c8da2c1b477968ca53583db505737632
3
+ metadata.gz: f7b2eff0c20aa4a4d7a24da6bf94c18c0b8df5c81a960fa7fa9d089ac9135c1d
4
+ data.tar.gz: 21cc8e1fc06aed15fd8b196bb5773ef4f91b5b1d1cf0eaf219442b0d9c9b9107
5
5
  SHA512:
6
- metadata.gz: ee4e2181cfe8dce5f2a084c85e7830631c3e9c34983af65ce1fd6302f356454c11fb61a6f03e42b77247c819206073df3b4092699cc5cc1696eb0f7865539105
7
- data.tar.gz: cb30f180e4f4d41031f6b5849f57c63291481fc36623302971d0fbb2a194f835c2fbd49abb7c6d47df141cf8e7f4662bac607a2a6b2aecc8d2d64f2a47023c3a
6
+ metadata.gz: 07e6d6f78658a5db43ddcbf916eb0b3bdcb75084f43e42930496297ecaeae81aed63ca61b1bc8f2a05b7772b84a1e3be2aaca350b29edae5304bf96d19d69cbe
7
+ data.tar.gz: 51e79e88826032591096f97bd6dbb6d4c4234e2644388c8bed6325fa51515d45d19199b0c66df0e2991552a76ae7954cc53da1b6a0cedce812667146a723ae35
data/.rspec_status CHANGED
@@ -1,30 +1,30 @@
1
1
  example_id | status | run_time |
2
2
  ------------------------------------ | ------ | --------------- |
3
- ./spec/game_core_spec.rb[1:1] | passed | 0.00023 seconds |
4
- ./spec/game_core_spec.rb[1:2] | passed | 0.00074 seconds |
5
- ./spec/game_core_spec.rb[1:3:1] | passed | 0.00038 seconds |
6
- ./spec/game_core_spec.rb[1:4:1] | passed | 0.00054 seconds |
7
- ./spec/game_core_spec.rb[1:5:1:1] | passed | 0.00006 seconds |
8
- ./spec/game_core_spec.rb[1:5:1:2] | passed | 0.00007 seconds |
9
- ./spec/game_core_spec.rb[1:5:1:3] | passed | 0.0001 seconds |
10
- ./spec/game_core_spec.rb[1:5:1:4] | passed | 0.00006 seconds |
3
+ ./spec/game_core_spec.rb[1:1] | passed | 0.00027 seconds |
4
+ ./spec/game_core_spec.rb[1:2] | passed | 0.00075 seconds |
5
+ ./spec/game_core_spec.rb[1:3:1] | passed | 0.00043 seconds |
6
+ ./spec/game_core_spec.rb[1:4:1] | passed | 0.00065 seconds |
7
+ ./spec/game_core_spec.rb[1:5:1:1] | passed | 0.00008 seconds |
8
+ ./spec/game_core_spec.rb[1:5:1:2] | passed | 0.00008 seconds |
9
+ ./spec/game_core_spec.rb[1:5:1:3] | passed | 0.00009 seconds |
10
+ ./spec/game_core_spec.rb[1:5:1:4] | passed | 0.00009 seconds |
11
11
  ./spec/game_core_spec.rb[1:5:1:5] | passed | 0.00006 seconds |
12
- ./spec/game_core_spec.rb[1:5:1:6] | passed | 0.00006 seconds |
13
- ./spec/game_core_spec.rb[1:5:1:7] | passed | 0.00008 seconds |
14
- ./spec/game_core_spec.rb[1:5:2:1] | passed | 0.00005 seconds |
12
+ ./spec/game_core_spec.rb[1:5:1:6] | passed | 0.00008 seconds |
13
+ ./spec/game_core_spec.rb[1:5:1:7] | passed | 0.00007 seconds |
14
+ ./spec/game_core_spec.rb[1:5:2:1] | passed | 0.00008 seconds |
15
15
  ./spec/game_core_spec.rb[1:5:2:2] | passed | 0.00005 seconds |
16
- ./spec/game_core_spec.rb[1:5:3:1] | passed | 0.00007 seconds |
17
- ./spec/game_core_spec.rb[1:5:3:2] | passed | 0.00005 seconds |
16
+ ./spec/game_core_spec.rb[1:5:3:1] | passed | 0.00005 seconds |
17
+ ./spec/game_core_spec.rb[1:5:3:2] | passed | 0.00007 seconds |
18
18
  ./spec/game_core_spec.rb[1:5:3:3] | passed | 0.00004 seconds |
19
19
  ./spec/game_spec.rb[1:1:1] | passed | 0.00012 seconds |
20
- ./spec/game_spec.rb[1:2:1] | passed | 0.00019 seconds |
21
- ./spec/game_spec.rb[1:2:2] | passed | 0.00008 seconds |
22
- ./spec/game_spec.rb[1:2:3] | passed | 0.00007 seconds |
23
- ./spec/game_spec.rb[1:2:4] | passed | 0.00009 seconds |
20
+ ./spec/game_spec.rb[1:2:1] | passed | 0.00018 seconds |
21
+ ./spec/game_spec.rb[1:2:2] | passed | 0.00006 seconds |
22
+ ./spec/game_spec.rb[1:2:3] | passed | 0.00006 seconds |
23
+ ./spec/game_spec.rb[1:2:4] | passed | 0.00006 seconds |
24
24
  ./spec/game_spec.rb[1:2:5] | passed | 0.00005 seconds |
25
- ./spec/game_spec.rb[1:3:1] | passed | 0.00039 seconds |
26
- ./spec/game_spec.rb[1:3:2] | passed | 0.00015 seconds |
27
- ./spec/game_spec.rb[1:3:3] | passed | 0.00015 seconds |
28
- ./spec/game_spec.rb[1:4:1] | passed | 0.00268 seconds |
29
- ./spec/game_spec.rb[1:5:1] | passed | 0.0009 seconds |
30
- ./spec/icodebreaker_gem_spec.rb[1:1] | passed | 0.00014 seconds |
25
+ ./spec/game_spec.rb[1:3:1] | passed | 0.00045 seconds |
26
+ ./spec/game_spec.rb[1:3:2] | passed | 0.00016 seconds |
27
+ ./spec/game_spec.rb[1:3:3] | passed | 0.00012 seconds |
28
+ ./spec/game_spec.rb[1:4:1] | passed | 0.00272 seconds |
29
+ ./spec/game_spec.rb[1:5:1] | passed | 0.001 seconds |
30
+ ./spec/icodebreaker_gem_spec.rb[1:1] | passed | 0.00006 seconds |
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- icodebreaker_gem (0.3.1)
4
+ icodebreaker_gem (0.3.2)
5
5
  rake (~> 13.0)
6
6
 
7
7
  GEM
data/lib/game.rb CHANGED
@@ -22,7 +22,7 @@ module IcodebreakerGem
22
22
  }
23
23
  }.freeze
24
24
 
25
- attr_reader :name, :difficulty, :attempts_used, :hints_used, :status, :result
25
+ attr_reader :name, :difficulty, :attempts_used, :hints_used, :status, :result, :code
26
26
 
27
27
  def initialize(name = 'User1', difficulty = :easy, secret = GameCore.random)
28
28
  validate_name name
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IcodebreakerGem
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
@@ -2,4 +2,4 @@
2
2
 
3
3
  require_relative 'icodebreaker_gem/version'
4
4
  require_relative 'config'
5
- module IcodebreakerGem end
5
+ module IcodebreakerGem end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icodebreaker_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JohnnyGsy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-01 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake