guard-sass-lint 0.1.1 → 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: 13bc81e184c72d842344f777f69746ac083bf05b
4
- data.tar.gz: e6a9ae1a689b45c5f27f31552762986c7cc98037
3
+ metadata.gz: 3730ed8a5d760c2a4c9134f6bb63fcfd6a3ab7fa
4
+ data.tar.gz: 16254fd5c7cd9971579590cb895d66fb5cc6296f
5
5
  SHA512:
6
- metadata.gz: 95300c7d7548a900a103e158d497e55b46d725915db73fa9f7cac5e2fa50872f30f0036619932af0739316dfe26b920a9d01cb0cc8a8ccae5ee8d6a2c8b03e39
7
- data.tar.gz: d05756cd539f068a738b4bf1cfd1317aa165b524325b0416112571c1127cdd6536106cc002802eba3f018d247ae66594e325abb32ecaf534252698435943698a
6
+ metadata.gz: 7feb4489251c861dc093bda327f428d31bc7caeef235891ce40f1af7c9ea8c8602008fc72ec6c5a75d2f033029aa837a5abea15deeb8959f92feba5cbd535c52
7
+ data.tar.gz: f52e8f6a544db26c71beecb78274ef0ad85c3a4fc3b256ebffdf37faad4c166f41ea17f36583ec292c9a75959ce378168bafa43e7de9c7b0e979814f0cf7988e
@@ -3,3 +3,5 @@ language: ruby
3
3
  rvm:
4
4
  - 2.4.0
5
5
  before_install: gem install bundler -v 1.14.6
6
+ script:
7
+ - bundle exec rspec
data/README.md CHANGED
@@ -1,20 +1,27 @@
1
- # Guard::Sass::Lint
1
+ <!--
2
+ ![Gem Version](http://img.shields.io/gem/v/guard-sass-lint.svg)
3
+ -->
4
+
5
+ [![Dependency Status](http://img.shields.io/gemnasium/hansondr/guard-sass-lint.svg)](https://gemnasium.com/hansondr/guard-sass-lint)
6
+ [![Build Status](https://travis-ci.org/hansondr/guard-sass-lint.svg?branch=master)](https://travis-ci.org/hansondr/guard-sass-lint)
2
7
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/guard/sass/lint`. To experiment with that code, run `bin/console` for an interactive prompt.
8
+ # Guard::Sass::Lint
4
9
 
5
- TODO: Delete this and the text above, and describe your gem
10
+ **guard-sass-lint** automatically checks your SCSS code style with [sass-lint](https://github.com/sasstools/sass-lint) when files are modified.
6
11
 
7
12
  ## Installation
8
13
 
9
14
  Add this line to your application's Gemfile:
10
15
 
11
16
  ```ruby
12
- gem 'guard-sass-lint'
17
+ group :development do
18
+ gem 'guard-sass-lint'
19
+ end
13
20
  ```
14
21
 
15
22
  And then execute:
16
23
 
17
- $ bundle
24
+ $ bundle install
18
25
 
19
26
  Or install it yourself as:
20
27
 
@@ -22,20 +29,36 @@ Or install it yourself as:
22
29
 
23
30
  ## Usage
24
31
 
25
- TODO: Write usage instructions here
32
+ Please read the [Guard usage documentation](https://github.com/guard/guard#readme).
33
+
34
+ ## Options
35
+
36
+ You can pass some options in `Guardfile` like the following example:
26
37
 
27
- ## Development
38
+ ```ruby
39
+ guard :sasslint, run_at_start: true do
40
+ watch(%r{.+\.scss$})
41
+ end
42
+ ```
28
43
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
44
+ ### Available Options
30
45
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+ ```ruby
47
+ run_at_start: true # Check all files at Guard startup.
48
+ # default: false
49
+ config: 'filepath' # Filepath to your sass-lint.yml config
50
+ # default: sass-lint/docs/sass-lint.yml
51
+ ```
32
52
 
33
53
  ## Contributing
34
54
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/guard-sass-lint.
36
-
55
+ 1. Fork it
56
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
57
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
58
+ 4. Push to the branch (`git push origin my-new-feature`)
59
+ 5. Create new Pull Request
37
60
 
38
- ## License
61
+ ## MIT License
39
62
 
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
63
+ See the [LICENSE.txt](LISCENSE.txt) for details.
41
64
 
@@ -1,7 +1,7 @@
1
1
  module Guard
2
2
  module Sass
3
3
  module Lint
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-sass-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Hanson