codebreaker_captainjns 0.3.0 → 0.3.1

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: 6b2e66d91a31a575dde95e0c1592dfec1808fcdf1bd58e19e4c5d5cfdde1ad2c
4
- data.tar.gz: 1bedaa8ce6ce756825a3abe6963348e9fb68ef6e2406e5a824bc826b4b479473
3
+ metadata.gz: dea5779ff9d600579c3663ef7f9e7910db3adff59c26fe695c5d8553f6f4b8e4
4
+ data.tar.gz: b6f10f7ac77419e54d67355150e6ae413725492a541585f2abea98017642919e
5
5
  SHA512:
6
- metadata.gz: da38978d24f8e1396d130abcb7a36ee600ee680f807cc3a0a650161d6a5877ae8cca47598dfe682e9e3eb88d678877015e8fec8897502ea5d9ec43dccc43fd73
7
- data.tar.gz: 461d939c68bc7ff294a94f5d4486c217e89e6957369ecf0fe3a67e775855ca01ff666d9bca2def52305ac1615b79a95bac402bb680d3a582f4b3e86878499b9d
6
+ metadata.gz: 7f70c017ed3792f5b77a4c1b55024a1e4c724432e3e0b93dd36638edf62e0c12eae4d0d1733e914dc9d358b1e107a56435c9edb2e7e36e7a275c47ea201d46a4
7
+ data.tar.gz: 3101cd74a2de3e92b7fad47ed3dc82de003296fb025f92fc2a88179f17fb66094d71b90f422e78fa17256ea3bebcd8a62122b704000480ffe36057e2f54c8742
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codebreaker_captainjns (0.3.0)
4
+ codebreaker_captainjns (0.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -6,7 +6,7 @@ module CodebreakerCaptainjns
6
6
  attr_reader :att_total, :attempts, :difficulty, :hints_total, :hints, :name, :win, :secret
7
7
 
8
8
  def initialize(params)
9
- @name = params['name']
9
+ @name = params['username']
10
10
  @difficulty = params['difficulty']
11
11
  @attempts = calc_attempts_and_hints(@difficulty)[0]
12
12
  @hints = calc_attempts_and_hints(@difficulty)[1]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodebreakerCaptainjns
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codebreaker_captainjns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason