css_parser_1.1.0 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/css_parser.rb +151 -0
- data/lib/css_parser/parser.rb +362 -0
- data/lib/css_parser/regexps.rb +46 -0
- data/lib/css_parser/rule_set.rb +390 -0
- data/test/fixtures/import-circular-reference.css +4 -0
- data/test/fixtures/import-with-media-types.css +3 -0
- data/test/fixtures/import1.css +3 -0
- data/test/fixtures/simple.css +6 -0
- data/test/fixtures/subdir/import2.css +3 -0
- data/test/test_css_parser_basic.rb +56 -0
- data/test/test_css_parser_loading.rb +110 -0
- data/test/test_css_parser_media_types.rb +71 -0
- data/test/test_css_parser_misc.rb +143 -0
- data/test/test_css_parser_regexps.rb +69 -0
- data/test/test_helper.rb +6 -0
- data/test/test_merging.rb +88 -0
- data/test/test_rule_set.rb +84 -0
- data/test/test_rule_set_creating_shorthand.rb +90 -0
- data/test/test_rule_set_expanding_shorthand.rb +178 -0
- metadata +98 -0
metadata
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: css_parser_1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 1.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Alex Dunae
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-02-26 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: A set of classes for parsing CSS in Ruby.
|
23
|
+
email: code@dunae.ca
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- lib/css_parser.rb
|
32
|
+
- lib/css_parser/parser.rb
|
33
|
+
- lib/css_parser/regexps.rb
|
34
|
+
- lib/css_parser/rule_set.rb
|
35
|
+
- test/fixtures/import-circular-reference.css
|
36
|
+
- test/fixtures/import-with-media-types.css
|
37
|
+
- test/fixtures/import1.css
|
38
|
+
- test/fixtures/simple.css
|
39
|
+
- test/fixtures/subdir/import2.css
|
40
|
+
- test/test_css_parser_basic.rb
|
41
|
+
- test/test_css_parser_loading.rb
|
42
|
+
- test/test_css_parser_media_types.rb
|
43
|
+
- test/test_css_parser_misc.rb
|
44
|
+
- test/test_css_parser_regexps.rb
|
45
|
+
- test/test_helper.rb
|
46
|
+
- test/test_merging.rb
|
47
|
+
- test/test_rule_set.rb
|
48
|
+
- test/test_rule_set_creating_shorthand.rb
|
49
|
+
- test/test_rule_set_expanding_shorthand.rb
|
50
|
+
has_rdoc: true
|
51
|
+
homepage: http://github.com/alexdunae/css_parser
|
52
|
+
licenses: []
|
53
|
+
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options:
|
56
|
+
- --all
|
57
|
+
- --inline-source
|
58
|
+
- --line-numbers
|
59
|
+
- --charset
|
60
|
+
- utf-8
|
61
|
+
require_paths:
|
62
|
+
- lib
|
63
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
hash: 3
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
version: "0"
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
requirements: []
|
82
|
+
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 1.3.7
|
85
|
+
signing_key:
|
86
|
+
specification_version: 3
|
87
|
+
summary: Ruby CSS parser.
|
88
|
+
test_files:
|
89
|
+
- test/test_css_parser_basic.rb
|
90
|
+
- test/test_css_parser_loading.rb
|
91
|
+
- test/test_css_parser_media_types.rb
|
92
|
+
- test/test_css_parser_misc.rb
|
93
|
+
- test/test_css_parser_regexps.rb
|
94
|
+
- test/test_helper.rb
|
95
|
+
- test/test_merging.rb
|
96
|
+
- test/test_rule_set.rb
|
97
|
+
- test/test_rule_set_creating_shorthand.rb
|
98
|
+
- test/test_rule_set_expanding_shorthand.rb
|