scss-lint 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sass/tree.rb +6 -1
- data/lib/scss_lint/version.rb +1 -1
- metadata +21 -21
data/lib/sass/tree.rb
CHANGED
@@ -52,7 +52,12 @@ module Sass::Tree
|
|
52
52
|
|
53
53
|
class DirectiveNode
|
54
54
|
def children
|
55
|
-
|
55
|
+
begin
|
56
|
+
additional_children = extract_script_nodes(value)
|
57
|
+
rescue NotImplementedError
|
58
|
+
# Directive nodes may not define `value`
|
59
|
+
end
|
60
|
+
concat_expr_lists super, additional_children
|
56
61
|
end
|
57
62
|
end
|
58
63
|
|
data/lib/scss_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scss-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -32,17 +32,17 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: 3.2.9
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: 3.2.9
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: nokogiri
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,31 +84,31 @@ executables:
|
|
84
84
|
extensions: []
|
85
85
|
extra_rdoc_files: []
|
86
86
|
files:
|
87
|
-
- lib/
|
88
|
-
- lib/scss_lint.rb
|
89
|
-
- lib/scss_lint/
|
90
|
-
- lib/scss_lint/
|
87
|
+
- lib/scss_lint/version.rb
|
88
|
+
- lib/scss_lint/reporter/xml_reporter.rb
|
89
|
+
- lib/scss_lint/reporter/default_reporter.rb
|
90
|
+
- lib/scss_lint/runner.rb
|
91
|
+
- lib/scss_lint/reporter.rb
|
91
92
|
- lib/scss_lint/lint.rb
|
92
93
|
- lib/scss_lint/linter.rb
|
94
|
+
- lib/scss_lint/linter/declaration_order_linter.rb
|
93
95
|
- lib/scss_lint/linter/border_zero_linter.rb
|
94
96
|
- lib/scss_lint/linter/comment_linter.rb
|
95
|
-
- lib/scss_lint/linter/debug_linter.rb
|
96
|
-
- lib/scss_lint/linter/declaration_order_linter.rb
|
97
|
-
- lib/scss_lint/linter/declared_name_linter.rb
|
98
97
|
- lib/scss_lint/linter/empty_rule_linter.rb
|
99
|
-
- lib/scss_lint/linter/
|
100
|
-
- lib/scss_lint/linter/property_format_linter.rb
|
101
|
-
- lib/scss_lint/linter/shorthand_linter.rb
|
98
|
+
- lib/scss_lint/linter/debug_linter.rb
|
102
99
|
- lib/scss_lint/linter/single_line_per_selector_linter.rb
|
103
100
|
- lib/scss_lint/linter/sorted_properties_linter.rb
|
101
|
+
- lib/scss_lint/linter/shorthand_linter.rb
|
104
102
|
- lib/scss_lint/linter/type_in_id_selector_linter.rb
|
103
|
+
- lib/scss_lint/linter/property_format_linter.rb
|
105
104
|
- lib/scss_lint/linter/zero_unit_linter.rb
|
105
|
+
- lib/scss_lint/linter/declared_name_linter.rb
|
106
|
+
- lib/scss_lint/linter/hex_linter.rb
|
107
|
+
- lib/scss_lint/cli.rb
|
108
|
+
- lib/scss_lint/engine.rb
|
106
109
|
- lib/scss_lint/linter_registry.rb
|
107
|
-
- lib/
|
108
|
-
- lib/scss_lint
|
109
|
-
- lib/scss_lint/reporter/xml_reporter.rb
|
110
|
-
- lib/scss_lint/runner.rb
|
111
|
-
- lib/scss_lint/version.rb
|
110
|
+
- lib/sass/tree.rb
|
111
|
+
- lib/scss_lint.rb
|
112
112
|
- bin/scss-lint
|
113
113
|
homepage: http://github.com/causes/scss-lint
|
114
114
|
licenses:
|