textlint-ruby 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/CHANGELOG.md +7 -0
- data/CODE_OF_CONDUCT.md +0 -2
- data/LICENSE.txt +1 -1
- data/README.md +3 -3
- data/lib/textlint/parser.rb +1 -1
- data/lib/textlint/version.rb +1 -1
- data/textlint.gemspec +3 -3
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3303ecc415b58c4fb007cf1dbe07365336af2c22ab47e75e63ba35589f902b93
|
4
|
+
data.tar.gz: 71d0c9f274ec82cded1104391209bf94ccd6314f8ec1c9c6b028338cf28a9366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbd300b9f302844d7e21f625197975bf5dce6d6edbccef5573b5bf7703d2c391f7d304fb2352745d8bff0aa7583f095d0aac0d8c69f2e6058ef05124b58754d
|
7
|
+
data.tar.gz: 4d09d6639a2dff18b2e36ff972e34e410eee5839aad154c4a865b273cf3536dc333eab9e817f4f5eb58bf5163ab891fee33c52cc8d2e3257be6ea0e1302eadb3
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [2.0.1]
|
4
|
+
|
5
|
+
- Support `on_ignored_nl` event in Ruby 2.6
|
6
|
+
- Changed the repository owner from alpaca-tc to kufu
|
7
|
+
|
8
|
+
## [2.0.0]
|
9
|
+
|
3
10
|
- Add stdio server mode. textlint-plugin-ruby(>= v2.0.0) can connect with textlint-ruby via stdio.
|
4
11
|
- Remove textlint-ruby-optimized command
|
5
12
|
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -39,8 +39,6 @@ This Code of Conduct applies within all community spaces, and also applies when
|
|
39
39
|
|
40
40
|
## Enforcement
|
41
41
|
|
42
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at alpaca-tc@alpaca.tc. All complaints will be reviewed and investigated promptly and fairly.
|
43
|
-
|
44
42
|
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
45
43
|
|
46
44
|
## Enforcement Guidelines
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# textlint-ruby
|
2
2
|
|
3
|
-
Ruby AST parser for [textlint-ruby-plugin](https://github.com/
|
3
|
+
Ruby AST parser for [textlint-ruby-plugin](https://github.com/kufu/textlint-ruby-plugin).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -83,7 +83,7 @@ Run `bundle exec rspec` to run the tests.
|
|
83
83
|
|
84
84
|
## Contributing
|
85
85
|
|
86
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
86
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kufu/textlint-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/kufu/textlint-ruby/blob/master/CODE_OF_CONDUCT.md).
|
87
87
|
|
88
88
|
## License
|
89
89
|
|
@@ -91,4 +91,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
91
91
|
|
92
92
|
## Code of Conduct
|
93
93
|
|
94
|
-
Everyone interacting in the `textlint-ruby` project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
94
|
+
Everyone interacting in the `textlint-ruby` project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kufu/textlint-ruby/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/textlint/parser.rb
CHANGED
@@ -22,7 +22,7 @@ module Textlint
|
|
22
22
|
# All events call this method
|
23
23
|
# NOTE: Instance variables are allowed to assign only here to readable code.
|
24
24
|
def on_default(event, token, node)
|
25
|
-
@token = token
|
25
|
+
@token = token.to_s
|
26
26
|
@event = event
|
27
27
|
|
28
28
|
method_name = :"custom_#{event}"
|
data/lib/textlint/version.rb
CHANGED
data/textlint.gemspec
CHANGED
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = 'ruby source code parser for textlint'
|
12
12
|
spec.description = ''
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/kufu/textlint-ruby'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
spec.required_ruby_version = '>= 2.5.0'
|
16
16
|
|
17
17
|
spec.metadata['homepage_uri'] = spec.homepage
|
18
|
-
spec.metadata['source_code_uri'] = 'https://github.com/
|
19
|
-
spec.metadata['changelog_uri'] = 'https://github.com/
|
18
|
+
spec.metadata['source_code_uri'] = 'https://github.com/kufu/textlint-ruby'
|
19
|
+
spec.metadata['changelog_uri'] = 'https://github.com/kufu/textlint-ruby/blob/main/CHANGELOG.md'
|
20
20
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textlint-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alpaca-tc
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: ''
|
14
14
|
email:
|
@@ -22,6 +22,7 @@ files:
|
|
22
22
|
- ".gitignore"
|
23
23
|
- ".rspec"
|
24
24
|
- ".rubocop.yml"
|
25
|
+
- ".ruby-version"
|
25
26
|
- CHANGELOG.md
|
26
27
|
- CODE_OF_CONDUCT.md
|
27
28
|
- Gemfile
|
@@ -38,14 +39,14 @@ files:
|
|
38
39
|
- lib/textlint/server.rb
|
39
40
|
- lib/textlint/version.rb
|
40
41
|
- textlint.gemspec
|
41
|
-
homepage: https://github.com/
|
42
|
+
homepage: https://github.com/kufu/textlint-ruby
|
42
43
|
licenses:
|
43
44
|
- MIT
|
44
45
|
metadata:
|
45
|
-
homepage_uri: https://github.com/
|
46
|
-
source_code_uri: https://github.com/
|
47
|
-
changelog_uri: https://github.com/
|
48
|
-
post_install_message:
|
46
|
+
homepage_uri: https://github.com/kufu/textlint-ruby
|
47
|
+
source_code_uri: https://github.com/kufu/textlint-ruby
|
48
|
+
changelog_uri: https://github.com/kufu/textlint-ruby/blob/main/CHANGELOG.md
|
49
|
+
post_install_message:
|
49
50
|
rdoc_options: []
|
50
51
|
require_paths:
|
51
52
|
- lib
|
@@ -60,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
|
-
rubygems_version: 3.
|
64
|
-
signing_key:
|
64
|
+
rubygems_version: 3.1.6
|
65
|
+
signing_key:
|
65
66
|
specification_version: 4
|
66
67
|
summary: ruby source code parser for textlint
|
67
68
|
test_files: []
|