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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bd0eac249a23368414a86aa1ab08826542cf644fa50b19017a2bcfd6648d594
4
- data.tar.gz: 18e829ac97ac7c7cb9696a1078f36b8a958fd340ddbb9bc1b232b2630e683df2
3
+ metadata.gz: 1d549fdee9ac02a57f22f9d32f40417a5a0d5f6948e621fc1de3e043ddfafa6e
4
+ data.tar.gz: 317b1d0aa615021bb849d62dbdc2429007163b1a00885af288d8cfa740334846
5
5
  SHA512:
6
- metadata.gz: 58238a855da0596f653d47436977b44cc7722982a1b59e60850f79003b356d85071cba061cca6adae2b4cfa4b63ab489e121135e3c2954f366f5ca1c375e1bbf
7
- data.tar.gz: b7747989e1219c7fee4f834b8811e419d3c9f6083336d5fab7e7b19a3f8e1f0dad86644e708b18b926b9de3a678edf8b31495097e319bff970599b80d0ab21d9
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 nil? _) {:xquery | :query} (${str dstr lvar ivar cvar} $...) ...)
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. " \
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Isucon
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  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.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-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord