Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 43b6533b54955b2cf8c388980d27fa2d136e4e1a 1 parent c78a47c
@akzhan akzhan authored btm committed
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
3  .gitignore
@@ -1,4 +1,5 @@
-*.swp
+*.sw?
+Gemfile.lock
pkg/
tmp/
coverage/
View
1  .rspec
@@ -0,0 +1 @@
+-fs --color
View
3  Gemfile
@@ -0,0 +1,3 @@
+source :rubygems
+
+gemspec
View
1  Rakefile
@@ -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
3  ohai.gemspec
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.