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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2728f3de9d34480ca62fe7479bf47f6088ed94c
4
- data.tar.gz: d7c90b7c92b4cf3fcbd5e16cf8072d5a33b86fb2
3
+ metadata.gz: a26c90a9a0d1593066b5aa179c9e5815d484cb99
4
+ data.tar.gz: 27446ba47c3a0ea2ac76f427d6c34d138dd75f0d
5
5
  SHA512:
6
- metadata.gz: 6f483039e2805c49a5563d7ec8257e99c037665c02b6f155c57a90d8c82ab773bc2b2ead3ce0500353acca80538996bcaaa17aa5c75bfdec4fe9670b5acb648e
7
- data.tar.gz: fe0c64895abbf8707f7265c2b2a37cbdf39d557812423ad3cdae3418803f2138edad9e8c9964c3c8b0362ef0ac02549cdbddfc6b8b78d4512a769f3fad742413
6
+ metadata.gz: fad6ea83db099bd4f9337e15b5129c61b9efce68cbc073ce6af61b33d6340b0dab28fd7e24ba16e0ca81a534b915ab5d91b72473bd1d79a4fc2ec65968cd5caa
7
+ data.tar.gz: f3762b413a96b9c747b99de80b5f44bfc50bb109ab626fe5a62716eaa9c7f34ca15e2982daeb031f60b4edcc11ae2e1a44e8902eb961bf91e15838810cc010a8
data/.travis.yml ADDED
@@ -0,0 +1,12 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.0.0
5
+ - 2.1.8
6
+ - 2.2.4
7
+ - 2.3.0
8
+
9
+ sudo: false
10
+
11
+ script:
12
+ - bundle exec rspec spec
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.
@@ -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/haml_lint/version'
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', '~> 1.10'
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
@@ -84,7 +84,7 @@ module Guard
84
84
  end
85
85
 
86
86
  private
87
- # Watcher.match_files(self, Dir.glob("#{@options[:haml_dires]}/**/*.haml"))
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
- throw :task_has_failed unless system(*command)
98
+ throw :task_has_failed unless system(*command)
99
99
  end
100
100
 
101
101
  # @return [Array<String>] haml directory paths
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class HamlLintVersion
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
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.0
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-08 00:00:00.000000000 Z
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: '1.10'
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: '1.10'
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/haml_lint/templates/Guardfile
114
- - lib/guard/haml_lint/version.rb
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