compass-csslint 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/compass-csslint.rb +14 -6
- metadata +12 -16
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTNlOGJjNjMzYzdiZjkxMzZmN2JiNjk5ZmE3MTY0ZDI3YmUwOTIwZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjVmOWI3YmZmMWY0ZmU1OTI4OTBkOTZiMTM0ZGY0YzU0ZGVjY2E4OQ==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZWUxZmRmNjEzNDE3ZDdmOGNhYzg4ZWJjMTA5YWFmYjU5YzgxYTU2MjhkNGVj
|
10
|
+
Y2RkMmY4NDA4YzRkMGJmY2YxMmI1YjczYTU1Y2JhODgxZTFlYWMxYjVkNjc4
|
11
|
+
ZTY2NDEzNGM2Yzc4ODlmZWYzMDc3MjFkNzYzNGQ0NWVjZWUyNjQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YzRhNGM5YTY1ZDI4OGQxNGMxM2JhMDMwNGM4ZGRkNmU1YmU0OWJhZGY1NWM5
|
14
|
+
Y2VkNDQyMDU5YTQ1NDVkOWNlZjYwNmEwNGJjYTk2YjExZTY3MTZhNDc2ODk2
|
15
|
+
MjRiOGIxMTJmZTZhOTlkNDNjMjBiZmI0YjY4ZDE2NWMzNmJkMWI=
|
data/lib/compass-csslint.rb
CHANGED
@@ -12,9 +12,9 @@ module Compass
|
|
12
12
|
|
13
13
|
Description:
|
14
14
|
Compile project at the path specified or the current
|
15
|
-
directory if not specified and then run CSS Lint
|
15
|
+
directory if not specified and then run CSS Lint
|
16
16
|
against the generated CSS.
|
17
|
-
|
17
|
+
|
18
18
|
Options:
|
19
19
|
}.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n")
|
20
20
|
|
@@ -32,23 +32,27 @@ module Compass
|
|
32
32
|
self.options[:list_rules] = true
|
33
33
|
self.options[:nocompile] = true
|
34
34
|
end
|
35
|
-
|
35
|
+
|
36
36
|
opts.on("--quiet", "Only output when errors are present.") do
|
37
37
|
self.options[:quiet] = true
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
opts.on("--errors=<rule[,rule]+>", "Indicate which rules to include as errors.") do |errors|
|
41
41
|
self.options[:errors] = errors
|
42
42
|
end
|
43
|
-
|
43
|
+
|
44
44
|
opts.on("--warnings=<rule[,rule]+>", "Indicate which rules to include as warnings.") do |warnings|
|
45
45
|
self.options[:warnings] = warnings
|
46
46
|
end
|
47
|
-
|
47
|
+
|
48
48
|
opts.on("--ignore=<rule,[,rule]+>", "Indicate which rules to ignore completely.") do |ignore|
|
49
49
|
self.options[:ignore] = ignore
|
50
50
|
end
|
51
51
|
|
52
|
+
opts.on("--exclude-list=<file|dir[,file|dir]+>", "Indicate which files/directories to exclude from being linted.") do |exclude_list|
|
53
|
+
self.options[:exclude_list] = exclude_list
|
54
|
+
end
|
55
|
+
|
52
56
|
opts.on("--version", "Outputs the current version number of CSS Lint.\n\n") do
|
53
57
|
self.options[:version] = true
|
54
58
|
self.options[:nocompile] = true
|
@@ -96,6 +100,10 @@ module Compass
|
|
96
100
|
@options_str << '--ignore=' + options[:ignore] + ' '
|
97
101
|
end
|
98
102
|
|
103
|
+
if options[:exclude_list]
|
104
|
+
@options_str << '--exclude-list=' + options[:exclude_list] + ' '
|
105
|
+
end
|
106
|
+
|
99
107
|
if options[:version]
|
100
108
|
@options_str << '--version'
|
101
109
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-csslint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- John Riviello
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: compass
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ! '>='
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ! '>='
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,20 +28,19 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: css_lint
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ! '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
|
-
version:
|
34
|
+
version: 0.10.0.0
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ! '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
description:
|
41
|
+
version: 0.10.0.0
|
42
|
+
description: Easily integrate CSS Lint into your projects that use the Compass CSS
|
43
|
+
Framework
|
48
44
|
email:
|
49
45
|
executables: []
|
50
46
|
extensions: []
|
@@ -52,7 +48,9 @@ extra_rdoc_files: []
|
|
52
48
|
files:
|
53
49
|
- ./lib/compass-csslint.rb
|
54
50
|
homepage: http://comcast.github.com/compass-csslint/
|
55
|
-
licenses:
|
51
|
+
licenses:
|
52
|
+
- MIT
|
53
|
+
metadata: {}
|
56
54
|
post_install_message: ! "---------------------------------------------------------------------------------------------------\n
|
57
55
|
\ Thank you for installing CSS Lint for Sass & Compass!\n Please note there
|
58
56
|
is currently a bug in Compass that prevents this from working out of the box.\n
|
@@ -62,21 +60,19 @@ rdoc_options: []
|
|
62
60
|
require_paths:
|
63
61
|
- lib
|
64
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
63
|
requirements:
|
67
64
|
- - ! '>='
|
68
65
|
- !ruby/object:Gem::Version
|
69
66
|
version: '0'
|
70
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
68
|
requirements:
|
73
69
|
- - ! '>='
|
74
70
|
- !ruby/object:Gem::Version
|
75
71
|
version: '0'
|
76
72
|
requirements: []
|
77
73
|
rubyforge_project:
|
78
|
-
rubygems_version:
|
74
|
+
rubygems_version: 2.0.3
|
79
75
|
signing_key:
|
80
|
-
specification_version:
|
81
|
-
summary:
|
76
|
+
specification_version: 4
|
77
|
+
summary: Runs CSS Lint against the CSS that Sass/Compass generates
|
82
78
|
test_files: []
|