Created
February 4, 2011 06:08
-
-
Save markryall/810808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Gemfile b/Gemfile | |
index f322577..9bb0f33 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -4,4 +4,4 @@ gemspec | |
platforms(:ruby) do | |
gem 'therubyracer', '>= 0.8.0.pre2' | |
-end | |
+end | |
\ No newline at end of file | |
diff --git a/Rakefile b/Rakefile | |
index 2853066..9d39b5a 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -5,9 +5,10 @@ task :default => :spec | |
desc "Run specs" | |
task :spec do | |
commands = [] | |
+ commands << "bundle install" | |
commands << "bundle exec rspec spec/*_spec.rb" | |
commands << "jsl -nologo -process lib/js/kronic.js" if `which jsl`.length > 0 | |
exec commands.join(" && ") | |
end | |
-task :test => :spec | |
+task :test => :spec | |
\ No newline at end of file | |
diff --git a/kronic.gemspec b/kronic.gemspec | |
index e60ceec..b898a26 100644 | |
--- a/kronic.gemspec | |
+++ b/kronic.gemspec | |
@@ -21,9 +21,9 @@ Gem::Specification.new do |s| | |
kronic.gemspec | |
) | |
- s.add_development_dependency 'rspec', '~> 2.0.1' | |
+ s.add_development_dependency 'bundler' | |
+ s.add_development_dependency 'rspec', '~> 2' | |
s.add_development_dependency 'timecop' | |
s.add_development_dependency 'activesupport' | |
s.add_development_dependency 'tzinfo' | |
-end | |
- | |
+end | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment