brainsnap 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: 04717a9930f54fcbc2a7739f6b0d285ab3a7d73d
4
- data.tar.gz: 21a5e777899daaaadca52251de838ee338a72183
3
+ metadata.gz: 46493609657b9560a96554b16fd03eb0bcbba9e4
4
+ data.tar.gz: 615b6302a7fd905148ed6bf088b5933a669e64a4
5
5
  SHA512:
6
- metadata.gz: cf0eafd874c1c9329c18855e911a3bd472b62d5f8e37edb4c2ae6f2534551ddb17096bd3c6a1d3740c1d3d4a619c0ea85734d53ecc0c198c079ba91e8d2ff88e
7
- data.tar.gz: 05dca5cbc6f7ea6f6dd2ed1c89d387136e53413859c48674021d71d7c3fbbeaf069831349f0a38a802506869033623404640cea294de244238b1283661454dee
6
+ metadata.gz: cf990b0ff23e5ac597597bf5e7aa9256f5fb7980b9ed3b0f64f0fdcb186d084675dc3be4f66844649899454c5d5562d2a3ebc95f62bd8c286f1697a4a88c1c83
7
+ data.tar.gz: 9f645991c20934865c014bee954ad6e1287a2218f81020797c821400f15aa4974ff2f1a3c84431e9a25a17e89557a790d24727bf7177dee0db5548585a7a6808
@@ -1,3 +1,3 @@
1
1
  module Brainsnap
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -33,7 +33,8 @@ class HighScores
33
33
 
34
34
  def save
35
35
  players_as_hashes = @players.map(&:instance_variables)
36
- export('highscores.csv', players_as_hashes)
36
+ config_path = File.expand_path("../highscores.csv", __FILE__)
37
+ export(config_path, players_as_hashes)
37
38
  end
38
39
 
39
40
  def changeScore
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brainsnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Shine