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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fae9a9dea69f31f1999c91b863e94dcb3aef9458
4
- data.tar.gz: 1aee6050e16553358bc375e74f4671116009352e
3
+ metadata.gz: 0e5dcf9e1b22b5c8b83908fcc814d8625eb252b1
4
+ data.tar.gz: 7d3ba6b9f739c0e329a61344ce59cfb307bb4ae1
5
5
  SHA512:
6
- metadata.gz: a6c36c4a333353e8f6f2c78d5408e1c62773855e7245d5866b59d648fc8ec20759af164098c79b57fae90f90873f313b082b237622f4ee2a234b8e3523392704
7
- data.tar.gz: eeca69753143a0ee8b97e6cf21e93e2b9941593cabfe27d39bc9638fb35f0c1d28a8dc80772f0c5937cabc467a2c87c4bf32301d6311f7c5d74e294787581a7e
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::Utitlities` class and pass a blob of sass files into stylus by calling:
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
- util = Sass2stylus::Utilities.new
42
- util.batch(Pathname.pwd, '**/*.scss', 'stylus')
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
@@ -9,4 +9,8 @@ if ARGV.length < 2
9
9
  end
10
10
 
11
11
  util = Sass2stylus::Utilities.new
12
- util.batch(Pathname.pwd, ARGV[0], ARGV[1])
12
+
13
+ *files, dest = ARGV
14
+ files.each do |file|
15
+ util.batch(Pathname.pwd, file, dest)
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Sass2stylus
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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: 2014-12-21 00:00:00.000000000 Z
11
+ date: 2016-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler