magic_stylez 0.0.0.69 → 0.0.0.70
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/magic_stylez/update_generator.rb +1 -1
- data/lib/magic_stylez/version.rb +1 -1
- 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: 4b52864f56a9b726a04be9744cbaffd62f3e86d6
|
4
|
+
data.tar.gz: f060d48d06fb7584b0c5ad0c83c70ea25f9ff533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 888a5ed9b462f110b29e7524ca18310f6643030ee0f61697d61568873a5a5ee61658ec98bba09ef10cfd0c1d0fe47ae36a2e4ec61d2ff58c5c95d2d7e0face9f
|
7
|
+
data.tar.gz: 766b2624ae873a8f388be0ffc782695c56f9ff87252190f16537f08f1b429aac6c6c422e681ba3697b436e1cf57baba97477ab3ffb565ca5287ce7dd01004b1c
|
@@ -64,7 +64,7 @@ module MagicStylez
|
|
64
64
|
target = IO.readlines("#{::Rails.root}/app/assets/stylesheets/corporate/#{this}").map(&:chomp)
|
65
65
|
# ---
|
66
66
|
diffrents = source - target
|
67
|
-
diffrents.reject! { |stl| stl.match(/^
|
67
|
+
diffrents.reject! { |stl| stl.match(/^(?!\/\/.*).*\$([a-zA-Z0-9\-\_]*):.*$/) && target.find_index{ |x| x.match(/^(?!\/\/.*).*\$#{ stl.match(/^(?!\/\/.*).*\$([a-zA-Z0-9\-\_]*):.*$/) }:.*$/) } }
|
68
68
|
diffrents = diffrents.map{ |d| "/* #{ (source.index(d) + 1).to_s.rjust(4) } */ #{d}" }
|
69
69
|
additional = ""
|
70
70
|
if diffrents.any?
|
data/lib/magic_stylez/version.rb
CHANGED