Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version update, inc. making specs full working on 1.8

  • Loading branch information...
commit eeba1e32d169e4cf7a97cc8936e1f7afb3b3b149 1 parent 2f83e61
Darcy Laycock authored
Showing with 14 additions and 4 deletions.
  1. +2 −1  Gemfile
  2. +10 −1 Gemfile.lock
  3. +2 −2 spec/barista_spec.rb
3  Gemfile
View
@@ -10,5 +10,6 @@ group :development, :test do
gem 'rspec-core', '~> 2.6'
gem 'rdoc', '~> 2.4'
gem 'rr', '~> 1.0'
- gem 'ruby-debug19', '~> 0.11'
+ gem 'ruby-debug', :platform => :ruby_18
+ gem 'ruby-debug19', '~> 0.11', :platform => :ruby_19
end
11 Gemfile.lock
View
@@ -47,6 +47,8 @@ GEM
bundler (~> 1.0)
git (>= 1.2.5)
rake
+ linecache (0.46)
+ rbx-require-relative (> 0.0.4)
linecache19 (0.5.12)
ruby_core_source (>= 0.1.4)
mail (2.2.19)
@@ -75,7 +77,8 @@ GEM
activesupport (= 3.0.8)
rake (>= 0.8.7)
thor (~> 0.14.4)
- rake (0.9.1)
+ rake (0.9.2)
+ rbx-require-relative (0.0.5)
rdoc (2.5.11)
rr (1.0.2)
rspec (2.6.0)
@@ -91,6 +94,11 @@ GEM
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.6.0)
+ ruby-debug (0.10.4)
+ columnize (>= 0.1)
+ ruby-debug-base (~> 0.10.4.0)
+ ruby-debug-base (0.10.4)
+ linecache (>= 0.3)
ruby-debug-base19 (0.11.25)
columnize (>= 0.3.1)
linecache19 (>= 0.5.11)
@@ -118,4 +126,5 @@ DEPENDENCIES
rspec (~> 2.6)
rspec-core (~> 2.6)
rspec-rails (~> 2.6)
+ ruby-debug
ruby-debug19 (~> 0.11)
4 spec/barista_spec.rb
View
@@ -27,7 +27,7 @@
c.root = @assets_path
c.output_root = @public_path
end
- FileUtils.rm_rf @public_path if Dir.exist?(@public_path)
+ FileUtils.rm_rf @public_path if File.directory?(@public_path)
end
it "is written by default" do
Barista.add_preamble = true
@@ -53,7 +53,7 @@
c.root = @assets_path
c.output_root = @public_path
end
- FileUtils.rm_rf @public_path if Dir.exist?(@public_path)
+ FileUtils.rm_rf @public_path if File.directory?(@public_path)
end
it "compiles nothing" do
lambda { Barista::compile_all! false, false }.should_not raise_error
Please sign in to comment.
Something went wrong with that request. Please try again.