danger-textlint 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 +4 -4
- data/.devcontainer/Dockerfile +18 -0
- data/.devcontainer/devcontainer.json +35 -0
- data/.github/dependabot.yml +12 -0
- data/.github/workflows/ci.yml +2 -2
- data/.rubocop.yml +5 -8
- data/Gemfile.lock +64 -53
- data/danger-textlint.gemspec +5 -2
- data/lib/textlint/gem_version.rb +1 -1
- metadata +24 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccf323fb77d25bc1bade56d96fc8dc3456fee206c12ba5267fb56409bf134844
|
4
|
+
data.tar.gz: 331557efb9c25959b393c29206bfc6b57e8d72425dc7a67b391b774e409e5c2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10c90d66a45ef436816d8df8d2f8fa38ee42a14d6065309d08ec8a7514b06bcb19b964204b5d14418d4b7572c6b748f1c52b12edcf872b91aa7b41800291f419
|
7
|
+
data.tar.gz: 4d2265bf02c94c8a19e47a12b48fcc28813c8d50a5d145a59041dc59e59525d39cdce2c9eb6afc00e73a531c0b7c1b796491a44f359b405f3ae4c3787525e9c4
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.134.1/containers/ruby/.devcontainer/base.Dockerfile
|
2
|
+
ARG VARIANT="2"
|
3
|
+
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
|
4
|
+
|
5
|
+
# [Optional] Install a version of Node.js using nvm for front end dev
|
6
|
+
ARG INSTALL_NODE="true"
|
7
|
+
ARG NODE_VERSION="lts/*"
|
8
|
+
RUN if [ "${INSTALL_NODE}" = "true" ]; then su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
9
|
+
|
10
|
+
# [Optional] Uncomment this section to install additional OS packages.
|
11
|
+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
12
|
+
&& apt-get -y install --no-install-recommends git vim
|
13
|
+
|
14
|
+
# [Optional] Uncomment this line to install additional gems.
|
15
|
+
# RUN gem install <your-gem-names-here>
|
16
|
+
|
17
|
+
# [Optional] Uncomment this line to install global node packages.
|
18
|
+
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
2
|
+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.1/containers/ruby
|
3
|
+
{
|
4
|
+
"name": "Ruby",
|
5
|
+
"build": {
|
6
|
+
"dockerfile": "Dockerfile",
|
7
|
+
"args": {
|
8
|
+
// Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5
|
9
|
+
"VARIANT": "2.7",
|
10
|
+
// Options
|
11
|
+
"INSTALL_NODE": "true",
|
12
|
+
"NODE_VERSION": "lts/*"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
|
16
|
+
// Set *default* container specific settings.json values on container create.
|
17
|
+
"settings": {
|
18
|
+
"terminal.integrated.shell.linux": "/bin/bash"
|
19
|
+
},
|
20
|
+
|
21
|
+
// Add the IDs of extensions you want installed when the container is created.
|
22
|
+
"extensions": [
|
23
|
+
"rebornix.Ruby"
|
24
|
+
]
|
25
|
+
|
26
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
27
|
+
// "forwardPorts": [],
|
28
|
+
|
29
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
30
|
+
// "postCreateCommand": "ruby --version",
|
31
|
+
|
32
|
+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
33
|
+
// "remoteUser": "vscode"
|
34
|
+
|
35
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
3
|
+
# Please see the documentation for all configuration options:
|
4
|
+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
5
|
+
|
6
|
+
version: 2
|
7
|
+
updates:
|
8
|
+
- package-ecosystem: "bundler" # See documentation for possible values
|
9
|
+
directory: "/" # Location of package manifests
|
10
|
+
schedule:
|
11
|
+
interval: "monthly"
|
12
|
+
timezone: "Asia/Tokyo"
|
data/.github/workflows/ci.yml
CHANGED
@@ -7,12 +7,12 @@ jobs:
|
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
image: [ 'ruby:2.
|
10
|
+
image: [ 'ruby:2.5', 'ruby:2.6', 'ruby:2.7' ]
|
11
11
|
container:
|
12
12
|
image: ${{ matrix.image }}
|
13
13
|
|
14
14
|
steps:
|
15
|
-
- uses: actions/checkout@
|
15
|
+
- uses: actions/checkout@v2
|
16
16
|
|
17
17
|
- name: Setup bundler
|
18
18
|
run: gem install bundler
|
data/.rubocop.yml
CHANGED
@@ -3,7 +3,8 @@
|
|
3
3
|
# If you don't like these settings, just delete this file :)
|
4
4
|
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 2.
|
6
|
+
TargetRubyVersion: 2.7
|
7
|
+
NewCops: disable
|
7
8
|
|
8
9
|
Style/StringLiterals:
|
9
10
|
EnforcedStyle: double_quotes
|
@@ -13,20 +14,16 @@ Style/StringLiterals:
|
|
13
14
|
Style/ClassCheck:
|
14
15
|
EnforcedStyle: kind_of?
|
15
16
|
|
16
|
-
# It's better to be more explicit about the type
|
17
|
-
Style/BracesAroundHashParameters:
|
18
|
-
Enabled: false
|
19
|
-
|
20
17
|
# specs sometimes have useless assignments, which is fine
|
21
18
|
Lint/UselessAssignment:
|
22
19
|
Exclude:
|
23
20
|
- '**/spec/**/*'
|
24
21
|
|
25
22
|
# We could potentially enable the 2 below:
|
26
|
-
Layout/
|
23
|
+
Layout/FirstHashElementIndentation:
|
27
24
|
Enabled: false
|
28
25
|
|
29
|
-
Layout/
|
26
|
+
Layout/HashAlignment:
|
30
27
|
Enabled: false
|
31
28
|
|
32
29
|
# HoundCI doesn't like this rule
|
@@ -130,7 +127,7 @@ Style/MixinGrouping:
|
|
130
127
|
Naming/FileName:
|
131
128
|
Enabled: false
|
132
129
|
|
133
|
-
Layout/
|
130
|
+
Layout/HeredocIndentation:
|
134
131
|
Enabled: false
|
135
132
|
|
136
133
|
Style/SpecialGlobalVars:
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
danger-textlint (2.0.
|
4
|
+
danger-textlint (2.0.1)
|
5
5
|
danger-plugin-api (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -9,25 +9,26 @@ GEM
|
|
9
9
|
specs:
|
10
10
|
addressable (2.7.0)
|
11
11
|
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
ast (2.4.
|
12
|
+
ast (2.4.1)
|
13
|
+
bump (0.9.0)
|
13
14
|
claide (1.0.3)
|
14
15
|
claide-plugins (0.9.2)
|
15
16
|
cork
|
16
17
|
nap
|
17
18
|
open4 (~> 1.3)
|
18
|
-
coderay (1.1.
|
19
|
+
coderay (1.1.3)
|
19
20
|
colored2 (3.1.2)
|
20
21
|
cork (0.3.0)
|
21
22
|
colored2 (~> 3.1)
|
22
|
-
danger (
|
23
|
+
danger (8.0.5)
|
23
24
|
claide (~> 1.0)
|
24
25
|
claide-plugins (>= 0.9.2)
|
25
26
|
colored2 (~> 3.1)
|
26
27
|
cork (~> 0.1)
|
27
|
-
faraday (
|
28
|
+
faraday (>= 0.9.0, < 2.0)
|
28
29
|
faraday-http-cache (~> 2.0)
|
29
|
-
git (~> 1.
|
30
|
-
kramdown (~> 2.
|
30
|
+
git (~> 1.7)
|
31
|
+
kramdown (~> 2.3)
|
31
32
|
kramdown-parser-gfm (~> 1.0)
|
32
33
|
no_proxy_fix
|
33
34
|
octokit (~> 4.7)
|
@@ -35,14 +36,15 @@ GEM
|
|
35
36
|
danger-plugin-api (1.0.0)
|
36
37
|
danger (> 2.0)
|
37
38
|
diff-lcs (1.3)
|
38
|
-
faraday (0.
|
39
|
+
faraday (1.0.1)
|
39
40
|
multipart-post (>= 1.2, < 3)
|
40
|
-
faraday-http-cache (2.
|
41
|
-
faraday (
|
42
|
-
ffi (1.
|
41
|
+
faraday-http-cache (2.2.0)
|
42
|
+
faraday (>= 0.8)
|
43
|
+
ffi (1.13.1)
|
43
44
|
formatador (0.2.5)
|
44
|
-
git (1.
|
45
|
-
|
45
|
+
git (1.7.0)
|
46
|
+
rchardet (~> 1.8)
|
47
|
+
guard (2.16.2)
|
46
48
|
formatador (>= 0.2.4)
|
47
49
|
listen (>= 2.7, < 4.0)
|
48
50
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -56,82 +58,91 @@ GEM
|
|
56
58
|
guard (~> 2.1)
|
57
59
|
guard-compat (~> 1.1)
|
58
60
|
rspec (>= 2.99.0, < 4.0)
|
59
|
-
|
60
|
-
|
61
|
+
kramdown (2.3.0)
|
62
|
+
rexml
|
61
63
|
kramdown-parser-gfm (1.1.0)
|
62
64
|
kramdown (~> 2.0)
|
63
|
-
listen (3.
|
64
|
-
rb-fsevent (>= 0.
|
65
|
-
rb-inotify (>= 0.9.
|
66
|
-
lumberjack (1.
|
67
|
-
method_source (0.
|
65
|
+
listen (3.2.1)
|
66
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
67
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
68
|
+
lumberjack (1.2.5)
|
69
|
+
method_source (1.0.0)
|
68
70
|
multipart-post (2.1.1)
|
69
71
|
nap (1.1.0)
|
70
72
|
nenv (0.3.0)
|
71
73
|
no_proxy_fix (0.1.2)
|
72
|
-
notiffany (0.1.
|
74
|
+
notiffany (0.1.3)
|
73
75
|
nenv (~> 0.1)
|
74
76
|
shellany (~> 0.0)
|
75
|
-
octokit (4.
|
77
|
+
octokit (4.18.0)
|
78
|
+
faraday (>= 0.9)
|
76
79
|
sawyer (~> 0.8.0, >= 0.5.3)
|
77
80
|
open4 (1.3.4)
|
78
|
-
parallel (1.
|
79
|
-
parser (2.
|
80
|
-
ast (~> 2.4.
|
81
|
-
pry (0.
|
82
|
-
coderay (~> 1.1
|
83
|
-
method_source (~>
|
84
|
-
public_suffix (4.0.
|
81
|
+
parallel (1.19.2)
|
82
|
+
parser (2.7.1.4)
|
83
|
+
ast (~> 2.4.1)
|
84
|
+
pry (0.13.1)
|
85
|
+
coderay (~> 1.1)
|
86
|
+
method_source (~> 1.0)
|
87
|
+
public_suffix (4.0.6)
|
85
88
|
rainbow (3.0.0)
|
86
|
-
rake (
|
87
|
-
rb-fsevent (0.10.
|
88
|
-
rb-inotify (0.10.
|
89
|
+
rake (13.0.1)
|
90
|
+
rb-fsevent (0.10.4)
|
91
|
+
rb-inotify (0.10.1)
|
89
92
|
ffi (~> 1.0)
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
rspec-
|
96
|
-
|
93
|
+
rchardet (1.8.0)
|
94
|
+
regexp_parser (1.7.1)
|
95
|
+
rexml (3.2.4)
|
96
|
+
rspec (3.9.0)
|
97
|
+
rspec-core (~> 3.9.0)
|
98
|
+
rspec-expectations (~> 3.9.0)
|
99
|
+
rspec-mocks (~> 3.9.0)
|
100
|
+
rspec-core (3.9.2)
|
101
|
+
rspec-support (~> 3.9.3)
|
102
|
+
rspec-expectations (3.9.2)
|
97
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
-
rspec-support (~> 3.
|
99
|
-
rspec-mocks (3.
|
104
|
+
rspec-support (~> 3.9.0)
|
105
|
+
rspec-mocks (3.9.1)
|
100
106
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
-
rspec-support (~> 3.
|
102
|
-
rspec-support (3.
|
103
|
-
rubocop (0.
|
104
|
-
jaro_winkler (~> 1.5.1)
|
107
|
+
rspec-support (~> 3.9.0)
|
108
|
+
rspec-support (3.9.3)
|
109
|
+
rubocop (0.90.0)
|
105
110
|
parallel (~> 1.10)
|
106
|
-
parser (>= 2.
|
111
|
+
parser (>= 2.7.1.1)
|
107
112
|
rainbow (>= 2.2.2, < 4.0)
|
113
|
+
regexp_parser (>= 1.7)
|
114
|
+
rexml
|
115
|
+
rubocop-ast (>= 0.3.0, < 1.0)
|
108
116
|
ruby-progressbar (~> 1.7)
|
109
|
-
unicode-display_width (>= 1.4.0, <
|
110
|
-
|
117
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
118
|
+
rubocop-ast (0.3.0)
|
119
|
+
parser (>= 2.7.1.4)
|
120
|
+
ruby-progressbar (1.10.1)
|
111
121
|
sawyer (0.8.2)
|
112
122
|
addressable (>= 2.3.5)
|
113
123
|
faraday (> 0.8, < 2.0)
|
114
124
|
shellany (0.0.1)
|
115
125
|
terminal-table (1.8.0)
|
116
126
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
117
|
-
thor (0.
|
127
|
+
thor (1.0.1)
|
118
128
|
unicode-display_width (1.6.0)
|
119
|
-
yard (0.9.
|
129
|
+
yard (0.9.25)
|
120
130
|
|
121
131
|
PLATFORMS
|
122
132
|
ruby
|
123
133
|
|
124
134
|
DEPENDENCIES
|
135
|
+
bump (~> 0.9.0)
|
125
136
|
bundler (~> 2.0)
|
126
137
|
danger-textlint!
|
127
138
|
guard (~> 2.14)
|
128
139
|
guard-rspec (~> 4.7)
|
129
|
-
listen (= 3.
|
140
|
+
listen (= 3.2.1)
|
130
141
|
pry
|
131
|
-
rake (~>
|
142
|
+
rake (~> 13.0)
|
132
143
|
rspec (~> 3.4)
|
133
144
|
rubocop
|
134
145
|
yard
|
135
146
|
|
136
147
|
BUNDLED WITH
|
137
|
-
2.
|
148
|
+
2.1.4
|
data/danger-textlint.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
|
23
23
|
# General ruby development
|
24
24
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
25
|
-
spec.add_development_dependency 'rake', '~>
|
25
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
26
26
|
|
27
27
|
# Testing support
|
28
28
|
spec.add_development_dependency 'rspec', '~> 3.4'
|
@@ -36,7 +36,10 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
37
37
|
|
38
38
|
# If you want to work on older builds of ruby
|
39
|
-
spec.add_development_dependency 'listen', '3.
|
39
|
+
spec.add_development_dependency 'listen', '3.2.1'
|
40
|
+
|
41
|
+
# Help gem version up when release new version
|
42
|
+
spec.add_development_dependency 'bump', '~> 0.9.0'
|
40
43
|
|
41
44
|
# This gives you the chance to run a REPL inside your tests
|
42
45
|
# via:
|
data/lib/textlint/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-textlint
|
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
|
- Kesin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,28 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
131
|
+
version: 3.2.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 3.
|
138
|
+
version: 3.2.1
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: bump
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.9.0
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.9.0
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: pry
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,6 +172,9 @@ extensions: []
|
|
158
172
|
extra_rdoc_files: []
|
159
173
|
files:
|
160
174
|
- ".dependabot/config.yml"
|
175
|
+
- ".devcontainer/Dockerfile"
|
176
|
+
- ".devcontainer/devcontainer.json"
|
177
|
+
- ".github/dependabot.yml"
|
161
178
|
- ".github/workflows/ci.yml"
|
162
179
|
- ".gitignore"
|
163
180
|
- ".rubocop.yml"
|
@@ -194,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
211
|
- !ruby/object:Gem::Version
|
195
212
|
version: '0'
|
196
213
|
requirements: []
|
197
|
-
rubygems_version: 3.
|
214
|
+
rubygems_version: 3.1.2
|
198
215
|
signing_key:
|
199
216
|
specification_version: 4
|
200
217
|
summary: Danger plugin for textlint.
|