Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

travis changes, switching rubygems source #150

Closed
wants to merge 3 commits into from

3 participants

@josephrdsmith

travis setup for ohai.

Gemfile
@@ -7,4 +7,10 @@ group :development do
gem 'plist'
end
-
+group :test do
+ gem "rake"
+ gem "rspec"
+ gem "extlib"
@danielsdeleo Owner

We shouldn't need extlib for Ohai; we were only using it for one feature, which we vendored (the Mash class). What prompted you to add this?

@josephrdsmith Owner

Readme states it is an explicit requirement for a dev environment; removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@josephrdsmith

the extlib is explicitly mentioned in the readme as a dev dependency. should i go further down the path to see what the minimum actual set is?

@danielsdeleo

Yeah, I think we added our actual development dependencies to the gemspec file: https://github.com/opscode/ohai/blob/master/ohai.gemspec If something is missing, we might think about adding it there instead.

@btm
Owner
btm commented

Travis was added in bdbf9ed

Gemfile was updated to https in 8caceef

Words about extlib are still there though.

@btm
Owner
btm commented

#329 should clear up the remaining extlib words, closing this out.

@btm btm closed this
@btm btm deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 5 deletions.
  1. +7 −0 .travis.yml
  2. +7 −2 Gemfile
  3. +1 −3 README.rdoc
View
7 .travis.yml
@@ -0,0 +1,7 @@
+rvm:
+# - 1.8.7
+# - 1.9.2
+ - 1.9.3
+ - 2.0.0
+
+script: bundle exec rake spec
View
9 Gemfile
@@ -1,4 +1,4 @@
-source :rubygems
+source "https://rubygems.org"
gemspec
@@ -7,4 +7,9 @@ group :development do
gem 'plist'
end
-
+group :test do
+ gem "rake"
+ gem "rspec"
+ gem "systemu"
+ gem "json"
+end
View
4 README.rdoc
@@ -32,11 +32,10 @@ Install the following RubyGems.
* rake
* rspec
-* extlib
* systemu
* json
- gem install rake rspec extlib systemu json
+ gem install rake rspec systemu json
== Rake Tasks
@@ -59,7 +58,6 @@ We use RSpec for unit/spec tests.
rake spec
-Because ohai gathers system information, and we don't know what kind of system we might be running on (yet), we're moving away from specs for integration testing and to cucumber.
= LINKS:
Something went wrong with that request. Please try again.