reek 2.0.3 → 2.0.4

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: a6f9a08539415ceecd74495e36b1a11235bfccf2
4
- data.tar.gz: aa9edb39c1cae7f4c66e2ac41e7173b39f337b4f
3
+ metadata.gz: 8af5e0348f9f24426352d7790b0c3b4574b7128b
4
+ data.tar.gz: 42b3c7339cae9caebbcab1ab5a6386b21165ae6a
5
5
  SHA512:
6
- metadata.gz: 5b7743dfb2ca76846caae26697fe43ad25d0721e8a135286abd4918e2a541cfed814f81a4ef128e4c9547023091332d8b8c406a3ce247e1a58b0fe181cbf09d3
7
- data.tar.gz: 41f70992cd0209073947a48151b2a2da3bc83017576bf1b25f53b849100f6b1e2d2458fa18ed6b65929c8e0b3d69ab5a37d48d1ed9a51259d9f458d53e88df4c
6
+ metadata.gz: c33ef48a39ed8a20ba2a5e4b1973851004f668d4b1878805ce0a245743cd5bbba0c64c4a96747200762b273eae7762433c0509376552620ebd490fa0c2203f9f
7
+ data.tar.gz: f682a7ae37aa0787e5dd6215e03ee5340b121e0bc7532f8c0275b6c8274ffccd6345a3a61d7b51e3beb80baa53bb47fdfceaac6422802057741de0d45e7d1d36
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.0.4
2
+
3
+ * (chastell) Recognise .reek as a valid configuration file
4
+
1
5
  == 2.0.3
2
6
 
3
7
  * (mvz) Make NestedIterators handle super with arguments
@@ -48,7 +48,7 @@ module Reek
48
48
  end
49
49
 
50
50
  def detect_configuration_in_directory(directory)
51
- Pathname.glob(directory.join('*.reek')).detect(&:file?)
51
+ directory.children.select(&:file?).find { |path| path.to_s.end_with?('.reek') }
52
52
  end
53
53
  end
54
54
  end
@@ -3,6 +3,6 @@ module Reek
3
3
  # This module holds the Reek version informations
4
4
  #
5
5
  module Version
6
- STRING = '2.0.3'
6
+ STRING = '2.0.4'
7
7
  end
8
8
  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: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rutherford
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-06 00:00:00.000000000 Z
13
+ date: 2015-04-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parser
@@ -435,7 +435,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
435
435
  version: '0'
436
436
  requirements: []
437
437
  rubyforge_project: reek
438
- rubygems_version: 2.2.2
438
+ rubygems_version: 2.4.4
439
439
  signing_key:
440
440
  specification_version: 4
441
441
  summary: Code smell detector for Ruby