guard-scss_lint 0.1.3 → 0.1.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: 59eaf729e0fb876cd9a746b453e8a712b3d871e6
4
- data.tar.gz: 35f9c467f4b7b8c76de9fed7e243088ea20c317d
3
+ metadata.gz: 0bde80a9953be14e5f1d989e93d233ba963db717
4
+ data.tar.gz: 6aaa200599b41f43f608343bc4e7a653aee3ca21
5
5
  SHA512:
6
- metadata.gz: 4ad8281ca699b74cb11354daab9a00b77d84ff610b1959be6cca74c83448988ca334c6fb8f975a7f15c829561765cd2015ee28153791100697003d04a780a860
7
- data.tar.gz: ec85d177da552ea380dd6e34240270a2044c52de1a021eefadde4b9c175a84742d938674c54487951dee6a4eee9e4d68c448fd950aac7508ea2d6038757d9a3c
6
+ metadata.gz: 2d3cb25da8fa73970fd38112b01c986bd1216ce0a72d86b514c6a1e254666f968195eb94d9522a968f76cc68761d0cc1a1500568095738cc09d3db6936bfcfbe
7
+ data.tar.gz: 75ac622d67d79737623d84020abead0fd391d7f99c9cb041e7e656e7ef1646753bccb0d9f07c2569a53b1d3b2b2d3fcec725eb5f2c1bd9ef39326642c4aeb90f
@@ -54,7 +54,8 @@ module Guard
54
54
 
55
55
  def run(paths = [])
56
56
  @scss_lint_runner = SCSSLint::Runner.new @config
57
- paths = paths.reject { |p| @config.excluded_file?(p) }
57
+ paths = paths.reject { |p| @config.excluded_file?(p) }.map { |path| { path: path } }
58
+
58
59
  @scss_lint_runner.run paths
59
60
  @scss_lint_runner.lints.each do |lint|
60
61
  Guard::Compat::UI.send lint.severity, lint_message(lint)
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class ScssLintVersion
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
@@ -116,7 +116,7 @@ describe Guard::ScssLint, exclude_stubs: [Guard::Plugin] do
116
116
  end
117
117
 
118
118
  it 'inspects all scss files with scss lint' do
119
- expect_any_instance_of(SCSSLint::Runner).to receive(:run).with(['a.scss'])
119
+ expect_any_instance_of(SCSSLint::Runner).to receive(:run).with([{ path: 'a.scss' }])
120
120
  guard.run_all
121
121
  end
122
122
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-scss_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Rohr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard-compat