codeguessing 0.4.8 → 0.4.9

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
  SHA1:
3
- metadata.gz: 3571ea3b87067420d599b037a215dd6f25ff443f
4
- data.tar.gz: 87f1fa7b7f5861954921f9ff43b5f41106022ec7
3
+ metadata.gz: d0c64209b4b33c70a1ce3506d0f8408d158333bb
4
+ data.tar.gz: 292948ab10bfcccfd1f964d4aff5b67702627d39
5
5
  SHA512:
6
- metadata.gz: 11c16fbbf424acdb3c7cd5ec9e84d2ced9466e260a06bae843ba843f8ef0de8dc20a7876f706833d22d7bb74f8559abf1b219db225a3495a276eaf94844090a2
7
- data.tar.gz: 7f1632f2b2c9f670dd96420afdd3985200bc659833cc90f0adbe2325da6a2871a23fe5a672ef200fe38547b3252f0646f8874aa974f4092fd7e9c7ef8b79e648
6
+ metadata.gz: c9c3caf37cfddb5fa1b3dd31657336599abcf55173c07a6cdb8de9f92ad1e6644a9c775d30290b1aa46b919f1f007f8ae3933edf242876500407015e8bed9782
7
+ data.tar.gz: 69316cfe59d90eed5c67d924ec5d07d052ca869ee41c2141d497814bfc1bd53fdf917d386b4faba8753bbc5b86b40ef6d4bd9f3f862c6b3ecd4c64fc86fefb67
@@ -2,10 +2,10 @@ module Codeguessing
2
2
  class Console
3
3
  attr_reader :game, :scores
4
4
 
5
- MESSAGE = YAML.load_file(File.absolute_path('data/messages.yml'))
5
+ MESSAGE = YAML.load_file(File.expand_path('data/messages.yml'))
6
6
 
7
7
  def initialize
8
- @path = File.absolute_path('data/scores.yml')
8
+ @path = File.expand_path('data/scores.yml')
9
9
  @scores = load(@path)
10
10
  @game = Game.new
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Codeguessing
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codeguessing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - bezrukavyi