sass-align 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/bin/sass-align +4 -1
- data/doc/ronn/README.ronn +15 -3
- data/sass-align.gemspec +1 -1
- metadata +2 -1
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (C) 2011 by Aanand Prasad
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
20
|
+
|
data/bin/sass-align
CHANGED
@@ -13,7 +13,10 @@ options = {
|
|
13
13
|
|
14
14
|
opts = OptionParser.new do |opts|
|
15
15
|
opts.banner = <<EOB
|
16
|
-
Usage: sass-align
|
16
|
+
Usage: sass-align <in-file> <out-file>
|
17
|
+
sass-align --stdin [<out-file>]
|
18
|
+
sass-align --edit-in-place <in-file> [<in-file>...]
|
19
|
+
sass-align --recursive <directory>
|
17
20
|
|
18
21
|
Run 'sass-align --help' for more information.
|
19
22
|
|
data/doc/ronn/README.ronn
CHANGED
@@ -3,11 +3,15 @@ sass-align(1) -- nicely align property values in .sass files
|
|
3
3
|
|
4
4
|
## Synopsis
|
5
5
|
|
6
|
-
`sass-align` <file> <file><br>
|
7
|
-
`sass-align` `-s`|`--stdin` [<file>]<br>
|
8
|
-
`sass-align` `-e`|`--edit-in-place` <file
|
6
|
+
`sass-align` <in-file> <out-file><br>
|
7
|
+
`sass-align` `-s`|`--stdin` [<out-file>]<br>
|
8
|
+
`sass-align` `-e`|`--edit-in-place` <in-file> [<in-file>...]<br>
|
9
9
|
`sass-align` `-R`|`--recursive` <directory>
|
10
10
|
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
`gem install sass-align`
|
14
|
+
|
11
15
|
## Description
|
12
16
|
|
13
17
|
sass-align is a command-line tool to format .sass files in the mildly idiosyncratic style used at [Unspace](http://unspace.ca). That means:
|
@@ -39,3 +43,11 @@ sass-align is a command-line tool to format .sass files in the mildly idiosyncra
|
|
39
43
|
* `-o N`, `--offset N`:
|
40
44
|
Specify left character offset for property values (default 30).
|
41
45
|
|
46
|
+
## Bugs
|
47
|
+
|
48
|
+
Report bugs and get righteously indignant about style decisions at [the Github page](https://github.com/aanand/sass-align).
|
49
|
+
|
50
|
+
## Copyright
|
51
|
+
|
52
|
+
Copyright 2011 by [Aanand Prasad](http://aanandprasad.com) under the MIT license (see the LICENSE file).
|
53
|
+
|
data/sass-align.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-align
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -19,6 +19,7 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- .gitignore
|
22
|
+
- LICENSE
|
22
23
|
- Rakefile
|
23
24
|
- bin/sass-align
|
24
25
|
- doc/ronn/README.ronn
|