rubocop-isucon 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rubocop/cop/isucon/mixin/mysql2_xquery_methods.rb +1 -1
- data/lib/rubocop/isucon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d549fdee9ac02a57f22f9d32f40417a5a0d5f6948e621fc1de3e043ddfafa6e
|
4
|
+
data.tar.gz: 317b1d0aa615021bb849d62dbdc2429007163b1a00885af288d8cfa740334846
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d187ed0fd26147d591cc2e4d27f80f02fcad4eb90e1806f378ac06c7fc6a7ed1cb743f45b2010d27d72cba4c7bcb4a7c59b2540d73b9132824b0fe71bdf0e5e1
|
7
|
+
data.tar.gz: 495a4dcbe01b41864d8fcbf6f0577ce481cf0ebb9dbf7283c29f512ce7f9019640ae2dff2d035cf83c65fc88fcdc0562bdb1891e24be30cf3e7e37ed2b5b228c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.0...main)
|
3
3
|
|
4
|
+
## [1.0.1] - 2023-11-28
|
5
|
+
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v1.0.0...v1.0.1)
|
6
|
+
|
7
|
+
* Support `xquery` with block and lvar
|
8
|
+
* https://github.com/sue445/rubocop-isucon/pull/239
|
9
|
+
|
4
10
|
## [1.0.0] - 2023-10-29
|
5
11
|
[full changelog](http://github.com/sue445/rubocop-isucon/compare/v0.2.0...v1.0.0)
|
6
12
|
|
@@ -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. " \
|
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.1
|
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-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|