syntax_suggest 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +91 -0
- data/.github/workflows/check_changelog.yml +20 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.standard.yml +1 -0
- data/CHANGELOG.md +158 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +67 -0
- data/LICENSE.txt +21 -0
- data/README.md +229 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/dead_end.gemspec +32 -0
- data/exe/syntax_suggest +7 -0
- data/lib/syntax_suggest/api.rb +199 -0
- data/lib/syntax_suggest/around_block_scan.rb +224 -0
- data/lib/syntax_suggest/block_expand.rb +74 -0
- data/lib/syntax_suggest/capture_code_context.rb +233 -0
- data/lib/syntax_suggest/clean_document.rb +304 -0
- data/lib/syntax_suggest/cli.rb +129 -0
- data/lib/syntax_suggest/code_block.rb +100 -0
- data/lib/syntax_suggest/code_frontier.rb +178 -0
- data/lib/syntax_suggest/code_line.rb +239 -0
- data/lib/syntax_suggest/code_search.rb +139 -0
- data/lib/syntax_suggest/core_ext.rb +101 -0
- data/lib/syntax_suggest/display_code_with_line_numbers.rb +70 -0
- data/lib/syntax_suggest/display_invalid_blocks.rb +84 -0
- data/lib/syntax_suggest/explain_syntax.rb +103 -0
- data/lib/syntax_suggest/left_right_lex_count.rb +168 -0
- data/lib/syntax_suggest/lex_all.rb +55 -0
- data/lib/syntax_suggest/lex_value.rb +70 -0
- data/lib/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
- data/lib/syntax_suggest/pathname_from_message.rb +59 -0
- data/lib/syntax_suggest/priority_engulf_queue.rb +63 -0
- data/lib/syntax_suggest/priority_queue.rb +105 -0
- data/lib/syntax_suggest/ripper_errors.rb +36 -0
- data/lib/syntax_suggest/unvisited_lines.rb +36 -0
- data/lib/syntax_suggest/version.rb +5 -0
- data/lib/syntax_suggest.rb +3 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 338fe09b04529ea04747cadd14a39b290802d6c524f1484b8a80fbaacd1ae7e5
|
4
|
+
data.tar.gz: 507b73a5e7fd07872db31ced86da79b0de641036bbff0ffd92fd24bb5686a10a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1e58c6b3bff188226bce33e89f85ce909794a2ee92317d8c86e59d25b442c7ff92ef8e19e8bee6cfcd80d1415f15f086a8c197ccf705e833a65feb4d4e0a0cbe
|
7
|
+
data.tar.gz: f4b6078565ec509cec459355bdabe4e799e1a7a2857361a71e060d6d9ce02daaa3595c7459bead91874fbdacca26f0517d7984240613269baa718853c631daa6
|
@@ -0,0 +1,91 @@
|
|
1
|
+
version: 2.1
|
2
|
+
orbs:
|
3
|
+
ruby: circleci/ruby@1.8.0
|
4
|
+
references:
|
5
|
+
unit: &unit
|
6
|
+
run:
|
7
|
+
name: Run test suite
|
8
|
+
command: bundle exec rspec spec/
|
9
|
+
|
10
|
+
lint: &lint
|
11
|
+
run:
|
12
|
+
name: Run linter, fix with `standardrb --fix` locally
|
13
|
+
command: bundle exec standardrb
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
"ruby-2-5":
|
17
|
+
docker:
|
18
|
+
- image: circleci/ruby:2.5
|
19
|
+
steps:
|
20
|
+
- checkout
|
21
|
+
- ruby/install-deps
|
22
|
+
- <<: *unit
|
23
|
+
|
24
|
+
"ruby-2-6":
|
25
|
+
docker:
|
26
|
+
- image: circleci/ruby:2.6
|
27
|
+
steps:
|
28
|
+
- checkout
|
29
|
+
- ruby/install-deps
|
30
|
+
- <<: *unit
|
31
|
+
|
32
|
+
"ruby-2-7":
|
33
|
+
docker:
|
34
|
+
- image: circleci/ruby:2.7
|
35
|
+
steps:
|
36
|
+
- checkout
|
37
|
+
- ruby/install-deps
|
38
|
+
- <<: *unit
|
39
|
+
|
40
|
+
"ruby-3-0":
|
41
|
+
docker:
|
42
|
+
- image: circleci/ruby:3.0
|
43
|
+
steps:
|
44
|
+
- checkout
|
45
|
+
- ruby/install-deps
|
46
|
+
- <<: *unit
|
47
|
+
|
48
|
+
"ruby-3-1":
|
49
|
+
docker:
|
50
|
+
- image: 'cimg/ruby:3.1'
|
51
|
+
steps:
|
52
|
+
- checkout
|
53
|
+
- ruby/install-deps
|
54
|
+
- <<: *unit
|
55
|
+
|
56
|
+
"ruby-3-2":
|
57
|
+
docker:
|
58
|
+
- image: 'ruby:3.2.0-preview1'
|
59
|
+
steps:
|
60
|
+
- checkout
|
61
|
+
- ruby/install-deps
|
62
|
+
- <<: *unit
|
63
|
+
"ruby-3-2-yjit":
|
64
|
+
docker:
|
65
|
+
- image: 'ruby:3.2.0-preview1'
|
66
|
+
steps:
|
67
|
+
- run: echo "export RUBY_YJIT_ENABLE=1" >> $BASH_ENV
|
68
|
+
- checkout
|
69
|
+
- ruby/install-deps
|
70
|
+
- <<: *unit
|
71
|
+
|
72
|
+
"lint":
|
73
|
+
docker:
|
74
|
+
- image: circleci/ruby:3.0
|
75
|
+
steps:
|
76
|
+
- checkout
|
77
|
+
- ruby/install-deps
|
78
|
+
- <<: *lint
|
79
|
+
|
80
|
+
workflows:
|
81
|
+
version: 2
|
82
|
+
build:
|
83
|
+
jobs:
|
84
|
+
- "ruby-2-5"
|
85
|
+
- "ruby-2-6"
|
86
|
+
- "ruby-2-7"
|
87
|
+
- "ruby-3-0"
|
88
|
+
- "ruby-3-1"
|
89
|
+
- "ruby-3-2"
|
90
|
+
- "ruby-3-2-yjit"
|
91
|
+
- "lint"
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Check Changelog
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
types: [opened, reopened, edited, labeled, unlabeled, synchronize]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
check-changelog:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
if: |
|
11
|
+
!contains(github.event.pull_request.body, '[skip changelog]') &&
|
12
|
+
!contains(github.event.pull_request.body, '[changelog skip]') &&
|
13
|
+
!contains(github.event.pull_request.body, '[skip ci]') &&
|
14
|
+
!contains(github.event.pull_request.labels.*.name, 'skip changelog')
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2.3.5
|
17
|
+
- name: Check that CHANGELOG is touched
|
18
|
+
run: |
|
19
|
+
git fetch origin ${{ github.base_ref }} --depth 1 && \
|
20
|
+
git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.standard.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby_version: 2.5.9
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
## HEAD (unreleased)
|
2
|
+
|
3
|
+
- [Breaking] Rename `dead_end` to `syntax_suggest` (https://github.com/zombocom/dead_end/pull/154)
|
4
|
+
- [Breaking] Lazy loading moved from `autoload` to manually checking for constants and requiring `dead_end/api`. To manually use any SyntaxSuggest internals you MUST require `dead_end/api`, otherwise it will be lazy loaded on syntax error (https://github.com/zombocom/dead_end/pull/148)
|
5
|
+
- Default to highlighted output on Ruby 3.2 (https://github.com/zombocom/dead_end/pull/150)
|
6
|
+
- Debug functionality enabled by `DEBUG=1` env var is now under `SYNTAX_SUGGEST_DEBUG=1`. Note this is not a stable interface or feature. Output content is subject to change without major version change (https://github.com/zombocom/dead_end/pull/149)
|
7
|
+
- Enable/Disable dead_end by using the `dead_end` kwarg in `detailed_message` (https://github.com/zombocom/dead_end/pull/147)
|
8
|
+
- Respect `highlight` kwarg in Ruby 3.2's `detailed_message` to enable/disable control characters (https://github.com/zombocom/dead_end/pull/147)
|
9
|
+
|
10
|
+
## 4.0.0
|
11
|
+
|
12
|
+
- Code that does not have an associated file (eval and streamed) no longer produce a warning saying that the file could not be found. To produce a warning with these code types run with DEBUG=1 environment variable. (https://github.com/zombocom/dead_end/pull/143)
|
13
|
+
- [Breaking] Lazy load SyntaxSuggest internals only if there is a Syntax error. Use `require "dead_end"; require "dead_end/api"` to load eagerly all internals. Otherwise `require "dead_end"` will set up an autoload for the first time the SyntaxSuggest module is used in code. This should only happen on a syntax error. (https://github.com/zombocom/dead_end/pull/142)
|
14
|
+
- Monkeypatch `SyntaxError#detailed_message` in Ruby 3.2+ instead of `require`, `load`, and `require_relative` (https://github.com/zombocom/dead_end/pull/139)
|
15
|
+
|
16
|
+
## 3.1.2
|
17
|
+
|
18
|
+
- Fixed internal class AroundBlockScan, minor changes in outputs (https://github.com/zombocom/dead_end/pull/131)
|
19
|
+
|
20
|
+
## 3.1.1
|
21
|
+
|
22
|
+
- Fix case where Ripper lexing identified incorrect code as a keyword (https://github.com/zombocom/dead_end/pull/122)
|
23
|
+
|
24
|
+
## 3.1.0
|
25
|
+
|
26
|
+
- Add support for Ruby 3.1 by updating `require_relative` logic (https://github.com/zombocom/dead_end/pull/120)
|
27
|
+
- Requiring `dead_end/auto` is now deprecated please require `dead_end` instead (https://github.com/zombocom/dead_end/pull/119)
|
28
|
+
- Requiring `dead_end/api` now loads code without monkeypatching core extensions (https://github.com/zombocom/dead_end/pull/119)
|
29
|
+
- The interface `SyntaxSuggest.handle_error` is declared public and stable (https://github.com/zombocom/dead_end/pull/119)
|
30
|
+
|
31
|
+
## 3.0.3
|
32
|
+
|
33
|
+
- Expand explanations coming from additional Ripper errors (https://github.com/zombocom/dead_end/pull/117)
|
34
|
+
- Fix explanation involving shorthand syntax for literals like `%w[]` and `%Q{}` (https://github.com/zombocom/dead_end/pull/116)
|
35
|
+
|
36
|
+
## 3.0.2
|
37
|
+
|
38
|
+
- Fix windows filename detection (https://github.com/zombocom/dead_end/pull/114)
|
39
|
+
- Update links on readme and code of conduct (https://github.com/zombocom/dead_end/pull/107)
|
40
|
+
|
41
|
+
## 3.0.1
|
42
|
+
|
43
|
+
- Fix CLI parsing when flags come before filename (https://github.com/zombocom/dead_end/pull/102)
|
44
|
+
|
45
|
+
## 3.0.0
|
46
|
+
|
47
|
+
- [Breaking] CLI now outputs to STDOUT instead of STDERR (https://github.com/zombocom/dead_end/pull/98)
|
48
|
+
- [Breaking] Remove previously deprecated `require "dead_end/fyi"` interface (https://github.com/zombocom/dead_end/pull/94)
|
49
|
+
- Fix double output bug (https://github.com/zombocom/dead_end/pull/99)
|
50
|
+
- Fix bug causing poor results (fix #95, fix #88) (https://github.com/zombocom/dead_end/pull/96)
|
51
|
+
- SyntaxSuggest is now fired on EVERY syntax error (https://github.com/zombocom/dead_end/pull/94)
|
52
|
+
- Output format changes:
|
53
|
+
- Parse errors emitted per-block rather than for the whole document (https://github.com/zombocom/dead_end/pull/94)
|
54
|
+
- The "banner" is now based on lexical analysis rather than parser regex (fix #68, fix #87) (https://github.com/zombocom/dead_end/pull/96)
|
55
|
+
|
56
|
+
## 2.0.2
|
57
|
+
|
58
|
+
- Don't print terminal color codes when output is not tty (https://github.com/zombocom/dead_end/pull/91)
|
59
|
+
|
60
|
+
## 2.0.1
|
61
|
+
|
62
|
+
- Reintroduce Ruby 2.5 support (https://github.com/zombocom/dead_end/pull/90)
|
63
|
+
- Support naked braces/brackets/parens, invert labels on banner (https://github.com/zombocom/dead_end/pull/89)
|
64
|
+
- Handle mismatched end when using rescue without begin (https://github.com/zombocom/dead_end/pull/83)
|
65
|
+
- CLI returns non-zero exit code when syntax error is found (https://github.com/zombocom/dead_end/pull/86)
|
66
|
+
- Let -v respond with gem version instead of 'unknown' (https://github.com/zombocom/dead_end/pull/82)
|
67
|
+
|
68
|
+
## 2.0.0
|
69
|
+
|
70
|
+
- Support "endless" oneline method definitions for Ruby 3+ (https://github.com/zombocom/dead_end/pull/80)
|
71
|
+
- Reduce timeout to 1 second (https://github.com/zombocom/dead_end/pull/79)
|
72
|
+
- Logically consecutive lines (such as chained methods are now joined) (https://github.com/zombocom/dead_end/pull/78)
|
73
|
+
- Output improvement for cases where the only line is an single `end` (https://github.com/zombocom/dead_end/pull/78)
|
74
|
+
|
75
|
+
## 1.2.0
|
76
|
+
|
77
|
+
- Output improvements via less greedy unmatched kw capture https://github.com/zombocom/dead_end/pull/73
|
78
|
+
- Remove NoMethodError patching instead use https://github.com/ruby/error_highlight/ (https://github.com/zombocom/dead_end/pull/71)
|
79
|
+
|
80
|
+
## 1.1.7
|
81
|
+
|
82
|
+
- Fix sinatra support for `require_relative` (https://github.com/zombocom/dead_end/pull/63)
|
83
|
+
|
84
|
+
## 1.1.6
|
85
|
+
|
86
|
+
- Consider if syntax error caused an unexpected variable instead of end (https://github.com/zombocom/dead_end/pull/58)
|
87
|
+
|
88
|
+
## 1.1.5
|
89
|
+
|
90
|
+
- Parse error once and not twice if there's more than one available (https://github.com/zombocom/dead_end/pull/57)
|
91
|
+
|
92
|
+
## 1.1.4
|
93
|
+
|
94
|
+
- Avoid including demo gif in built gem (https://github.com/zombocom/dead_end/pull/53)
|
95
|
+
|
96
|
+
## 1.1.3
|
97
|
+
|
98
|
+
- Add compatibility with zeitwerk (https://github.com/zombocom/dead_end/pull/52)
|
99
|
+
|
100
|
+
## 1.1.2
|
101
|
+
|
102
|
+
- Namespace Kernel method aliases (https://github.com/zombocom/dead_end/pull/51)
|
103
|
+
|
104
|
+
## 1.1.1
|
105
|
+
|
106
|
+
- Safer NoMethodError annotation (https://github.com/zombocom/dead_end/pull/48)
|
107
|
+
|
108
|
+
## 1.1.0
|
109
|
+
|
110
|
+
- Annotate NoMethodError in non-production environments (https://github.com/zombocom/dead_end/pull/46)
|
111
|
+
- Do not count trailing if/unless as a keyword (https://github.com/zombocom/dead_end/pull/44)
|
112
|
+
|
113
|
+
## 1.0.2
|
114
|
+
|
115
|
+
- Fix bug where empty lines were interpreted to have a zero indentation (https://github.com/zombocom/dead_end/pull/39)
|
116
|
+
- Better results when missing "end" comes at the end of a capturing block (such as a class or module definition) (https://github.com/zombocom/dead_end/issues/32)
|
117
|
+
|
118
|
+
## 1.0.1
|
119
|
+
|
120
|
+
- Fix performance issue when evaluating multiple block combinations (https://github.com/zombocom/dead_end/pull/35)
|
121
|
+
|
122
|
+
## 1.0.0
|
123
|
+
|
124
|
+
- Gem name changed from `syntax_search` to `dead_end` (https://github.com/zombocom/syntax_search/pull/30)
|
125
|
+
- Moved `syntax_search/auto` behavior to top level require (https://github.com/zombocom/syntax_search/pull/30)
|
126
|
+
- Error banner now indicates when missing a `|` or `}` in addition to `end` (https://github.com/zombocom/syntax_search/pull/29)
|
127
|
+
- Trailing slashes are now handled (joined) before the code search (https://github.com/zombocom/syntax_search/pull/28)
|
128
|
+
|
129
|
+
## 0.2.0
|
130
|
+
|
131
|
+
- Simplify large file output so minimal context around the invalid section is shown (https://github.com/zombocom/syntax_search/pull/26)
|
132
|
+
- Block expansion is now lexically aware of keywords (def/do/end etc.) (https://github.com/zombocom/syntax_search/pull/24)
|
133
|
+
- Fix bug where not all of a source is lexed which is used in heredoc detection/removal (https://github.com/zombocom/syntax_search/pull/23)
|
134
|
+
|
135
|
+
## 0.1.5
|
136
|
+
|
137
|
+
- Strip out heredocs in documents first (https://github.com/zombocom/syntax_search/pull/19)
|
138
|
+
|
139
|
+
## 0.1.4
|
140
|
+
|
141
|
+
- Parser gem replaced with Ripper (https://github.com/zombocom/syntax_search/pull/17)
|
142
|
+
|
143
|
+
## 0.1.3
|
144
|
+
|
145
|
+
- Internal refactor (https://github.com/zombocom/syntax_search/pull/13)
|
146
|
+
|
147
|
+
## 0.1.2
|
148
|
+
|
149
|
+
- Codeblocks in output are now indented with 4 spaces and "code fences" are removed (https://github.com/zombocom/syntax_search/pull/11)
|
150
|
+
- "Unmatched end" and "missing end" not generate different error text instructions (https://github.com/zombocom/syntax_search/pull/10)
|
151
|
+
|
152
|
+
## 0.1.1
|
153
|
+
|
154
|
+
- Fire search on both unexpected end-of-input and unexected end (https://github.com/zombocom/syntax_search/pull/8)
|
155
|
+
|
156
|
+
## 0.1.0
|
157
|
+
|
158
|
+
- Initial release
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at richard.schneeman+foo@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [https://contributor-covenant.org/version/1/4/code-of-conduct/][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/code-of-conduct/
|
data/Gemfile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in dead_end.gemspec
|
6
|
+
gemspec
|
7
|
+
|
8
|
+
gem "rake", "~> 12.0"
|
9
|
+
gem "rspec", "~> 3.0"
|
10
|
+
gem "stackprof"
|
11
|
+
gem "standard"
|
12
|
+
gem "ruby-prof"
|
13
|
+
|
14
|
+
gem "benchmark-ips"
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
syntax_suggest (0.0.1)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
ast (2.4.2)
|
10
|
+
benchmark-ips (2.9.2)
|
11
|
+
diff-lcs (1.4.4)
|
12
|
+
parallel (1.21.0)
|
13
|
+
parser (3.0.2.0)
|
14
|
+
ast (~> 2.4.1)
|
15
|
+
rainbow (3.0.0)
|
16
|
+
rake (12.3.3)
|
17
|
+
regexp_parser (2.1.1)
|
18
|
+
rexml (3.2.5)
|
19
|
+
rspec (3.10.0)
|
20
|
+
rspec-core (~> 3.10.0)
|
21
|
+
rspec-expectations (~> 3.10.0)
|
22
|
+
rspec-mocks (~> 3.10.0)
|
23
|
+
rspec-core (3.10.0)
|
24
|
+
rspec-support (~> 3.10.0)
|
25
|
+
rspec-expectations (3.10.0)
|
26
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
+
rspec-support (~> 3.10.0)
|
28
|
+
rspec-mocks (3.10.0)
|
29
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
30
|
+
rspec-support (~> 3.10.0)
|
31
|
+
rspec-support (3.10.0)
|
32
|
+
rubocop (1.20.0)
|
33
|
+
parallel (~> 1.10)
|
34
|
+
parser (>= 3.0.0.0)
|
35
|
+
rainbow (>= 2.2.2, < 4.0)
|
36
|
+
regexp_parser (>= 1.8, < 3.0)
|
37
|
+
rexml
|
38
|
+
rubocop-ast (>= 1.9.1, < 2.0)
|
39
|
+
ruby-progressbar (~> 1.7)
|
40
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
41
|
+
rubocop-ast (1.12.0)
|
42
|
+
parser (>= 3.0.1.1)
|
43
|
+
rubocop-performance (1.11.5)
|
44
|
+
rubocop (>= 1.7.0, < 2.0)
|
45
|
+
rubocop-ast (>= 0.4.0)
|
46
|
+
ruby-prof (1.4.3)
|
47
|
+
ruby-progressbar (1.11.0)
|
48
|
+
stackprof (0.2.16)
|
49
|
+
standard (1.3.0)
|
50
|
+
rubocop (= 1.20.0)
|
51
|
+
rubocop-performance (= 1.11.5)
|
52
|
+
unicode-display_width (2.1.0)
|
53
|
+
|
54
|
+
PLATFORMS
|
55
|
+
ruby
|
56
|
+
|
57
|
+
DEPENDENCIES
|
58
|
+
benchmark-ips
|
59
|
+
rake (~> 12.0)
|
60
|
+
rspec (~> 3.0)
|
61
|
+
ruby-prof
|
62
|
+
stackprof
|
63
|
+
standard
|
64
|
+
syntax_suggest!
|
65
|
+
|
66
|
+
BUNDLED WITH
|
67
|
+
2.3.14
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 schneems
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|