querly 0.9.0 → 0.10.0

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
  SHA1:
3
- metadata.gz: 6f854dca722775d1d47a39a411eb51a57c1fa386
4
- data.tar.gz: e0116ab0aa8aba77c0d4cafb4b49ebab331b7a50
3
+ metadata.gz: 5d98ad6e32b874074885dc4f8035b43290e7b287
4
+ data.tar.gz: 660c51c66801eeaed713789cb43673cef5f1cfb1
5
5
  SHA512:
6
- metadata.gz: 51b375dbb07c518ad7af4ecb7abceb106eab2cedafb3904386dc5a599afd54f4195c17081f46f92fa3fcd89a4cf247b7cd52a68e109f6c2b1555be69ed43c2be
7
- data.tar.gz: 427657db5c0bea27791a0dd22a26d5a7a4a24e4b16628768fe54fc9389c394ea9f359859a8f8a585075313f568ce2a93374cfca97b34e3e378fcea5e3b19eaf9
6
+ metadata.gz: a31227bcbda4f3ec43202e60f2a384bdf4ca9d3ffe73623b39677fee8bd90ae1210632922bbcf845a142e6b182738dd9ea020823a41e99b57ca57ec0c112d9ad
7
+ data.tar.gz: 22e62104c9886124ed9c7b71ff65acf0b7a04a255172fcab8af75b2d94f87b9029fea119b239b97dccdfb442d9b9a35ff1a6db4898b7b3385d371b9498dd24dd
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.10.0 (2018-04-13)
6
+
7
+ * Update parser (@yoshoku) #38
8
+ * Use Ruby25 parser
9
+
5
10
  ## 0.9.0 (2018-03-02)
6
11
 
7
12
  * Fix literal testing (@pocke) #37
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
  require "yaml"
3
3
  require "rainbow"
4
- require "parser/ruby24"
4
+ require "parser/ruby25"
5
5
  require "set"
6
6
  require "open3"
7
7
  require "active_support/inflector"
@@ -140,7 +140,7 @@ module Querly
140
140
 
141
141
  found = false
142
142
 
143
- node = Parser::Ruby24.parse(example)
143
+ node = Parser::Ruby25.parse(example)
144
144
  NodePair.new(node: node).each_subpair do |pair|
145
145
  if analyzer.test_pair(pair, pattern)
146
146
  found = true
@@ -56,7 +56,7 @@ module Querly
56
56
  end
57
57
 
58
58
  def parser
59
- Parser::Ruby24.new(Builder.new).tap do |parser|
59
+ Parser::Ruby25.new(Builder.new).tap do |parser|
60
60
  parser.diagnostics.all_errors_are_fatal = true
61
61
  parser.diagnostics.ignore_warnings = true
62
62
  end
@@ -79,7 +79,7 @@ module Querly
79
79
  end
80
80
  when path.file?
81
81
 
82
-
82
+
83
83
  extensions = %w[
84
84
  .rb .builder .fcgi .gemspec .god .jbuilder .jb .mspec .opal .pluginspec
85
85
  .podspec .rabl .rake .rbuild .rbw .rbx .ru .ruby .spec .thor .watchr
@@ -106,7 +106,7 @@ module Querly
106
106
  def string_value(token)
107
107
  value(token)
108
108
  end
109
-
109
+
110
110
  def emit_lambda
111
111
  true
112
112
  end
@@ -1,3 +1,3 @@
1
1
  module Querly
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "unification_assertion", "0.0.1"
29
29
 
30
30
  spec.add_dependency 'thor', ">= 0.19.0", "< 0.21.0"
31
- spec.add_dependency "parser", "~> 2.4.0"
31
+ spec.add_dependency "parser", "~> 2.5.0"
32
32
  spec.add_dependency "rainbow", "~> 3.0"
33
33
  spec.add_dependency "activesupport", "~> 5.0"
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: querly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-02 00:00:00.000000000 Z
11
+ date: 2018-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 2.4.0
109
+ version: 2.5.0
110
110
  type: :runtime
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: 2.4.0
116
+ version: 2.5.0
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: rainbow
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  requirements: []
214
214
  rubyforge_project:
215
- rubygems_version: 2.6.13
215
+ rubygems_version: 2.6.8
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: Pattern Based Checking Tool for Ruby