psyho_juicer 1.0.9 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify gem dependencies in juicer.gemspec
4
+ gemspec
@@ -0,0 +1,33 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ juicer (1.0.9)
5
+ cmdparse
6
+ nokogiri
7
+ rubyzip
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ cmdparse (2.0.3)
13
+ fakefs (0.3.2)
14
+ git (1.2.5)
15
+ jeweler (1.6.0)
16
+ bundler (~> 1.0.0)
17
+ git (>= 1.2.5)
18
+ rake
19
+ mocha (0.9.12)
20
+ nokogiri (1.4.4.1-x86-mingw32)
21
+ rake (0.9.0)
22
+ rubyzip (0.9.4)
23
+ shoulda (2.11.3)
24
+
25
+ PLATFORMS
26
+ x86-mingw32
27
+
28
+ DEPENDENCIES
29
+ fakefs (>= 0.2.1)
30
+ jeweler (>= 0.2.1)
31
+ juicer!
32
+ mocha (>= 0.9.8)
33
+ shoulda (>= 2.10.2)
@@ -1,3 +1,10 @@
1
+ == 1.0.11 / 2011-05-27
2
+ * Fix downloading of YUI jar, which moved again. Thanks to sterebooster.
3
+
4
+ == 1.0.10 / 2011-05-11
5
+ * Fix downloading of Rhino jar. Add mechanism for scraping out the
6
+ latest version.
7
+
1
8
  == 1.0.9 / 2010-12-07
2
9
  * Emergency fix: Crockford took down the Rhino version of JsLint,
3
10
  bundle it for now.
