Skip to content

Commit b9bc495

Browse files
committed
New upstream version 3.4.7
1 parent cbcb395 commit b9bc495

12,926 files changed

Lines changed: 3884849 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bundle/bin/racc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!ruby
2+
load File.realpath("../gems/racc-1.8.1/bin/racc", __dir__)

.bundle/bin/rake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!ruby
2+
load File.realpath("../gems/rake-13.2.1/exe/rake", __dir__)

.bundle/bin/rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!ruby
2+
load File.realpath("../gems/rbs-3.8.0/exe/rbs", __dir__)

.bundle/bin/rdbg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!ruby
2+
load File.realpath("../gems/debug-1.11.0/exe/rdbg", __dir__)

.bundle/bin/typeprof

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!ruby
2+
load File.realpath("../gems/typeprof-0.30.1/bin/typeprof", __dir__)

.bundle/gems/abbrev-0.1.2/Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source "https://rubygems.org"
2+
3+
gem "rake"
4+
gem "test-unit"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions
5+
are met:
6+
1. Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
2. Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15+
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22+
SUCH DAMAGE.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Abbrev
2+
3+
Given a set of strings, calculate the set of unambiguous abbreviations for
4+
those strings, and return a hash where the keys are all the possible
5+
abbreviations and the values are the full strings.
6+
7+
Thus, given +words+ is "car" and "cone", the keys pointing to "car" would
8+
be "ca" and "car", while those pointing to "cone" would be "co", "con", and
9+
"cone".
10+
11+
## Installation
12+
13+
Add this line to your application's Gemfile:
14+
15+
```ruby
16+
gem 'abbrev'
17+
```
18+
19+
And then execute:
20+
21+
$ bundle install
22+
23+
Or install it yourself as:
24+
25+
$ gem install abbrev
26+
27+
## Usage
28+
29+
```ruby
30+
require 'abbrev'
31+
32+
Abbrev.abbrev(%w{ car cone })
33+
#=> {"ca"=>"car", "con"=>"cone", "co"=>"cone", "car"=>"car", "cone"=>"cone"}
34+
```
35+
36+
## Development
37+
38+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
39+
40+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
41+
42+
## Contributing
43+
44+
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/abbrev.
45+

.bundle/gems/abbrev-0.1.2/Rakefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require "bundler/gem_tasks"
2+
require "rake/testtask"
3+
4+
Rake::TestTask.new(:test) do |t|
5+
t.libs << "test"
6+
t.libs << "lib"
7+
t.test_files = FileList["test/**/test_*.rb"]
8+
end
9+
10+
task :default => :test
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name = File.basename(__FILE__, ".gemspec")
2+
version = ["lib", Array.new(name.count("-")+1, ".").join("/")].find do |dir|
3+
break File.foreach(File.join(__dir__, dir, "#{name.tr('-', '/')}.rb")) do |line|
4+
/^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
5+
end rescue nil
6+
end
7+
8+
Gem::Specification.new do |spec|
9+
spec.name = name
10+
spec.version = version
11+
spec.authors = ["Akinori MUSHA"]
12+
spec.email = ["knu@idaemons.org"]
13+
14+
spec.summary = %q{Calculates a set of unique abbreviations for a given set of strings}
15+
spec.description = %q{Calculates a set of unique abbreviations for a given set of strings}
16+
spec.homepage = "https://github.com/ruby/abbrev"
17+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
18+
spec.licenses = ["Ruby", "BSD-2-Clause"]
19+
20+
spec.metadata["homepage_uri"] = spec.homepage
21+
spec.metadata["source_code_uri"] = spec.homepage
22+
23+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25+
end
26+
spec.bindir = "exe"
27+
spec.executables = []
28+
spec.require_paths = ["lib"]
29+
end

0 commit comments

Comments
 (0)