specific_asset_compiler 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c74e74141c1e403c7817274028c6ded2aa66e375
4
- data.tar.gz: 79da89e693c1f7b62ca3ddd1d3e821d0dcb01b74
3
+ metadata.gz: cfebc687eca4fb2bfa1b41829d4810e0025181e9
4
+ data.tar.gz: 8e2065b15fb2e93dd79438b3672d63a7f306e3c0
5
5
  SHA512:
6
- metadata.gz: a3d08312c7cf027afddbacd557e85972107b7d64340a947ef32322a370fa65845e6077984c71d93839fe409843d8aa9e9d1f8f27cbe032ae9e13c92927990c37
7
- data.tar.gz: 9a812d948bc8d6fb37a9c61c4e90dec971f681f50ddeda44fe2178097795a6e0c5e5ca9d4c567eee59a8429e5d9b6e941bde51a403d32d5d8bfec4ac90246ae3
6
+ metadata.gz: d47005454ac3960756926cd4d9716da76dc2558f978afc1d5961bb309b17b7f40313b2d5f632ec44d0c5a426c5564759567cfb87b8bdd7b7fd979748cd02049c
7
+ data.tar.gz: a59db8f6f79cc0e394fec82992819c2f0bd83ff1d44a61464c149e0082fa4d095dfc641a44b757f9ea9665b6bb8ab33635f536a8607c92954702eefc2e1fed6b
@@ -75,7 +75,7 @@ namespace :assets do
75
75
  this_file_path = aff.split(":")[0]
76
76
  this_only_path = this_file_path.split("/")[0..this_file_path.split("/").count-2].join("/")
77
77
  imported_raw_message = aff.split(":")[1]
78
- imported_raw_path = imported_raw_message.gsub(/\A.* \"/,"").gsub(/\";/,"").gsub("*= require ./","")
78
+ imported_raw_path = imported_raw_message.gsub(/\A.* \"/,"").gsub(/\";/,"").gsub("*= require ./","").strip
79
79
  next unless (this_only_path+"/"+imported_raw_path).match(file_pure_path)
80
80
  result << this_file_path.split(/images\/|stylesheets\/|javascripts\//).last
81
81
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specific_asset_compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanapat Sainak