aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rake/doc/MIT-LICENSE: Add license file from upstreamzzak2013-02-103-1/+23
| | | | | | | | * lib/rake/doc/README.rdoc: Link to license file from Rake README * lib/rake/version.rb: Include README rdoc for Rake module overview git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rake/*: Sync Rake rdoc files from upstreamzzak2013-02-103-57/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rakezzak2013-02-105-0/+1124
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb, lib/prettyprint.rb: Documentation for PP and PrettyPrintzzak2013-02-102-45/+251
| | | | | | | Based on a patch by Vincent Batts [ruby-core:51253] [Bug #7656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/package/old.rb: Fix behavior only on ruby 1.8.drbrain2013-02-092-6/+5
| | | | | | | | | * lib/rubygems/package.rb: Include checksums.yaml.gz signatures for verification. * test/rubygems/test_gem_package.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/darkfish.rb: Set encoding on output template todrbrain2013-02-082-13/+13
| | | | | | | | | | user-specified encoding. * test/rdoc/test_rdoc_generator_darkfish.rb: Test for above. * lib/rdoc.rb: Bump version git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/security/policy.rb: Raise proper exceptions whendrbrain2013-02-081-6/+28
| | | | | | | | verifying unsigned gems (instead of crashing). * test/rubygems/test_gem_security_policy.rb: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/config_file.rb: Add missing require fordrbrain2013-02-082-7/+8
| | | | | | | | | user_interaction.rb * lib/rubygems/dependency_installer.rb: Minor refactor for clarity. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: RUBY_VERSION_NAMEnobu2013-02-081-3/+5
| | | | | | | * lib/mkmf.rb (MakeMakefile#configuration): set all ruby names. hdrdir now needs RUBY_VERSION_NAME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/package/old.rb: Fix loading old format gems on rubydrbrain2013-02-071-3/+13
| | | | | | | | 1.8. This commit is only so trunk and rubygems master have the same code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/package/old.rb: Disallow installation of old-formatdrbrain2013-02-071-0/+20
| | | | | | | | gems when a security policy is active. * test/rubygems/test_gem_package_old.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (HTTP.post_form): Fix module scope in documentationzzak2013-02-071-2/+2
| | | | | | | Patch by David Albert [Bug #7794] [ruby-core:51955] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/dependency_installer.rb: Only install local gems ifdrbrain2013-02-071-1/+1
| | | | | | | | they end in '.gem'. Fixes github rubygems issue #407. * test/rubygems/test_gem_dependency_installer.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: fix merge_libsnobu2013-02-071-8/+6
| | | | | | | | * lib/mkmf.rb (MakeMakefile#merge_libs): insert following reversal ordered elements just after the duplicated element, not overwriting successive elements. [ruby-core:50314] [Bug #7467] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/package.rb: Ensure digests are generated for signing.drbrain2013-02-073-8/+26
| | | | | | | | | | | | | * test/rubygems/test_gem_package.rb: Test for the above. * lib/rubygems/security/policy.rb: Ensure digests are present when verifying a gem and match the number of signatures bidirectionally. * test/rubygems/test_gem_security_policy.rb: Test for the above. * lib/rubygems.rb: Documentation improvements (by zzak) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: arch dependent header directory optionsnobu2013-02-061-1/+1
| | | | | | | | * configure.in (rubyarchhdrdir, sitearchhdrdir, vendorarchhdrdir): add options to customize architecture dependent header directories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 4.0.0.rc.2drbrain2013-02-062-8/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Missed comment from r39079zzak2013-02-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc/parser.rb: Hide copyright notice from Racc doczzak2013-02-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/rubygems/*: Removed outdated documentation fileszzak2013-02-054-17/+74
| | | | | | | | | | * lib/rubygems/LICENSE.txt: Include license file * lib/rubygems.rb: Move Gem module documentation so rdoc can parse it and link to LICENSE.txt * lib/rubygems/*: Hide useless documentation from Gem module rdoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Remove the dangerous serialization feature.jeg22013-02-051-127/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: Remove example from restrictions, it works [Github #246]zzak2013-02-051-10/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/servlet.rb: Fixed root search paths, filesystem pathsdrbrain2013-02-051-15/+19
| | | | | | | | instead of HTTP paths were returned. * test/rdoc/test_rdoc_servlet.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/config_file.rb: Ignore permissions check on windows.drbrain2013-02-051-0/+1
| | | | | | | | Windows writes 0600 file as 0644 permissions making the check useless. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Fix error message, patch by pypypy [Bug #7777]marcandre2013-02-051-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/commands/push_command.rb: Fixed credential download fordrbrain2013-02-058-51/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `gem push --host` * lib/rubygems/gemcutter_utilities.rb: ditto. * test/rubygems/test_gem_commands_push_command.rb: Test for the above. * test/rubygems/test_gem_gemcutter_utilities.rb: ditto. * lib/rubygems/config_file.rb: Abort if the `gem push` credentials file has insecure permissions. * test/rubygems/test_gem_config_file.rb: Test for the above. * lib/rubygems/ext/builder.rb: Do not look for Gemfile, Isolate, etc. while building gem extensions. * lib/rubygems/package.rb: Unset spec and files list if a gem's signatures cannot be verified. * test/rubygems/test_gem_package.rb: Test for the above. * lib/rubygems/specification.rb: Reduce use of eval. * lib/rubygems/test_case.rb: ditto. * test/rubygems/test_gem_specification.rb: Test setting specification_version for legacy gems. Dup Gem.ruby before untainting in case it's frozen. * lib/rubygems.rb: Reduce use of eval. Only read files when looking for Gemfile, Isolate, etc. * test/rubygems/test_gem.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc/parser.rb: Update #do_parse and #yyparse from upstreamzzak2013-02-051-14/+22
| | | | | | | See [Github tenderlove/racc@7d954b5] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc: Merge Racc documentation downstream, add grammar ref filezzak2013-02-052-13/+416
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how tozzak2013-02-042-0/+19
| | | | | | | enabled irb history [ruby-core:51347] [Bug #7679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/context.rb: Add documentation on how to enablezzak2013-02-042-6/+31
| | | | | | | | auto-indentation and autocompletion using irbrc and irb_context [ruby-core:51209] [Bug #7642] and [ruby-core:51348] [Bug #7680] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/standard_library.rdoc: Document list of libraries and extensionszzak2013-02-041-93/+0
| | | | | | | | and their purpose or short description * lib/README: Remove lib/README in favor of doc/standard_library.rdoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: Move class overview definition and reformatzzak2013-02-041-21/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* English.rb: no setnobu2013-02-041-2/+1
| | | | | | | * lib/English.rb (English): disable setting instead of removing after set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/English.rb: Add English module for RDoc to parse, thenzzak2013-02-031-1/+32
| | | | | | | | remove_const to avoid confusion. Include full list of aliases and their associated global variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb (YAML::EngineManager): Documentation for #yamler andzzak2013-02-031-3/+17
| | | | | | | #yamler= for using the removed Syck gem as the YAML::ENGINE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* profiler.rb: block callsnobu2013-02-031-2/+2
| | | | | | | | * lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): add b_call and b_return to profile block calls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* profiler.rb: split PROFILE_PROCnobu2013-02-031-21/+21
| | | | | | | | * lib/profiler.rb (PROFILE_CALL_PROC, PROFILE_RETURN_PROC): split PROFILE_PROC for call and return events. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/mock.rb, lib/minitest/hell.rb: nodoc top-level modulezzak2013-02-022-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: Documentation for DEBUGGER__ class methods based onzzak2013-02-021-0/+12
| | | | | | | patch by Vincent Batts [ruby-core:51253] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: Fix rdoc title for Net::SMTPzzak2013-02-021-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb: Fix rdoc title for Net::POP3zzak2013-02-021-5/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gserver.rb (GServer#start): fix a timing issue. patch frommame2013-02-021-1/+2
| | | | | | Charles Nutter. [Bug #7081] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (copy_entry, wrap_traverse): preserve attributes ofmame2013-02-021-2/+14
| | | | | | | | | directories on FileUtils.cp_r. The fix was proposed by Jan Wedekind. [Bug #7246] * test/fileutils/test_fileutils.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb (URI::FTP.new2): nodoc method from r39013 [Bug #7301]zzak2013-02-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is notmame2013-02-021-8/+3
| | | | | | well tested yet. [Bug #7301] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: chmod/chmod_R with a string mode (e.g., "+x")mame2013-02-021-3/+7
| | | | | | | | caused error in verbose mode. * test/fileutils/test_fileutils.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/English.rb: Remove some confusing words from rdoc. [Bug #7406]mame2013-02-021-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Take conjugate for inner productmarcandre2013-01-301-1/+1
| | | | | | [rubyspec:5a01ad5719f2] [ruby-dev:46101] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http/generic_request.rb (encode_multipart_form_data): removeakr2013-01-291-0/+1
| | | | | | | tempfile explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_env_size): Restored documentation for ENV.sizedrbrain2013-01-262-2/+12
| | | | | | | | | | | * lib/drb/drb.rb: Documented DRb::DRb#run. * lib/erb.rb (class ERB): Improved documentation of ERb. * transcode.c: Documented Encoding::Converter constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e