front-end-blender 0.20 → 0.21
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.
- data/bin/blend +1 -1
- data/lib/front_end_architect/blender.rb +3 -2
- data/lib/yui/yuicompressor.jar +0 -0
- metadata +3 -3
data/bin/blend
CHANGED
@@ -13,7 +13,7 @@ options = {}
|
|
13
13
|
|
14
14
|
opts = OptionParser.new do |opts|
|
15
15
|
opts.on('-h', '--help', "Show this message") { puts opts; exit 0 }
|
16
|
-
opts.on('-V', '--version', "Show the version number") { puts "Front-End Blender v#{Blender::VERSION}"; exit 0 }
|
16
|
+
opts.on('-V', '--version', "Show the version number") { puts "Front-End Blender v#{FrontEndArchitect::Blender::VERSION}"; exit 0 }
|
17
17
|
opts.on('-g', '--generate', String, "Generate a stub Blendfile") { options[:generate] = true }
|
18
18
|
opts.on('-f FILE', '--file FILE', String, "Use given Blendfile") {|f| options[:blendfile] = f }
|
19
19
|
opts.on('-r ROOT', '--root ROOT', String, "Set the path to the web root directory") {|r| options[:root] = r }
|
@@ -18,7 +18,7 @@ require 'front_end_architect/hash'
|
|
18
18
|
|
19
19
|
module FrontEndArchitect
|
20
20
|
class Blender
|
21
|
-
VERSION = '0.
|
21
|
+
VERSION = '0.21'
|
22
22
|
|
23
23
|
FILTER_REGEX = /filter: ?[^?]+\(src=(['"])([^\?'"]+)(\?(?:[^'"]+)?)?\1,[^?]+\1\);/im
|
24
24
|
IMPORT_REGEX = /@import(?: url\(| )(['"]?)([^\?'"\)\s]+)(\?(?:[^'"\)]+)?)?\1\)?(?:[^?;]+)?;/im
|
@@ -238,8 +238,9 @@ module FrontEndArchitect
|
|
238
238
|
end
|
239
239
|
end
|
240
240
|
|
241
|
-
# TODO Move this to a seperate class and clean it up A LOT. For 1.1
|
242
241
|
def process_css(input_file, output_path)
|
242
|
+
# TODO Move this to a seperate class and clean it up A LOT. For 1.1
|
243
|
+
|
243
244
|
# Determine full path of input file
|
244
245
|
input_path = Pathname.new(File.dirname(input_file))
|
245
246
|
input = IO.read(input_file)
|
data/lib/yui/yuicompressor.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: front-end-blender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.21"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Elshire
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-10-
|
13
|
+
date: 2008-10-21 00:00:00 -07:00
|
14
14
|
default_executable: blend
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
41
|
+
version: 1.8.0
|
42
42
|
version:
|
43
43
|
description: Blender is like ant or make for the front-end. It aggregates and compresses CSS and/or JavaScript assets for a site into efficient, production-ready files.
|
44
44
|
email: blender@front-end-architect.com
|