summaryrefslogtreecommitdiff
path: root/lang/ruby
AgeCommit message (Collapse)AuthorFilesLines
2012-02-04Move RUBY_DISTNAME definition back to rubyversion.mk from Makefile.common.taca2-12/+13
Some extension might need Ruby's distribution files.
2012-01-12Move PRINT_PLIST_AWK stuff for Gems before other ruby related PRINT_PLIST_AWKobache1-17/+17
will be added, or not works as expected.
2011-12-28Update ruby18-base package to 1.8.7.357.taca1-2/+2
It contains security fix for CVE-2011-4815 (DoS). Wed Dec 28 21:34:23 2011 URABE Shyouhei <shyouhei@ruby-lang.org> * string.c (rb_str_hash): randomize hash to avoid algorithmic complexity attacks. CVE-2011-4815 * st.c (strhash): ditto. * string.c (Init_String): initialization of hash_seed to be at the beginning of the process. * st.c (Init_st): ditto. Thu Dec 8 11:57:04 2011 Tanaka Akira <akr@fsij.org> * inits.c (rb_call_inits): call Init_RandomSeed at first. * random.c (seed_initialized): defined. (fill_random_seed): extracted from random_seed. (make_seed_value): extracted from random_seed. (rb_f_rand): initialize random seed at first. (initial_seed): defined. (Init_RandomSeed): defined. (Init_RandomSeed2): defined. (rb_reset_random_seed): defined. (Init_Random): call Init_RandomSeed2. Sat Dec 10 20:44:23 2011 Tanaka Akira <akr@fsij.org> * lib/securerandom.rb: call OpenSSL::Random.seed at the SecureRandom.random_bytes call. insert separators for array join. patch by Masahiro Tomita. [ruby-dev:44270] Mon Oct 17 04:20:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * mkconfig.rb: fix for continued lines. based on a patch from Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420]. Mon Oct 17 04:19:39 2011 Yukihiro Matsumoto <matz@ruby-lang.org> * numeric.c (flo_cmp): Infinity is greater than any bignum number. [ruby-dev:38672] * bignum.c (rb_big_cmp): ditto. Mon Oct 17 03:56:12 2011 Yusuke Endoh <mame@tsg.ne.jp> * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize store->ex_data.sk. [ruby-core:28907] [ruby-core:23971] [ruby-core:18121]
2011-12-25It is enough to use '=' to assign constant.taca1-2/+2
2011-12-25Fix some confusion about handling for RUBY_VERSION_DEFAULT and RUBY_VER.taca1-7/+4
Really fix the pkglint problem with ruby19-base and ruby193-base, and pbulk. Thanks to joerg@ to teache me pbulk-index!
2011-12-24Restore backwards compatibility removed as part of 1.65, the tree is notjoerg1-1/+8
ready yet (devel/ZenTest and others) and the tree is frozen.
2011-12-24Fix typo.joerg1-2/+2
2011-12-24* Remove backward compatibility handling for RUBY_VER; pkglint dosen't like it.taca1-8/+3
* Add one more PRINT_PLIST_AWK for GEM_HOME.
2011-12-18Add two "used by" line for lang/ruby193/Makefile andtaca1-1/+3
lang/ruby193-base/Makefile.
2011-12-16Update ruby-rdoc package to 3.12.taca1-2/+2
=== 3.12 / 2011-12-15 * Minor enhancements * Added DEVELOPERS document which contains an overview of how RDoc works and how to add new features to RDoc. * Improved title for HTML output to include <code>--title</code> in the title element. * <code>rdoc --pipe</code> now understands <code>--markup</code>. * RDoc now supports irc-scheme hyperlinks. Issue #83 by trans. * Bug fixes * Fix title on HTML output for pages. * Fixed parsing of non-indented HEREDOC. * Fixed parsing of <code>%w[]</code> and other % literals. Issue #84 by Erik Hollensbe * Fixed arrow replacement in HTML output munging the spaceship operator. Issue #85 by eclectic923. * Verbatim sections with ERB that match the ruby code whitelist are no longer syntax-highlighted. Issue #86 by eclectic923 * Line endings on windows are normalized immediately after reading with binmode. Issue #87 by Usa Nakamura * RDoc better understands directives for comments. Comment directives can now be found anywhere in multi-line comments. Issue #90 by Ryan Davis * Tidy links to methods show the label again. Issue #88 by Simon Chiang * RDoc::Parser::C can now find comments directly above +rb_define_class_under+. Issue #89 by Enrico * In rdoc, backspace and ansi formatters, labels and notes without bodies are now shown. * In rdoc, backspace and ansi formatters, whitespace between label or note and the colon is now stripped.
2011-12-14Avoid using .warning make(1) directive which isn't supported on NetBSD 5.taca1-2/+2
Instead, append warning message to WARNINGS macro.
2011-12-13* Add RUBY_RAILS_SUPPORTED. Each Ruby on Rails related pacakge tellstaca2-34/+78
version(s) of acceptable Ruby on Rails. It almost replace previous RUBY_RAILS. * Add some definitions for Ruby on Rails 3.1.
2011-11-23Add lang/ruby/json.mk. It handles dependency to ruby-json and deal withtaca1-0/+79
bundled version with ruby{19,193}-base.
2011-11-22Make maching pattern of REPLACE_RUBY_DIRS same as REPLACE_RUBY.taca1-2/+2
2011-11-19Start updating Ruby on Rails to 3.0.11.taca1-3/+2
2011-11-13Update ruby-rdoc package to 3.11.taca1-2/+2
=== 3.11 / 2011/10-17 * Bug fixes * Avoid parsing TAGS files included in gems. Issue #81 by Santiago Pastorino. === 3.10 / 2011-10-08 * Major enhancements * RDoc HTML output has been improved: * The search from Vladimir Kolesnikov Sdoc has been integrated. The search index generation is a reusable component through RDoc::Generator::JsonIndex * The table of contents is now a separate page and now shows links to headings and sections inside a page or class. * Class pages no longer show the namespace and no longer have file info pages. * HTML output is HTML 5. * Static files can be copied into RDoc using --copy-files * RDoc supports additional documentation formats: * TomDoc 1.0.0-rc1 * RD format The default markup can be set via the <tt>--markup</tt> option. The format of documentation in a particular file can be specified by the +:markup:+ directive. If the +:markup:+ directive is in the first comment it is used as the default for the entire file. For other comments it overrides the default markup format. The markup format can be set for rake tasks using RDoc::Task#markup * RDoc can save and load an options file. To create an options file that defaults to using TomDoc markup run: rdoc --markup tomdoc --write-options This will create a .rdoc_options file. Check it in to your VCS and package it with your gem. RDoc will automatically load this file and combine it with the user's options. Some options are not saved. See RDoc::Options@Saved+Options for full details. * Minor enhancements * RDoc autoloads everything. You only need to require 'rdoc' now. * HTML headings now have ids matching their titles. = Hello! Is rendered as <h1 id="label-Hello%21">Hello!</h1> * Labels for classes or methods can be linked-to by adding an <tt>@</tt> following the class or method reference. For example, <tt>RDoc::Markup@Links</tt> See RDoc::Markup@Links for further details. * For HTML output RDoc uses +SomeClass.method_name+ and +SomeClass#method_name+ for remote methods and attributes and +::method_name+ and +#method_name+ for local methods. * RDoc makes an effort to syntax-highlight ruby code in verbatim sections. See RDoc::Markup@Paragraphs+and+Verbatim * Added RDoc::TopLevel#text? and RDoc::Parser::Text to indicate a parsed file contains no ruby constructs. * Added <tt>rdoc-label</tt> link scheme which allows bidirectional links. See RDoc::Markup for details. * Added RDoc::Comment which encapsulates comment-handling functionality. * Added RDoc::Markup::PreProcess::post_process to allow arbitrary comment munging. * RDoc::RDoc::current is set for the entire RDoc run. * Split rdoc/markup/inline into individual files for its component classes. * Moved token stream HTML markup out of RDoc::AnyMethod#markup_code into RDoc::TokenStream::to_html * "Top" link in section headers is no longer inside the heading element. * RDoc avoids printing some warnings unless run with `rdoc --verbose`. For Rails issue #1646. * Finishing a paragraph with two or more spaces will result in a line break. This feature is experimental and may be modified or removed. * Bug fixes * Performance of RDoc::RubyLex has been improved. Ruby Bug #5202 by Ryan Melton. * Clicking a link in the method description now works. Issue #61 by Alan Hogan. * Fixed RDoc::Markup::Parser for CRLF line endings. Issue #67 by Marvin Gülker. * Fixed lexing of percent strings like %r{#}. Issue #68 by eclectic923. * The C parser now understands classes defined with +rb_struct_define_without_accessor+ (like Range). Pull Request #73 by Dan Bernier * Fixed lexing of <code>a b <<-HEREDOC</code>. Issue #75 by John Mair. * Added LEGAL.rdoc with references to licenses in other files. Issue #78 by Dmitry Jemerov. * Block parameters are displayed in Darkfish output again. Issue #76 by Andrea Singh. * The method parameter coverage report no longer includes parameter default values. Issue #77 by Jake Goulding. * The module for an include is not looked up until parsed all the files are parsed. Unless your project includes nonexistent modules this avoids worst-case behavior (<tt>O(n!)</tt>) of RDoc::Include#module.
2011-11-08* Change RUBY_VERSION_SUFFIX to RUBY_VERSION_FULL.taca1-4/+4
* Add support for Ruby 1.9.3.
2011-11-08* Add LICENSE for Ruby 1.9.3.taca1-6/+15
* Add RUBY_DISTNAME to MESSAGE_SUBST. * Move RUBY_SITE_SUBDIR from rubyversion.mk
2011-11-08* Document rdoc's version contained in each Ruby release.taca1-4/+11
* Add Ruby 1.9.3 support.
2011-11-08* Document rubygem's version contained in each Ruby release.taca1-15/+52
* Add RUBYGEM_LANG and use it as LANG and LC_CTYPE for proper rdoc processing. * Add Ruby 1.9.3 support.
2011-11-08Use RUBY_VERSION instead of RUBY_REQD.taca1-2/+2
2011-11-08* Improve make macro's documentation.taca1-137/+260
* Use 18, 19 instead of 1.9, 2.0 for RUBY_VERSION_DEFAULT. * Add 193 for Ruby 1.9.3, too. * If RUBY_VERSION_SUPPORTED contains single version of Ruby, make package force depends to the version. * Move RUBY_SITE_SUBDIR to Makefile.common. * Change RUBY_VERSION_SUFFIX to RUBY_VERSION_FULL. * Remove small code for NetBSD 1.x. * Change RUBY_DLEXT and RUBY_SLEXT by ${_OPSYS_SHLIB_TYPE} instead of ${OPSYS}'s value.
2011-11-08Use ${RUBY_BASE} instead of ${RUBY_VER}-base.taca1-2/+2
2011-11-07Don't require 'yaml' unconditionaly but try to call Gem.load_yaml.taca1-2/+8
Avoid possible problem of ruby192-base with ruby-psych installed.
2011-10-25A trivial change to remove ruby18'ism.taca1-3/+3
2011-10-20Add two "used by" lines for devel/ruby-fiddle/Makefile andtaca1-1/+3
textproc/ruby-psych/Makefile.
2011-09-14Make default Ruby on Rails version to 3; currently 3.0.10.taca1-3/+3
2011-09-14Switch default Ruby's version to 1.9.x, currently 1.9.2.taca1-2/+2
2011-09-13Now OVERRIDE_GEMSPEC can delete dependency in a gemspec file.taca1-7/+11
And a little documentation clean up.
2011-09-13* Remove unused codes.taca1-21/+24
* Add support for deleting dependency to a ruby gem.
2011-09-04Update ruby-rdoc pacakge to 3.9.4.taca1-2/+2
=== 3.9.4 / 2011-08-26 * Bug fixes * Applied typo and grammar fixes from Luke Gruber. Ruby bug #5203
2011-08-25Update devel/ruby-rdoc package to 3.9.3.taca1-2/+2
=== 3.9.3 / 2011-08-23 * Bug fixes * Add US-ASCII magic comments to work with <tt>ruby -Ku</tt>. Issue #63 by Travis D. Warlick, Jr. * Image paths at HTTPS URLs are now turned into +<img>+ tags. Pull Request #60 by James Mead * Markup defined by RDoc::Markup#add_special inside a <tt><tt></tt> is no longer converted.
2011-08-17Start update of Ruby on Rails 2.3.14 and 3.0.10.taca1-3/+3
2011-08-13Update devel/ruby-rdoc package to 3.9.2.taca1-2/+2
=== 3.9.2 / 2011-08-11 * Bug fix * Loosened TIDYLINK regexp to allow any content in the link section like: <tt>{foo}[rdoc-ref:SomeClass]</tt>
2011-08-12Start of updating ruby18 to ruby18-1.8.7.352 (Ruby 1.8.7 patchlevel 352)taca1-3/+3
and ruby19 to ruby19-1.9.2pl290 (Ruby 1.9.2 patchlevel 290).
2011-08-12Oops, should be commited with:taca1-2/+2
pkgsrc/devel/ruby-rdoc: PLIST distinfo
2011-08-12Introduce OVERRIDE_GEMSPEC.taca2-2/+189
If it specified, it modify gemspec's dependency using update-gemspec.rb Ruby script. The goal is avoid to use patch for modifying depending version or gem's name since gemspec files' content differ using rubygem's version.
2011-07-22* Fix dependency condition to inverse when RUBY_RDOC_REQD is defined.taca1-6/+8
* Minor clean up.
2011-07-22Update ruby-rdoc pacakge to 3.8.taca1-2/+2
It was really needed by devel/ruby-railties, sigh. === 3.8 / ?? * Minor enhancements * RDoc::Parser::C can now discover methods on ENV and ARGF. * RDoc::Parser::C now knows about rb_cSocket and rb_mDL. * Bug fixes * Updating Object in an ri data store with new data now removes methods, includes, constants and aliases. === 3.7 / 2011-06-27 * Minor enhancements * New directive :category: which allows methods to be grouped into sections more cleanly. See RDoc::Markup for details. * Document-class for RDoc::Parser::C now supports Foo::CONST as well as CONST. * ri method output is now a comma-separated list when displayed interactively. Pull Request #39 by Benoit Daloze. * RDoc::ClassModule#merge now prefers the argument's information over the receiver's (it now behaves like Hash#merge! instead of a backwards Hash#merge!). * RDoc::Markup#convert now accepts an RDoc::Markup::Document instance * RDoc now owns the code for generating RDoc and ri data when gems install * Added RDoc::RDoc::reset * Added RDoc::CodeObject#file_name * Bug fixes * ri no longer crashes when attempting to complete a plain [. * ri data now tracks which file information came from so it can process removals and changes to: * Classes and Modules * Methods * Attributes * Includes * Constants You will need to rebuild your ri data for it to update properly. Issue #21 by Sven Riedel * Signal and SignalException no longer clobber each other * RDoc::Parser::C no longer creates classes when processing aliases. * RDoc::Text#strip_stars handles Document-method for methods with =, ! and ? now. * RDoc::Parser::C now allows .cpp files to be used with the "in" comment on rb_define_method. Bug #35 by Hanmac. * RDoc::Parser::Ruby no longer eats content when =begin/=end documentation blocks are followed by a documentable item. Issue #41 by mfn. * RDoc::Markup::Formatter and subclasses now allow an optional +markup+ parameter for adding custom markup. The example in RDoc::Markup::Formatter will now work. Issue #38 by tsilen. * RDoc::Parser::C can now distinguish between class methods and instance methods in Document-method. Issue #36 by Vincent Batts. * RDoc now encodes file names in the output encoding. Issue #33 by Perry Smith. * ri data generation for method aliases no longer duplicates the class in #full_name
2011-06-17Start update of Ruby on Rails 3 to 3.0.9.taca1-2/+2
2011-06-16Remove bin/rdoc and bin/ri from this package since it will conflicttaca1-2/+3
with devel/ruby-rdoc. Bump PKGREVISION.
2011-06-16Include rdoc.mk to use devel/rdoc instead of ruby{18,19}-base.taca1-1/+6
If the package needs newer version in ruby{18,19}-base, set RUBY_RDOC_REQD to minimum rdoc's version. ruby{18,19}-base have these versions. ruby18-base: rdoc 1.0.1 ruby19-base: rdoc 2.5.8 A package RUBY_RDOC_REQD set and built with devel/ruby-rdoc, it will be also depends devel/ruby-rdoc package not only build time. Because, files generated by rdoc commands of devel/ruby-rdoc may not usable with ri commands in ruby{18,19}-base.
2011-06-16Add support file for utilize devel/rdoc package (would be imported later).taca1-0/+57
2011-06-11Start update of Ruby on Rails 2.3.12/3.0.8.taca1-3/+3
2011-05-30Fix typos regarding activeresource.hiramatsu1-2/+2
2011-05-10Start update of rails3 related packages to 3.0.7.taca1-2/+2
2011-05-10Correct RUBYGEMS_REQD's default in comment.taca1-2/+2
2011-04-06Start update of Ruby on Rails 3.0.6.taca1-2/+2
2011-03-27Add depends pattern: RUBY_RAILS_DEPENDS.taca1-1/+8
2011-03-27* Introduce RUBYGEMS_REQD as a package-settable variable.taca1-5/+16
Specify minimum required rubygems version. * Omit use of _RUBYGEM_UNPACK_OPTION.