icodebreaker_gem 0.3.4 → 0.3.5

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: 4b2c433d4d680d34546db1dd48696176293335553fd1de88c7c282712f89bd43
4
- data.tar.gz: 0ca9ab3534dc7e92c0cd5fe7aad427c2fdda33e8c2a7223d759cb0724b9617ce
3
+ metadata.gz: ecd344e0ee1069ef06662dcab8c50f182a1000c44a7d219b8a9fd80d8eef06b6
4
+ data.tar.gz: 8ae16360ef5bdb605ac2128f22435dadc79f2d7aae50f0a7031e3a988e972c8c
5
5
  SHA512:
6
- metadata.gz: ac6bcdba4e9e847ac4090e044640f0b9c047f682c4959fe1b3df835bee36eb5a130181aeb7400db5f36a215007c2eb6de4a12871dbe27e7c49f6a9c640643d28
7
- data.tar.gz: bbb8f2e92f5392c131d3124875d66ac2f0fc9ac34289718de789b5e0ce64d5a87892680fc44586572ebec45d95efeb7cae1238fbb7124c919462e889af616632
6
+ metadata.gz: afd8418f0d19066e4afcc081091404a0efd9f5fd77e02aebc45f286fd3815d6bed0bdaa59af915bf7577cff81ee845e98777a757dd9166d857e00481e47a57a5
7
+ data.tar.gz: bfd6741d3bec08891c039e1b208a92b2931605be069cbbbe97a9fa11055071567608ddb053517ceffbef472b7ede77530534d063ad2b3b7c0ce7ce1ff9a693b3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- icodebreaker_gem (0.3.4)
4
+ icodebreaker_gem (0.3.5)
5
5
  rake (~> 13.0)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IcodebreakerGem
4
- VERSION = '0.3.4'
4
+ VERSION = '0.3.5'
5
5
  end
@@ -7,10 +7,10 @@ module IcodebreakerGem
7
7
 
8
8
  class << self
9
9
 
10
- def save_storage
10
+ def save_storage(game)
11
11
  create_storage
12
12
  games = load_storage
13
- games << game_data
13
+ games << game
14
14
  File.open(data_path, 'w') do |file|
15
15
  YAML.dump(games, file)
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icodebreaker_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - JohnnyGsy