Skip to content
Browse files

Merge pull request #2 from lucaspiller/make-it-work-in-2014

Make it work in 2014
  • Loading branch information...
2 parents d5d2ada + 3286756 commit 61db27b1bdf1475657c4e73d8e2f137940511ddd @pusewicz committed Oct 16, 2014
Showing with 62 additions and 2 deletions.
  1. +16 −0 Gemfile
  2. +26 −0 Gemfile.lock
  3. +14 −1 README.md
  4. +6 −1 spec/spec_helper.rb
View
16 Gemfile
@@ -0,0 +1,16 @@
+source 'https://rubygems.org'
+gem 'sequel', '3.1.0'
+
+group :test do
+ gem 'sqlite3'
+ gem 'rspec', '1.3.0'
+ gem 'rr', '0.8.1'
+ gem 'builder', '2.1.2'
+ gem 'xml-simple', '1.0.12'
+ gem 'activesupport', '2.2.2'
+ gem 'diff-lcs', '1.1.2'
+
+ if RUBY_VERSION < "1.9"
+ gem 'backports'
+ end
+end
View
26 Gemfile.lock
@@ -0,0 +1,26 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ activesupport (2.2.2)
+ backports (3.6.3)
+ builder (2.1.2)
+ diff-lcs (1.1.2)
+ rr (0.8.1)
+ rspec (1.3.0)
+ sequel (3.1.0)
+ sqlite3 (1.3.9)
+ xml-simple (1.0.12)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activesupport (= 2.2.2)
+ backports
+ builder (= 2.1.2)
+ diff-lcs (= 1.1.2)
+ rr (= 0.8.1)
+ rspec (= 1.3.0)
+ sequel (= 3.1.0)
+ sqlite3
+ xml-simple (= 1.0.12)
View
15 README.md
@@ -28,10 +28,23 @@ Optional
config.frameworks -= [ :active_record ]
+Development
+===========
+
+Install gems:
+
+ bundle install
+
+(Tested on Ruby 1.8.7-p375 with Bundler 1.7.3)
+
+Run specs:
+
+ bundle exec spec spec/*_spec.rb
+
Community
=========
IRC Channel
-----------
- You can find us on #sequel channel ([irc://irc.freenode.net/#sequel](irc://irc.freenode.net/#sequel))
+ You can find us on #sequel channel ([irc://irc.freenode.net/#sequel](irc://irc.freenode.net/#sequel))
View
7 spec/spec_helper.rb
@@ -1,4 +1,9 @@
require 'rubygems'
+
+if RUBY_VERSION < "1.9"
+ require 'backports/basic_object'
+end
+
require 'erb'
require 'rr'
require 'spec'
@@ -110,4 +115,4 @@ def self.logger
end
Sequel::Model.use_transactions = false
-Sequel::Model.db = MODEL_DB = MockDatabase.new
+Sequel::Model.db = MODEL_DB = MockDatabase.new

0 comments on commit 61db27b

Please sign in to comment.
Something went wrong with that request. Please try again.