Permalink
Browse files

green specs with Bundler.require()

  • Loading branch information...
1 parent d4e7a98 commit 57aa2d727386e52188b2aa74be07db5d2f08059f @icarovts icarovts committed Feb 29, 2012
Showing with 17 additions and 7 deletions.
  1. +5 −2 Gemfile
  2. +5 −2 README
  3. +4 −2 lib/ar_sdl.rb
  4. +3 −1 spec/helper.rb
View
@@ -1,5 +1,8 @@
source 'http://rubygems.org'
gem "rubysdl"
-gem "rspec"
-gem "simplecov"
+
+group :test do
+ gem "rspec"
+ gem "simplecov"
+end
View
7 README
@@ -1,5 +1,8 @@
+# Ship Arena
It's an asteroids-like ship game, to use as a base
to "coding arena".
-=== Dependencies
-* Dev SDL Library (libsdl-ttf2.0-dev - Debian/Ubuntu)
+## Dependencies
+* SDL
+* SDL-TTF
+* SDL-Image
View
@@ -1,5 +1,7 @@
-require "rubygems"
-require "sdl"
+require 'bundler'
+Bundler.require(:default)
+require 'sdl'
+
require_relative "scene"
require_relative "screen"
require_relative "code"
View
@@ -1,4 +1,6 @@
-require 'simplecov'
+require 'bundler'
+Bundler.require(:default, :test)
+
SimpleCov.start do
add_filter "spec"
end

0 comments on commit 57aa2d7

Please sign in to comment.