preek 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjczMTRhYmZjYTA0ODE2M2Y3NjFhNWFlMzRhNDQ1N2E1OTRkZWI1Mw==
5
+ data.tar.gz: !binary |-
6
+ YjFmYmZhMGU3NDA5N2M1ZjdlNWVmYmI1ZDU1YzI4YmE0YTQxYWM2Yg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NzZmN2JiOTg0ODI2N2Q0MzM0MzM4MTg2Y2Q2Y2IwNjViZWY1NzJhMDM2MjVj
10
+ ODA4MzYzYzJiMDE1MjI0MzU2YzVlMjdiZDBhNGZmNTRjYzUyNzI5YTE4NWI0
11
+ ODY4OTczMTNiZTJmOTUzYjc5NGRiZWQ3Njg0OThiNTkzYTgzMWM=
12
+ data.tar.gz: !binary |-
13
+ NTVjODc4NDAwYjM2Yjc5M2IyM2QwNTliOTAyMzJjNzZmMmFmMDMwZGIxODhi
14
+ OGE5MGU4MTliZGI2ZDVjMmU3YzUxOWY3NmVmYTRmNGViYTczYmNkOThmMWI3
15
+ ZWMyN2Q1YWE1MTI0Y2ExMDMxNTAwMDhjNTY3YTk4NzQ0ZTBlOWU=
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .rbx
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - jruby-19mode
5
+ - 2.0.0
6
+ branches:
7
+ only:
8
+ - master
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in preek.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,9 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard 'rspec' do
5
+ watch(%r{^spec/.+_spec\.rb$})
6
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
+ watch('spec/spec_helper.rb') { "spec" }
8
+ end
9
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 jonnev
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ [![Code Climate](https://codeclimate.com/github/joenas/preek.png)](https://codeclimate.com/github/joenas/preek)
2
+
3
+ # Preek
4
+
5
+ For a pretty colorful output of [Reek](https://github.com/troessner/reek), which is an awesome gem!
6
+
7
+ ## Installation
8
+
9
+ Install it yourself as:
10
+
11
+ $ git clone git@github.com:joenas/preek.git
12
+
13
+ $ cd preek
14
+
15
+ $ rake install
16
+
17
+ ## Usage
18
+
19
+ $ preek . or file
20
+
21
+ ## Contributing
22
+
23
+ 1. Fork it
24
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
25
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
26
+ 4. Push to the branch (`git push origin my-new-feature`)
27
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+
4
+ task :default => [:spec]
5
+
6
+ desc 'run Rspec specs'
7
+ task :spec do
8
+ sh 'rspec spec'
9
+ end
data/bin/preek ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ require "preek"
3
+
4
+ unless ARGV.empty?
5
+ preek = Preek::Preek.new
6
+ if preek.respond_to? ARGV[0]
7
+ preek.send ARGV.shift.to_sym, ARGV
8
+ else
9
+ preek.parse ARGV
10
+ end
11
+ else
12
+ Preek::Preek.start
13
+ end
data/lib/preek.rb ADDED
@@ -0,0 +1,36 @@
1
+ module Preek
2
+ require 'reek'
3
+ require 'thor'
4
+ require 'preek/version'
5
+ require 'preek/smell_collector'
6
+ require 'preek/smell_reporter'
7
+ require 'preek/smell_warning'
8
+ # whoop whoop
9
+ class Preek < Thor
10
+ include Thor::Actions
11
+
12
+ desc 'version', 'Shows version'
13
+ def version(*)
14
+ say VERSION
15
+ end
16
+
17
+ desc 'FILE', 'Pretty format Reek output'
18
+ def parse(args)
19
+ files, @not_files = args.partition { |file| File.exists? file }
20
+ report_smells_for files unless files.empty?
21
+ report_not_files
22
+ end
23
+
24
+ private
25
+ def report_smells_for files
26
+ sources = Reek::Source::SourceLocator.new(files).all_sources
27
+ smelly_files = SmellCollector.new(sources).smelly_files
28
+ @reporter = SmellReporter.new(smelly_files)
29
+ @reporter.print_smells
30
+ end
31
+
32
+ def report_not_files
33
+ say_status :error, "No such file(s) - #{@not_files*", "}.", :red unless @not_files.empty?
34
+ end
35
+ end
36
+ end
data/lib/preek/cli.rb ADDED
@@ -0,0 +1,24 @@
1
+ require 'preek'
2
+ module Preek
3
+ class Cli
4
+ def initialize(args)
5
+ @args = args
6
+ end
7
+
8
+ def execute
9
+ Preek.start []
10
+ end
11
+ end
12
+ end
13
+
14
+
15
+ # unless ARGV.empty?
16
+ # preek = Preek::Preek.new
17
+ # if preek.respond_to? ARGV[0]
18
+ # preek.send ARGV.shift.to_sym, ARGV
19
+ # else
20
+ # preek.parse ARGV
21
+ # end
22
+ # else
23
+ # Preek::Preek.start
24
+ # end
@@ -0,0 +1,17 @@
1
+ module Preek
2
+ require 'preek/smell_klass'
3
+ # This keeps track of classes in a smelly file
4
+ class KlassCollector
5
+ def initialize
6
+ @klasses = {}
7
+ end
8
+
9
+ def find(klassname)
10
+ @klasses[klassname.to_sym] ||= SmellKlass.new
11
+ end
12
+
13
+ def get_klasses
14
+ @klasses
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,23 @@
1
+ module Preek
2
+ require 'reek'
3
+ require 'preek/smell_file'
4
+ # This is a 'Collector'
5
+ class SmellCollector
6
+ def initialize sources
7
+ @sources = sources
8
+ @files = examine_sources
9
+ end
10
+
11
+ def smelly_files
12
+ @files.compact#reject(&:nil?)
13
+ end
14
+
15
+ private
16
+ def examine_sources
17
+ @sources.map do |source|
18
+ smells = Reek::Examiner.new(source).smells
19
+ SmellFile.new smells unless smells.empty?
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,26 @@
1
+ module Preek
2
+ require 'preek/klass_collector'
3
+ # A smelly file
4
+ class SmellFile
5
+ def initialize(smells)
6
+ @smells = smells
7
+ @klass_collector = KlassCollector.new
8
+ end
9
+
10
+ def klasses
11
+ add_smells_to_klass
12
+ @klass_collector.get_klasses
13
+ end
14
+
15
+ def file
16
+ @smells.first.source
17
+ end
18
+
19
+ private
20
+ def add_smells_to_klass
21
+ @smells.each do |smell|
22
+ @klass_collector.find(smell.klass).add_smell smell
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,23 @@
1
+ module Preek
2
+ # A container for a smelly klass in a file!
3
+ class SmellKlass
4
+ def initialize
5
+ @smells = []
6
+ end
7
+
8
+ def add_smell smell
9
+ @smells << smell
10
+ end
11
+
12
+ def name
13
+ @smells.first.klass
14
+ end
15
+
16
+ def smells
17
+ @smells.map do |smell|
18
+ smell.smell_string
19
+ #FormatedSmell.new(smell).print_data
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,44 @@
1
+ module Preek
2
+ # Here we report the smells in a nice fashion
3
+ class SmellReporter < Thor::Shell::Color
4
+ def initialize smelly_files
5
+ @smelly_files = smelly_files
6
+ @padding = 0
7
+ end
8
+
9
+ def print_smells
10
+ return say_status 'success!', 'No smells detected.' if @smelly_files.empty?
11
+ print_line
12
+ @smelly_files.each do |smell|
13
+ say_status 'file', format_path(smell.file), :blue
14
+ print_klasses smell.klasses
15
+ end
16
+ end
17
+ private
18
+ def print_klasses klasses
19
+ klasses.each do |index, klass|
20
+ say_status "\n\tclass", klass.name
21
+ say_status 'smells', '', :red
22
+ print_klass_smells klass.smells
23
+ end
24
+ print_line
25
+ end
26
+
27
+ def print_klass_smells smells
28
+ smells.each {|smell|
29
+ say_status nil, smell
30
+ }
31
+ end
32
+
33
+ def print_line
34
+ say "\n\t#{'-'*60}\n\n"
35
+ end
36
+
37
+
38
+ def padding; 0; end
39
+
40
+ def format_path file
41
+ File.expand_path(file)#.gsub(Dir.pwd, ".")
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,16 @@
1
+ module Reek
2
+ # Is was easier this way
3
+ class SmellWarning
4
+ def klass
5
+ @location[CONTEXT_KEY][/^([\w:]*)(#\w*)?/, 1]
6
+ end
7
+
8
+ def smell_method
9
+ @location[CONTEXT_KEY][/^([\w:]*)(#\w*)?/, 2]
10
+ end
11
+
12
+ def smell_string
13
+ "#{smell_method} #{@smell['message']} (#{@smell['subclass']}) at lines #{@location['lines']*','}"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,3 @@
1
+ module Preek
2
+ VERSION = "0.1.0"
3
+ end
data/preek.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/preek/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Jon Neverland"]
6
+ gem.email = ["jonwestin@gmail.com"]
7
+ gem.description = %q{Gives the nice output to the reek}
8
+ gem.summary = %q{It might reek but its pretty}
9
+ gem.homepage = "https://github.com/joenas/preek"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ #gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.executable = 'preek'
14
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
+ gem.name = "preek"
16
+ gem.require_paths = ["lib"]
17
+ gem.version = Preek::VERSION
18
+ gem.add_runtime_dependency "thor"
19
+ gem.add_runtime_dependency "reek"
20
+ gem.add_runtime_dependency "rake"
21
+ gem.add_development_dependency "rake"
22
+ gem.add_development_dependency "rspec"
23
+ gem.add_development_dependency "guard"
24
+ gem.add_development_dependency "guard-rspec"
25
+ gem.add_development_dependency "simplecov"
26
+ end
@@ -0,0 +1,78 @@
1
+ require 'spec_helper'
2
+
3
+ describe Preek::Preek do
4
+
5
+ def test_file(file_name)
6
+ File.expand_path(File.join(File.dirname(__FILE__),'test_files/',"#{file_name}.rb"))
7
+ end
8
+
9
+ describe "#version" do
10
+ let(:output) { capture(:stdout) { subject.version} }
11
+ it "outputs the gem version in the right format" do
12
+ output.should =~ /(\d\.?){3}/
13
+ end
14
+ end
15
+
16
+ describe "#parse" do
17
+ let(:output) { capture(:stdout) { subject.parse(args) } }
18
+
19
+ context "with non-existing file in ARGS" do
20
+ let(:args) { ['i/am/not/a_file'] }
21
+ it "outputs 'No such file'" do
22
+ output.should include("No such file")
23
+ end
24
+ it "outputs the name of the file" do
25
+ output.should include(args[0])
26
+ end
27
+ end
28
+
29
+ context "when given file has no smells" do
30
+ let(:args){ [test_file('non_smelly')] }
31
+ it "output contains 'success! No smells'" do
32
+ output.should include("No smells")
33
+ end
34
+ end
35
+
36
+ context "when given file has Irresponsible smell" do
37
+ let(:args){ [test_file('irresponsible')] }
38
+ it "output contains 'Irresponsible'" do
39
+ output.should include("Irresponsible")
40
+ end
41
+ it "outputs the name of the file" do
42
+ output.should include(args[0])
43
+ end
44
+ end
45
+
46
+ context "when given a file with two smelly classes" do
47
+ let(:args){ [test_file('two_smelly_classes')] }
48
+ it "output contains both classnames" do
49
+ output.should include('FirstSmelly', 'SecondSmelly')
50
+ end
51
+ it "output contains both smells" do
52
+ output.should include('IrresponsibleModule', 'UncommunicativeMethodName')
53
+ end
54
+ end
55
+
56
+ context "when given a file with two different smells" do
57
+ let(:args){ [test_file('irresponsible_and_lazy')] }
58
+ it "output contains both smells" do
59
+ output.should include('IrresponsibleModule', 'UncommunicativeMethodName')
60
+ end
61
+ end
62
+
63
+ context "when given two smelly files" do
64
+ let(:args){ [test_file('too_many_statements'), test_file('two_smelly_classes')] }
65
+ it "output contains all smells" do
66
+ output.should include('IrresponsibleModule', 'UncommunicativeMethodName', 'TooManyStatements')
67
+ end
68
+
69
+ it "output contains both filenames" do
70
+ output.should include(args[0], args[1])
71
+ end
72
+
73
+ it "output contains the names of the smelly methods" do
74
+ output.should include("#loong_method", "#x")
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,26 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
5
+ require 'stringio'
6
+ require File.expand_path('../../lib/preek', __FILE__)
7
+
8
+ RSpec.configure do |config|
9
+ config.treat_symbols_as_metadata_keys_with_true_values = true
10
+ config.run_all_when_everything_filtered = true
11
+ config.filter_run :focus
12
+ config.order = 'random'
13
+ config.fail_fast = true
14
+
15
+ def capture(stream)
16
+ begin
17
+ stream = stream.to_s
18
+ eval "$#{stream} = StringIO.new"
19
+ yield
20
+ result = eval("$#{stream}").string
21
+ ensure
22
+ eval("$#{stream} = #{stream.upcase}")
23
+ end
24
+ result
25
+ end
26
+ end
@@ -0,0 +1,2 @@
1
+ class Irresponsible
2
+ end
@@ -0,0 +1,3 @@
1
+ class IrresponsibleAndLazy
2
+ def x; end
3
+ end
@@ -0,0 +1,3 @@
1
+ # This class has no smells!
2
+ class NonSmelly
3
+ end
@@ -0,0 +1,8 @@
1
+ # this class has... TooManyStatments!
2
+
3
+ class TooManyStatments
4
+ def loong_method
5
+ puts "a";puts "b";puts "c";puts "d";puts "e";puts "f"
6
+ puts "g"
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ class FirstSmelly; end
2
+
3
+ # this has a comment but bad method
4
+ class SecondSmelly
5
+ def x(); end
6
+ end
metadata ADDED
@@ -0,0 +1,189 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: preek
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jon Neverland
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-02-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: reek
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Gives the nice output to the reek
126
+ email:
127
+ - jonwestin@gmail.com
128
+ executables:
129
+ - preek
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - .gitignore
134
+ - .rspec
135
+ - .travis.yml
136
+ - Gemfile
137
+ - Guardfile
138
+ - LICENSE
139
+ - README.md
140
+ - Rakefile
141
+ - bin/preek
142
+ - lib/preek.rb
143
+ - lib/preek/cli.rb
144
+ - lib/preek/klass_collector.rb
145
+ - lib/preek/smell_collector.rb
146
+ - lib/preek/smell_file.rb
147
+ - lib/preek/smell_klass.rb
148
+ - lib/preek/smell_reporter.rb
149
+ - lib/preek/smell_warning.rb
150
+ - lib/preek/version.rb
151
+ - preek.gemspec
152
+ - spec/preek_spec.rb
153
+ - spec/spec_helper.rb
154
+ - spec/test_files/irresponsible.rb
155
+ - spec/test_files/irresponsible_and_lazy.rb
156
+ - spec/test_files/non_smelly.rb
157
+ - spec/test_files/too_many_statements.rb
158
+ - spec/test_files/two_smelly_classes.rb
159
+ homepage: https://github.com/joenas/preek
160
+ licenses: []
161
+ metadata: {}
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ! '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubyforge_project:
178
+ rubygems_version: 2.0.0
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: It might reek but its pretty
182
+ test_files:
183
+ - spec/preek_spec.rb
184
+ - spec/spec_helper.rb
185
+ - spec/test_files/irresponsible.rb
186
+ - spec/test_files/irresponsible_and_lazy.rb
187
+ - spec/test_files/non_smelly.rb
188
+ - spec/test_files/too_many_statements.rb
189
+ - spec/test_files/two_smelly_classes.rb