allen 0.3.3 → 0.3.4
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.
- checksums.yaml +8 -8
- data/lib/allen/preprocessors.rb +3 -3
- data/lib/allen/version.rb +1 -1
- data/spec/lib/allen/preprocessors_spec.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzY0Yjc4ZGU2Njc0ODk5MzQ0OTNmOGQ3YzE2MjVkMDM5MmE1MWVhYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
N2EwOTUyNzNhMjVhY2NlOWMxYjk1MmIzMTU1ZjQwMTlmM2JiZDQyYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzg3NTk2NWM0YzNhMjA4NzEwMTliODY5NGFjYmVjZGVhMTYwYTkzYmFlNTU1
|
10
|
+
NGRjYTEzZTNhNjcyNmUwMTNlZWQzM2MyY2M3NDg1MzkwOWI2MTg1MGUwM2Ex
|
11
|
+
ZmI0MjExZWYwNjBiMzllYTdkZjBmOTk2ZmVmMmU1NThiYzdlMTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTIxMDc4Njk5YjVkMWE1ODY5NzZkODkwMTYwYzcxMzgyY2E2Y2FmNzkwYmI3
|
14
|
+
ZTYwMjZiNjJkZTE3ZTU1NDZmMzMxMGUzZjJhNWY4YmY2ZTFlOWIyYjliNTRk
|
15
|
+
Y2M2YjQxNWRhNjExNDJjMGVlYWFmNTU5ZTU2MmQwNDQ1Y2UzNzM=
|
data/lib/allen/preprocessors.rb
CHANGED
@@ -62,9 +62,9 @@ module Allen
|
|
62
62
|
end
|
63
63
|
|
64
64
|
class Null < Preprocessor
|
65
|
-
def self.build; end
|
66
|
-
def self.compress; end
|
67
|
-
def self.watch; end
|
65
|
+
def self.build(*args); self; end
|
66
|
+
def self.compress(*args); self; end
|
67
|
+
def self.watch(*args); self; end
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
data/lib/allen/version.rb
CHANGED
@@ -81,5 +81,23 @@ describe Allen::Preprocessors do
|
|
81
81
|
sass.watch(input, output)
|
82
82
|
end
|
83
83
|
end
|
84
|
+
|
85
|
+
describe Allen::Preprocessors::Null do
|
86
|
+
let(:null) { Allen::Preprocessors::Null }
|
87
|
+
let(:input) { "c:/path/to/some/input/file.css" }
|
88
|
+
let(:output) { "c:/path/to/some/output/file.css" }
|
89
|
+
|
90
|
+
it "has a build command that does nothing" do
|
91
|
+
null.build(input, output).should eq null
|
92
|
+
end
|
93
|
+
|
94
|
+
it "has a compress command that does nothing" do
|
95
|
+
null.compress(input, output).should eq null
|
96
|
+
end
|
97
|
+
|
98
|
+
it "has a watch command that does nothing" do
|
99
|
+
null.watch(input, output).should eq null
|
100
|
+
end
|
101
|
+
end
|
84
102
|
end
|
85
103
|
|