textlint-ruby 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bcefd07ee04b3840f45267770a1faa99fe9ed9f7f5161b11df94fa0839bcb62
4
- data.tar.gz: d2dd891a4a2ce1866d13dd6963b3944494f2ca19ad15aec67859743edb6c41b7
3
+ metadata.gz: 3303ecc415b58c4fb007cf1dbe07365336af2c22ab47e75e63ba35589f902b93
4
+ data.tar.gz: 71d0c9f274ec82cded1104391209bf94ccd6314f8ec1c9c6b028338cf28a9366
5
5
  SHA512:
6
- metadata.gz: 9658421db72d38e73718eae4325d64b15d9b871976e8db31dda7ae2e3630348f66fbf30c30cdd18744f980e3cbdc5c34e89f02d15f455ed687a1176a377756fc
7
- data.tar.gz: 979b738b6230d5d717a0d6e534128867274d641a003603f6ea8050b6e9462c5cd18dc2294e348d25f31078f3ea7dd42f4d3187ca8bef2ec6bcf78db0509e86ea
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
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 alpaca-tc
3
+ Copyright (c) 2021 SmartHR
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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/alpaca-tc/textlint-ruby-plugin).
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/alpaca-tc/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/alpaca-tc/textlint-ruby/blob/master/CODE_OF_CONDUCT.md).
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/alpaca-tc/textlint-ruby/blob/master/CODE_OF_CONDUCT.md).
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).
@@ -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}"
@@ -4,7 +4,7 @@ module Textlint
4
4
  module VERSION
5
5
  MAJOR = 2
6
6
  MINOR = 0
7
- TINY = 0
7
+ TINY = 1
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
10
10
  end
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/alpaca-tc/textlint-ruby'
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/alpaca-tc/textlint-ruby'
19
- spec.metadata['changelog_uri'] = 'https://github.com/alpaca-tc/textlint-ruby/blob/main/CHANGELOG.md'
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.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: 2021-12-02 00:00:00.000000000 Z
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/alpaca-tc/textlint-ruby
42
+ homepage: https://github.com/kufu/textlint-ruby
42
43
  licenses:
43
44
  - MIT
44
45
  metadata:
45
- homepage_uri: https://github.com/alpaca-tc/textlint-ruby
46
- source_code_uri: https://github.com/alpaca-tc/textlint-ruby
47
- changelog_uri: https://github.com/alpaca-tc/textlint-ruby/blob/main/CHANGELOG.md
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.2.22
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: []