<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/2f63272881f6a7aac1e035f117adfb073cf7ae8e">https://github.com/macports/macports-ports/commit/2f63272881f6a7aac1e035f117adfb073cf7ae8e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2f63272881f6a7aac1e035f117adfb073cf7ae8e
</span>Author: kimura wataru <kimuraw@i.nifty.jp>
AuthorDate: Sun Dec 25 14:56:26 2016 +0900
<span style='display:block; white-space:pre;color:#404040;'> group/ruby-1.0.tcl: support ruby24
</span>---
_resources/port1.0/group/ruby-1.0.tcl | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
<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 e96ec60..104936d 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;'>@@ -111,11 +111,8 @@ proc ruby_set_branch {option action args} {
</span> set ruby.prog_suffix ""
}
#
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ruby.api_version ${ruby.branch}.0
</span> switch -exact ${ruby.branch} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 2.3 {set ruby.api_version 2.3.0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2.2 {set ruby.api_version 2.2.0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2.1 {set ruby.api_version 2.1.0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2.0 {set ruby.api_version 2.0.0}
</span> 1.9 {set ruby.api_version 1.9.1}
1.8 {set ruby.api_version 1.8}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -219,6 +216,7 @@ proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {im
</span> }
} else {
switch ${implementation} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ ruby24 { ruby.branch 2.4 }
</span> ruby23 { ruby.branch 2.3 }
ruby22 { ruby.branch 2.2 }
ruby21 { ruby.branch 2.1 }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -226,7 +224,7 @@ proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {im
</span> ruby19 { ruby.branch 1.9 }
ruby { ruby.branch 1.8 }
default {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "ruby.setup: unknown implementation '${implementation}' specified (ruby23, ruby22, ruby21, ruby20, ruby19 or ruby possible)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "ruby.setup: unknown implementation '${implementation}' specified (ruby24, ruby23, ruby22, ruby21, ruby20, ruby19 or ruby possible)"
</span> return -code error "ruby.setup failed"
}
}
</pre><pre style='margin:0'>
</pre>