Permalink
Browse files

Add Gemfile to simplify development using bundler if needed. Add deve…

…lopment dependencies (RSpec). Move RSpec option in preffered way to .rspec file. Updated .gitignore
  • Loading branch information...
1 parent c78a47c commit 43b6533b54955b2cf8c388980d27fa2d136e4e1a @akzhan akzhan committed with btm Apr 8, 2011
Showing with 9 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +1 −0 .rspec
  3. +3 −0 Gemfile
  4. +0 −1 Rakefile
  5. +3 −0 ohai.gemspec
View
@@ -1,4 +1,5 @@
-*.swp
+*.sw?
+Gemfile.lock
pkg/
tmp/
coverage/
View
@@ -0,0 +1 @@
+-fs --color
View
@@ -0,0 +1,3 @@
+source :rubygems
+
+gemspec
View
@@ -18,7 +18,6 @@ begin
RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/**/*_spec.rb'
- t.rspec_opts = %w(-fs --color)
end
rescue LoadError
desc "rspec is not installed, this task is disabled"
View
@@ -18,6 +18,9 @@ spec = Gem::Specification.new do |s|
s.add_dependency "mixlib-cli"
s.add_dependency "mixlib-config"
s.add_dependency "mixlib-log"
+ s.add_development_dependency "rspec-core"
+ s.add_development_dependency "rspec-expectations"
+ s.add_development_dependency "rspec-mocks"
s.bindir = "bin"
s.executables = %w(ohai)

0 comments on commit 43b6533

Please sign in to comment.