maca-fork-csspool 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +72 -0
- data/History.txt +4 -0
- data/Manifest.txt +70 -0
- data/README.rdoc +78 -0
- data/Rakefile +35 -0
- data/lib/csspool.rb +20 -0
- data/lib/csspool/collection.rb +50 -0
- data/lib/csspool/css.rb +7 -0
- data/lib/csspool/css/charset.rb +7 -0
- data/lib/csspool/css/declaration.rb +8 -0
- data/lib/csspool/css/document.rb +34 -0
- data/lib/csspool/css/document_handler.rb +51 -0
- data/lib/csspool/css/import_rule.rb +15 -0
- data/lib/csspool/css/media.rb +7 -0
- data/lib/csspool/css/rule_set.rb +12 -0
- data/lib/csspool/lib_croco.rb +78 -0
- data/lib/csspool/lib_croco/cr_additional_sel.rb +46 -0
- data/lib/csspool/lib_croco/cr_attr_sel.rb +16 -0
- data/lib/csspool/lib_croco/cr_doc_handler.rb +24 -0
- data/lib/csspool/lib_croco/cr_num.rb +13 -0
- data/lib/csspool/lib_croco/cr_parser.rb +11 -0
- data/lib/csspool/lib_croco/cr_parsing_location.rb +17 -0
- data/lib/csspool/lib_croco/cr_pseudo.rb +14 -0
- data/lib/csspool/lib_croco/cr_rgb.rb +18 -0
- data/lib/csspool/lib_croco/cr_selector.rb +33 -0
- data/lib/csspool/lib_croco/cr_simple_sel.rb +54 -0
- data/lib/csspool/lib_croco/cr_term.rb +97 -0
- data/lib/csspool/lib_croco/glist.rb +21 -0
- data/lib/csspool/node.rb +5 -0
- data/lib/csspool/sac.rb +2 -0
- data/lib/csspool/sac/document.rb +35 -0
- data/lib/csspool/sac/parser.rb +122 -0
- data/lib/csspool/selector.rb +35 -0
- data/lib/csspool/selectors.rb +8 -0
- data/lib/csspool/selectors/additional.rb +6 -0
- data/lib/csspool/selectors/attribute.rb +21 -0
- data/lib/csspool/selectors/class.rb +11 -0
- data/lib/csspool/selectors/id.rb +11 -0
- data/lib/csspool/selectors/pseudo_class.rb +13 -0
- data/lib/csspool/selectors/simple.rb +22 -0
- data/lib/csspool/selectors/type.rb +6 -0
- data/lib/csspool/selectors/universal.rb +6 -0
- data/lib/csspool/terms.rb +7 -0
- data/lib/csspool/terms/function.rb +17 -0
- data/lib/csspool/terms/hash.rb +6 -0
- data/lib/csspool/terms/ident.rb +15 -0
- data/lib/csspool/terms/number.rb +14 -0
- data/lib/csspool/terms/rgb.rb +23 -0
- data/lib/csspool/terms/string.rb +6 -0
- data/lib/csspool/terms/uri.rb +6 -0
- data/lib/csspool/visitable.rb +30 -0
- data/lib/csspool/visitors.rb +5 -0
- data/lib/csspool/visitors/children.rb +50 -0
- data/lib/csspool/visitors/comparable.rb +85 -0
- data/lib/csspool/visitors/iterator.rb +80 -0
- data/lib/csspool/visitors/to_css.rb +188 -0
- data/lib/csspool/visitors/visitor.rb +17 -0
- data/test/css/test_document.rb +13 -0
- data/test/css/test_import_rule.rb +42 -0
- data/test/helper.rb +67 -0
- data/test/sac/test_parser.rb +115 -0
- data/test/sac/test_properties.rb +43 -0
- data/test/sac/test_terms.rb +134 -0
- data/test/test_collection.rb +81 -0
- data/test/test_parser.rb +91 -0
- data/test/test_selector.rb +47 -0
- data/test/visitors/test_children.rb +20 -0
- data/test/visitors/test_comparable.rb +103 -0
- data/test/visitors/test_each.rb +19 -0
- data/test/visitors/test_to_css.rb +200 -0
- metadata +173 -0
metadata
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: maca-fork-csspool
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Aaron Patterson
|
8
|
+
- John Barnette
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-10-29 00:00:00 -06:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: ffi
|
18
|
+
type: :runtime
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "0"
|
25
|
+
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: newgem
|
28
|
+
type: :development
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 1.4.1
|
35
|
+
version:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: hoe
|
38
|
+
type: :development
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.8.0
|
45
|
+
version:
|
46
|
+
description: |-
|
47
|
+
CSSPool is a CSS parser. CSSPool provides a SAC interface for parsing CSS as
|
48
|
+
well as a document oriented interface for parsing CSS.
|
49
|
+
email:
|
50
|
+
- aaronp@rubyforge.org
|
51
|
+
- jabarnette@rubyforge.org
|
52
|
+
executables: []
|
53
|
+
|
54
|
+
extensions: []
|
55
|
+
|
56
|
+
extra_rdoc_files:
|
57
|
+
- CHANGELOG.rdoc
|
58
|
+
- History.txt
|
59
|
+
- Manifest.txt
|
60
|
+
- README.rdoc
|
61
|
+
files:
|
62
|
+
- CHANGELOG.rdoc
|
63
|
+
- History.txt
|
64
|
+
- Manifest.txt
|
65
|
+
- README.rdoc
|
66
|
+
- Rakefile
|
67
|
+
- lib/csspool.rb
|
68
|
+
- lib/csspool/collection.rb
|
69
|
+
- lib/csspool/css.rb
|
70
|
+
- lib/csspool/css/charset.rb
|
71
|
+
- lib/csspool/css/declaration.rb
|
72
|
+
- lib/csspool/css/document.rb
|
73
|
+
- lib/csspool/css/document_handler.rb
|
74
|
+
- lib/csspool/css/import_rule.rb
|
75
|
+
- lib/csspool/css/media.rb
|
76
|
+
- lib/csspool/css/rule_set.rb
|
77
|
+
- lib/csspool/lib_croco.rb
|
78
|
+
- lib/csspool/lib_croco/cr_additional_sel.rb
|
79
|
+
- lib/csspool/lib_croco/cr_attr_sel.rb
|
80
|
+
- lib/csspool/lib_croco/cr_doc_handler.rb
|
81
|
+
- lib/csspool/lib_croco/cr_num.rb
|
82
|
+
- lib/csspool/lib_croco/cr_parser.rb
|
83
|
+
- lib/csspool/lib_croco/cr_parsing_location.rb
|
84
|
+
- lib/csspool/lib_croco/cr_pseudo.rb
|
85
|
+
- lib/csspool/lib_croco/cr_rgb.rb
|
86
|
+
- lib/csspool/lib_croco/cr_selector.rb
|
87
|
+
- lib/csspool/lib_croco/cr_simple_sel.rb
|
88
|
+
- lib/csspool/lib_croco/cr_term.rb
|
89
|
+
- lib/csspool/lib_croco/glist.rb
|
90
|
+
- lib/csspool/node.rb
|
91
|
+
- lib/csspool/sac.rb
|
92
|
+
- lib/csspool/sac/document.rb
|
93
|
+
- lib/csspool/sac/parser.rb
|
94
|
+
- lib/csspool/selector.rb
|
95
|
+
- lib/csspool/selectors.rb
|
96
|
+
- lib/csspool/selectors/additional.rb
|
97
|
+
- lib/csspool/selectors/attribute.rb
|
98
|
+
- lib/csspool/selectors/class.rb
|
99
|
+
- lib/csspool/selectors/id.rb
|
100
|
+
- lib/csspool/selectors/pseudo_class.rb
|
101
|
+
- lib/csspool/selectors/simple.rb
|
102
|
+
- lib/csspool/selectors/type.rb
|
103
|
+
- lib/csspool/selectors/universal.rb
|
104
|
+
- lib/csspool/terms.rb
|
105
|
+
- lib/csspool/terms/function.rb
|
106
|
+
- lib/csspool/terms/hash.rb
|
107
|
+
- lib/csspool/terms/ident.rb
|
108
|
+
- lib/csspool/terms/number.rb
|
109
|
+
- lib/csspool/terms/rgb.rb
|
110
|
+
- lib/csspool/terms/string.rb
|
111
|
+
- lib/csspool/terms/uri.rb
|
112
|
+
- lib/csspool/visitable.rb
|
113
|
+
- lib/csspool/visitors.rb
|
114
|
+
- lib/csspool/visitors/children.rb
|
115
|
+
- lib/csspool/visitors/comparable.rb
|
116
|
+
- lib/csspool/visitors/iterator.rb
|
117
|
+
- lib/csspool/visitors/to_css.rb
|
118
|
+
- lib/csspool/visitors/visitor.rb
|
119
|
+
- test/css/test_document.rb
|
120
|
+
- test/css/test_import_rule.rb
|
121
|
+
- test/helper.rb
|
122
|
+
- test/sac/test_parser.rb
|
123
|
+
- test/sac/test_properties.rb
|
124
|
+
- test/sac/test_terms.rb
|
125
|
+
- test/test_collection.rb
|
126
|
+
- test/test_parser.rb
|
127
|
+
- test/test_selector.rb
|
128
|
+
- test/visitors/test_children.rb
|
129
|
+
- test/visitors/test_comparable.rb
|
130
|
+
- test/visitors/test_each.rb
|
131
|
+
- test/visitors/test_to_css.rb
|
132
|
+
has_rdoc: true
|
133
|
+
homepage: http://csspool.rubyforge.org
|
134
|
+
licenses: []
|
135
|
+
|
136
|
+
post_install_message:
|
137
|
+
rdoc_options:
|
138
|
+
- --main
|
139
|
+
- README.rdoc
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: "0"
|
147
|
+
version:
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: "0"
|
153
|
+
version:
|
154
|
+
requirements: []
|
155
|
+
|
156
|
+
rubyforge_project: maca-fork-csspool
|
157
|
+
rubygems_version: 1.3.5
|
158
|
+
signing_key:
|
159
|
+
specification_version: 3
|
160
|
+
summary: CSSPool is a CSS parser
|
161
|
+
test_files:
|
162
|
+
- test/css/test_document.rb
|
163
|
+
- test/css/test_import_rule.rb
|
164
|
+
- test/sac/test_parser.rb
|
165
|
+
- test/sac/test_properties.rb
|
166
|
+
- test/sac/test_terms.rb
|
167
|
+
- test/test_collection.rb
|
168
|
+
- test/test_parser.rb
|
169
|
+
- test/test_selector.rb
|
170
|
+
- test/visitors/test_children.rb
|
171
|
+
- test/visitors/test_comparable.rb
|
172
|
+
- test/visitors/test_each.rb
|
173
|
+
- test/visitors/test_to_css.rb
|