Files
macports-ports/lang/ruby19/files/patch-lib-rubygems-specification.rb.diff
Wataru Kimura 4591a99371 lang/ruby19: upgrade to 1.9.3-p0.
- license changed {Ruby GPL-2} -> {Ruby BSD}
  - allow build with Xcode-4.2 llvm-clang
  - add variant "doc"

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@87161 d073be05-634f-4543-b044-5fe20cf6d1d6
2011-11-12 16:44:41 +00:00

14 lines
551 B
Diff

Index: lib/rubygems/specification.rb
===================================================================
--- lib/rubygems/specification.rb (revision 33692)
+++ lib/rubygems/specification.rb (working copy)
@@ -984,7 +984,7 @@
# way to do it.
@date = case date
when String then
- if /\A(\d{4})-(\d{2})-(\d{2})\Z/ =~ date then
+ if /\A(\d{4})-(\d{2})-(\d{2})/ =~ date then
Time.utc($1.to_i, $2.to_i, $3.to_i)
else
raise(Gem::InvalidSpecificationException,