Browse files

Merge pull request #1 from icarovts/master

Using bundler to manage dependencies.
  • Loading branch information...
2 parents 7379687 + b67aaed commit 6cfdab3d744d4014a0d6cf9e69e09cf74b349c00 @mauricioszabo committed Feb 29, 2012
Showing with 21 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +8 −0 Gemfile
  3. +6 −0 README → README.rdoc
  4. +3 −2 lib/ar_sdl.rb
  5. +3 −1 spec/helper.rb
View
1 .gitignore
@@ -2,3 +2,4 @@
*.log
images2
coverage
+*~
View
8 Gemfile
@@ -0,0 +1,8 @@
+source 'http://rubygems.org'
+
+gem "rubysdl", :require => 'sdl'
+
+group :test do
+ gem "rspec"
+ gem "simplecov"
+end
View
6 README → README.rdoc
@@ -1,2 +1,8 @@
+= Ship Arena
It's an asteroids-like ship game, to use as a base
to "coding arena".
+
+== Dependencies
+* SDL
+* SDL-TTF
+* SDL-Image
View
5 lib/ar_sdl.rb
@@ -1,5 +1,6 @@
-require "rubygems"
-require "sdl"
+require 'bundler'
+Bundler.require(:default)
+
require_relative "scene"
require_relative "screen"
require_relative "code"
View
4 spec/helper.rb
@@ -1,4 +1,6 @@
-require 'simplecov'
+require 'bundler'
+Bundler.require(:default, :test)
+
SimpleCov.start do
add_filter "spec"
end

0 comments on commit 6cfdab3

Please sign in to comment.