codebreaker_diz 0.2.4 → 0.2.5

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: c89596979f6833a5b2135c6f94652c3091a6aaccad295e0e7da4c65027129571
4
- data.tar.gz: f2a64d90dc823dd19c1c5f29424505a6aa66941e247afa11d64697dfb757a1d1
3
+ metadata.gz: f372885f870268ef00dbe3df3a3260bf06a2709c82befea7992b60614324f0e3
4
+ data.tar.gz: 7268f9caace93e8f76f5dd9da81d15242a5946a73807199d4237eec14492a7a9
5
5
  SHA512:
6
- metadata.gz: b9267c4dfd527f60de74b5729a258c454c612562ecd06eda60220f7564afd56be7f6064fb45c54ed5a6b7426de376d56d8e1c6fc0eced06644a09f05c414bc63
7
- data.tar.gz: da49219764603fd7c7ad39420a99cf2ec071cec9e0e720bb32cec28422476f587b9250b4d4515db41d8456f8bfe0ada7e3531ef38a2d8634a30097d978dc4315
6
+ metadata.gz: 9a352e055e7048a0486d1fa8d9094a253b740e0e9e86ffb60fbe2ae06ad2c8537dabe1a2c4b520b2eae91339bc3d2b1f102c63d0f3a8ee4d9531dbed48aa1cc1
7
+ data.tar.gz: 3e538de718cf88cb1d5cf96c55adf0b52b9c911ac7386ee9fd427853809e988bafc1f8b43d599d85ce39275fad41a3f55b976c6e64218bf3eb487b415e98b159
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker_diz (0.2.3)
4
+ codebreaker_diz (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -67,7 +67,7 @@ GEM
67
67
  ruby-progressbar (1.10.1)
68
68
  ruby_parser (3.13.1)
69
69
  sexp_processor (~> 4.9)
70
- sexp_processor (4.12.0)
70
+ sexp_processor (4.12.1)
71
71
  simplecov (0.16.1)
72
72
  docile (~> 1.1)
73
73
  json (>= 1.8, < 3)
data/bin/console CHANGED
@@ -4,12 +4,5 @@
4
4
  require 'bundler/setup'
5
5
  require 'codebreaker_diz'
6
6
 
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
7
  require 'irb'
15
8
  IRB.start(__FILE__)
@@ -0,0 +1,5 @@
1
+ en:
2
+ NO_TRIES_LEFT: 'no tries left'
3
+ WRONG_FORMAT: 'wrong format'
4
+ NO_HINTS_LEFT: 'no hints left'
5
+ INVALID_DIFFICULTY: 'invalid difficulty'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodebreakerDiz
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
5
5
  end
@@ -6,6 +6,6 @@ require_relative 'codebreaker_diz/game'
6
6
  require_relative 'codebreaker_diz/matcher'
7
7
  require_relative 'codebreaker_diz/version'
8
8
 
9
- I18n.config.load_path << File.absolute_path('../gem/config/locales/en.yml')
9
+ I18n.config.load_path << Dir[File.expand_path('config/locales') + '/*.yml']
10
10
  I18n.config.available_locales = :en
11
11
  I18n.default_locale = :en
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_diz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bl0rch1d
@@ -203,6 +203,7 @@ files:
203
203
  - bin/console
204
204
  - bin/setup
205
205
  - codebreaker_diz.gemspec
206
+ - config/locales/en.yml
206
207
  - lib/codebreaker_diz.rb
207
208
  - lib/codebreaker_diz/config.rb
208
209
  - lib/codebreaker_diz/game.rb