Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make jasmine dependency optional.

  • Loading branch information...
commit 239722489167234616d2f6c4a6e92e01c27ea3a4 1 parent 346cc3a
@toots toots authored
Showing with 1 addition and 3 deletions.
  1. +0 −2  appetizer-ui.gemspec
  2. +1 −1  lib/appetizer/ui/rake.rb
View
2  appetizer-ui.gemspec
@@ -27,6 +27,4 @@ Gem::Specification.new do |gem|
gem.add_dependency "vendorer", "~> 0.1"
gem.add_dependency "yajl-ruby", "~> 1.0"
gem.add_dependency "yui-compressor", "~> 0.9"
-
- gem.add_development_dependency "jasmine-headless-webkit", "~> 0.8.4"
end
View
2  lib/appetizer/ui/rake.rb
@@ -49,7 +49,7 @@
end
end
-unless App.production?
+if Gem::Specification.find { |spec| spec.name == "jasmine-headless-webkit" }
require "jasmine-headless-webkit"
Jasmine::Headless::Task.new("test") do |t|
Please sign in to comment.
Something went wrong with that request. Please try again.