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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2db315f6ccc7866e71fc3f7ab83be131c962134f
4
- data.tar.gz: eb90f3a6b16eb651455622eaf4697b62ca17c736
3
+ metadata.gz: 7c92c78844492efd588cdc0a33e4f7ad59aa2dbd
4
+ data.tar.gz: 650de825f27ff113d270f426e4d30a575d3f6ff5
5
5
  SHA512:
6
- metadata.gz: 9b6d90b74ae60fc931cab972e42e07ca90d0d10074505dee572b097884e1dda5514a82f6fb0d91447d92d1a6ad9ec3d2fe04075c115c1c4df0b69fdbf98f9b97
7
- data.tar.gz: 33af79209a3d7606c8c82ebfb3922fe9e19530361b2d98b0bfa56c10b5823cb15602ad01cd9d0b1a08b7981da0eb7272362aa8948e9521268691591e7e1fb900
6
+ metadata.gz: e7c6b43ce49b2fc9958a642996afad5d6df2460e3914d4288fce99a65d0dbb5f467abb34f3b21499037e878e2ac11174cd4e3ade905ce8a8aba92e9e290d19df
7
+ data.tar.gz: 9565af28967f4956f20d904192c5a311f93e104751e7fd4249df59b8af149ae16b34a2c08faeeb3a5dadaaf45f8bfa858af95c12fbc79a25608a3f6e1fcc7d32
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.4.7
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
- ga
11
- gtci
12
- g tag $NEWVER
13
- gps
10
+ git add --all
11
+ git commit -m '$NEWVER'
12
+ git tag $NEWVER
13
+ git push origin oreoremaster
@@ -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
- p = result.to_s
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 p
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
- p
38
+ result
29
39
  end
30
40
  end
31
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oreorenasass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.7
4
+ version: 3.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum