codebreker_manfly 0.1.1 → 0.1.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: b780227d68e66b178bd1c3250207c3123f569ba0a8b9e42d105471181ed314e5
4
- data.tar.gz: 2109e9aa4fcda81c129b4fd4ab1016177b9bb20fb0d307961b5bc1921d7b6867
3
+ metadata.gz: 0d7642ab574f4aae8600439d051488f121c97a1dc939ae085a9aa720a53bd9fa
4
+ data.tar.gz: 5091407e911b675423474aed6cbcf6ee6aaf0f612eccc4d72a1a66fb51b3cfb5
5
5
  SHA512:
6
- metadata.gz: 230708b78d9578af1432eeae02e0af6574ff908a6ad63e530215937c1fbf92ff6499273ab735fc9e10721b434ceaf03bacbc1e3b499acb67acc260c563383bbe
7
- data.tar.gz: 59a978e957a7e2486c9f4ebef56e7c81df44e82e765fb047f2c81bf6f7f8cd5183bbf57cf2b1d1168828594df457148a9f4d6b8f0d1f84976718e6f5bae54e59
6
+ metadata.gz: ea0cae7ef6cac284875d936bb07047b4846c304437f154b57d99ad0b8b5ba0ad961c5236528380a96ba49e86d693c09be582deed89070cc41a4b89c0170ff93d
7
+ data.tar.gz: 9a1db498800ef72bcc551e081c2845fa8745785db547547aae476318a92907b0d20ee0da01366305624fe2b02e7dd9d7f039aa99719c2652a6525ebd466edae4
Binary file
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module CodebreakerManflu
3
+ module CodebrekerManfly
4
4
  class UserStatistics < ValidatableEntity
5
5
  include Validator
6
6
  attr_reader :user, :difficulty, :attempts, :hints, :date
@@ -17,8 +17,8 @@ module CodebreakerManflu
17
17
  private
18
18
 
19
19
  def validate
20
- add_error(:user, I18n.t(:unexpected_class_error)) unless valid_class?(CodebreakerManflu::User, user)
21
- add_error(:difficulty, I18n.t(:unexpected_class_error)) unless valid_class?(CodebreakerManflu::Difficulty,
20
+ add_error(:user, I18n.t(:unexpected_class_error)) unless valid_class?(CodebrekerManfly::User, user)
21
+ add_error(:difficulty, I18n.t(:unexpected_class_error)) unless valid_class?(CodebrekerManfly::Difficulty,
22
22
  difficulty)
23
23
  validate_attempts
24
24
  validate_hints
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodebrekerManfly
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreker_manfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manfly1
@@ -168,6 +168,7 @@ files:
168
168
  - bin/console
169
169
  - bin/setup
170
170
  - codebreker_manfly-0.1.0.gem
171
+ - codebreker_manfly-0.1.1.gem
171
172
  - config/locales/errors.yml
172
173
  - lib/codebreker_manfly.rb
173
174
  - lib/codebreker_manfly/autoload.rb