front-end-blender 0.18 → 0.20

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt ADDED
@@ -0,0 +1,3 @@
1
+ === 0.20.0 / 2008-10-13
2
+
3
+ Release Candidate 1
File without changes
data/Manifest.txt ADDED
@@ -0,0 +1,10 @@
1
+ History.txt
2
+ License.txt
3
+ Manifest.txt
4
+ README.txt
5
+ Rakefile
6
+ bin/blend
7
+ lib/front_end_architect/blender.rb
8
+ lib/front_end_architect/hash.rb
9
+ lib/yui/LICENSE
10
+ lib/yui/yuicompressor.jar
@@ -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 mime-types
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, http://java.com/en/
74
- * Ruby v1.8.6 or greater is required, http://www.ruby-lang.org/en/downloads/
75
- * RubyGems v1.2 or greater is recommended, http://rubygems.org/read/chapter/3
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
- Copyright (c) 2008 Chris Griego
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.18'
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.18"
4
+ version: "0.20"
5
5
  platform: ruby
6
6
  authors:
7
- - Blake Elshire & Chris Griego
8
- autorequire: front_end_architect/blend
7
+ - Blake Elshire
8
+ - Chris Griego
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
12
 
12
- date: 2008-09-27 00:00:00 -07:00
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: belshire@gmail.com
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
- - README.rdoc
43
- - MIT-LICENSE
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: false
50
- homepage: http://github.com/front-end/front-end-blender/tree/master
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: frontendblender
87
+ rubyforge_project: blender
71
88
  rubygems_version: 1.2.0
72
89
  signing_key:
73
90
  specification_version: 2