guard-haml_lint 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -0
- data/MIT-LICENSE +20 -0
- data/README.md +4 -0
- data/guard-haml_lint.gemspec +2 -2
- data/lib/guard/haml_lint.rb +2 -2
- data/lib/guard/{haml_lint → hamllint}/templates/Guardfile +0 -0
- data/lib/guard/{haml_lint → hamllint}/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26c90a9a0d1593066b5aa179c9e5815d484cb99
|
4
|
+
data.tar.gz: 27446ba47c3a0ea2ac76f427d6c34d138dd75f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fad6ea83db099bd4f9337e15b5129c61b9efce68cbc073ce6af61b33d6340b0dab28fd7e24ba16e0ca81a534b915ab5d91b72473bd1d79a4fc2ec65968cd5caa
|
7
|
+
data.tar.gz: f3762b413a96b9c747b99de80b5f44bfc50bb109ab626fe5a62716eaa9c7f34ca15e2982daeb031f60b4edcc11ae2e1a44e8902eb961bf91e15838810cc010a8
|
data/.travis.yml
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2016 Yasuhiko Katoh
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/guard-haml_lint.svg)](https://badge.fury.io/rb/guard-haml_lint)
|
2
|
+
[![Build Status](https://travis-ci.org/yatmsu/guard-haml-lint.svg)](https://travis-ci.org/yatmsu/guard-haml-lint)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/yatmsu/guard-haml-lint/badges/gpa.svg)](https://codeclimate.com/github/yatmsu/guard-haml-lint)
|
4
|
+
|
1
5
|
# Guard::HamlLint
|
2
6
|
|
3
7
|
A guard to lint your Haml.
|
data/guard-haml_lint.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
lib = File.expand_path('../lib', __FILE__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'guard/
|
3
|
+
require 'guard/hamllint/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'guard-haml_lint'
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency 'guard-compat', '~> 1.1'
|
24
24
|
spec.add_runtime_dependency 'haml_lint', '~> 0.15.2'
|
25
25
|
|
26
|
-
spec.add_development_dependency 'bundler', '
|
26
|
+
spec.add_development_dependency 'bundler', '>= 1.0.0'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
28
|
spec.add_development_dependency 'rspec'
|
29
29
|
end
|
data/lib/guard/haml_lint.rb
CHANGED
@@ -84,7 +84,7 @@ module Guard
|
|
84
84
|
end
|
85
85
|
|
86
86
|
private
|
87
|
-
|
87
|
+
|
88
88
|
def run(_paths = [])
|
89
89
|
Guard::Compat::UI.info 'Running HAML-Lint for all haml files'
|
90
90
|
|
@@ -95,7 +95,7 @@ module Guard
|
|
95
95
|
command.concat _paths
|
96
96
|
end
|
97
97
|
|
98
|
-
|
98
|
+
throw :task_has_failed unless system(*command)
|
99
99
|
end
|
100
100
|
|
101
101
|
# @return [Array<String>] haml directory paths
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-haml_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- y@su
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.0.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,15 +103,17 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- .gitignore
|
105
105
|
- .rspec
|
106
|
+
- .travis.yml
|
106
107
|
- Gemfile
|
108
|
+
- MIT-LICENSE
|
107
109
|
- README.md
|
108
110
|
- Rakefile
|
109
111
|
- bin/console
|
110
112
|
- bin/setup
|
111
113
|
- guard-haml_lint.gemspec
|
112
114
|
- lib/guard/haml_lint.rb
|
113
|
-
- lib/guard/
|
114
|
-
- lib/guard/
|
115
|
+
- lib/guard/hamllint/templates/Guardfile
|
116
|
+
- lib/guard/hamllint/version.rb
|
115
117
|
- spec/guard/haml_lint_spec.rb
|
116
118
|
- spec/spec_helper.rb
|
117
119
|
homepage: https://github.com/yatmsu/guard-haml-lint
|