yarrow 0.2.2 → 0.2.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTY0OGFkNzY1NzIzZWJjMTczOGE4NGI5N2FkYWVkNzNlNTlhOWYyZg==
4
+ OThlZmY1ZGZkMTFmYWE0MTEzYTc0YzRjZGM0YTdjOTI4ZDQ4ZDVmNg==
5
5
  data.tar.gz: !binary |-
6
- MGUyYTMwN2ZjMTBiYmQ4NWQyMjZjZWUxNGQ3ZWMxNzkxY2JjYWM3NA==
6
+ ODY2ZmYxYzIwNjMxZWU4ZWI3MDYxNjZkYWYzMmUwODNkMTViYWViZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODJiYjM1ZWM1ZTkzMjM2OWRkNzhjY2NjMDQ1M2YzYTEzYzc2NTRhNzcxYWEx
10
- ZGI4M2IyMGViYTIxMDMzNzgwNDUxZWMxMmFhYzVhM2Y3ODI0NGMzYjQwMWJl
11
- Y2RhOTRhMDAzNWNmZWE0NGM0MzMyZmMxZDYyMjliMmU4ZDA4YTI=
9
+ ZmEwZTkwYWRiMTIxNDA1Zjk0MjA4MzcxOWE5MzZmNTRjNmY1MmM2MWY3Y2Vk
10
+ MWU1ZmZhNWE3ZmVmNzliYWIzNjk3YzMyMGQyNjE5NDE1OTgxZTRhNDg0MzAy
11
+ MzJlMWJlMmZlZjJjYjliYjk5MWUzNWEyODc2MjE1NmZjMmM0YjQ=
12
12
  data.tar.gz: !binary |-
13
- MTBkN2Y3NTIzODgzNDEwZGU1ZDBmNGM4NGIyNmQyZGUxYzY3YjgzY2ZkMjky
14
- MWYwNjc0YzBjNGU2ZjBlY2JjOGRmOTNhZTdkMzAxZGU1NzVkMTMxYzg5ZGY2
15
- ZGEwNzBmOWQ4ZjNhZGE1YzQ0NDZlNzQ3NmQ5OWRlODY5YTQ2OTg=
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][:input_dir] || default_output_dir
17
+ @output_dir = options[:assets][:output_dir] || default_output_dir
16
18
 
17
19
  case options[:assets][:append_paths]
18
20
  when Array
@@ -1,4 +1,4 @@
1
1
  module Yarrow
2
2
  APP_NAME = "Yarrow"
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yarrow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rickerby