assette 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/assette.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{assette}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Tal Atlas}]
|
12
|
-
s.date = %q{2012-01-
|
12
|
+
s.date = %q{2012-01-12}
|
13
13
|
s.description = %q{Renders all asset types (coffeescript/sass/scss) as equals}
|
14
14
|
s.email = %q{me@tal.by}
|
15
15
|
s.executables = [%q{assette}]
|
@@ -42,6 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
"examples/public/javascripts/test.coffee",
|
43
43
|
"examples/public/javascripts/three.js",
|
44
44
|
"examples/public/javascripts/two.js",
|
45
|
+
"examples/public/stylesheets/another2.less",
|
45
46
|
"examples/public/stylesheets/less.less",
|
46
47
|
"examples/public/stylesheets/one.css",
|
47
48
|
"examples/public/stylesheets/one1.sass",
|
@@ -20,7 +20,8 @@ module Assette
|
|
20
20
|
def post_process file
|
21
21
|
str = file.code
|
22
22
|
PostProcessor::POST_PROCESSORS[target_class.outputs].each do |processor|
|
23
|
-
p = processor.new(file, :parent => @file)
|
23
|
+
p = processor.new(file, str, :parent => @file)
|
24
|
+
|
24
25
|
str.replace(p.process)
|
25
26
|
end
|
26
27
|
|
data/spec/post_processor_spec.rb
CHANGED
@@ -26,6 +26,7 @@ describe Assette::PostProcessor do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should minify the js" do
|
29
|
+
pending
|
29
30
|
subject.all_code.should == ''
|
30
31
|
end
|
31
32
|
end
|
@@ -42,6 +43,7 @@ describe Assette::PostProcessor do
|
|
42
43
|
end
|
43
44
|
|
44
45
|
subject do
|
46
|
+
# Assette::File.open('public/stylesheets/another2.less')
|
45
47
|
Assette::File.open('public/stylesheets/two2.scss')
|
46
48
|
end
|
47
49
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assette
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tal Atlas
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
@@ -389,6 +389,7 @@ files:
|
|
389
389
|
- examples/public/javascripts/test.coffee
|
390
390
|
- examples/public/javascripts/three.js
|
391
391
|
- examples/public/javascripts/two.js
|
392
|
+
- examples/public/stylesheets/another2.less
|
392
393
|
- examples/public/stylesheets/less.less
|
393
394
|
- examples/public/stylesheets/one.css
|
394
395
|
- examples/public/stylesheets/one1.sass
|