Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Hiroshi SHIBATA 8936bb74c6 [ruby/abbrev] Bump up v0.1.2
https://github.com/ruby/abbrev/commit/b362e8e3b9
2023-12-16 13:06:47 +08:00
Akinori MUSHA c301ba0a66 [ruby/abbrev] Update lib/abbrev.rb
https://github.com/ruby/abbrev/commit/6fa790eac1
2023-04-25 01:55:57 +00:00
Hiroshi SHIBATA 8b9b075b83 [ruby/abbrev] Expose Abbrev::VERSION
https://github.com/ruby/abbrev/commit/255ca681c3
2023-04-25 01:55:56 +00:00
kazu b15f8b6de9 lib/abbrev.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-09 16:12:00 +00:00
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
hsbt 28cdf9b1d1 * lib/abbrev.rb: remove executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-11 08:16:05 +00:00
zzak d3908b7f83 * lib/abbrev.rb: [DOC] rdoc format patch by Giorgos Tsiftsis [Bug #9146]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 13:34:27 +00:00
zzak 7ceb188443 * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
Patch by Devin Weaver [Github documenting-ruby/ruby/#7]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 17:35:32 +00:00
knu 3c4633a3a1 Stop using a regexp that causes a false warning.
* lib/abbrev.rb (Abbrev#abbrev): Stop using a regexp that causes a
  false warning. [Bug #7471]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 04:01:07 +00:00
knu 4078d42b72 Fix a line matching problem in Abbrev.abbrev(words, "prefix").
* lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern
  should only match the beginning of each word, not the beginning
  of every line in it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 03:56:28 +00:00
eregon 5bab434018 * lib/abbrev.rb: fix r37113. Correct examples, fix style
and show explicit dependency (require 'abbrev').

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-16 23:14:38 +00:00
zzak 511703c770 * lib/abbrev.rb: Documentation examples for Abbrev.
[ruby-dev:47442] [Bug #6985]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-06 20:03:26 +00:00
drbrain 79f28211fd * lib/abbrev.rb: Fixed typo in abbrev pattern documentation. Based on
patch by Mark Rushakoff.  [ruby-trunk - #6346]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-07 23:55:53 +00:00
drbrain d8164e5724 * lib/abbrev.rb: Clarified that Abbrev.abbrev returns a Hash instead
of an Array.  Patch by Andrei Bocan.  [ruby-trunk - Bug #6107]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-10 20:15:05 +00:00
kazu f2c84d2da0 lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-15 15:16:20 +00:00
drbrain 7bbf2f3085 * lib: Convert tabs to spaces for ruby files per
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
	  Patch by Steve Klabnik [Ruby 1.9 - Bug #4730]
	  Patch by Jason Dew [Ruby 1.9 - Feature #4718]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:19:18 +00:00
drbrain 8638efb23d * lib/abbrev.rb: Hide copyright and revision information from RDoc.
Inspired by patch from David Copeland, bug #4703.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-16 18:51:56 +00:00
dave e10e26d329 RDoc abbrev
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:27:23 +00:00
knu 3982f82b03 * lib/generator.rb: A new library which converts an internal
iterator to an external iterator.

* lib/abbrev.rb: A new library which creates an abbreviation table
  from a list.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14 20:14:20 +00:00