codebreaker_bo 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 393adc86b6476ae3b6814d68b20098f9b2274a4e7b5c0fecb9d1d3442b87f790
4
- data.tar.gz: cf97c28918c0378622e0755958edc3936fcd8ca206e6f83378b1825cf9a1f065
3
+ metadata.gz: fe9a8ad138ec2d9cff2eaf88dc58cdd3492a8c62137c1288e912581576f4f214
4
+ data.tar.gz: de6f9f5157baa191c19aea4053da0e2e2b05bd47a92a433d8bd99336cf71c9c4
5
5
  SHA512:
6
- metadata.gz: 40850e2c3c66f96c89baf0d2bdaa9059c69140ca94c0eced84cfbd7fb19f75db7f7f901d9eacb8736420994a76969931c2a0cbe36450c8ea9d2cfc51c8d1e921
7
- data.tar.gz: e8c21caa087d831258429e3d5e9f13bf3f2e2eb483bd54de43c5155b94f5f008b91a38371e1cbe2893f1e58fc2a97fda43d48af861c96b8ded59167288388a11
6
+ metadata.gz: 905d2f0cd0efa4ea97beeaea463b78a873c24d0d6ea0082c86a7f9f6eb4a12ac0afd2543ddc6ad1513bc8043f2541f1d41efd81076aa0ac97db2388460e714bd
7
+ data.tar.gz: 3596da0b4e91ba3758fe7de20b588c29fc3e4257e99c20921f3f3b9e7102f5a43a63fdc39143f45fbd38d2b1d155e801c07abe2f9735c525536bd3cb0d240b97
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker_bo (0.1.0)
4
+ codebreaker_bo (0.1.3)
5
5
  json (~> 2.6.1)
6
6
 
7
7
  GEM
@@ -1,14 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require './bin/config'
4
-
3
+ require 'codebreaker'
4
+ #
5
5
  # u = Codebreaker::User.new('Bpgdan')
6
6
  # p u
7
7
 
8
- # g = Codebreaker::Game.new
8
+ g = Codebreaker::Game.new
9
9
  # name = gets.chomp
10
10
  # level = gets.chomp
11
- # g.create_settings('an', 'easy')
12
- # p g
11
+ p g
12
+ g.create_settings('Vkjkk', 'easy')
13
+ p g
13
14
  # p g.check_guess(4444)
14
15
  # p g.used_attempts
File without changes
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require './bin/config'
4
3
 
5
4
  module Codebreaker
6
5
  class Game < BaseClass
File without changes
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'game'
4
-
5
3
  module Codebreaker
6
4
  class User < BaseClass
7
5
  attr_accessor :errors
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Codebreaker
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.3'
5
5
  end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Codebreaker
4
+ require 'codebreaker/version'
5
+ require 'codebreaker/constant'
6
+ require 'codebreaker/base_class'
7
+ require 'codebreaker/game'
8
+ require 'codebreaker/user'
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_bo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oladko Bohdan
@@ -172,13 +172,14 @@ files:
172
172
  - LICENSE.txt
173
173
  - README.md
174
174
  - Rakefile
175
- - data/statistic.yml
175
+ - lib/codebreaker.rb
176
176
  - lib/codebreaker/base_class.rb
177
177
  - lib/codebreaker/console.rb
178
+ - lib/codebreaker/constant.rb
178
179
  - lib/codebreaker/game.rb
180
+ - lib/codebreaker/statistic.yml
179
181
  - lib/codebreaker/user.rb
180
182
  - lib/codebreaker/version.rb
181
- - lib/constant.rb
182
183
  - sig/codebreaker.rbs
183
184
  homepage: https://github.com/bogdansev1/codebreaker_gem
184
185
  licenses: