front-end-blender 0.18 → 0.20
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/History.txt +3 -0
- data/{MIT-LICENSE → License.txt} +0 -0
- data/Manifest.txt +10 -0
- data/{README.rdoc → README.txt} +5 -8
- data/Rakefile +36 -0
- data/bin/blend +1 -2
- data/lib/front_end_architect/blender.rb +2 -3
- metadata +31 -14
data/History.txt
ADDED
data/{MIT-LICENSE → License.txt}
RENAMED
|
File without changes
|
data/Manifest.txt
ADDED
data/{README.rdoc → README.txt}
RENAMED
|
@@ -63,21 +63,18 @@ Other examples:
|
|
|
63
63
|
== Installation
|
|
64
64
|
|
|
65
65
|
To install the RubyGem, run the following at the command line (you may need to use a command such as su or sudo):
|
|
66
|
-
gem install
|
|
67
|
-
gem install colored
|
|
68
|
-
gem install front-end-blender --source http://gems.github.com
|
|
66
|
+
gem install blender
|
|
69
67
|
|
|
70
68
|
If you're using Windows, you'll also need to run the following:
|
|
71
69
|
gem install win32console
|
|
72
70
|
|
|
73
|
-
* Java v1.4 or greater is required
|
|
74
|
-
* Ruby v1.8.6 or greater is required
|
|
75
|
-
* RubyGems v1.2 or greater is recommended
|
|
71
|
+
* Java[http://java.com/en/] v1.4 or greater is required
|
|
72
|
+
* Ruby[http://www.ruby-lang.org/en/downloads/] v1.8.6 or greater is required
|
|
73
|
+
* RubyGems[http://rubygems.org/read/chapter/3] v1.2 or greater is recommended
|
|
76
74
|
|
|
77
75
|
== License
|
|
78
76
|
|
|
79
|
-
|
|
80
|
-
(c) 2008 Blake Elshire
|
|
77
|
+
Copyright (c) 2008 Blake Elshire, Chris Griego
|
|
81
78
|
|
|
82
79
|
Blender is freely distributable under the terms of an MIT-style license.
|
|
83
80
|
For details, see http://www.opensource.org/licenses/mit-license.php
|
data/Rakefile
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Copyright (c) 2008 Blake Elshire, Chris Griego
|
|
2
|
+
#
|
|
3
|
+
# Blender is freely distributable under the terms of an MIT-style license.
|
|
4
|
+
# For details, see http://www.opensource.org/licenses/mit-license.php
|
|
5
|
+
|
|
6
|
+
$:.unshift File.join(File.dirname(File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__), *%w[lib])
|
|
7
|
+
|
|
8
|
+
require 'rubygems'
|
|
9
|
+
require 'hoe'
|
|
10
|
+
require 'front_end_architect/blender'
|
|
11
|
+
|
|
12
|
+
hoe = Hoe.new('blender', FrontEndArchitect::Blender::VERSION) do |p|
|
|
13
|
+
p.author = ['Blake Elshire', 'Chris Griego']
|
|
14
|
+
p.email = 'blender@front-end-architect.com'
|
|
15
|
+
p.summary = 'Blender outputs efficient, production-ready CSS and/or JavaScript assets.'
|
|
16
|
+
p.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.'
|
|
17
|
+
p.url = 'http://www.front-end-architect.com/blender/'
|
|
18
|
+
|
|
19
|
+
p.extra_deps << ['mime-types', '>= 1.15']
|
|
20
|
+
p.extra_deps << ['colored', '>= 1.1']
|
|
21
|
+
|
|
22
|
+
p.spec_extras[:requirements] = 'Java, v1.4 or greater'
|
|
23
|
+
|
|
24
|
+
p.remote_rdoc_dir = '' # Release to root
|
|
25
|
+
p.rdoc_pattern = /^(lib\/front_end_architect|bin|ext)|txt$/
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
task :update_gemspec do
|
|
29
|
+
File.open("#{hoe.name}.gemspec", 'w') do |gemspec|
|
|
30
|
+
gemspec << hoe.spec.to_ruby
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
task :debug_changes do
|
|
35
|
+
puts hoe.changes
|
|
36
|
+
end
|
data/bin/blend
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2008 Chris Griego
|
|
4
|
-
# (c) 2008 Blake Elshire
|
|
3
|
+
# Copyright (c) 2008 Blake Elshire, Chris Griego
|
|
5
4
|
#
|
|
6
5
|
# Blender is freely distributable under the terms of an MIT-style license.
|
|
7
6
|
# For details, see http://www.opensource.org/licenses/mit-license.php
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2008 Chris Griego
|
|
2
|
-
# (c) 2008 Blake Elshire
|
|
1
|
+
# Copyright (c) 2008 Blake Elshire, Chris Griego
|
|
3
2
|
#
|
|
4
3
|
# Blender is freely distributable under the terms of an MIT-style license.
|
|
5
4
|
# For details, see http://www.opensource.org/licenses/mit-license.php
|
|
@@ -19,7 +18,7 @@ require 'front_end_architect/hash'
|
|
|
19
18
|
|
|
20
19
|
module FrontEndArchitect
|
|
21
20
|
class Blender
|
|
22
|
-
VERSION = '0.
|
|
21
|
+
VERSION = '0.20'
|
|
23
22
|
|
|
24
23
|
FILTER_REGEX = /filter: ?[^?]+\(src=(['"])([^\?'"]+)(\?(?:[^'"]+)?)?\1,[^?]+\1\);/im
|
|
25
24
|
IMPORT_REGEX = /@import(?: url\(| )(['"]?)([^\?'"\)\s]+)(\?(?:[^'"\)]+)?)?\1\)?(?:[^?;]+)?;/im
|
metadata
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
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.20"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Blake Elshire
|
|
8
|
-
|
|
7
|
+
- Blake Elshire
|
|
8
|
+
- Chris Griego
|
|
9
|
+
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
12
|
|
|
12
|
-
date: 2008-
|
|
13
|
+
date: 2008-10-13 00:00:00 -07:00
|
|
13
14
|
default_executable: blend
|
|
14
15
|
dependencies:
|
|
15
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -30,27 +31,43 @@ dependencies:
|
|
|
30
31
|
- !ruby/object:Gem::Version
|
|
31
32
|
version: "1.1"
|
|
32
33
|
version:
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
name: hoe
|
|
36
|
+
version_requirement:
|
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
38
|
+
requirements:
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: 1.7.0
|
|
42
|
+
version:
|
|
33
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.
|
|
34
|
-
email:
|
|
44
|
+
email: blender@front-end-architect.com
|
|
35
45
|
executables:
|
|
36
46
|
- blend
|
|
37
47
|
extensions: []
|
|
38
48
|
|
|
39
|
-
extra_rdoc_files:
|
|
40
|
-
|
|
49
|
+
extra_rdoc_files:
|
|
50
|
+
- History.txt
|
|
51
|
+
- License.txt
|
|
52
|
+
- Manifest.txt
|
|
53
|
+
- README.txt
|
|
41
54
|
files:
|
|
42
|
-
-
|
|
43
|
-
-
|
|
55
|
+
- History.txt
|
|
56
|
+
- License.txt
|
|
57
|
+
- Manifest.txt
|
|
58
|
+
- README.txt
|
|
59
|
+
- Rakefile
|
|
44
60
|
- bin/blend
|
|
45
61
|
- lib/front_end_architect/blender.rb
|
|
46
62
|
- lib/front_end_architect/hash.rb
|
|
47
63
|
- lib/yui/LICENSE
|
|
48
64
|
- lib/yui/yuicompressor.jar
|
|
49
|
-
has_rdoc:
|
|
50
|
-
homepage: http://
|
|
65
|
+
has_rdoc: true
|
|
66
|
+
homepage: http://www.front-end-architect.com/blender/
|
|
51
67
|
post_install_message:
|
|
52
|
-
rdoc_options:
|
|
53
|
-
|
|
68
|
+
rdoc_options:
|
|
69
|
+
- --main
|
|
70
|
+
- README.txt
|
|
54
71
|
require_paths:
|
|
55
72
|
- lib
|
|
56
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -67,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
67
84
|
version:
|
|
68
85
|
requirements:
|
|
69
86
|
- Java, v1.4 or greater
|
|
70
|
-
rubyforge_project:
|
|
87
|
+
rubyforge_project: blender
|
|
71
88
|
rubygems_version: 1.2.0
|
|
72
89
|
signing_key:
|
|
73
90
|
specification_version: 2
|