Skip to content

Commit

Permalink
Prep for release 0.6.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimk committed Apr 27, 2012
1 parent 468e846 commit 28605e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.6.7
0.6.8

Fixed broken gem lookup in ruby 1.9.

Expand Down
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Using testbot with Rails 2:

# Add testbot to your Gemfile if you use bundler. You also need the plugin because
# Rails 2 does not load raketasks from gems.
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.7'
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.8'
script/generate testbot --connect 192.168.0.100

rake testbot:spec (or :rspec, :test, :features)
Expand Down
4 changes: 3 additions & 1 deletion lib/shared/adapters/helpers/ruby_env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ def self.bundler?(project_path)

def self.gem_exists?(gem)
if Gem::Specification.respond_to?(:find_by_name)
Gem::Specification.find_by_name(gem) rescue false
Gem::Specification.find_by_name(gem)
else
# older depricated method
Gem.available?(gem)
end
rescue Gem::LoadError
false
end

def self.ruby_command(project_path, opts = {})
Expand Down
2 changes: 1 addition & 1 deletion lib/shared/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Testbot
# Don't forget to update readme and changelog
def self.version
version = "0.6.7"
version = "0.6.8"
dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
if File.exists?(dev_version_file)
version += File.read(dev_version_file)
Expand Down

0 comments on commit 28605e1

Please sign in to comment.