codebreaker_karolina 0.1.8 → 0.1.9

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: 4f2123ff89ac085c2aa4bd9ad405de0ccec2b5a177c9f16efac913fef78aa753
4
- data.tar.gz: c23125068be503263c22a5b6a59785c619a263048db69532a932426994122091
3
+ metadata.gz: 25af9652814739ad5415aed30dec4d03321c9a7aaf7a7943f9a4fddf507554cc
4
+ data.tar.gz: 6d971d2654565b559dec7a1ea585d007545d6225fb65683e71afbbf9aaad45d0
5
5
  SHA512:
6
- metadata.gz: 8ef256a67685388fcbb14385c76d7658374c88dd3733d0cfeea818568ec0a7bbefcec3fee93b26465135a8caf559fc28b51d0fa0e9609498f27ae87cfc0b4cb8
7
- data.tar.gz: ccc12cf943decc7cb4b5a1b22ffb61a84944b14cda75e9123f0155783d9aab0ff515771abd43e9993d54b46720b669e3b4ae1a29e9819a533fd4e412d0f39c0b
6
+ metadata.gz: 61fc6e37e0e56bbd088902bf8ae17923b8f7822a50e013e0e257b09e9be1f52bb37cb15938a06cc0f9c7bc12aae5af54a08e4a1cba75ae880381e9f79e911a2d
7
+ data.tar.gz: ebe33dadb52443d0cc5cab2c0dd56880765b27a42ed60ace40d609820bb3afff7cf5b21a51da2ae32d1a95d9f123220301c2dec266aa052cb1e69bfaa50d4247
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker_karolina (0.1.8)
4
+ codebreaker_karolina (0.1.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module CodebreakerKarolina
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
data/lib/modules/game.rb CHANGED
@@ -1,13 +1,15 @@
1
1
  require_relative '../constants'
2
2
  require_relative 'user'
3
3
  require_relative 'difficulty'
4
+ require 'date'
4
5
  module CodebreakerKarolina
5
6
  class Game
6
7
  include CodebreakerConstants
7
8
  attr_accessor :user, :difficulty
8
- attr_reader :secret_code
9
+ attr_reader :secret_code, :date
9
10
 
10
11
  def start
12
+ @date = DateTime.now
11
13
  @secret_code = generate_code.freeze
12
14
  @hint = @secret_code.chars.uniq
13
15
  end
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.8
4
+ version: 0.1.9
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-13 00:00:00.000000000 Z
11
+ date: 2022-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fasterer
@@ -129,6 +129,10 @@ files:
129
129
  - codebreaker_karolina-0.1.2.gem
130
130
  - codebreaker_karolina-0.1.3.gem
131
131
  - codebreaker_karolina-0.1.4.gem
132
+ - codebreaker_karolina-0.1.5.gem
133
+ - codebreaker_karolina-0.1.6.gem
134
+ - codebreaker_karolina-0.1.7.gem
135
+ - codebreaker_karolina-0.1.8.gem
132
136
  - lib/codebreaker_karolina.rb
133
137
  - lib/codebreaker_karolina/version.rb
134
138
  - lib/constants.rb