yarrow 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/yarrow/assets/pipeline.rb +4 -2
- data/lib/yarrow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OThlZmY1ZGZkMTFmYWE0MTEzYTc0YzRjZGM0YTdjOTI4ZDQ4ZDVmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODY2ZmYxYzIwNjMxZWU4ZWI3MDYxNjZkYWYzMmUwODNkMTViYWViZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmEwZTkwYWRiMTIxNDA1Zjk0MjA4MzcxOWE5MzZmNTRjNmY1MmM2MWY3Y2Vk
|
10
|
+
MWU1ZmZhNWE3ZmVmNzliYWIzNjk3YzMyMGQyNjE5NDE1OTgxZTRhNDg0MzAy
|
11
|
+
MzJlMWJlMmZlZjJjYjliYjk5MWUzNWEyODc2MjE1NmZjMmM0YjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGYyYjNhMjM0ZDFhMDMzMDcxMDM3MTc3YzYzMGM4OTFlYWEwZTRhNjIzMzdm
|
14
|
+
NmU0YTEzNjdiODM1YjlmNWQ2MTM3NzAzYThlYTgwZjZjNzg2MWE2ODczNTJm
|
15
|
+
NTYzMWQ0OTVjZTZlMzM0YWQ1ZGNhZDU2ODY5MDI4ODgwMzk5NTI=
|
@@ -4,15 +4,17 @@ require 'sprockets'
|
|
4
4
|
|
5
5
|
module Yarrow
|
6
6
|
module Assets
|
7
|
+
# A framework for processing and compressing static assets using Sprockets.
|
7
8
|
class Pipeline
|
8
9
|
|
9
|
-
attr_reader :input_dir, :output_dir, :bundles, :assets
|
10
|
+
attr_reader :input_dir, :output_dir, :append_paths, :bundles, :assets
|
10
11
|
|
12
|
+
# @param options [Hash, Hashie::Mash, Yarrow::Configuration]
|
11
13
|
def initialize(options)
|
12
14
|
raise 'Missing asset configuration' unless options[:assets]
|
13
15
|
|
14
16
|
@input_dir = options[:assets][:input_dir] || default_input_dir
|
15
|
-
@output_dir = options[:assets][:
|
17
|
+
@output_dir = options[:assets][:output_dir] || default_output_dir
|
16
18
|
|
17
19
|
case options[:assets][:append_paths]
|
18
20
|
when Array
|
data/lib/yarrow/version.rb
CHANGED