juicer 1.0.7 → 1.0.8

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.
@@ -1,3 +1,7 @@
1
+ == 1.0.8 / 2010-10-10
2
+ * Fix bug where document root and other options where not passed from
3
+ CLI to dependency resolvers
4
+
1
5
  == 1.0.7 / 2010-08-23
2
6
  * Fix bug where embedded images where re-mapped as though they where
3
7
  URLs (Elliot Wood)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.8
@@ -3,7 +3,7 @@ require "logger"
3
3
  module Juicer
4
4
 
5
5
  # :stopdoc:
6
- VERSION = '1.0.7'
6
+ VERSION = '1.0.8'
7
7
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
8
8
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
9
9
  LOGGER = Logger.new(STDOUT)
@@ -38,7 +38,7 @@ module Juicer
38
38
  # Absolute URL
39
39
  if path =~ %r{^(/|[a-z]+:)}
40
40
  if @options[:document_root].nil?
41
- msg = "Cannot resolve absolute path '#{path}' without web root option"
41
+ msg = "Cannot resolve absolute path '#{path}' without document root option"
42
42
  raise ArgumentError.new(msg)
43
43
  end
44
44
 
@@ -9,7 +9,7 @@ module Juicer
9
9
 
10
10
  # Constructor
11
11
  def initialize(files = [], options = {})
12
- @dependency_resolver = JavaScriptDependencyResolver.new
12
+ @dependency_resolver = JavaScriptDependencyResolver.new(options)
13
13
  super(files, options)
14
14
  end
15
15
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 7
9
- version: 1.0.7
8
+ - 8
9
+ version: 1.0.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Christian Johansen
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-23 00:00:00 +02:00
17
+ date: 2010-10-10 00:00:00 +02:00
18
18
  default_executable: juicer
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency