magic_stylez 0.0.0.68 → 0.0.0.69
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: 39f22bd6188f51de3666b0f40dbb5057a4ffb749
|
4
|
+
data.tar.gz: e71d0b71ad3276635f7fbbea2dc6fe726d459e71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdf9ee8d60e94620e16c3b7c2d46c7b27644b6688455a5dfb9768bff68d8a015d8f729be194b4df1515045d9e89bf265af2b18c8b57ba1caaecb0d2562e365a0
|
7
|
+
data.tar.gz: 42241c5d7f2bf4adbe10de9628eeafd3316638c4341aaed2fd80735ac2a71fead41a014919a89c1cd899ce3f55031224f5a9cd5e357b756bf82b55f88a820b60
|
@@ -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(/^[^\/\*]*\$([a-zA-Z0-9\-]*):.*/) && target.find_index{ |x| x.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