rack-link_headers 2.3.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -6
- data/lib/rack/link_headers/version.rb +3 -3
- data/rack-link-headers.gemspec +7 -4
- data/test/helper_test.rb +7 -4
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/README.md +23 -0
- data/vendor/bundle/ruby/3.3.0/bundler/gems/rubocop-config-943facea9d8f/rubocop-config.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ast-2.4.2/README.YARD.md +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/README.md +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.7.2/json.gemspec +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/language_server-protocol-3.17.0.3/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/minitest-5.25.1/README.rdoc +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/parallel-1.26.3/MIT-LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.5.0/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/parser-3.3.5.0/parser.gemspec +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/CHANGELOG.md +994 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/README.md +328 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rainbow-3.1.1/README.markdown +227 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/README.md +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-release-1.3.0/rake-release.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/LICENSE +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/regexp_parser-2.9.2/regexp_parser.gemspec +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.7/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rexml-3.3.7/README.md +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-1.65.1/README.md +251 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.3/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-ast-1.32.3/README.md +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/CHANGELOG.md +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-capybara-2.21.0/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/CHANGELOG.md +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-factory_bot-2.26.1/README.md +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-performance-1.21.1/README.md +97 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.5/CHANGELOG.md +1034 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.5/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec-3.0.5/README.md +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/CHANGELOG.md +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/MIT-LICENSE.md +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rubocop-rspec_rails-2.30.0/README.md +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ruby-progressbar-1.13.0/README.md +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.6.0/CHANGELOG.md +200 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.6.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.6.0/README.md +171 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ast-2.4.2.gemspec +30 -0
- data/vendor/bundle/ruby/3.3.0/specifications/json-2.7.2.gemspec +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/language_server-protocol-3.17.0.3.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/minitest-5.25.1.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parallel-1.26.3.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/parser-3.3.5.0.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/racc-1.8.1.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rack-3.1.7.gemspec +31 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rainbow-3.1.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.2.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-release-1.3.0.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/regexp_parser-2.9.2.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rexml-3.3.7.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-1.65.1.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-ast-1.32.3.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-capybara-2.21.0.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-factory_bot-2.26.1.gemspec +27 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-performance-1.21.1.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec-3.0.5.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rubocop-rspec_rails-2.30.0.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ruby-progressbar-1.13.0.gemspec +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/unicode-display_width-2.6.0.gemspec +29 -0
- metadata +84 -8
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (C) 2013 Michael Grosser <michael@grosser.it>
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
Copyright (c) 2013-2016 whitequark <whitequark@whitequark.org>
|
2
|
+
|
3
|
+
Parts of the source are derived from ruby_parser:
|
4
|
+
Copyright (c) Ryan Davis, seattle.rb
|
5
|
+
|
6
|
+
MIT License
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
a copy of this software and associated documentation files (the
|
10
|
+
"Software"), to deal in the Software without restriction, including
|
11
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
the following conditions:
|
15
|
+
|
16
|
+
The above copyright notice and this permission notice shall be
|
17
|
+
included in all copies or substantial portions of the Software.
|
18
|
+
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require File.expand_path('../lib/parser/version', __FILE__)
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'parser'
|
8
|
+
spec.version = Parser::VERSION
|
9
|
+
spec.authors = ['whitequark']
|
10
|
+
spec.email = ['whitequark@whitequark.org']
|
11
|
+
spec.description = 'A Ruby parser written in pure Ruby.'
|
12
|
+
spec.summary = spec.description
|
13
|
+
spec.homepage = 'https://github.com/whitequark/parser'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.metadata = {
|
17
|
+
'bug_tracker_uri' => 'https://github.com/whitequark/parser/issues',
|
18
|
+
'changelog_uri' => "https://github.com/whitequark/parser/blob/v#{spec.version}/CHANGELOG.md",
|
19
|
+
'documentation_uri' => "https://www.rubydoc.info/gems/parser/#{spec.version}",
|
20
|
+
'source_code_uri' => "https://github.com/whitequark/parser/tree/v#{spec.version}"
|
21
|
+
}
|
22
|
+
|
23
|
+
spec.files = Dir['bin/*', 'lib/**/*.rb', 'parser.gemspec', 'LICENSE.txt']
|
24
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.required_ruby_version = '>= 2.0.0'
|
28
|
+
|
29
|
+
spec.add_dependency 'ast', '~> 2.4.1'
|
30
|
+
spec.add_dependency 'racc'
|
31
|
+
|
32
|
+
spec.add_development_dependency 'bundler', '>= 1.15', '< 3.0.0'
|
33
|
+
spec.add_development_dependency 'rake', '~> 13.0.1'
|
34
|
+
spec.add_development_dependency 'cliver', '~> 0.3.2'
|
35
|
+
|
36
|
+
spec.add_development_dependency 'yard'
|
37
|
+
spec.add_development_dependency 'kramdown'
|
38
|
+
|
39
|
+
spec.add_development_dependency 'minitest', '~> 5.10'
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.15.1'
|
41
|
+
|
42
|
+
spec.add_development_dependency 'gauntlet'
|
43
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
= Racc
|
2
|
+
|
3
|
+
* https://github.com/ruby/racc
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
Racc は LALR(1) パーサジェネレータです。
|
8
|
+
yacc の Ruby 版に相当します。
|
9
|
+
|
10
|
+
== 必要環境
|
11
|
+
|
12
|
+
* Ruby 2.5 以降
|
13
|
+
|
14
|
+
== インストール
|
15
|
+
|
16
|
+
gem インストール:
|
17
|
+
|
18
|
+
$ gem install racc
|
19
|
+
|
20
|
+
== テスト
|
21
|
+
|
22
|
+
sample/ 以下にいくつか Racc の文法ファイルのサンプルが用意
|
23
|
+
してあります。動くのも動かないのもありますが、少なくとも
|
24
|
+
calc-ja.y は動くのでこれを処理してみましょう。Racc をインス
|
25
|
+
トールしたあと
|
26
|
+
|
27
|
+
$ racc -ocalc.rb calc-ja.y
|
28
|
+
|
29
|
+
として下さい。処理は一瞬から数秒で終わるので、
|
30
|
+
|
31
|
+
$ ruby calc.rb
|
32
|
+
|
33
|
+
を実行してください。ちゃんと動いてますか?
|
34
|
+
|
35
|
+
Racc の文法など詳しいことは doc.ja/ ディレクトリ以下の HTML を
|
36
|
+
見てください。
|
37
|
+
|
38
|
+
|
39
|
+
== ライセンス
|
40
|
+
|
41
|
+
このパッケージに付属するファイルの著作権は青木峰郎が保持します。
|
42
|
+
ライセンスは Ruby ライセンスです。ただしユーザが書いた規則
|
43
|
+
ファイルや、Racc がそこから生成した Ruby スクリプトはその対象
|
44
|
+
外です。好きなライセンスで配布してください。
|
45
|
+
|
46
|
+
|
47
|
+
== バグなど
|
48
|
+
|
49
|
+
Racc を使っていてバグらしき現象に遭遇したら、下記のアドレスまで
|
50
|
+
メールをください。作者にはバグを修正する義務はありませんがその
|
51
|
+
意思はあります。また、そのときはできるだけバグを再現できる文法
|
52
|
+
ファイルを付けてください。
|
53
|
+
|
54
|
+
|
55
|
+
青木峰郎(あおきみねろう)
|
56
|
+
aamine@loveruby.net
|
57
|
+
http://i.loveruby.net
|
58
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
= Racc
|
2
|
+
|
3
|
+
* https://github.com/ruby/racc
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
Racc is an LALR(1) parser generator.
|
8
|
+
It is written in Ruby itself, and generates Ruby program.
|
9
|
+
|
10
|
+
== Requirement
|
11
|
+
|
12
|
+
* Ruby 2.5 or later.
|
13
|
+
|
14
|
+
== Installation
|
15
|
+
|
16
|
+
gem install:
|
17
|
+
|
18
|
+
$ gem install racc
|
19
|
+
|
20
|
+
== Testing Racc
|
21
|
+
|
22
|
+
Racc comes with simple calculator. To compile this, on shell:
|
23
|
+
|
24
|
+
$ racc -o calc calc.y
|
25
|
+
|
26
|
+
This process costs few seconds (or less). Then type:
|
27
|
+
|
28
|
+
$ ruby calc
|
29
|
+
|
30
|
+
... Does it work?
|
31
|
+
For details of Racc, see HTML documents placed under 'doc/en/'
|
32
|
+
and sample grammar files under 'sample/'.
|
33
|
+
|
34
|
+
== Release flow
|
35
|
+
|
36
|
+
* Update VERSION number of these files
|
37
|
+
* <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
|
38
|
+
* <code>VERSION</code> in "lib/racc/info.rb"
|
39
|
+
* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
|
40
|
+
* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
|
41
|
+
|
42
|
+
== License
|
43
|
+
|
44
|
+
Racc is distributed under the same terms of ruby.
|
45
|
+
(see the file COPYING). Note that you do NOT need to follow
|
46
|
+
ruby license for your own parser (racc outputs).
|
47
|
+
You can distribute those files under any licenses you want.
|
48
|
+
|
49
|
+
|
50
|
+
== Bug Reports
|
51
|
+
|
52
|
+
Any kind of bug report is welcome.
|
53
|
+
If you find a bug of Racc, please report an issue at
|
54
|
+
https://github.com/ruby/racc/issues. Your grammar file,
|
55
|
+
debug output generated by "racc -g", are helpful.
|
56
|
+
|
57
|
+
|
58
|
+
Minero Aoki
|
59
|
+
aamine@loveruby.net
|
60
|
+
http://i.loveruby.net
|