Skip to content

Commit

Permalink
tweak development dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Jul 7, 2011
1 parent a63246b commit 99ae4a4
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Gemfile.lock
Expand Up @@ -7,8 +7,7 @@ GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.2)
highline (1.6.4)
paint (0.8.0)
paint (0.8.1)
rake (0.8.7)
rspec (2.5.0)
rspec-core (~> 2.5.0)
Expand All @@ -24,7 +23,6 @@ PLATFORMS
ruby

DEPENDENCIES
highline
paint
rake
rspec
Expand Down
8 changes: 7 additions & 1 deletion spec/colorizer_highline_spec.rb
@@ -1,3 +1,6 @@
begin # only test if highline is available
require 'highline'

describe Wirb::Colorizer::HighLine do
before :each do
Wirb.colorizer = Wirb::Colorizer::HighLine
Expand All @@ -14,4 +17,7 @@
after :each do
Wirb.colorizer = nil
end
end
end

rescue LoadError
end
6 changes: 6 additions & 0 deletions spec/colorizer_paint_spec.rb
@@ -1,3 +1,6 @@
begin # only test if paint is available
require 'paint'

describe Wirb::Colorizer::Paint do
before :each do
Wirb.colorizer = Wirb::Colorizer::Paint
Expand Down Expand Up @@ -25,3 +28,6 @@
Wirb.colorizer = nil
end
end

rescue LoadError
end
6 changes: 6 additions & 0 deletions spec/colorizer_wirb0_highline_spec.rb
@@ -1,3 +1,6 @@
begin # only test if highline is available
require 'highline'

describe Wirb::Colorizer::Wirb0_HighLine do
before :each do
Wirb.colorizer = Wirb::Colorizer::Wirb0_HighLine
Expand Down Expand Up @@ -70,3 +73,6 @@
Wirb.colorizer = nil
end
end

rescue LoadError
end
6 changes: 6 additions & 0 deletions spec/colorizer_wirb0_paint_spec.rb
@@ -1,3 +1,6 @@
begin # only test if paint is available
require 'paint'

describe Wirb::Colorizer::Wirb0_Paint do
before :each do
Wirb.colorizer = Wirb::Colorizer::Wirb0_Paint
Expand Down Expand Up @@ -27,3 +30,6 @@
Wirb.colorizer = nil
end
end

rescue LoadError
end
2 changes: 1 addition & 1 deletion wirb.gemspec
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec-core'
s.add_development_dependency 'rake'
s.add_development_dependency 'zucker', '>= 11'
s.add_development_dependency 'highline'
#s.add_development_dependency 'highline'
s.add_development_dependency 'paint'

len = s.homepage.size
Expand Down

0 comments on commit 99ae4a4

Please sign in to comment.