reek 3.9.0 → 3.9.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
  SHA1:
3
- metadata.gz: 06a12fafe3940db75ef71b4c2a1b94d690156bf5
4
- data.tar.gz: e38b40afe0d1be94dc9f449274d57568c42018d7
3
+ metadata.gz: b3dd68d4b01b16583809e98f6d9511f3c794096c
4
+ data.tar.gz: 6eab525a7bb2b6638a9afb8d6897e5a3ff7f755a
5
5
  SHA512:
6
- metadata.gz: 01fadfe2c811ab7762ccb7994767dc6e4e4c78b7e425a089c551c609fd289fd542fdde5ab2fe3c891af243b240d74148618efb5c84c10dc8ff83c287a6b87224
7
- data.tar.gz: 98d4b2aa2a433892b4b65943d8a3f98ba9c5b0645acc1eed971225d1543fc2ab3d318fd60cf4a321348efa9339dbcd572c29e87e6eb49dcda96eb61e8b9579b4
6
+ metadata.gz: 9a69de2d73546ef583ee68addc7dfaa5ade459c1f12f7152e731627670e96b3ed1e9324aab30d4a8ad091d99b563a13c17c9a1357696d2d4d8bb14c569bdb26e
7
+ data.tar.gz: 91e0aebacfd5f64b3d4fbb08d1dbb74dc87db3655c43874f1c388f23d70d4c533514ce44b3e76ca257ba33bb762095ef2c944acfb5ab69c74bca6243823eeeb2
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 3.9.1 (2016-01-24)
6
+
7
+ * (troessner) Actually use the corresponding parser for Ruby 2.3
8
+
5
9
  ## 3.9.0 (2016-01-22)
6
10
 
7
11
  * (chastell) Bump Parser dependency to support Ruby 2.3
@@ -1,6 +1,6 @@
1
1
  require_relative '../cli/silencer'
2
2
  Reek::CLI::Silencer.silently do
3
- require 'parser/ruby22'
3
+ require 'parser/ruby23'
4
4
  end
5
5
  require_relative '../tree_dresser'
6
6
  require_relative '../ast/node'
@@ -21,7 +21,7 @@ module Reek
21
21
  # code - Ruby code as String
22
22
  # origin - 'STDIN', 'string' or a filepath as String
23
23
  # parser - the parser to use for generating AST's out of the given source
24
- def initialize(code: raise, origin: raise, parser: Parser::Ruby22)
24
+ def initialize(code: raise, origin: raise, parser: Parser::Ruby23)
25
25
  @source = code
26
26
  @origin = origin
27
27
  @parser = parser
@@ -6,6 +6,6 @@ module Reek
6
6
  # @public
7
7
  module Version
8
8
  # @public
9
- STRING = '3.9.0'
9
+ STRING = '3.9.1'
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reek
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rutherford
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-01-22 00:00:00.000000000 Z
14
+ date: 2016-01-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: codeclimate-engine-rb