oreorenasass 3.4.7 → 3.4.9
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 +4 -4
- data/VERSION +1 -1
- data/bin/push +4 -4
- data/lib/sass/tree/root_node.rb +13 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c92c78844492efd588cdc0a33e4f7ad59aa2dbd
|
4
|
+
data.tar.gz: 650de825f27ff113d270f426e4d30a575d3f6ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c6b43ce49b2fc9958a642996afad5d6df2460e3914d4288fce99a65d0dbb5f467abb34f3b21499037e878e2ac11174cd4e3ade905ce8a8aba92e9e290d19df
|
7
|
+
data.tar.gz: 9565af28967f4956f20d904192c5a311f93e104751e7fd4249df59b8af149ae16b34a2c08faeeb3a5dadaaf45f8bfa858af95c12fbc79a25608a3f6e1fcc7d32
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.4.
|
1
|
+
3.4.9
|
data/bin/push
CHANGED
@@ -7,7 +7,7 @@ NEWVER=3.4.$(expr $(cat VERSION | awk -F. '{ print $3 }') + 1)
|
|
7
7
|
echo $NEWVER > VERSION
|
8
8
|
gem build sass.gemspec
|
9
9
|
gem push oreorenasass-$NEWVER.gem
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
git add --all
|
11
|
+
git commit -m '$NEWVER'
|
12
|
+
git tag $NEWVER
|
13
|
+
git push origin oreoremaster
|
data/lib/sass/tree/root_node.rb
CHANGED
@@ -21,11 +21,21 @@ module Sass
|
|
21
21
|
Visitors::CheckNesting.visit(result) # Check again to validate mixins
|
22
22
|
result, extends = Visitors::Cssize.visit(result)
|
23
23
|
Visitors::Extend.visit(result, extends)
|
24
|
-
|
24
|
+
extended_result(result.to_s)
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def extended_result(result)
|
25
30
|
File.open('/tmp/hoge', 'w') do |f|
|
26
|
-
f.puts
|
31
|
+
f.puts result.split('/*').map { |x|
|
32
|
+
a, b = x.split("\n", 2)
|
33
|
+
m = a.match(/\/app\/assets\/stylesheets\/([^. \/]+)\./)
|
34
|
+
next nil unless m
|
35
|
+
[m[1], b.split("\n")[0].strip[0...-1]]
|
36
|
+
}.compact.to_s
|
27
37
|
end
|
28
|
-
|
38
|
+
result
|
29
39
|
end
|
30
40
|
end
|
31
41
|
end
|