csswaxer 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +1 -3
- data/README.md +13 -3
- data/VERSION +1 -1
- metadata +11 -4
data/LICENSE
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
=== Ruby CSS Waxer License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2010 Claudio Baccigalupo
|
|
4
|
-
|
|
5
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
4
|
of this software and associated documentation files (the "Software"), to deal
|
|
7
5
|
in the Software without restriction, including without limitation the rights
|
|
@@ -18,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
16
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
17
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
18
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
19
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CssWaxer #
|
|
2
2
|
|
|
3
|
-
Ruby command that prettifies CSS files grouping lines by property rather than by selector
|
|
3
|
+
Ruby command-line tool that prettifies CSS files grouping lines by property rather than by selector
|
|
4
4
|
|
|
5
5
|
## Installation (from GemCutter) ##
|
|
6
6
|
|
|
@@ -13,6 +13,7 @@ Ruby command that prettifies CSS files grouping lines by property rather than by
|
|
|
13
13
|
|
|
14
14
|
## To do ##
|
|
15
15
|
|
|
16
|
+
* Add a proper wiki
|
|
16
17
|
* Accept CSS files with commands split on multiple lines
|
|
17
18
|
* Accept different media types, not only screen
|
|
18
19
|
* Contain every possible CSS property
|
|
@@ -20,8 +21,17 @@ Ruby command that prettifies CSS files grouping lines by property rather than by
|
|
|
20
21
|
* Also expand shorthand property list-style (css_parser does not)
|
|
21
22
|
* Recreate shorthand formats in the final output
|
|
22
23
|
|
|
24
|
+
## Other styles of CSS Code Readability ##
|
|
25
|
+
|
|
26
|
+
[Loud Dog](http://www.louddog.com/bloggity/2008/03/css-best-practices.php)
|
|
27
|
+
|
|
28
|
+
[Smashing Magazine](http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/)
|
|
29
|
+
|
|
23
30
|
## History ##
|
|
24
31
|
|
|
32
|
+
v0.0.8 2010/08/03
|
|
33
|
+
CSS Parser is no (longer) available as a gem in version 1.1.0. Fixed by creating a new gem called css_parser_1.1.0 and requiring that one instead
|
|
34
|
+
|
|
25
35
|
v0.0.7 2010/04/03
|
|
26
36
|
Expanded shorthand properties: background, font, margin, padding
|
|
27
37
|
|
|
@@ -40,6 +50,6 @@ v0.0.3 2010/03/28
|
|
|
40
50
|
v0.0.1 2010/03/28
|
|
41
51
|
First commit that only works on CSS files with one-line style.
|
|
42
52
|
|
|
43
|
-
##
|
|
53
|
+
## License ##
|
|
44
54
|
|
|
45
|
-
|
|
55
|
+
Released in the public domain under the Ruby license. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.8
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: csswaxer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 15
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
9
|
+
- 8
|
|
10
|
+
version: 0.0.8
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Claudio Baccigalupo
|
|
@@ -18,12 +19,14 @@ date: 2010-04-03 00:00:00 +02:00
|
|
|
18
19
|
default_executable: csswaxer
|
|
19
20
|
dependencies:
|
|
20
21
|
- !ruby/object:Gem::Dependency
|
|
21
|
-
name:
|
|
22
|
+
name: css_parser_1.1.0
|
|
22
23
|
prerelease: false
|
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
24
26
|
requirements:
|
|
25
27
|
- - ">="
|
|
26
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 19
|
|
27
30
|
segments:
|
|
28
31
|
- 1
|
|
29
32
|
- 1
|
|
@@ -58,23 +61,27 @@ rdoc_options:
|
|
|
58
61
|
require_paths:
|
|
59
62
|
- lib
|
|
60
63
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
|
+
none: false
|
|
61
65
|
requirements:
|
|
62
66
|
- - ">="
|
|
63
67
|
- !ruby/object:Gem::Version
|
|
68
|
+
hash: 3
|
|
64
69
|
segments:
|
|
65
70
|
- 0
|
|
66
71
|
version: "0"
|
|
67
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
68
74
|
requirements:
|
|
69
75
|
- - ">="
|
|
70
76
|
- !ruby/object:Gem::Version
|
|
77
|
+
hash: 3
|
|
71
78
|
segments:
|
|
72
79
|
- 0
|
|
73
80
|
version: "0"
|
|
74
81
|
requirements: []
|
|
75
82
|
|
|
76
83
|
rubyforge_project:
|
|
77
|
-
rubygems_version: 1.3.
|
|
84
|
+
rubygems_version: 1.3.7
|
|
78
85
|
signing_key:
|
|
79
86
|
specification_version: 3
|
|
80
87
|
summary: Command-line tool that makes stylesheet files more readable, grouping lines by property (typography, color, layout, etc.) rather than by selector
|