rubocop-isucon 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab150e156e21e700479dc453477e496e056bbc10ff5b6e512c7bbdc4a0c6e19
|
4
|
+
data.tar.gz: cae10ca2b0787a5a85a4959e376874a009b22951180c99de19bf8a477a0f5e13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b5955edce0eac57d1c097b5d0babb5ead48a99043f7d231cbbf8e66d4034bde4b49234a7dd24c90fa50e907379145059eb44744f0f186e5ac8432831bd84cac
|
7
|
+
data.tar.gz: 47d40e8be7da3cfbd5f448922571ca41718e4fdcc2225cc70eea5150a275e34daac534c2fd446da15038c0114956b9b1a8f87a539843e4baa326cdad879be4b5
|
data/.github/workflows/pages.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
## [Unreleased]
|
2
|
-
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.
|
2
|
+
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.2...main)
|
3
|
+
|
4
|
+
## [1.0.2] - 2023-12-22
|
5
|
+
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.1...v1.0.2)
|
6
|
+
|
7
|
+
* Requires rubocop-performance 1.20.0+
|
8
|
+
* https://github.com/sue445/rubocop-isucon/pull/245
|
9
|
+
|
10
|
+
## [1.0.1] - 2023-11-28
|
11
|
+
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.0...v1.0.1)
|
12
|
+
|
13
|
+
* Support `xquery` with block and lvar
|
14
|
+
* https://github.com/sue445/rubocop-isucon/pull/239
|
3
15
|
|
4
16
|
## [1.0.0] - 2023-10-29
|
5
17
|
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v0.2.0...v1.0.0)
|
@@ -13,7 +13,7 @@ module RuboCop
|
|
13
13
|
# @!method find_xquery(node)
|
14
14
|
# @param node [RuboCop::AST::Node]
|
15
15
|
def_node_search :find_xquery, <<~PATTERN
|
16
|
-
(send (send
|
16
|
+
(send ({:send | :lvar} ...) {:xquery | :query} (${str dstr lvar ivar cvar} $...) ...)
|
17
17
|
PATTERN
|
18
18
|
|
19
19
|
NON_STRING_WARNING_MSG = "Warning: non-string was passed to `query` or `xquery` 1st argument. " \
|
data/rubocop-isucon.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_runtime_dependency "activerecord", ">= 6.1.0"
|
39
39
|
spec.add_runtime_dependency "gda", "!= 1.1.2"
|
40
40
|
spec.add_runtime_dependency "rubocop", ">= 1.49.0"
|
41
|
-
spec.add_runtime_dependency "rubocop-performance"
|
41
|
+
spec.add_runtime_dependency "rubocop-performance", ">= 1.20.0"
|
42
42
|
|
43
43
|
spec.add_development_dependency "benchmark-ips"
|
44
44
|
spec.add_development_dependency "pry-byebug"
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |spec|
|
|
47
47
|
spec.add_development_dependency "rspec", "~> 3.0"
|
48
48
|
spec.add_development_dependency "rspec-its"
|
49
49
|
spec.add_development_dependency "rubocop_auto_corrector"
|
50
|
-
spec.add_development_dependency "rubocop-yard"
|
50
|
+
spec.add_development_dependency "rubocop-yard", ">= 0.9.2"
|
51
51
|
spec.add_development_dependency "sqlite3"
|
52
52
|
spec.add_development_dependency "yard"
|
53
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-isucon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.20.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.20.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: benchmark-ips
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: 0.9.2
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 0.9.2
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: sqlite3
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|