<pre style='margin:0'>
kimura wataru (kimuraw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9a65fd412dcbd39ce8f76702d92cd22bd34188f8">https://github.com/macports/macports-ports/commit/9a65fd412dcbd39ce8f76702d92cd22bd34188f8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9a65fd412dcbd39ce8f76702d92cd22bd34188f8
</span>Author: kimura wataru <kimuraw@i.nifty.jp>
AuthorDate: Sat Dec 24 20:40:44 2016 +0900
<span style='display:block; white-space:pre;color:#404040;'> group/ruby-1.0.tcl: [ruby.setup] allow omitting source "rubygems"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ruby.setup uses "rubygems" as source by default for type "gem"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ruby.setup name version gem {} rubygems
</span><span style='display:block; white-space:pre;color:#404040;'> -> ruby.setup name version gem
</span>---
_resources/port1.0/group/ruby-1.0.tcl | 4 ++++
1 file changed, 4 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/ruby-1.0.tcl b/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d08edd..2511e52 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -193,6 +193,10 @@ proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {im
</span> version ${vers}
categories ruby
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # set source to rubygems by default for type "gem"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {(${type} eq "gem") && (${source} eq "custom")} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set source rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> switch -glob ${source} {
rubygems {
homepage http://www.rubygems.org/gems/${ruby.project}
</pre><pre style='margin:0'>
</pre>