guard-rubycritic 2.9.0 → 2.9.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e92f443d27cd7364c37cde253f12e491edf485a
|
4
|
+
data.tar.gz: 84d8dd87881a6913d4663da6146d6b89f520ced4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a6da454b9a926af14875589e917d66780d25ef62afe7ec6e163ca1300ab549e2c7a0a9c20368997e2d17f4283664af5fabef3c2b98f5b794cb774d26eb98907
|
7
|
+
data.tar.gz: e050379edc62e6b8d2bd8c7368a71534a1430755c83f32d43ca0ce207e113333307738cfe16cc9db64a7b0060c174235cbdfd7e770ae6ef8b73ffba987d237d3
|
data/lib/guard/rubycritic.rb
CHANGED
@@ -5,16 +5,16 @@ require "rubycritic/generators/html_guard_report"
|
|
5
5
|
|
6
6
|
module Guard
|
7
7
|
|
8
|
-
class
|
8
|
+
class RubyCritic < Plugin
|
9
9
|
# Called once when Guard starts. Please override initialize method to init stuff.
|
10
10
|
#
|
11
11
|
# @raise [:task_has_failed] when start has failed
|
12
12
|
# @return [Object] the task result
|
13
13
|
#
|
14
14
|
def start
|
15
|
-
@rubycritic = ::
|
15
|
+
@rubycritic = ::RubyCritic::CommandFactory.create
|
16
16
|
@rubycritic.extend(AdditionalMethodsForGuard)
|
17
|
-
UI.info "Guard::
|
17
|
+
UI.info "Guard::RubyCritic is critiquing"
|
18
18
|
end
|
19
19
|
|
20
20
|
# Default behaviour on file(s) changes that the Guard plugin watches.
|
@@ -33,7 +33,7 @@ module Guard
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def report(analysed_modules)
|
36
|
-
::
|
36
|
+
::RubyCritic::Generator::HtmlGuardReport.new(analysed_modules).generate_report
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
require "test_helper"
|
2
2
|
require "guard/rubycritic/version"
|
3
3
|
|
4
|
-
describe Guard::
|
4
|
+
describe Guard::RubyCriticVersion do
|
5
5
|
it "is defined" do
|
6
|
-
Guard::
|
6
|
+
Guard::RubyCriticVersion::VERSION.wont_be_nil
|
7
7
|
end
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-rubycritic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guilherme Simoes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rubycritic
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.9.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.9.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,11 +132,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.
|
135
|
+
rubygems_version: 2.5.1
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Listens to modifications and detects smells in Ruby files
|
139
139
|
test_files:
|
140
140
|
- test/lib/guard/rubycritic/version_test.rb
|
141
141
|
- test/test_helper.rb
|
142
|
-
has_rdoc:
|