Permalink
Browse files

Update with Bundler support.

  • Loading branch information...
mojombo committed Nov 28, 2011
1 parent 1ea3938 commit 99d493121e30a47550d0982e441fc4cf4c10332e
Showing with 21 additions and 2 deletions.
  1. +3 −0 .gitignore
  2. +2 −0 Gemfile
  3. +6 −0 README.txt
  4. +2 −1 Rakefile
  5. +3 −0 god.gemspec
  6. +5 −0 lib/god.rb
  7. +0 −1 test/test_campfire.rb
View
@@ -7,3 +7,6 @@ logs
*~
.*.sw?
.DS_Store
+Gemfile.lock
+bbin/
+.bundle
View
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
View
@@ -33,6 +33,12 @@ The 'master' branch can be cloned with:
$ git clone git://github.com/mojombo/god.git
+Once you have the code locally, install dependencies and run tests:
+
+ $ cd god
+ $ bundle install
+ $ bundle exec rake
+
== LICENSE:
(The MIT License)
View
@@ -1,5 +1,6 @@
require 'rubygems'
require 'rake'
+require 'rdoc/task'
require 'date'
#############################################################################
@@ -60,7 +61,7 @@ task :coverage do
sh "open coverage/index.html"
end
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "#{name} #{version}"
View
@@ -23,6 +23,9 @@ Gem::Specification.new do |s|
s.rdoc_options = ["--charset=UTF-8"]
s.extra_rdoc_files = %w[README.txt]
+ s.add_development_dependency('json')
+ s.add_development_dependency('rake')
+ s.add_development_dependency('rdoc')
s.add_development_dependency('twitter', [">= 0.3.7"])
s.add_development_dependency('prowly', [">= 0.2.1"])
s.add_development_dependency('xmpp4r', [">= 0.4.0"])
View
@@ -67,6 +67,11 @@
require 'god/diagnostics'
+# ruby 1.8 specific configuration
+if RUBY_VERSION < '1.9'
+ $KCODE = 'u'
+end
+
CONTACT_DEPS = { }
CONTACT_LOAD_SUCCESS = { }
View
@@ -1,5 +1,4 @@
require File.dirname(__FILE__) + '/helper'
-require 'tinder'
class TestCampfire < Test::Unit::TestCase
def setup

0 comments on commit 99d4931

Please sign in to comment.