guard-preek 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Guardfile +24 -0
- data/LICENSE.txt +22 -0
- data/README.md +46 -0
- data/Rakefile +1 -0
- data/guard-preek.gemspec +31 -0
- data/lib/guard/preek.rb +26 -0
- data/lib/guard/preek/runner.rb +28 -0
- data/lib/guard/preek/templates/Guardfile +7 -0
- data/lib/guard/preek/version.rb +5 -0
- data/spec/capture_helper.rb +13 -0
- data/spec/guard/integration_spec.rb +38 -0
- data/spec/guard/preek_spec.rb +35 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/test_files/.DS_Store +0 -0
- data/spec/test_files/irresponsible.rb +2 -0
- data/spec/test_files/nil_check.rb +12 -0
- data/spec/test_files/non_smelly.rb +3 -0
- data/spec/test_files/too_many_statements.rb +8 -0
- metadata +200 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d5f27ec528c54151012dfa1ff5147ed498a55399
|
4
|
+
data.tar.gz: 3c7c80aa50afee1c961f03b15d6fbff40011c187
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3e2579b43bb94cdafcc5cc8716d1f63798d1ee969d8552d340fac9cb97ff1eee0d3fbe9fc4a81f788d9fb9f9038c7d0fb4796b1d0e4d545c82ca735c40ad156e
|
7
|
+
data.tar.gz: 2505e492d0622f11b51f29060f0d4f44beb84e9f8c50856fd7d8ba39eb0fbe6b3f607a43e144da8896c3269f843215ae994bf26c0ee4603f11e4f9770e7d9105
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/Guardfile
ADDED
@@ -0,0 +1,24 @@
|
|
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
|
+
|
9
|
+
# Rails example
|
10
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
11
|
+
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
12
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
13
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
14
|
+
watch('config/routes.rb') { "spec/routing" }
|
15
|
+
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
16
|
+
|
17
|
+
# Capybara features specs
|
18
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
19
|
+
|
20
|
+
# Turnip features and steps
|
21
|
+
watch(%r{^spec/acceptance/(.+)\.feature$})
|
22
|
+
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' }
|
23
|
+
end
|
24
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Jon Neverland
|
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,46 @@
|
|
1
|
+
# Guard::Preek
|
2
|
+
|
3
|
+
Do your refactoring with Guard and Preek printing the smells for you. In color!
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
$ gem install guard-preek
|
8
|
+
|
9
|
+
or
|
10
|
+
|
11
|
+
# Add to Gemfile
|
12
|
+
gem 'guard/preek'
|
13
|
+
|
14
|
+
or install it yourself
|
15
|
+
|
16
|
+
$ git clone git@github.com:joenas/guard-preek.git
|
17
|
+
$ cd guard-preek
|
18
|
+
$ rake install
|
19
|
+
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
To generate template:
|
24
|
+
|
25
|
+
$ guard init preek
|
26
|
+
|
27
|
+
### Examples
|
28
|
+
```ruby
|
29
|
+
guard :preek, run_all_dir: 'lib' do
|
30
|
+
watch(/lib\/(.*).rb/)
|
31
|
+
end
|
32
|
+
```
|
33
|
+
|
34
|
+
### Available options
|
35
|
+
|
36
|
+
``` ruby
|
37
|
+
run_all_dir: 'lib' # Enter in guard will run Preek on 'lib'
|
38
|
+
```
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
1. Fork it
|
43
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
44
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
45
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
46
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/guard-preek.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'guard/preek/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "guard-preek"
|
8
|
+
spec.version = Guard::PreekVersion::VERSION
|
9
|
+
spec.authors = ["Jon Neverland"]
|
10
|
+
spec.email = ["jonwestin@gmail.com"]
|
11
|
+
spec.description = %q{Simple refactoring Guard, pretty prints Reek smells}
|
12
|
+
spec.summary = %q{Simple refactoring Guard, pretty prints Reek smells}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "guard", '>= 1.6'
|
22
|
+
spec.add_dependency "preek"
|
23
|
+
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "guard"
|
27
|
+
spec.add_development_dependency "guard-rspec"
|
28
|
+
spec.add_development_dependency "rspec"
|
29
|
+
spec.add_development_dependency "rspec-given"
|
30
|
+
spec.add_development_dependency 'coveralls'
|
31
|
+
end
|
data/lib/guard/preek.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require "guard/preek/version"
|
2
|
+
require 'guard'
|
3
|
+
require 'guard/guard'
|
4
|
+
|
5
|
+
module Guard
|
6
|
+
class Preek < Guard
|
7
|
+
autoload :Runner, 'guard/preek/runner'
|
8
|
+
|
9
|
+
def run_on_changes(paths)
|
10
|
+
Runner.new(paths).perform
|
11
|
+
end
|
12
|
+
|
13
|
+
def run_all
|
14
|
+
dir = options[:run_all_dir]
|
15
|
+
raise_dir_missing unless dir
|
16
|
+
Runner.new(dir).perform
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
def raise_dir_missing
|
21
|
+
UI.error "Please specify a dir for run all in your Guardfile!\nExample:\n\tguard :preek, run_all_dir: 'lib' do \n\t watch(/lib\/(.*).rb/) \n\tend"
|
22
|
+
throw :task_has_failed
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'reek'
|
2
|
+
require 'thor/shell/color'
|
3
|
+
require 'preek/smell_collector'
|
4
|
+
require 'preek/smell_reporter'
|
5
|
+
require 'preek/smell_warning'
|
6
|
+
require 'preek/smell_file'
|
7
|
+
require 'preek/klass_collector'
|
8
|
+
|
9
|
+
module Guard
|
10
|
+
class Preek
|
11
|
+
class Runner
|
12
|
+
def initialize(files)
|
13
|
+
@files = Array(files)
|
14
|
+
end
|
15
|
+
|
16
|
+
def perform
|
17
|
+
sources = Reek::Source::SourceLocator.new(@files).all_sources
|
18
|
+
smelly_files = ::Preek::SmellCollector.new(sources, excludes).smelly_files
|
19
|
+
::Preek::SmellReporter.new(smelly_files).print_smells
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
def excludes
|
24
|
+
%w(IrresponsibleModule)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Guard::Preek do
|
4
|
+
include CaptureHelper
|
5
|
+
|
6
|
+
Given(:guard){ Guard::Preek.new([], options) }
|
7
|
+
Given(:options){ Hash.new }
|
8
|
+
|
9
|
+
context '#run_on_changes' do
|
10
|
+
Given(:paths){ ["spec/test_files/#{file}.rb"] }
|
11
|
+
When(:output) { capture(:stdout) { guard.run_on_changes(paths) } }
|
12
|
+
|
13
|
+
context 'with a smell' do
|
14
|
+
Given(:file) {'nil_check'}
|
15
|
+
Then { output.should match(/NilCheck/) }
|
16
|
+
end
|
17
|
+
|
18
|
+
context 'with Irresponsible' do
|
19
|
+
Given(:file) {'irresponsible'}
|
20
|
+
Then { output.should match(/No smells detected/) }
|
21
|
+
end
|
22
|
+
|
23
|
+
context 'without smell' do
|
24
|
+
Given(:file) {'non_smelly'}
|
25
|
+
Then { output.should match(/No smells detected/) }
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
context '#run_all' do
|
30
|
+
context 'with "run_all_dir" option' do
|
31
|
+
Given(:options){ {run_all_dir: 'spec/test_files'} }
|
32
|
+
When(:output) { capture(:stdout) { guard.run_all } }
|
33
|
+
Then{ output.should match /NilCheck/ }
|
34
|
+
Then{ output.should match /TooManyStatements/ }
|
35
|
+
Then{ output.should_not match /Irresponsible/ }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Guard::Preek do
|
4
|
+
|
5
|
+
Given(:guard){ Guard::Preek.new([], options) }
|
6
|
+
Given(:options){ Hash.new }
|
7
|
+
|
8
|
+
context '#run_on_changes' do
|
9
|
+
Given(:paths){ ['some_file.rb'] }
|
10
|
+
Given(:runner){ double('runner', perform: true) }
|
11
|
+
Given{ Guard::Preek::Runner.should_receive(:new).with(paths).and_return(runner) }
|
12
|
+
Given{ runner.should_receive(:perform) }
|
13
|
+
When{ guard.run_on_changes(paths) }
|
14
|
+
Then{ 'its great' }
|
15
|
+
end
|
16
|
+
|
17
|
+
context '#run_all' do
|
18
|
+
context 'with "run_all_dir" option' do
|
19
|
+
Given(:options){ {run_all_dir: 'lib'} }
|
20
|
+
Given(:runner){ double('runner', perform: true) }
|
21
|
+
Given{ Guard::Preek::Runner.should_receive(:new).with(options[:run_all_dir]).and_return(runner) }
|
22
|
+
Given{ runner.should_receive(:perform) }
|
23
|
+
When{ guard.run_all }
|
24
|
+
Then{ 'also great' }
|
25
|
+
end
|
26
|
+
|
27
|
+
|
28
|
+
context 'with no options' do
|
29
|
+
Then{
|
30
|
+
Guard::UI.should_receive(:error).with(/Guardfile/)
|
31
|
+
expect { guard.run_all }.to throw_symbol :task_has_failed
|
32
|
+
}
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
require 'guard/preek'
|
8
|
+
require 'rspec-given'
|
9
|
+
require 'capture_helper'
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
13
|
+
config.run_all_when_everything_filtered = true
|
14
|
+
config.filter_run :focus
|
15
|
+
|
16
|
+
# Run specs in random order to surface order dependencies. If you find an
|
17
|
+
# order dependency and want to debug it, you can fix the order by providing
|
18
|
+
# the seed, which is printed after each run.
|
19
|
+
# --seed 1234
|
20
|
+
config.order = 'random'
|
21
|
+
end
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: guard-preek
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jon Neverland
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-08-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: guard
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: preek
|
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: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
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: guard
|
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-rspec
|
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: 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: rspec-given
|
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
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: coveralls
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: Simple refactoring Guard, pretty prints Reek smells
|
140
|
+
email:
|
141
|
+
- jonwestin@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- .gitignore
|
147
|
+
- .rspec
|
148
|
+
- Gemfile
|
149
|
+
- Guardfile
|
150
|
+
- LICENSE.txt
|
151
|
+
- README.md
|
152
|
+
- Rakefile
|
153
|
+
- guard-preek.gemspec
|
154
|
+
- lib/guard/preek.rb
|
155
|
+
- lib/guard/preek/runner.rb
|
156
|
+
- lib/guard/preek/templates/Guardfile
|
157
|
+
- lib/guard/preek/version.rb
|
158
|
+
- spec/capture_helper.rb
|
159
|
+
- spec/guard/integration_spec.rb
|
160
|
+
- spec/guard/preek_spec.rb
|
161
|
+
- spec/spec_helper.rb
|
162
|
+
- spec/test_files/.DS_Store
|
163
|
+
- spec/test_files/irresponsible.rb
|
164
|
+
- spec/test_files/nil_check.rb
|
165
|
+
- spec/test_files/non_smelly.rb
|
166
|
+
- spec/test_files/too_many_statements.rb
|
167
|
+
homepage: ''
|
168
|
+
licenses:
|
169
|
+
- MIT
|
170
|
+
metadata: {}
|
171
|
+
post_install_message:
|
172
|
+
rdoc_options: []
|
173
|
+
require_paths:
|
174
|
+
- lib
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - '>='
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubyforge_project:
|
187
|
+
rubygems_version: 2.0.2
|
188
|
+
signing_key:
|
189
|
+
specification_version: 4
|
190
|
+
summary: Simple refactoring Guard, pretty prints Reek smells
|
191
|
+
test_files:
|
192
|
+
- spec/capture_helper.rb
|
193
|
+
- spec/guard/integration_spec.rb
|
194
|
+
- spec/guard/preek_spec.rb
|
195
|
+
- spec/spec_helper.rb
|
196
|
+
- spec/test_files/.DS_Store
|
197
|
+
- spec/test_files/irresponsible.rb
|
198
|
+
- spec/test_files/nil_check.rb
|
199
|
+
- spec/test_files/non_smelly.rb
|
200
|
+
- spec/test_files/too_many_statements.rb
|