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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39f22bd6188f51de3666b0f40dbb5057a4ffb749
4
- data.tar.gz: e71d0b71ad3276635f7fbbea2dc6fe726d459e71
3
+ metadata.gz: 4b52864f56a9b726a04be9744cbaffd62f3e86d6
4
+ data.tar.gz: f060d48d06fb7584b0c5ad0c83c70ea25f9ff533
5
5
  SHA512:
6
- metadata.gz: bdf9ee8d60e94620e16c3b7c2d46c7b27644b6688455a5dfb9768bff68d8a015d8f729be194b4df1515045d9e89bf265af2b18c8b57ba1caaecb0d2562e365a0
7
- data.tar.gz: 42241c5d7f2bf4adbe10de9628eeafd3316638c4341aaed2fd80735ac2a71fead41a014919a89c1cd899ce3f55031224f5a9cd5e357b756bf82b55f88a820b60
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(/^[^\/\*]*\$([a-zA-Z0-9\-]*):.*/) && target.find_index{ |x| x.match(/^[^\/\*]*\$#{ stl.match(/^[^\/\*]*\$([a-zA-Z0-9\-]*):.*/) }:.*/) } }
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?
@@ -1,3 +1,3 @@
1
1
  module MagicStylez
2
- VERSION = "0.0.0.69"
2
+ VERSION = "0.0.0.70"
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.69
4
+ version: 0.0.0.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel