guard-jslint-on-rails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/guard/jslint-on-rails.rb +1 -1
- data/lib/guard/jslint-on-rails/templates/Guardfile +4 -0
- metadata +3 -3
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Guard plugin to verify that Javascript files comply with [JSLint](http://www.jsl
|
|
7
7
|
Install
|
8
8
|
-------
|
9
9
|
|
10
|
-
Install and configure the [JSLint on Rails](https://github.com/psionides/jslint_on_rails) gem
|
10
|
+
Install and configure the [JSLint on Rails](https://github.com/psionides/jslint_on_rails) gem.
|
11
11
|
|
12
12
|
Install the gem:
|
13
13
|
|
@@ -29,7 +29,7 @@ Configuration
|
|
29
29
|
``` ruby
|
30
30
|
# Guardfile
|
31
31
|
guard 'jslint-on-rails' do
|
32
|
-
# watch for changes
|
32
|
+
# watch for changes to application javascript files
|
33
33
|
watch(%r{^app/assets/javascripts/.*\.js$})
|
34
34
|
# watch for changes to the JSLint configuration
|
35
35
|
watch('config/jslint.yml')
|
@@ -1,4 +1,8 @@
|
|
1
|
+
# verify that application Javascript files are lintable
|
2
|
+
# see https://github.com/psionides/jslint_on_rails
|
1
3
|
guard 'jslint-on-rails' do
|
4
|
+
# watch for changes to application javascript files
|
2
5
|
watch(%r{^app/assets/javascripts/.*\.js$})
|
6
|
+
# watch for changes to the JSLint configuration
|
3
7
|
watch('config/jslint.yml')
|
4
8
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jslint-on-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Sonnek
|