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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91e4cfcf4bad44d1665d34a1431601d8f3650bcb
4
- data.tar.gz: ff7f56a73a8fab49a563fddc990128a377cd2b3c
3
+ metadata.gz: 97931692aa4028b2b3d9ee5e984c3a4ecf1eaf02
4
+ data.tar.gz: e783ffd15481b7bdb2ad822936810cc30e67ecaa
5
5
  SHA512:
6
- metadata.gz: ae49781715fdc6b28400ed4d2143e890fa278a8d47c2b746429ecad119ae11062e68c052ba34fb261ad78dd50488cf84772b78d0655dff424d1b3c887098c6b2
7
- data.tar.gz: d6b41adae4a7a74e9bdf5babe68c05f3b70f95fa6fc439400d148a7a4e9da4b223b472dad51a5d00b611a9a4aa80767712ba1fec55d1c7db2039aa8d958bc81c
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(/^\$([a-zA-Z0-9\-]*):.*$/) && target.find_index{ |x| x.match(/\$#{stl.match(/^\$([a-zA-Z0-9\-]*):.*$/)[0]}:.*/) } }
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?
@@ -1,3 +1,3 @@
1
1
  module MagicStylez
2
- VERSION = "0.0.0.67"
2
+ VERSION = "0.0.0.68"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.67
4
+ version: 0.0.0.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel