sass2stylus 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/sass2stylus +5 -1
- data/lib/sass2stylus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e5dcf9e1b22b5c8b83908fcc814d8625eb252b1
|
4
|
+
data.tar.gz: 7d3ba6b9f739c0e329a61344ce59cfb307bb4ae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1759d2ee17525348d9b510ddb70f8acdb9330da8742fd9ce66549ca8205e51b3705d620e480c8046feaec8de64629bdd8497fc4b08f870dbc7a8694510a6622d
|
7
|
+
data.tar.gz: fe3691a96814560efa172d30bca08e66e14dad24172cd263b47c291297e7a0290452a33c467a998161736bf4d6d7ba1d9e50524cd2c21199da42bb4fe9c33092
|
data/README.md
CHANGED
@@ -34,12 +34,12 @@ The second argument is a folder where you'd like to dump the generated stylus fi
|
|
34
34
|
|
35
35
|
## Usage in Ruby Project
|
36
36
|
|
37
|
-
To use this gem in a ruby project, just import it and set up a new instance of the `Sass2stylus::
|
37
|
+
To use this gem in a ruby project, just import it and set up a new instance of the `Sass2stylus::Utilities` class and pass a blob of sass files into stylus by calling:
|
38
38
|
|
39
39
|
```ruby
|
40
40
|
require 'sass2stylus'
|
41
|
-
|
42
|
-
|
41
|
+
s2s = Sass2stylus::Utilities.new
|
42
|
+
s2s.batch(Pathname.pwd, '**/*.scss', 'stylus')
|
43
43
|
```
|
44
44
|
|
45
45
|
Pass in the base directory, the path to the sass files, and the relative path to the folder you'd like to use for output. (If you supply a folder that doesn't exist, the script will make it for you.)
|
data/bin/sass2stylus
CHANGED
data/lib/sass2stylus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass2stylus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul C Pederson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|