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