magic_stylez 0.0.0.67 → 0.0.0.68
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: 97931692aa4028b2b3d9ee5e984c3a4ecf1eaf02
|
4
|
+
data.tar.gz: e783ffd15481b7bdb2ad822936810cc30e67ecaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969358a044fd46810ca886cba1ca08dfc1da15072d70e001b812eccb553be24da73c972f676347960c5b52b297b3dd329bb21251418830ae2290a6ca501fa1b1
|
7
|
+
data.tar.gz: 5cc673780e243a7fd481be91f06855dce6b392fed9e3f5c63d54b52fd64792435c6c9e35678de616da0069f98ce9c885aa12cb462455d5e5895b056af5ff0a9e
|
@@ -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(/^[^\/\*]*\$#{}:.*/) } }
|
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