distil 0.14.0.g → 0.14.0.h

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.14.0.g
1
+ 0.14.0.h
2
2
 
data/distil.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{distil}
8
- s.version = "0.14.0.g"
8
+ s.version = "0.14.0.h"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Watkins"]
12
- s.date = %q{2011-01-13}
12
+ s.date = %q{2011-02-20}
13
13
  s.description = %q{A build tool for Javascript and CSS that takes advantage of best-of-breed helper applications Javascript Lint and JSDoc Toolkit}
14
14
  s.executables = ["distil", "jsl"]
15
15
  s.extensions = ["vendor/extconf.rb"]
@@ -750,11 +750,10 @@ Gem::Specification.new do |s|
750
750
  s.homepage = %q{http://github.com/jeffwatkins/distil}
751
751
  s.rdoc_options = ["--charset=UTF-8"]
752
752
  s.require_paths = ["lib"]
753
- s.rubygems_version = %q{1.3.7}
753
+ s.rubygems_version = %q{1.4.2}
754
754
  s.summary = %q{A build tool for Javascript and CSS that takes advantage of best-of-breed helper applications Javascript Lint and JSDoc Toolkit}
755
755
 
756
756
  if s.respond_to? :specification_version then
757
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
758
757
  s.specification_version = 3
759
758
 
760
759
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -10,9 +10,27 @@ module Distil
10
10
  output.puts "CACHE MANIFEST"
11
11
  output.puts "# generated @ #{Time.new.rfc2822}"
12
12
  output.puts
13
+ output.puts "# products"
14
+ project.products.each { |p|
15
+ next if (DEBUG_VARIANT == p.variant || self==p)
16
+ if p.is_a?(HtmlProduct)
17
+ p.files.each { |f|
18
+ output.puts File.basename(f)
19
+ }
20
+ else
21
+ output.puts project.relative_output_path_for(p.minimised_filename)
22
+ end
23
+ }
24
+ output.puts
25
+ output.puts "# assets"
13
26
  project.assets.each { |a|
14
27
  output.puts project.relative_output_path_for(a)
15
28
  }
29
+
30
+ # Added a NETWORK catch all section
31
+ output.puts
32
+ output.puts "NETWORK:"
33
+ output.puts "*"
16
34
  }
17
35
  end
18
36
 
@@ -1,7 +1,7 @@
1
1
  module Distil
2
2
 
3
3
  CSS_IMPORT_REGEX = /@import\s+url\("?(.*\.css)"?\)/
4
- CSS_IMAGE_URL_REGEX= /url\("?(.*\.(jpg|png|gif))"?\)/
4
+ CSS_IMAGE_URL_REGEX= /url\("?(.*\.(jpg|png|gif|otf))"?\)/
5
5
 
6
6
  class CssFile < SourceFile
7
7
  include YuiMinifiableFile
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: distil
3
3
  version: !ruby/object:Gem::Version
4
- hash: 84
5
- prerelease: true
4
+ hash: 85
5
+ prerelease: 7
6
6
  segments:
7
7
  - 0
8
8
  - 14
9
9
  - 0
10
- - g
11
- version: 0.14.0.g
10
+ - h
11
+ version: 0.14.0.h
12
12
  platform: ruby
13
13
  authors:
14
14
  - Jeff Watkins
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-13 00:00:00 -08:00
19
+ date: 2011-02-20 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -857,7 +857,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
857
857
  requirements: []
858
858
 
859
859
  rubyforge_project:
860
- rubygems_version: 1.3.7
860
+ rubygems_version: 1.4.2
861
861
  signing_key:
862
862
  specification_version: 3
863
863
  summary: A build tool for Javascript and CSS that takes advantage of best-of-breed helper applications Javascript Lint and JSDoc Toolkit