brainsnap 0.0.6 → 0.0.7

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: 6cdc1d4b3c53cf3ab6e23132df6777cff1e57d83
4
- data.tar.gz: 772857b5a779f36d575ffd020604451be9346306
3
+ metadata.gz: 04717a9930f54fcbc2a7739f6b0d285ab3a7d73d
4
+ data.tar.gz: 21a5e777899daaaadca52251de838ee338a72183
5
5
  SHA512:
6
- metadata.gz: 22aab4d7046ca30ac310f85a17ea6d38abf344f144511d65cf4afe8d15c240b1e4de9e287a96cb9fb4a1e37279b87cf3fa6e37c39cc6aaf02780476adc623628
7
- data.tar.gz: 2858ae3fb29cec08ea470151c2fcbaaf76ccd954b5a84dd8fe52a026126de336036219a74b5483cc6b39dda72c43239132da2cf6a6d90becddbfc43a1689d863
6
+ metadata.gz: cf0eafd874c1c9329c18855e911a3bd472b62d5f8e37edb4c2ae6f2534551ddb17096bd3c6a1d3740c1d3d4a619c0ea85734d53ecc0c198c079ba91e8d2ff88e
7
+ data.tar.gz: 05dca5cbc6f7ea6f6dd2ed1c89d387136e53413859c48674021d71d7c3fbbeaf069831349f0a38a802506869033623404640cea294de244238b1283661454dee
data/lib/brainsnap.rb CHANGED
@@ -47,7 +47,8 @@ module BrainSnap
47
47
  sleep 1.5
48
48
  input = ['Animals','Food','Computers','Sports','Ruby'].sample
49
49
  end
50
- @dealer = Dealer.new('game_questions.csv', input)
50
+ config_path = File.expand_path("../game_questions.csv", __FILE__)
51
+ @dealer = Dealer.new(config_path, input)
51
52
  next_card
52
53
  play_game
53
54
  else
@@ -120,8 +121,5 @@ module BrainSnap
120
121
  self.start_menu
121
122
  end
122
123
 
123
- def setup
124
- system 'ruby setup.rb'
125
- end
126
124
  end
127
125
  end
@@ -1,3 +1,3 @@
1
1
  module Brainsnap
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Shine