Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
prepend platform list item with a *
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed May 4, 2012
1 parent 9a769ac commit a63bdd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def clean
method_option "ruby", :type => :boolean, :default => false, :banner =>
"only display ruby related platform information"
def platform
platforms = Bundler.definition.platforms
platforms = Bundler.definition.platforms.map {|p| "* #{p}" }
ruby_version = Bundler.definition.ruby_version
output = []

Expand Down
6 changes: 3 additions & 3 deletions spec/other/platform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Your platform is: #{RUBY_PLATFORM}
Your app has gems that work on these platforms:
ruby
* ruby
Your Gemfile specifies a Ruby version requirement:
* ruby #{RUBY_VERSION}
Expand All @@ -37,7 +37,7 @@
Your platform is: #{RUBY_PLATFORM}
Your app has gems that work on these platforms:
ruby
* ruby
Your Gemfile does not specify a Ruby version requirement.
G
Expand All @@ -57,7 +57,7 @@
Your platform is: #{RUBY_PLATFORM}
Your app has gems that work on these platforms:
ruby
* ruby
Your Gemfile specifies a Ruby version requirement:
* ruby #{not_local_ruby_version}
Expand Down

0 comments on commit a63bdd3

Please sign in to comment.