@@ -10,6 +10,7 @@ Christian Johansen (http://www.cjohansen.no) and contributors:
10
10
  * Aaron Suggs (http://ktheory.com)
11
11
  * Olle Jonsson (http://ollehost.dk/blog/)
12
12
  * Jakub Pawlowicz (http://blog.jakubpawlowicz.com)
13
+ * stereobooster (https://github.com/stereobooster)
13
14
 
14
15
  == DESCRIPTION:
15
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.9
1
+ 1.0.11
@@ -3,7 +3,7 @@ require "logger"
3
3
  module Juicer
4
4
 
5
5
  # :stopdoc:
6
- VERSION = '1.0.9'
6
+ VERSION = '1.0.11'
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)
@@ -124,7 +124,7 @@ module Juicer
124
124
  # force argument is true (default false)
125
125
  #
126
126
  def download(url, force = false)
127
- filename = File.join(@install_dir, "download", path.sub("lib/", ""), File.basename(url))
127
+ filename = File.join(@install_dir, "download", path.sub("lib/", ""), File.basename(url).split("?").first)
128
128
  return filename if File.exists?(filename) && !force
129
129
  FileUtils.mkdir_p(File.dirname(filename))
130
130
  File.delete(filename) if File.exists?(filename) && force
@@ -8,11 +8,9 @@ module Juicer
8
8
  # Install and uninstall routines for the Mozilla Rhino jar.
9
9
  #
10
10
  class RhinoInstaller < Base
11
- attr_reader :latest
12
-
13
11
  def initialize(install_dir = Juicer.home)
14
12
  super(install_dir)
15
- @latest = "1_7R2-RC1"
13
+ @latest = nil
16
14
  @website = "http://ftp.mozilla.org/pub/mozilla.org/js/"
17
15
  end
18
16
 
@@ -48,6 +46,13 @@ module Juicer
48
46
  File.delete(File.join(dir, "bin/", "#{base}.jar"))
49
47
  end
50
48
  end
49
+
50
+ def latest
51
+ return @latest if @latest
52
+ webpage = Nokogiri::HTML(open(@website))
53
+ versions = (webpage / "td a").to_a.find_all { |a| a.attr("href") =~ /rhino\d_/ }
54
+ @latest = versions.collect { |n| n.attr("href") }.sort.last.match(/rhino(\d_.*)\.zip/)[1]
55
+ end
51
56
  end
52
57
  end
53
58
  end
@@ -13,6 +13,7 @@ module Juicer
13
13
  def initialize(install_dir = Juicer.home)
14
14
  super(install_dir)
15
15
  @latest = nil
16
+ @href = nil
16
17
  @website = "http://yuilibrary.com/downloads/"
17
18
  end
18
19
 
@@ -28,7 +29,7 @@ module Juicer
28
29
  def install(version = nil)
29
30
  version = super(version)
30
31
  base = "yuicompressor-#{version}"
31
- filename = download(File.join(@website, "yuicompressor", "#{base}.zip"))
32
+ filename = download(@href)
32
33
  target = File.join(@install_dir, path)
33
34
 
34
35
  Zip::ZipFile.open(filename) do |file|
@@ -60,9 +61,10 @@ module Juicer
60
61
  def latest
61
62
  return @latest if @latest
62
63
  webpage = Nokogiri::HTML(open(@website))
63
- @latest = (webpage / "h3#yuicompressor + ul li a:last").text.match(/(\d\.\d\.\d)/)[1]
64
+ a = (webpage / "h3#yuicompressor + ul li a:last")[0]
65
+ @href = a["href"]
66
+ @latest = a.text.match(/(\d\.\d\.\d)/)[1]
64
67
  end
65
-
66
68
  end
67
69
  end
68
70
  end
@@ -0,0 +1,10 @@
1
+ 2008.02.09 | stb-base 1.29
2
+
3
+ FEATURE: Core | Bla bla bla bla bla
4
+ FEATURE: UI: | Bla bla bla bla bla
5
+
6
+
7
+ 2008.02.09 | stb-base 1.29
8
+
9
+ FEATURE: Core | Bla bla bla bla bla
10
+ FEATURE: UI: | Bla bla bla bla bla
@@ -0,0 +1,3 @@
1
+ @import 'b.css';
2
+
3
+ /* Dette er a.css */
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @depend b.js
3
+ */
4
+
5
+ /* Dette er a.js */
@@ -0,0 +1,5 @@
1
+ @import 'b1.css';
2
+ @import 'c1.css';
3
+ body {
4
+ width: 800px;
5
+ }
@@ -0,0 +1 @@
1
+ /* Dette er b.css */
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @depends a.js
3
+ */
4
+
5
+ /* Dette er b.css */
@@ -0,0 +1,5 @@
1
+ @import url('d1.css');
2
+
3
+ html {
4
+ background: red;
5
+ }
@@ -0,0 +1,5 @@
1
+ @import url("d1.css");
2
+
3
+ html {
4
+ background: red;
5
+ }
@@ -0,0 +1,3 @@
1
+ h1 {
2
+ font-size: 12px;
3
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,15 @@
1
+ body {
2
+ background: url(../images/1.png);
3
+ }
4
+
5
+ h1 {
6
+ background: url('../a1.css') 0 0 no-repeat;
7
+ }
8
+
9
+ h2 {
10
+ background: url("2.gif") no-repeat;
11
+ }
12
+
13
+ p {
14
+ background: url(2.gif) no-repeat;
15
+ }
@@ -0,0 +1 @@
1
+ body { background: url(/images/1.png); }
@@ -0,0 +1,12 @@
1
+ body {
2
+ background: url(http://assets1/images/1.png);
3
+ }
4
+
5
+ h1 {
6
+ background: url(http://assets2/css/2.gif);
7
+ background: url(http://assets3/a1.css) 0 0 no-repeat;
8
+ }
9
+
10
+ h2 {
11
+ background: url(http://assets2/css/2.gif) no-repeat;
12
+ }
@@ -0,0 +1,3 @@
1
+ h2 {
2
+ font-size: 10px;
3
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,2 @@
1
+ // @depend pkg
2
+ var myApp = pkg.a;
@@ -0,0 +1,2 @@
1
+ var a = 34
2
+ b = 78;
@@ -0,0 +1,3 @@
1
+ function hey() {
2
+ return "Hey";
3
+ }
@@ -0,0 +1,5 @@
1
+ @import 'css/test.css';
2
+
3
+ body {
4
+ background: url(css/2.gif) no-repeat;
5
+ }
@@ -0,0 +1,14 @@
1
+ body {
2
+ background: url(/images/1.png);
3
+ }
4
+
5
+ h1 {
6
+ background: url(/css/2.gif);
7
+ background: url(/a1.css) 0 0 no-repeat;
8
+ }
9
+
10
+ h2 {
11
+ background: url(/css/2.gif) no-repeat;
12
+ }
13
+
14
+ p { background: url(/a2.css); }
@@ -0,0 +1,2 @@
1
+ // @depend ../pkg.js
2
+ pkg.a = '';
@@ -0,0 +1,3 @@
1
+ // @depend ../pkg.js
2
+ // @depend moda.js
3
+ pkg.b = '';
@@ -0,0 +1 @@
1
+ var pkg = {};
@@ -0,0 +1,42 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
+ <html>
3
+ <head>
4
+ <title>Index of /pub/mozilla.org/js</title>
5
+ </head>
6
+ <body>
7
+ <h1>Index of /pub/mozilla.org/js</h1>
8
+ <table><tr><th><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr><tr><th colspan="5"><hr></th></tr>
9
+
10
+ <tr><td valign="top"><img src="/icons/back.gif" alt="[DIR]"></td><td><a href="/pub/mozilla.org/">Parent Directory</a></td><td>&nbsp;</td><td align="right"> - </td></tr>
11
+ <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="eclipse/">eclipse/</a></td><td align="right">23-Feb-2006 08:54 </td><td align="right"> - </td></tr>
12
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="js-1.7.0.tar.gz">js-1.7.0.tar.gz</a></td><td align="right">19-Oct-2007 12:15 </td><td align="right">1.1M</td></tr>
13
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="js-1.8.0-rc1.tar.gz">js-1.8.0-rc1.tar.gz</a></td><td align="right">09-Mar-2009 12:35 </td><td align="right">1.2M</td></tr>
14
+
15
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="js-1.60.tar.gz">js-1.60.tar.gz</a></td><td align="right">22-Dec-2006 07:57 </td><td align="right">1.0M</td></tr>
16
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="js185-1.0.0.tar.gz">js185-1.0.0.tar.gz</a></td><td align="right">31-Mar-2011 13:03 </td><td align="right">5.9M</td></tr>
17
+ <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="older-packages/">older-packages/</a></td><td align="right">08-Jan-2007 06:54 </td><td align="right"> - </td></tr>
18
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_5R5.zip">rhino1_5R5.zip</a></td><td align="right">25-Mar-2004 12:57 </td><td align="right">1.5M</td></tr>
19
+
20
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R1.zip">rhino1_6R1.zip</a></td><td align="right">30-Nov-2004 19:13 </td><td align="right">1.7M</td></tr>
21
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R2.zip">rhino1_6R2.zip</a></td><td align="right">19-Sep-2005 04:26 </td><td align="right">1.7M</td></tr>
22
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R3.zip">rhino1_6R3.zip</a></td><td align="right">24-Jul-2006 05:37 </td><td align="right">1.7M</td></tr>
23
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R4.zip">rhino1_6R4.zip</a></td><td align="right">09-Sep-2006 10:15 </td><td align="right">1.7M</td></tr>
24
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R5.zip">rhino1_6R5.zip</a></td><td align="right">18-Nov-2006 13:24 </td><td align="right">1.7M</td></tr>
25
+
26
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R6.zip">rhino1_6R6.zip</a></td><td align="right">26-Jul-2007 10:27 </td><td align="right">1.7M</td></tr>
27
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_6R7.zip">rhino1_6R7.zip</a></td><td align="right">19-Aug-2007 19:26 </td><td align="right">1.7M</td></tr>
28
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_7R1.zip">rhino1_7R1.zip</a></td><td align="right">06-Mar-2008 17:44 </td><td align="right">2.5M</td></tr>
29
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_7R2.zip">rhino1_7R2.zip</a></td><td align="right">22-Mar-2009 11:49 </td><td align="right">2.9M</td></tr>
30
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino1_7R3.zip">rhino1_7R3.zip</a></td><td align="right">09-May-2011 18:26 </td><td align="right">4.4M</td></tr>
31
+
32
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino15R3.zip">rhino15R3.zip</a></td><td align="right">27-Jan-2002 16:59 </td><td align="right">1.2M</td></tr>
33
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino15R4.zip">rhino15R4.zip</a></td><td align="right">11-Feb-2003 07:15 </td><td align="right">1.4M</td></tr>
34
+ <tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="rhino15R41.zip">rhino15R41.zip</a></td><td align="right">21-Apr-2003 10:27 </td><td align="right">1.4M</td></tr>
35
+ <tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="tamarin/">tamarin/</a></td><td align="right">06-Apr-2009 13:32 </td><td align="right"> - </td></tr>
36
+
37
+ <tr><th colspan="5"><hr></th></tr>
38
+ </table>
39
+ <pre>
40
+ dm-ftp01.mozilla.org in the Pacific Time Zone (PST/PDT)
41
+ </pre>
42
+ </body></html>
@@ -1,3 +1,5 @@
1
+
2
+ require "rubygems"
1
3
  require 'fileutils'
2
4
  require 'test/unit'
3
5
  require 'shoulda'
@@ -46,8 +48,8 @@ module Kernel
46
48
  alias juicer_original_open open # :nodoc:
47
49
 
48
50
  def open(name, *rest, &block)
49
- if name =~ /http.+yuicompressor-(\d\.\d\.\d)\.zip$/
50
- name = File.join($data_dir, "..", "bin", "yuicompressor-#{$1}.zip")
51
+ if name =~ /download\.php\?/
52
+ name = File.join($data_dir, "..", "bin", "yuicompressor-2.4.2.zip")
51
53
  elsif name =~ /http:\/\/yuilibrary\.com\/download/
52
54
  name = File.join($data_dir, "../fixtures/yui-download.html")
53
55
  elsif name =~ /http.+yuicompressor/
@@ -56,6 +58,8 @@ module Kernel
56
58
  name = File.join($data_dir, "..", "bin", "jslint.js")
57
59
  elsif name =~ /ftp.+rhino(.+)\.zip/
58
60
  name = File.join($data_dir, "..", "bin", "rhino#{$1}.zip")
61
+ elsif name =~ /ftp\.mozilla.+/
62
+ name = File.join($data_dir, "../fixtures/rhino-download.html")
59
63
  end
60
64
 
61
65
  juicer_original_open(File.expand_path(name), *rest, &block)
@@ -50,7 +50,7 @@ class TestRhinoInstaller < Test::Unit::TestCase
50
50
  assert File.exists?(path(".juicer/lib/rhino/bin"))
51
51
  assert_equal 3, Dir.glob(path(".juicer/lib/rhino/**/*")).find_all { |f| File.file?(f) }.length
52
52
 
53
- @installer.uninstall("1.7R2-RC1")
53
+ @installer.uninstall("1.7R3")
54
54
  assert File.exists?(path(".juicer/lib/rhino"))
55
55
  assert_equal 1, Dir.glob(path(".juicer/lib/rhino/**/*")).find_all { |f| File.file?(f) }.length
56
56
  end
@@ -19,7 +19,7 @@ class TestJsLint < Test::Unit::TestCase
19
19
  context "verifying file with jslint" do
20
20
  should "shell out to rhino/jslint" do
21
21
  jslint = Juicer::JsLint.new(:bin_path => @path)
22
- jslint.expects(:execute).with("-jar \"#{@path}/rhino1_7R2-RC1.jar\" \"#{@path}/jslint-1.0.js\" \"#{@file}\"").returns("jslint: No problems")
22
+ jslint.expects(:execute).with("-jar \"#{@path}/rhino1_7R3.jar\" \"#{@path}/jslint-1.0.js\" \"#{@file}\"").returns("jslint: No problems")
23
23
 
24
24
  assert jslint.check(@file).ok?
25
25
  end
metadata CHANGED
@@ -1,154 +1,170 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: psyho_juicer
3
- version: !ruby/object:Gem::Version
4
- hash: 5
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.11
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 9
10
- version: 1.0.9
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Christian Johansen
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-04-01 00:00:00 +02:00
12
+ date: 2011-07-28 00:00:00.000000000 +02:00
19
13
  default_executable: juicer
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: shoulda
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: psyho_juicer
17
+ requirement: &76704070 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
23
24
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ version_requirements: *76704070
26
+ - !ruby/object:Gem::Dependency
27
+ name: shoulda
28
+ requirement: &76703490 !ruby/object:Gem::Requirement
25
29
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 35
30
- segments:
31
- - 2
32
- - 10
33
- - 2
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
34
33
  version: 2.10.2
35
34
  type: :development
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: mocha
39
35
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
36
+ version_requirements: *76703490
37
+ - !ruby/object:Gem::Dependency
38
+ name: mocha
39
+ requirement: &76703040 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 43
46
- segments:
47
- - 0
48
- - 9
49
- - 8
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
50
44
  version: 0.9.8
51
45
  type: :development
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: fakefs
55
46
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
47
+ version_requirements: *76703040
48
+ - !ruby/object:Gem::Dependency
49
+ name: fakefs
50
+ requirement: &76702460 !ruby/object:Gem::Requirement
57
51
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 21
62
- segments:
63
- - 0
64
- - 2
65
- - 1
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
66
55
  version: 0.2.1
67
56
  type: :development
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: jeweler
71
57
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: *76702460
59
+ - !ruby/object:Gem::Dependency
60
+ name: jeweler
61
+ requirement: &76646350 !ruby/object:Gem::Requirement
73
62
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 21
78
- segments:
79
- - 0
80
- - 2
81
- - 1
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
82
66
  version: 0.2.1
83
67
  type: :development
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: redgreen
87
68
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
69
+ version_requirements: *76646350
70
+ - !ruby/object:Gem::Dependency
71
+ name: redgreen
72
+ requirement: &76645830 !ruby/object:Gem::Requirement
89
73
  none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 27
94
- segments:
95
- - 1
96
- - 2
97
- - 2
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
98
77
  version: 1.2.2
99
78
  type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: cmdparse
103
79
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
80
+ version_requirements: *76645830
81
+ - !ruby/object:Gem::Dependency
82
+ name: shoulda
83
+ requirement: &76645150 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: 2.10.2
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: *76645150
92
+ - !ruby/object:Gem::Dependency
93
+ name: mocha
94
+ requirement: &76644760 !ruby/object:Gem::Requirement
105
95
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
- version: "0"
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: 0.9.8
100
+ type: :development
101
+ prerelease: false
102
+ version_requirements: *76644760
103
+ - !ruby/object:Gem::Dependency
104
+ name: fakefs
105
+ requirement: &76644190 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: 0.2.1
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: *76644190
114
+ - !ruby/object:Gem::Dependency
115
+ name: jeweler
116
+ requirement: &76643560 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: 0.2.1
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: *76643560
125
+ - !ruby/object:Gem::Dependency
126
+ name: cmdparse
127
+ requirement: &76643060 !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
113
133
  type: :runtime
114
- version_requirements: *id006
115
- - !ruby/object:Gem::Dependency
116
- name: nokogiri
117
134
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
135
+ version_requirements: *76643060
136
+ - !ruby/object:Gem::Dependency
137
+ name: nokogiri
138
+ requirement: &76642550 !ruby/object:Gem::Requirement
119
139
  none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
- version: "0"
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
127
144
  type: :runtime
128
- version_requirements: *id007
129
- - !ruby/object:Gem::Dependency
130
- name: rubyzip
131
145
  prerelease: false
132
- requirement: &id008 !ruby/object:Gem::Requirement
146
+ version_requirements: *76642550
147
+ - !ruby/object:Gem::Dependency
148
+ name: rubyzip
149
+ requirement: &76642010 !ruby/object:Gem::Requirement
133
150
  none: false
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
151
+ requirements:
152
+ - - ! '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
141
155
  type: :runtime
142
- version_requirements: *id008
143
- description: Resolve dependencies, merge and minify CSS and JavaScript files with Juicer - the command line tool for frontend engineers
156
+ prerelease: false
157
+ version_requirements: *76642010
158
+ description: Resolve dependencies, merge and minify CSS and JavaScript files with
159
+ Juicer - the command line tool for frontend engineers
144
160
  email: christian@cjohansen.no
145
- executables:
161
+ executables:
146
162
  - juicer
147
163
  extensions: []
148
-
149
164
  extra_rdoc_files: []
150
-
151
- files:
165
+ files:
166
+ - Gemfile
167
+ - Gemfile.lock
152
168
  - History.txt
153
169
  - Manifest.txt
154
170
  - Rakefile
@@ -199,7 +215,31 @@ files:
199
215
  - test/bin/yuicompressor-2.3.5.zip
200
216
  - test/bin/yuicompressor-2.4.2.jar
201
217
  - test/bin/yuicompressor-2.4.2.zip
218
+ - test/data/Changelog.txt
219
+ - test/data/a.css
220
+ - test/data/a.js
221
+ - test/data/a1.css
222
+ - test/data/b.css
223
+ - test/data/b.js
224
+ - test/data/b1.css
225
+ - test/data/b2.css
226
+ - test/data/c1.css
227
+ - test/data/css/2.gif
228
+ - test/data/css/test.css
229
+ - test/data/css/test2.css
230
+ - test/data/css/test3.css
231
+ - test/data/d1.css
232
+ - test/data/images/1.png
233
+ - test/data/my_app.js
234
+ - test/data/not-ok.js
235
+ - test/data/ok.js
236
+ - test/data/path_test.css
237
+ - test/data/path_test2.css
238
+ - test/data/pkg/module/moda.js
239
+ - test/data/pkg/module/modb.js
240
+ - test/data/pkg/pkg.js
202
241
  - test/fixtures/git-tracked-file.txt
242
+ - test/fixtures/rhino-download.html
203
243
  - test/fixtures/yui-download.html
204
244
  - test/test_helper.rb
205
245
  - test/unit/juicer/asset/path_resolver_test.rb
@@ -232,71 +272,39 @@ files:
232
272
  has_rdoc: true
233
273
  homepage: http://github.com/cjohansen/juicer
234
274
  licenses: []
275
+ post_install_message: ! 'Juicer does not ship with third party libraries. You probably
276
+ want to install
235
277
 
236
- post_install_message: |
237
- Juicer does not ship with third party libraries. You probably want to install
238
278
  Yui Compressor and JsLint now:
239
-
279
+
280
+
240
281
  juicer install yui_compressor
282
+
241
283
  juicer install jslint
242
-
284
+
285
+
243
286
  Happy juicing!
244
287
 
288
+ '
245
289
  rdoc_options: []
246
-
247
- require_paths:
290
+ require_paths:
248
291
  - lib
249
- required_ruby_version: !ruby/object:Gem::Requirement
292
+ required_ruby_version: !ruby/object:Gem::Requirement
250
293
  none: false
251
- requirements:
252
- - - ">="
253
- - !ruby/object:Gem::Version
254
- hash: 3
255
- segments:
256
- - 0
257
- version: "0"
258
- required_rubygems_version: !ruby/object:Gem::Requirement
294
+ requirements:
295
+ - - ! '>='
296
+ - !ruby/object:Gem::Version
297
+ version: '0'
298
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
299
  none: false
260
- requirements:
261
- - - ">="
262
- - !ruby/object:Gem::Version
263
- hash: 3
264
- segments:
265
- - 0
266
- version: "0"
300
+ requirements:
301
+ - - ! '>='
302
+ - !ruby/object:Gem::Version
303
+ version: '0'
267
304
  requirements: []
268
-
269
305
  rubyforge_project: juicer
270
306
  rubygems_version: 1.6.2
271
307
  signing_key:
272
308
  specification_version: 3
273
309
  summary: Command line tool for CSS and JavaScript developers
274
- test_files:
275
- - test/test_helper.rb
276
- - test/unit/juicer/asset/path_resolver_test.rb
277
- - test/unit/juicer/asset/path_test.rb
278
- - test/unit/juicer/cache_buster_test.rb
279
- - test/unit/juicer/chainable_test.rb
280
- - test/unit/juicer/command/install_test.rb
281
- - test/unit/juicer/command/list_test.rb
282
- - test/unit/juicer/command/merge_test.rb
283
- - test/unit/juicer/command/util_test.rb
284
- - test/unit/juicer/command/verify_test.rb
285
- - test/unit/juicer/css_cache_buster_test.rb
286
- - test/unit/juicer/datafy_test.rb
287
- - test/unit/juicer/dependency_resolver/css_dependency_resolver_test.rb
288
- - test/unit/juicer/dependency_resolver/javascript_dependency_resolver_test.rb
289
- - test/unit/juicer/ext/string_test.rb
290
- - test/unit/juicer/ext/symbol_test.rb
291
- - test/unit/juicer/image_embed_test.rb
292
- - test/unit/juicer/install/installer_base_test.rb
293
- - test/unit/juicer/install/jslint_installer_test.rb
294
- - test/unit/juicer/install/rhino_installer_test.rb
295
- - test/unit/juicer/install/yui_compressor_test.rb
296
- - test/unit/juicer/jslint_test.rb
297
- - test/unit/juicer/merger/base_test.rb
298
- - test/unit/juicer/merger/javascript_merger_test.rb
299
- - test/unit/juicer/merger/stylesheet_merger_test.rb
300
- - test/unit/juicer/minifyer/closure_compressor_test.rb
301
- - test/unit/juicer/minifyer/yui_compressor_test.rb
302
- - test/unit/juicer_test.rb
310
+ test_files: []